client2world_protocol.pb.cc 818 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: client2world_protocol.proto
  3. #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
  4. #include "client2world_protocol.pb.h"
  5. #include <algorithm>
  6. #include <google/protobuf/stubs/common.h>
  7. #include <google/protobuf/stubs/once.h>
  8. #include <google/protobuf/io/coded_stream.h>
  9. #include <google/protobuf/wire_format_lite_inl.h>
  10. #include <google/protobuf/descriptor.h>
  11. #include <google/protobuf/generated_message_reflection.h>
  12. #include <google/protobuf/reflection_ops.h>
  13. #include <google/protobuf/wire_format.h>
  14. // @@protoc_insertion_point(includes)
  15. namespace client2world_protocols {
  16. namespace {
  17. const ::google::protobuf::Descriptor* packet_c2w_timesync_descriptor_ = NULL;
  18. const ::google::protobuf::internal::GeneratedMessageReflection*
  19. packet_c2w_timesync_reflection_ = NULL;
  20. const ::google::protobuf::Descriptor* packet_w2c_timesync_result_descriptor_ = NULL;
  21. const ::google::protobuf::internal::GeneratedMessageReflection*
  22. packet_w2c_timesync_result_reflection_ = NULL;
  23. const ::google::protobuf::Descriptor* packetc2w_ask_login_descriptor_ = NULL;
  24. const ::google::protobuf::internal::GeneratedMessageReflection*
  25. packetc2w_ask_login_reflection_ = NULL;
  26. const ::google::protobuf::Descriptor* msg_game_info_descriptor_ = NULL;
  27. const ::google::protobuf::internal::GeneratedMessageReflection*
  28. msg_game_info_reflection_ = NULL;
  29. const ::google::protobuf::Descriptor* packetw2c_ask_login_result_descriptor_ = NULL;
  30. const ::google::protobuf::internal::GeneratedMessageReflection*
  31. packetw2c_ask_login_result_reflection_ = NULL;
  32. const ::google::protobuf::Descriptor* packetc2w_enter_game_descriptor_ = NULL;
  33. const ::google::protobuf::internal::GeneratedMessageReflection*
  34. packetc2w_enter_game_reflection_ = NULL;
  35. const ::google::protobuf::Descriptor* packetw2c_enter_game_result_descriptor_ = NULL;
  36. const ::google::protobuf::internal::GeneratedMessageReflection*
  37. packetw2c_enter_game_result_reflection_ = NULL;
  38. const ::google::protobuf::Descriptor* packetc2w_gm_command_descriptor_ = NULL;
  39. const ::google::protobuf::internal::GeneratedMessageReflection*
  40. packetc2w_gm_command_reflection_ = NULL;
  41. const ::google::protobuf::Descriptor* packetw2c_gm_command_result_descriptor_ = NULL;
  42. const ::google::protobuf::internal::GeneratedMessageReflection*
  43. packetw2c_gm_command_result_reflection_ = NULL;
  44. const ::google::protobuf::Descriptor* packetc2w_ask_for_pay_descriptor_ = NULL;
  45. const ::google::protobuf::internal::GeneratedMessageReflection*
  46. packetc2w_ask_for_pay_reflection_ = NULL;
  47. const ::google::protobuf::Descriptor* packetw2c_ask_for_pay_result_descriptor_ = NULL;
  48. const ::google::protobuf::internal::GeneratedMessageReflection*
  49. packetw2c_ask_for_pay_result_reflection_ = NULL;
  50. const ::google::protobuf::Descriptor* packetc2w_ask_check_payment_descriptor_ = NULL;
  51. const ::google::protobuf::internal::GeneratedMessageReflection*
  52. packetc2w_ask_check_payment_reflection_ = NULL;
  53. const ::google::protobuf::Descriptor* packetc2w_ask_test_payment_descriptor_ = NULL;
  54. const ::google::protobuf::internal::GeneratedMessageReflection*
  55. packetc2w_ask_test_payment_reflection_ = NULL;
  56. const ::google::protobuf::Descriptor* packetw2c_ask_check_payment_result_descriptor_ = NULL;
  57. const ::google::protobuf::internal::GeneratedMessageReflection*
  58. packetw2c_ask_check_payment_result_reflection_ = NULL;
  59. const ::google::protobuf::Descriptor* packetc2w_free_gift_payment_descriptor_ = NULL;
  60. const ::google::protobuf::internal::GeneratedMessageReflection*
  61. packetc2w_free_gift_payment_reflection_ = NULL;
  62. const ::google::protobuf::Descriptor* packetc2w_open_gift_descriptor_ = NULL;
  63. const ::google::protobuf::internal::GeneratedMessageReflection*
  64. packetc2w_open_gift_reflection_ = NULL;
  65. const ::google::protobuf::Descriptor* packetw2c_open_gift_result_descriptor_ = NULL;
  66. const ::google::protobuf::internal::GeneratedMessageReflection*
  67. packetw2c_open_gift_result_reflection_ = NULL;
  68. const ::google::protobuf::Descriptor* packetc2w_leave_game_descriptor_ = NULL;
  69. const ::google::protobuf::internal::GeneratedMessageReflection*
  70. packetc2w_leave_game_reflection_ = NULL;
  71. const ::google::protobuf::Descriptor* packetw2c_leave_game_result_descriptor_ = NULL;
  72. const ::google::protobuf::internal::GeneratedMessageReflection*
  73. packetw2c_leave_game_result_reflection_ = NULL;
  74. const ::google::protobuf::Descriptor* packetw2c_player_kick_descriptor_ = NULL;
  75. const ::google::protobuf::internal::GeneratedMessageReflection*
  76. packetw2c_player_kick_reflection_ = NULL;
  77. const ::google::protobuf::Descriptor* packetc2w_get_gamelist_descriptor_ = NULL;
  78. const ::google::protobuf::internal::GeneratedMessageReflection*
  79. packetc2w_get_gamelist_reflection_ = NULL;
  80. const ::google::protobuf::Descriptor* packetw2c_get_gamelist_result_descriptor_ = NULL;
  81. const ::google::protobuf::internal::GeneratedMessageReflection*
  82. packetw2c_get_gamelist_result_reflection_ = NULL;
  83. const ::google::protobuf::Descriptor* packetc2w_first_login_descriptor_ = NULL;
  84. const ::google::protobuf::internal::GeneratedMessageReflection*
  85. packetc2w_first_login_reflection_ = NULL;
  86. const ::google::protobuf::Descriptor* packetw2c_first_login_result_descriptor_ = NULL;
  87. const ::google::protobuf::internal::GeneratedMessageReflection*
  88. packetw2c_first_login_result_reflection_ = NULL;
  89. const ::google::protobuf::Descriptor* packetc2w_enter_fish_game_descriptor_ = NULL;
  90. const ::google::protobuf::internal::GeneratedMessageReflection*
  91. packetc2w_enter_fish_game_reflection_ = NULL;
  92. const ::google::protobuf::Descriptor* packetw2c_enter_fish_game_result_descriptor_ = NULL;
  93. const ::google::protobuf::internal::GeneratedMessageReflection*
  94. packetw2c_enter_fish_game_result_reflection_ = NULL;
  95. const ::google::protobuf::Descriptor* msg_airdropitem_descriptor_ = NULL;
  96. const ::google::protobuf::internal::GeneratedMessageReflection*
  97. msg_airdropitem_reflection_ = NULL;
  98. const ::google::protobuf::Descriptor* packetc2w_create_airdrop_descriptor_ = NULL;
  99. const ::google::protobuf::internal::GeneratedMessageReflection*
  100. packetc2w_create_airdrop_reflection_ = NULL;
  101. const ::google::protobuf::Descriptor* packetw2c_create_airdrop_result_descriptor_ = NULL;
  102. const ::google::protobuf::internal::GeneratedMessageReflection*
  103. packetw2c_create_airdrop_result_reflection_ = NULL;
  104. const ::google::protobuf::Descriptor* packetc2w_get_airdrop_list_descriptor_ = NULL;
  105. const ::google::protobuf::internal::GeneratedMessageReflection*
  106. packetc2w_get_airdrop_list_reflection_ = NULL;
  107. const ::google::protobuf::Descriptor* packetw2c_get_airdrop_list_result_descriptor_ = NULL;
  108. const ::google::protobuf::internal::GeneratedMessageReflection*
  109. packetw2c_get_airdrop_list_result_reflection_ = NULL;
  110. const ::google::protobuf::Descriptor* packetc2w_get_airdrop_info_descriptor_ = NULL;
  111. const ::google::protobuf::internal::GeneratedMessageReflection*
  112. packetc2w_get_airdrop_info_reflection_ = NULL;
  113. const ::google::protobuf::Descriptor* packetw2c_get_airdrop_info_result_descriptor_ = NULL;
  114. const ::google::protobuf::internal::GeneratedMessageReflection*
  115. packetw2c_get_airdrop_info_result_reflection_ = NULL;
  116. const ::google::protobuf::Descriptor* packetc2w_draw_airdrop_descriptor_ = NULL;
  117. const ::google::protobuf::internal::GeneratedMessageReflection*
  118. packetc2w_draw_airdrop_reflection_ = NULL;
  119. const ::google::protobuf::Descriptor* packetw2c_draw_airdrop_result_descriptor_ = NULL;
  120. const ::google::protobuf::internal::GeneratedMessageReflection*
  121. packetw2c_draw_airdrop_result_reflection_ = NULL;
  122. const ::google::protobuf::Descriptor* packetc2w_receive_vip_reward_descriptor_ = NULL;
  123. const ::google::protobuf::internal::GeneratedMessageReflection*
  124. packetc2w_receive_vip_reward_reflection_ = NULL;
  125. const ::google::protobuf::Descriptor* packetw2c_receive_vip_reward_result_descriptor_ = NULL;
  126. const ::google::protobuf::internal::GeneratedMessageReflection*
  127. packetw2c_receive_vip_reward_result_reflection_ = NULL;
  128. const ::google::protobuf::Descriptor* packetw2c_check_vip_money_result_descriptor_ = NULL;
  129. const ::google::protobuf::internal::GeneratedMessageReflection*
  130. packetw2c_check_vip_money_result_reflection_ = NULL;
  131. const ::google::protobuf::Descriptor* packetw2c_timer_update_descriptor_ = NULL;
  132. const ::google::protobuf::internal::GeneratedMessageReflection*
  133. packetw2c_timer_update_reflection_ = NULL;
  134. const ::google::protobuf::Descriptor* recordInfo_descriptor_ = NULL;
  135. const ::google::protobuf::internal::GeneratedMessageReflection*
  136. recordInfo_reflection_ = NULL;
  137. const ::google::protobuf::Descriptor* packetc2w_syn_record_info_descriptor_ = NULL;
  138. const ::google::protobuf::internal::GeneratedMessageReflection*
  139. packetc2w_syn_record_info_reflection_ = NULL;
  140. const ::google::protobuf::Descriptor* packetc2w_pay_by_diamond_descriptor_ = NULL;
  141. const ::google::protobuf::internal::GeneratedMessageReflection*
  142. packetc2w_pay_by_diamond_reflection_ = NULL;
  143. const ::google::protobuf::Descriptor* packetw2c_pay_by_diamond_result_descriptor_ = NULL;
  144. const ::google::protobuf::internal::GeneratedMessageReflection*
  145. packetw2c_pay_by_diamond_result_reflection_ = NULL;
  146. const ::google::protobuf::Descriptor* packetc2w_exchange_vip_item_descriptor_ = NULL;
  147. const ::google::protobuf::internal::GeneratedMessageReflection*
  148. packetc2w_exchange_vip_item_reflection_ = NULL;
  149. const ::google::protobuf::Descriptor* packetw2c_exchange_vip_item_result_descriptor_ = NULL;
  150. const ::google::protobuf::internal::GeneratedMessageReflection*
  151. packetw2c_exchange_vip_item_result_reflection_ = NULL;
  152. const ::google::protobuf::Descriptor* storeInfo_descriptor_ = NULL;
  153. const ::google::protobuf::internal::GeneratedMessageReflection*
  154. storeInfo_reflection_ = NULL;
  155. const ::google::protobuf::Descriptor* packet_c2w_sync_global_data_descriptor_ = NULL;
  156. const ::google::protobuf::internal::GeneratedMessageReflection*
  157. packet_c2w_sync_global_data_reflection_ = NULL;
  158. const ::google::protobuf::Descriptor* packet_w2c_sync_global_data_result_descriptor_ = NULL;
  159. const ::google::protobuf::internal::GeneratedMessageReflection*
  160. packet_w2c_sync_global_data_result_reflection_ = NULL;
  161. const ::google::protobuf::Descriptor* packet_w2c_trigger_seven_day_rechage_descriptor_ = NULL;
  162. const ::google::protobuf::internal::GeneratedMessageReflection*
  163. packet_w2c_trigger_seven_day_rechage_reflection_ = NULL;
  164. const ::google::protobuf::Descriptor* treasureItem_descriptor_ = NULL;
  165. const ::google::protobuf::internal::GeneratedMessageReflection*
  166. treasureItem_reflection_ = NULL;
  167. const ::google::protobuf::Descriptor* packetw2c_trigger_daily_treasure_descriptor_ = NULL;
  168. const ::google::protobuf::internal::GeneratedMessageReflection*
  169. packetw2c_trigger_daily_treasure_reflection_ = NULL;
  170. const ::google::protobuf::Descriptor* packetc2w_daily_treasure_lottery_descriptor_ = NULL;
  171. const ::google::protobuf::internal::GeneratedMessageReflection*
  172. packetc2w_daily_treasure_lottery_reflection_ = NULL;
  173. const ::google::protobuf::Descriptor* packetw2c_daily_treasure_lottery_result_descriptor_ = NULL;
  174. const ::google::protobuf::internal::GeneratedMessageReflection*
  175. packetw2c_daily_treasure_lottery_result_reflection_ = NULL;
  176. const ::google::protobuf::Descriptor* packetc2w_receive_treasure_lottery_descriptor_ = NULL;
  177. const ::google::protobuf::internal::GeneratedMessageReflection*
  178. packetc2w_receive_treasure_lottery_reflection_ = NULL;
  179. const ::google::protobuf::Descriptor* packetw2c_receive_treasure_lottery_result_descriptor_ = NULL;
  180. const ::google::protobuf::internal::GeneratedMessageReflection*
  181. packetw2c_receive_treasure_lottery_result_reflection_ = NULL;
  182. const ::google::protobuf::Descriptor* packetc2w_receive_sail_reward_descriptor_ = NULL;
  183. const ::google::protobuf::internal::GeneratedMessageReflection*
  184. packetc2w_receive_sail_reward_reflection_ = NULL;
  185. const ::google::protobuf::Descriptor* packetw2c_receive_sail_result_descriptor_ = NULL;
  186. const ::google::protobuf::internal::GeneratedMessageReflection*
  187. packetw2c_receive_sail_result_reflection_ = NULL;
  188. const ::google::protobuf::Descriptor* packetc2w_syn_sail_piggy_gold_descriptor_ = NULL;
  189. const ::google::protobuf::internal::GeneratedMessageReflection*
  190. packetc2w_syn_sail_piggy_gold_reflection_ = NULL;
  191. const ::google::protobuf::Descriptor* packetw2c_syn_sail_piggy_gold_result_descriptor_ = NULL;
  192. const ::google::protobuf::internal::GeneratedMessageReflection*
  193. packetw2c_syn_sail_piggy_gold_result_reflection_ = NULL;
  194. const ::google::protobuf::Descriptor* packetc2w_sail_achieve_lottery_descriptor_ = NULL;
  195. const ::google::protobuf::internal::GeneratedMessageReflection*
  196. packetc2w_sail_achieve_lottery_reflection_ = NULL;
  197. const ::google::protobuf::Descriptor* packetw2c_sail_achieve_lottery_result_descriptor_ = NULL;
  198. const ::google::protobuf::internal::GeneratedMessageReflection*
  199. packetw2c_sail_achieve_lottery_result_reflection_ = NULL;
  200. const ::google::protobuf::Descriptor* packetw2c_trigger_sail_achieve_descriptor_ = NULL;
  201. const ::google::protobuf::internal::GeneratedMessageReflection*
  202. packetw2c_trigger_sail_achieve_reflection_ = NULL;
  203. const ::google::protobuf::Descriptor* sailLotteryInfo_descriptor_ = NULL;
  204. const ::google::protobuf::internal::GeneratedMessageReflection*
  205. sailLotteryInfo_reflection_ = NULL;
  206. const ::google::protobuf::Descriptor* packetc2w_sail_get_lottery_history_descriptor_ = NULL;
  207. const ::google::protobuf::internal::GeneratedMessageReflection*
  208. packetc2w_sail_get_lottery_history_reflection_ = NULL;
  209. const ::google::protobuf::Descriptor* packetw2c_sail_get_lottery_history_result_descriptor_ = NULL;
  210. const ::google::protobuf::internal::GeneratedMessageReflection*
  211. packetw2c_sail_get_lottery_history_result_reflection_ = NULL;
  212. const ::google::protobuf::Descriptor* packetc2w_recv_return_login_reward_descriptor_ = NULL;
  213. const ::google::protobuf::internal::GeneratedMessageReflection*
  214. packetc2w_recv_return_login_reward_reflection_ = NULL;
  215. const ::google::protobuf::Descriptor* packetw2c_recv_return_login_reward_result_descriptor_ = NULL;
  216. const ::google::protobuf::internal::GeneratedMessageReflection*
  217. packetw2c_recv_return_login_reward_result_reflection_ = NULL;
  218. const ::google::protobuf::Descriptor* packetc2w_recv_return_recharge_reward_descriptor_ = NULL;
  219. const ::google::protobuf::internal::GeneratedMessageReflection*
  220. packetc2w_recv_return_recharge_reward_reflection_ = NULL;
  221. const ::google::protobuf::Descriptor* packetw2c_recv_return_recharge_reward_result_descriptor_ = NULL;
  222. const ::google::protobuf::internal::GeneratedMessageReflection*
  223. packetw2c_recv_return_recharge_reward_result_reflection_ = NULL;
  224. const ::google::protobuf::Descriptor* packetc2w_abysm_sign_descriptor_ = NULL;
  225. const ::google::protobuf::internal::GeneratedMessageReflection*
  226. packetc2w_abysm_sign_reflection_ = NULL;
  227. const ::google::protobuf::Descriptor* packetw2c_abysm_sign_result_descriptor_ = NULL;
  228. const ::google::protobuf::internal::GeneratedMessageReflection*
  229. packetw2c_abysm_sign_result_reflection_ = NULL;
  230. const ::google::protobuf::Descriptor* packetc2w_dragonball_lottery_descriptor_ = NULL;
  231. const ::google::protobuf::internal::GeneratedMessageReflection*
  232. packetc2w_dragonball_lottery_reflection_ = NULL;
  233. const ::google::protobuf::Descriptor* packetw2c_dragonball_lottery_result_descriptor_ = NULL;
  234. const ::google::protobuf::internal::GeneratedMessageReflection*
  235. packetw2c_dragonball_lottery_result_reflection_ = NULL;
  236. } // namespace
  237. void protobuf_AssignDesc_client2world_5fprotocol_2eproto() {
  238. protobuf_AddDesc_client2world_5fprotocol_2eproto();
  239. const ::google::protobuf::FileDescriptor* file =
  240. ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
  241. "client2world_protocol.proto");
  242. GOOGLE_CHECK(file != NULL);
  243. packet_c2w_timesync_descriptor_ = file->message_type(0);
  244. static const int packet_c2w_timesync_offsets_[1] = {
  245. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_c2w_timesync, packet_id_),
  246. };
  247. packet_c2w_timesync_reflection_ =
  248. new ::google::protobuf::internal::GeneratedMessageReflection(
  249. packet_c2w_timesync_descriptor_,
  250. packet_c2w_timesync::default_instance_,
  251. packet_c2w_timesync_offsets_,
  252. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_c2w_timesync, _has_bits_[0]),
  253. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_c2w_timesync, _unknown_fields_),
  254. -1,
  255. ::google::protobuf::DescriptorPool::generated_pool(),
  256. ::google::protobuf::MessageFactory::generated_factory(),
  257. sizeof(packet_c2w_timesync));
  258. packet_w2c_timesync_result_descriptor_ = file->message_type(1);
  259. static const int packet_w2c_timesync_result_offsets_[2] = {
  260. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_w2c_timesync_result, packet_id_),
  261. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_w2c_timesync_result, server_time_),
  262. };
  263. packet_w2c_timesync_result_reflection_ =
  264. new ::google::protobuf::internal::GeneratedMessageReflection(
  265. packet_w2c_timesync_result_descriptor_,
  266. packet_w2c_timesync_result::default_instance_,
  267. packet_w2c_timesync_result_offsets_,
  268. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_w2c_timesync_result, _has_bits_[0]),
  269. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_w2c_timesync_result, _unknown_fields_),
  270. -1,
  271. ::google::protobuf::DescriptorPool::generated_pool(),
  272. ::google::protobuf::MessageFactory::generated_factory(),
  273. sizeof(packet_w2c_timesync_result));
  274. packetc2w_ask_login_descriptor_ = file->message_type(2);
  275. static const int packetc2w_ask_login_offsets_[1] = {
  276. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_ask_login, packet_id_),
  277. };
  278. packetc2w_ask_login_reflection_ =
  279. new ::google::protobuf::internal::GeneratedMessageReflection(
  280. packetc2w_ask_login_descriptor_,
  281. packetc2w_ask_login::default_instance_,
  282. packetc2w_ask_login_offsets_,
  283. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_ask_login, _has_bits_[0]),
  284. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_ask_login, _unknown_fields_),
  285. -1,
  286. ::google::protobuf::DescriptorPool::generated_pool(),
  287. ::google::protobuf::MessageFactory::generated_factory(),
  288. sizeof(packetc2w_ask_login));
  289. msg_game_info_descriptor_ = file->message_type(3);
  290. static const int msg_game_info_offsets_[3] = {
  291. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_game_info, gameid_),
  292. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_game_info, gamever_),
  293. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_game_info, curonlinenum_),
  294. };
  295. msg_game_info_reflection_ =
  296. new ::google::protobuf::internal::GeneratedMessageReflection(
  297. msg_game_info_descriptor_,
  298. msg_game_info::default_instance_,
  299. msg_game_info_offsets_,
  300. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_game_info, _has_bits_[0]),
  301. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_game_info, _unknown_fields_),
  302. -1,
  303. ::google::protobuf::DescriptorPool::generated_pool(),
  304. ::google::protobuf::MessageFactory::generated_factory(),
  305. sizeof(msg_game_info));
  306. packetw2c_ask_login_result_descriptor_ = file->message_type(4);
  307. static const int packetw2c_ask_login_result_offsets_[4] = {
  308. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_ask_login_result, packet_id_),
  309. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_ask_login_result, account_info_),
  310. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_ask_login_result, game_list_),
  311. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_ask_login_result, gaming_),
  312. };
  313. packetw2c_ask_login_result_reflection_ =
  314. new ::google::protobuf::internal::GeneratedMessageReflection(
  315. packetw2c_ask_login_result_descriptor_,
  316. packetw2c_ask_login_result::default_instance_,
  317. packetw2c_ask_login_result_offsets_,
  318. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_ask_login_result, _has_bits_[0]),
  319. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_ask_login_result, _unknown_fields_),
  320. -1,
  321. ::google::protobuf::DescriptorPool::generated_pool(),
  322. ::google::protobuf::MessageFactory::generated_factory(),
  323. sizeof(packetw2c_ask_login_result));
  324. packetc2w_enter_game_descriptor_ = file->message_type(5);
  325. static const int packetc2w_enter_game_offsets_[4] = {
  326. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_enter_game, packet_id_),
  327. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_enter_game, gameid_),
  328. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_enter_game, gamever_),
  329. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_enter_game, roomid_),
  330. };
  331. packetc2w_enter_game_reflection_ =
  332. new ::google::protobuf::internal::GeneratedMessageReflection(
  333. packetc2w_enter_game_descriptor_,
  334. packetc2w_enter_game::default_instance_,
  335. packetc2w_enter_game_offsets_,
  336. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_enter_game, _has_bits_[0]),
  337. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_enter_game, _unknown_fields_),
  338. -1,
  339. ::google::protobuf::DescriptorPool::generated_pool(),
  340. ::google::protobuf::MessageFactory::generated_factory(),
  341. sizeof(packetc2w_enter_game));
  342. packetw2c_enter_game_result_descriptor_ = file->message_type(6);
  343. static const int packetw2c_enter_game_result_offsets_[2] = {
  344. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_enter_game_result, packet_id_),
  345. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_enter_game_result, result_),
  346. };
  347. packetw2c_enter_game_result_reflection_ =
  348. new ::google::protobuf::internal::GeneratedMessageReflection(
  349. packetw2c_enter_game_result_descriptor_,
  350. packetw2c_enter_game_result::default_instance_,
  351. packetw2c_enter_game_result_offsets_,
  352. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_enter_game_result, _has_bits_[0]),
  353. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_enter_game_result, _unknown_fields_),
  354. -1,
  355. ::google::protobuf::DescriptorPool::generated_pool(),
  356. ::google::protobuf::MessageFactory::generated_factory(),
  357. sizeof(packetw2c_enter_game_result));
  358. packetc2w_gm_command_descriptor_ = file->message_type(7);
  359. static const int packetc2w_gm_command_offsets_[2] = {
  360. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_gm_command, packet_id_),
  361. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_gm_command, command_),
  362. };
  363. packetc2w_gm_command_reflection_ =
  364. new ::google::protobuf::internal::GeneratedMessageReflection(
  365. packetc2w_gm_command_descriptor_,
  366. packetc2w_gm_command::default_instance_,
  367. packetc2w_gm_command_offsets_,
  368. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_gm_command, _has_bits_[0]),
  369. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_gm_command, _unknown_fields_),
  370. -1,
  371. ::google::protobuf::DescriptorPool::generated_pool(),
  372. ::google::protobuf::MessageFactory::generated_factory(),
  373. sizeof(packetc2w_gm_command));
  374. packetw2c_gm_command_result_descriptor_ = file->message_type(8);
  375. static const int packetw2c_gm_command_result_offsets_[2] = {
  376. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_gm_command_result, packet_id_),
  377. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_gm_command_result, result_),
  378. };
  379. packetw2c_gm_command_result_reflection_ =
  380. new ::google::protobuf::internal::GeneratedMessageReflection(
  381. packetw2c_gm_command_result_descriptor_,
  382. packetw2c_gm_command_result::default_instance_,
  383. packetw2c_gm_command_result_offsets_,
  384. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_gm_command_result, _has_bits_[0]),
  385. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_gm_command_result, _unknown_fields_),
  386. -1,
  387. ::google::protobuf::DescriptorPool::generated_pool(),
  388. ::google::protobuf::MessageFactory::generated_factory(),
  389. sizeof(packetw2c_gm_command_result));
  390. packetc2w_ask_for_pay_descriptor_ = file->message_type(9);
  391. static const int packetc2w_ask_for_pay_offsets_[4] = {
  392. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_ask_for_pay, packet_id_),
  393. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_ask_for_pay, channel_),
  394. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_ask_for_pay, pay_code_),
  395. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_ask_for_pay, pay_type_),
  396. };
  397. packetc2w_ask_for_pay_reflection_ =
  398. new ::google::protobuf::internal::GeneratedMessageReflection(
  399. packetc2w_ask_for_pay_descriptor_,
  400. packetc2w_ask_for_pay::default_instance_,
  401. packetc2w_ask_for_pay_offsets_,
  402. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_ask_for_pay, _has_bits_[0]),
  403. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_ask_for_pay, _unknown_fields_),
  404. -1,
  405. ::google::protobuf::DescriptorPool::generated_pool(),
  406. ::google::protobuf::MessageFactory::generated_factory(),
  407. sizeof(packetc2w_ask_for_pay));
  408. packetw2c_ask_for_pay_result_descriptor_ = file->message_type(10);
  409. static const int packetw2c_ask_for_pay_result_offsets_[3] = {
  410. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_ask_for_pay_result, packet_id_),
  411. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_ask_for_pay_result, result_),
  412. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_ask_for_pay_result, order_id_),
  413. };
  414. packetw2c_ask_for_pay_result_reflection_ =
  415. new ::google::protobuf::internal::GeneratedMessageReflection(
  416. packetw2c_ask_for_pay_result_descriptor_,
  417. packetw2c_ask_for_pay_result::default_instance_,
  418. packetw2c_ask_for_pay_result_offsets_,
  419. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_ask_for_pay_result, _has_bits_[0]),
  420. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_ask_for_pay_result, _unknown_fields_),
  421. -1,
  422. ::google::protobuf::DescriptorPool::generated_pool(),
  423. ::google::protobuf::MessageFactory::generated_factory(),
  424. sizeof(packetw2c_ask_for_pay_result));
  425. packetc2w_ask_check_payment_descriptor_ = file->message_type(11);
  426. static const int packetc2w_ask_check_payment_offsets_[4] = {
  427. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_ask_check_payment, packet_id_),
  428. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_ask_check_payment, orderid_),
  429. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_ask_check_payment, ex_mark_),
  430. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_ask_check_payment, paytype_),
  431. };
  432. packetc2w_ask_check_payment_reflection_ =
  433. new ::google::protobuf::internal::GeneratedMessageReflection(
  434. packetc2w_ask_check_payment_descriptor_,
  435. packetc2w_ask_check_payment::default_instance_,
  436. packetc2w_ask_check_payment_offsets_,
  437. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_ask_check_payment, _has_bits_[0]),
  438. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_ask_check_payment, _unknown_fields_),
  439. -1,
  440. ::google::protobuf::DescriptorPool::generated_pool(),
  441. ::google::protobuf::MessageFactory::generated_factory(),
  442. sizeof(packetc2w_ask_check_payment));
  443. packetc2w_ask_test_payment_descriptor_ = file->message_type(12);
  444. static const int packetc2w_ask_test_payment_offsets_[3] = {
  445. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_ask_test_payment, packet_id_),
  446. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_ask_test_payment, payid_),
  447. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_ask_test_payment, ex_mark_),
  448. };
  449. packetc2w_ask_test_payment_reflection_ =
  450. new ::google::protobuf::internal::GeneratedMessageReflection(
  451. packetc2w_ask_test_payment_descriptor_,
  452. packetc2w_ask_test_payment::default_instance_,
  453. packetc2w_ask_test_payment_offsets_,
  454. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_ask_test_payment, _has_bits_[0]),
  455. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_ask_test_payment, _unknown_fields_),
  456. -1,
  457. ::google::protobuf::DescriptorPool::generated_pool(),
  458. ::google::protobuf::MessageFactory::generated_factory(),
  459. sizeof(packetc2w_ask_test_payment));
  460. packetw2c_ask_check_payment_result_descriptor_ = file->message_type(13);
  461. static const int packetw2c_ask_check_payment_result_offsets_[7] = {
  462. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_ask_check_payment_result, packet_id_),
  463. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_ask_check_payment_result, payid_),
  464. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_ask_check_payment_result, result_),
  465. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_ask_check_payment_result, gold_count_),
  466. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_ask_check_payment_result, ticket_count_),
  467. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_ask_check_payment_result, rewarditem_),
  468. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_ask_check_payment_result, activityitem_),
  469. };
  470. packetw2c_ask_check_payment_result_reflection_ =
  471. new ::google::protobuf::internal::GeneratedMessageReflection(
  472. packetw2c_ask_check_payment_result_descriptor_,
  473. packetw2c_ask_check_payment_result::default_instance_,
  474. packetw2c_ask_check_payment_result_offsets_,
  475. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_ask_check_payment_result, _has_bits_[0]),
  476. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_ask_check_payment_result, _unknown_fields_),
  477. -1,
  478. ::google::protobuf::DescriptorPool::generated_pool(),
  479. ::google::protobuf::MessageFactory::generated_factory(),
  480. sizeof(packetw2c_ask_check_payment_result));
  481. packetc2w_free_gift_payment_descriptor_ = file->message_type(14);
  482. static const int packetc2w_free_gift_payment_offsets_[3] = {
  483. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_free_gift_payment, packet_id_),
  484. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_free_gift_payment, payid_),
  485. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_free_gift_payment, ex_mark_),
  486. };
  487. packetc2w_free_gift_payment_reflection_ =
  488. new ::google::protobuf::internal::GeneratedMessageReflection(
  489. packetc2w_free_gift_payment_descriptor_,
  490. packetc2w_free_gift_payment::default_instance_,
  491. packetc2w_free_gift_payment_offsets_,
  492. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_free_gift_payment, _has_bits_[0]),
  493. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_free_gift_payment, _unknown_fields_),
  494. -1,
  495. ::google::protobuf::DescriptorPool::generated_pool(),
  496. ::google::protobuf::MessageFactory::generated_factory(),
  497. sizeof(packetc2w_free_gift_payment));
  498. packetc2w_open_gift_descriptor_ = file->message_type(15);
  499. static const int packetc2w_open_gift_offsets_[2] = {
  500. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_open_gift, packet_id_),
  501. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_open_gift, giftid_),
  502. };
  503. packetc2w_open_gift_reflection_ =
  504. new ::google::protobuf::internal::GeneratedMessageReflection(
  505. packetc2w_open_gift_descriptor_,
  506. packetc2w_open_gift::default_instance_,
  507. packetc2w_open_gift_offsets_,
  508. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_open_gift, _has_bits_[0]),
  509. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_open_gift, _unknown_fields_),
  510. -1,
  511. ::google::protobuf::DescriptorPool::generated_pool(),
  512. ::google::protobuf::MessageFactory::generated_factory(),
  513. sizeof(packetc2w_open_gift));
  514. packetw2c_open_gift_result_descriptor_ = file->message_type(16);
  515. static const int packetw2c_open_gift_result_offsets_[3] = {
  516. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_open_gift_result, packet_id_),
  517. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_open_gift_result, result_),
  518. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_open_gift_result, giftid_),
  519. };
  520. packetw2c_open_gift_result_reflection_ =
  521. new ::google::protobuf::internal::GeneratedMessageReflection(
  522. packetw2c_open_gift_result_descriptor_,
  523. packetw2c_open_gift_result::default_instance_,
  524. packetw2c_open_gift_result_offsets_,
  525. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_open_gift_result, _has_bits_[0]),
  526. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_open_gift_result, _unknown_fields_),
  527. -1,
  528. ::google::protobuf::DescriptorPool::generated_pool(),
  529. ::google::protobuf::MessageFactory::generated_factory(),
  530. sizeof(packetw2c_open_gift_result));
  531. packetc2w_leave_game_descriptor_ = file->message_type(17);
  532. static const int packetc2w_leave_game_offsets_[1] = {
  533. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_leave_game, packet_id_),
  534. };
  535. packetc2w_leave_game_reflection_ =
  536. new ::google::protobuf::internal::GeneratedMessageReflection(
  537. packetc2w_leave_game_descriptor_,
  538. packetc2w_leave_game::default_instance_,
  539. packetc2w_leave_game_offsets_,
  540. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_leave_game, _has_bits_[0]),
  541. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_leave_game, _unknown_fields_),
  542. -1,
  543. ::google::protobuf::DescriptorPool::generated_pool(),
  544. ::google::protobuf::MessageFactory::generated_factory(),
  545. sizeof(packetc2w_leave_game));
  546. packetw2c_leave_game_result_descriptor_ = file->message_type(18);
  547. static const int packetw2c_leave_game_result_offsets_[1] = {
  548. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_leave_game_result, packet_id_),
  549. };
  550. packetw2c_leave_game_result_reflection_ =
  551. new ::google::protobuf::internal::GeneratedMessageReflection(
  552. packetw2c_leave_game_result_descriptor_,
  553. packetw2c_leave_game_result::default_instance_,
  554. packetw2c_leave_game_result_offsets_,
  555. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_leave_game_result, _has_bits_[0]),
  556. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_leave_game_result, _unknown_fields_),
  557. -1,
  558. ::google::protobuf::DescriptorPool::generated_pool(),
  559. ::google::protobuf::MessageFactory::generated_factory(),
  560. sizeof(packetw2c_leave_game_result));
  561. packetw2c_player_kick_descriptor_ = file->message_type(19);
  562. static const int packetw2c_player_kick_offsets_[1] = {
  563. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_player_kick, packet_id_),
  564. };
  565. packetw2c_player_kick_reflection_ =
  566. new ::google::protobuf::internal::GeneratedMessageReflection(
  567. packetw2c_player_kick_descriptor_,
  568. packetw2c_player_kick::default_instance_,
  569. packetw2c_player_kick_offsets_,
  570. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_player_kick, _has_bits_[0]),
  571. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_player_kick, _unknown_fields_),
  572. -1,
  573. ::google::protobuf::DescriptorPool::generated_pool(),
  574. ::google::protobuf::MessageFactory::generated_factory(),
  575. sizeof(packetw2c_player_kick));
  576. packetc2w_get_gamelist_descriptor_ = file->message_type(20);
  577. static const int packetc2w_get_gamelist_offsets_[1] = {
  578. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_gamelist, packet_id_),
  579. };
  580. packetc2w_get_gamelist_reflection_ =
  581. new ::google::protobuf::internal::GeneratedMessageReflection(
  582. packetc2w_get_gamelist_descriptor_,
  583. packetc2w_get_gamelist::default_instance_,
  584. packetc2w_get_gamelist_offsets_,
  585. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_gamelist, _has_bits_[0]),
  586. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_gamelist, _unknown_fields_),
  587. -1,
  588. ::google::protobuf::DescriptorPool::generated_pool(),
  589. ::google::protobuf::MessageFactory::generated_factory(),
  590. sizeof(packetc2w_get_gamelist));
  591. packetw2c_get_gamelist_result_descriptor_ = file->message_type(21);
  592. static const int packetw2c_get_gamelist_result_offsets_[2] = {
  593. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_gamelist_result, packet_id_),
  594. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_gamelist_result, game_list_),
  595. };
  596. packetw2c_get_gamelist_result_reflection_ =
  597. new ::google::protobuf::internal::GeneratedMessageReflection(
  598. packetw2c_get_gamelist_result_descriptor_,
  599. packetw2c_get_gamelist_result::default_instance_,
  600. packetw2c_get_gamelist_result_offsets_,
  601. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_gamelist_result, _has_bits_[0]),
  602. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_gamelist_result, _unknown_fields_),
  603. -1,
  604. ::google::protobuf::DescriptorPool::generated_pool(),
  605. ::google::protobuf::MessageFactory::generated_factory(),
  606. sizeof(packetw2c_get_gamelist_result));
  607. packetc2w_first_login_descriptor_ = file->message_type(22);
  608. static const int packetc2w_first_login_offsets_[1] = {
  609. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_first_login, packet_id_),
  610. };
  611. packetc2w_first_login_reflection_ =
  612. new ::google::protobuf::internal::GeneratedMessageReflection(
  613. packetc2w_first_login_descriptor_,
  614. packetc2w_first_login::default_instance_,
  615. packetc2w_first_login_offsets_,
  616. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_first_login, _has_bits_[0]),
  617. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_first_login, _unknown_fields_),
  618. -1,
  619. ::google::protobuf::DescriptorPool::generated_pool(),
  620. ::google::protobuf::MessageFactory::generated_factory(),
  621. sizeof(packetc2w_first_login));
  622. packetw2c_first_login_result_descriptor_ = file->message_type(23);
  623. static const int packetw2c_first_login_result_offsets_[2] = {
  624. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_first_login_result, packet_id_),
  625. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_first_login_result, result_),
  626. };
  627. packetw2c_first_login_result_reflection_ =
  628. new ::google::protobuf::internal::GeneratedMessageReflection(
  629. packetw2c_first_login_result_descriptor_,
  630. packetw2c_first_login_result::default_instance_,
  631. packetw2c_first_login_result_offsets_,
  632. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_first_login_result, _has_bits_[0]),
  633. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_first_login_result, _unknown_fields_),
  634. -1,
  635. ::google::protobuf::DescriptorPool::generated_pool(),
  636. ::google::protobuf::MessageFactory::generated_factory(),
  637. sizeof(packetw2c_first_login_result));
  638. packetc2w_enter_fish_game_descriptor_ = file->message_type(24);
  639. static const int packetc2w_enter_fish_game_offsets_[3] = {
  640. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_enter_fish_game, packet_id_),
  641. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_enter_fish_game, gamever_),
  642. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_enter_fish_game, roomid_),
  643. };
  644. packetc2w_enter_fish_game_reflection_ =
  645. new ::google::protobuf::internal::GeneratedMessageReflection(
  646. packetc2w_enter_fish_game_descriptor_,
  647. packetc2w_enter_fish_game::default_instance_,
  648. packetc2w_enter_fish_game_offsets_,
  649. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_enter_fish_game, _has_bits_[0]),
  650. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_enter_fish_game, _unknown_fields_),
  651. -1,
  652. ::google::protobuf::DescriptorPool::generated_pool(),
  653. ::google::protobuf::MessageFactory::generated_factory(),
  654. sizeof(packetc2w_enter_fish_game));
  655. packetw2c_enter_fish_game_result_descriptor_ = file->message_type(25);
  656. static const int packetw2c_enter_fish_game_result_offsets_[3] = {
  657. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_enter_fish_game_result, packet_id_),
  658. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_enter_fish_game_result, result_),
  659. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_enter_fish_game_result, roomid_),
  660. };
  661. packetw2c_enter_fish_game_result_reflection_ =
  662. new ::google::protobuf::internal::GeneratedMessageReflection(
  663. packetw2c_enter_fish_game_result_descriptor_,
  664. packetw2c_enter_fish_game_result::default_instance_,
  665. packetw2c_enter_fish_game_result_offsets_,
  666. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_enter_fish_game_result, _has_bits_[0]),
  667. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_enter_fish_game_result, _unknown_fields_),
  668. -1,
  669. ::google::protobuf::DescriptorPool::generated_pool(),
  670. ::google::protobuf::MessageFactory::generated_factory(),
  671. sizeof(packetw2c_enter_fish_game_result));
  672. msg_airdropitem_descriptor_ = file->message_type(26);
  673. static const int msg_airdropitem_offsets_[9] = {
  674. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_airdropitem, uuid_),
  675. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_airdropitem, playerid_),
  676. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_airdropitem, itemid_),
  677. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_airdropitem, itemcount_),
  678. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_airdropitem, nickname_),
  679. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_airdropitem, headid_),
  680. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_airdropitem, pwd_),
  681. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_airdropitem, leftsecond_),
  682. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_airdropitem, receiveid_),
  683. };
  684. msg_airdropitem_reflection_ =
  685. new ::google::protobuf::internal::GeneratedMessageReflection(
  686. msg_airdropitem_descriptor_,
  687. msg_airdropitem::default_instance_,
  688. msg_airdropitem_offsets_,
  689. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_airdropitem, _has_bits_[0]),
  690. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(msg_airdropitem, _unknown_fields_),
  691. -1,
  692. ::google::protobuf::DescriptorPool::generated_pool(),
  693. ::google::protobuf::MessageFactory::generated_factory(),
  694. sizeof(msg_airdropitem));
  695. packetc2w_create_airdrop_descriptor_ = file->message_type(27);
  696. static const int packetc2w_create_airdrop_offsets_[4] = {
  697. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_create_airdrop, packet_id_),
  698. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_create_airdrop, itemid_),
  699. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_create_airdrop, itemcount_),
  700. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_create_airdrop, pwd_),
  701. };
  702. packetc2w_create_airdrop_reflection_ =
  703. new ::google::protobuf::internal::GeneratedMessageReflection(
  704. packetc2w_create_airdrop_descriptor_,
  705. packetc2w_create_airdrop::default_instance_,
  706. packetc2w_create_airdrop_offsets_,
  707. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_create_airdrop, _has_bits_[0]),
  708. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_create_airdrop, _unknown_fields_),
  709. -1,
  710. ::google::protobuf::DescriptorPool::generated_pool(),
  711. ::google::protobuf::MessageFactory::generated_factory(),
  712. sizeof(packetc2w_create_airdrop));
  713. packetw2c_create_airdrop_result_descriptor_ = file->message_type(28);
  714. static const int packetw2c_create_airdrop_result_offsets_[6] = {
  715. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_create_airdrop_result, packet_id_),
  716. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_create_airdrop_result, result_),
  717. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_create_airdrop_result, itemid_),
  718. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_create_airdrop_result, itemcount_),
  719. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_create_airdrop_result, pwd_),
  720. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_create_airdrop_result, uuid_),
  721. };
  722. packetw2c_create_airdrop_result_reflection_ =
  723. new ::google::protobuf::internal::GeneratedMessageReflection(
  724. packetw2c_create_airdrop_result_descriptor_,
  725. packetw2c_create_airdrop_result::default_instance_,
  726. packetw2c_create_airdrop_result_offsets_,
  727. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_create_airdrop_result, _has_bits_[0]),
  728. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_create_airdrop_result, _unknown_fields_),
  729. -1,
  730. ::google::protobuf::DescriptorPool::generated_pool(),
  731. ::google::protobuf::MessageFactory::generated_factory(),
  732. sizeof(packetw2c_create_airdrop_result));
  733. packetc2w_get_airdrop_list_descriptor_ = file->message_type(29);
  734. static const int packetc2w_get_airdrop_list_offsets_[2] = {
  735. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_airdrop_list, packet_id_),
  736. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_airdrop_list, bplayerairdrop_),
  737. };
  738. packetc2w_get_airdrop_list_reflection_ =
  739. new ::google::protobuf::internal::GeneratedMessageReflection(
  740. packetc2w_get_airdrop_list_descriptor_,
  741. packetc2w_get_airdrop_list::default_instance_,
  742. packetc2w_get_airdrop_list_offsets_,
  743. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_airdrop_list, _has_bits_[0]),
  744. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_airdrop_list, _unknown_fields_),
  745. -1,
  746. ::google::protobuf::DescriptorPool::generated_pool(),
  747. ::google::protobuf::MessageFactory::generated_factory(),
  748. sizeof(packetc2w_get_airdrop_list));
  749. packetw2c_get_airdrop_list_result_descriptor_ = file->message_type(30);
  750. static const int packetw2c_get_airdrop_list_result_offsets_[5] = {
  751. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_airdrop_list_result, packet_id_),
  752. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_airdrop_list_result, result_),
  753. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_airdrop_list_result, bplayerairdrop_),
  754. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_airdrop_list_result, items_),
  755. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_airdrop_list_result, errorcount_),
  756. };
  757. packetw2c_get_airdrop_list_result_reflection_ =
  758. new ::google::protobuf::internal::GeneratedMessageReflection(
  759. packetw2c_get_airdrop_list_result_descriptor_,
  760. packetw2c_get_airdrop_list_result::default_instance_,
  761. packetw2c_get_airdrop_list_result_offsets_,
  762. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_airdrop_list_result, _has_bits_[0]),
  763. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_airdrop_list_result, _unknown_fields_),
  764. -1,
  765. ::google::protobuf::DescriptorPool::generated_pool(),
  766. ::google::protobuf::MessageFactory::generated_factory(),
  767. sizeof(packetw2c_get_airdrop_list_result));
  768. packetc2w_get_airdrop_info_descriptor_ = file->message_type(31);
  769. static const int packetc2w_get_airdrop_info_offsets_[2] = {
  770. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_airdrop_info, packet_id_),
  771. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_airdrop_info, uuid_),
  772. };
  773. packetc2w_get_airdrop_info_reflection_ =
  774. new ::google::protobuf::internal::GeneratedMessageReflection(
  775. packetc2w_get_airdrop_info_descriptor_,
  776. packetc2w_get_airdrop_info::default_instance_,
  777. packetc2w_get_airdrop_info_offsets_,
  778. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_airdrop_info, _has_bits_[0]),
  779. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_airdrop_info, _unknown_fields_),
  780. -1,
  781. ::google::protobuf::DescriptorPool::generated_pool(),
  782. ::google::protobuf::MessageFactory::generated_factory(),
  783. sizeof(packetc2w_get_airdrop_info));
  784. packetw2c_get_airdrop_info_result_descriptor_ = file->message_type(32);
  785. static const int packetw2c_get_airdrop_info_result_offsets_[3] = {
  786. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_airdrop_info_result, packet_id_),
  787. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_airdrop_info_result, result_),
  788. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_airdrop_info_result, item_),
  789. };
  790. packetw2c_get_airdrop_info_result_reflection_ =
  791. new ::google::protobuf::internal::GeneratedMessageReflection(
  792. packetw2c_get_airdrop_info_result_descriptor_,
  793. packetw2c_get_airdrop_info_result::default_instance_,
  794. packetw2c_get_airdrop_info_result_offsets_,
  795. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_airdrop_info_result, _has_bits_[0]),
  796. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_airdrop_info_result, _unknown_fields_),
  797. -1,
  798. ::google::protobuf::DescriptorPool::generated_pool(),
  799. ::google::protobuf::MessageFactory::generated_factory(),
  800. sizeof(packetw2c_get_airdrop_info_result));
  801. packetc2w_draw_airdrop_descriptor_ = file->message_type(33);
  802. static const int packetc2w_draw_airdrop_offsets_[3] = {
  803. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_draw_airdrop, packet_id_),
  804. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_draw_airdrop, uuid_),
  805. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_draw_airdrop, pwd_),
  806. };
  807. packetc2w_draw_airdrop_reflection_ =
  808. new ::google::protobuf::internal::GeneratedMessageReflection(
  809. packetc2w_draw_airdrop_descriptor_,
  810. packetc2w_draw_airdrop::default_instance_,
  811. packetc2w_draw_airdrop_offsets_,
  812. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_draw_airdrop, _has_bits_[0]),
  813. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_draw_airdrop, _unknown_fields_),
  814. -1,
  815. ::google::protobuf::DescriptorPool::generated_pool(),
  816. ::google::protobuf::MessageFactory::generated_factory(),
  817. sizeof(packetc2w_draw_airdrop));
  818. packetw2c_draw_airdrop_result_descriptor_ = file->message_type(34);
  819. static const int packetw2c_draw_airdrop_result_offsets_[3] = {
  820. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_draw_airdrop_result, packet_id_),
  821. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_draw_airdrop_result, result_),
  822. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_draw_airdrop_result, item_),
  823. };
  824. packetw2c_draw_airdrop_result_reflection_ =
  825. new ::google::protobuf::internal::GeneratedMessageReflection(
  826. packetw2c_draw_airdrop_result_descriptor_,
  827. packetw2c_draw_airdrop_result::default_instance_,
  828. packetw2c_draw_airdrop_result_offsets_,
  829. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_draw_airdrop_result, _has_bits_[0]),
  830. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_draw_airdrop_result, _unknown_fields_),
  831. -1,
  832. ::google::protobuf::DescriptorPool::generated_pool(),
  833. ::google::protobuf::MessageFactory::generated_factory(),
  834. sizeof(packetw2c_draw_airdrop_result));
  835. packetc2w_receive_vip_reward_descriptor_ = file->message_type(35);
  836. static const int packetc2w_receive_vip_reward_offsets_[3] = {
  837. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_vip_reward, packet_id_),
  838. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_vip_reward, result_),
  839. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_vip_reward, rewardid_),
  840. };
  841. packetc2w_receive_vip_reward_reflection_ =
  842. new ::google::protobuf::internal::GeneratedMessageReflection(
  843. packetc2w_receive_vip_reward_descriptor_,
  844. packetc2w_receive_vip_reward::default_instance_,
  845. packetc2w_receive_vip_reward_offsets_,
  846. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_vip_reward, _has_bits_[0]),
  847. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_vip_reward, _unknown_fields_),
  848. -1,
  849. ::google::protobuf::DescriptorPool::generated_pool(),
  850. ::google::protobuf::MessageFactory::generated_factory(),
  851. sizeof(packetc2w_receive_vip_reward));
  852. packetw2c_receive_vip_reward_result_descriptor_ = file->message_type(36);
  853. static const int packetw2c_receive_vip_reward_result_offsets_[3] = {
  854. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_vip_reward_result, packet_id_),
  855. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_vip_reward_result, result_),
  856. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_vip_reward_result, rewardid_),
  857. };
  858. packetw2c_receive_vip_reward_result_reflection_ =
  859. new ::google::protobuf::internal::GeneratedMessageReflection(
  860. packetw2c_receive_vip_reward_result_descriptor_,
  861. packetw2c_receive_vip_reward_result::default_instance_,
  862. packetw2c_receive_vip_reward_result_offsets_,
  863. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_vip_reward_result, _has_bits_[0]),
  864. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_vip_reward_result, _unknown_fields_),
  865. -1,
  866. ::google::protobuf::DescriptorPool::generated_pool(),
  867. ::google::protobuf::MessageFactory::generated_factory(),
  868. sizeof(packetw2c_receive_vip_reward_result));
  869. packetw2c_check_vip_money_result_descriptor_ = file->message_type(37);
  870. static const int packetw2c_check_vip_money_result_offsets_[2] = {
  871. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_check_vip_money_result, packet_id_),
  872. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_check_vip_money_result, result_),
  873. };
  874. packetw2c_check_vip_money_result_reflection_ =
  875. new ::google::protobuf::internal::GeneratedMessageReflection(
  876. packetw2c_check_vip_money_result_descriptor_,
  877. packetw2c_check_vip_money_result::default_instance_,
  878. packetw2c_check_vip_money_result_offsets_,
  879. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_check_vip_money_result, _has_bits_[0]),
  880. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_check_vip_money_result, _unknown_fields_),
  881. -1,
  882. ::google::protobuf::DescriptorPool::generated_pool(),
  883. ::google::protobuf::MessageFactory::generated_factory(),
  884. sizeof(packetw2c_check_vip_money_result));
  885. packetw2c_timer_update_descriptor_ = file->message_type(38);
  886. static const int packetw2c_timer_update_offsets_[1] = {
  887. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_timer_update, packet_id_),
  888. };
  889. packetw2c_timer_update_reflection_ =
  890. new ::google::protobuf::internal::GeneratedMessageReflection(
  891. packetw2c_timer_update_descriptor_,
  892. packetw2c_timer_update::default_instance_,
  893. packetw2c_timer_update_offsets_,
  894. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_timer_update, _has_bits_[0]),
  895. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_timer_update, _unknown_fields_),
  896. -1,
  897. ::google::protobuf::DescriptorPool::generated_pool(),
  898. ::google::protobuf::MessageFactory::generated_factory(),
  899. sizeof(packetw2c_timer_update));
  900. recordInfo_descriptor_ = file->message_type(39);
  901. static const int recordInfo_offsets_[3] = {
  902. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(recordInfo, type_),
  903. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(recordInfo, param_),
  904. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(recordInfo, count_),
  905. };
  906. recordInfo_reflection_ =
  907. new ::google::protobuf::internal::GeneratedMessageReflection(
  908. recordInfo_descriptor_,
  909. recordInfo::default_instance_,
  910. recordInfo_offsets_,
  911. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(recordInfo, _has_bits_[0]),
  912. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(recordInfo, _unknown_fields_),
  913. -1,
  914. ::google::protobuf::DescriptorPool::generated_pool(),
  915. ::google::protobuf::MessageFactory::generated_factory(),
  916. sizeof(recordInfo));
  917. packetc2w_syn_record_info_descriptor_ = file->message_type(40);
  918. static const int packetc2w_syn_record_info_offsets_[2] = {
  919. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_syn_record_info, packet_id_),
  920. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_syn_record_info, recordlist_),
  921. };
  922. packetc2w_syn_record_info_reflection_ =
  923. new ::google::protobuf::internal::GeneratedMessageReflection(
  924. packetc2w_syn_record_info_descriptor_,
  925. packetc2w_syn_record_info::default_instance_,
  926. packetc2w_syn_record_info_offsets_,
  927. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_syn_record_info, _has_bits_[0]),
  928. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_syn_record_info, _unknown_fields_),
  929. -1,
  930. ::google::protobuf::DescriptorPool::generated_pool(),
  931. ::google::protobuf::MessageFactory::generated_factory(),
  932. sizeof(packetc2w_syn_record_info));
  933. packetc2w_pay_by_diamond_descriptor_ = file->message_type(41);
  934. static const int packetc2w_pay_by_diamond_offsets_[2] = {
  935. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_pay_by_diamond, packet_id_),
  936. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_pay_by_diamond, payid_),
  937. };
  938. packetc2w_pay_by_diamond_reflection_ =
  939. new ::google::protobuf::internal::GeneratedMessageReflection(
  940. packetc2w_pay_by_diamond_descriptor_,
  941. packetc2w_pay_by_diamond::default_instance_,
  942. packetc2w_pay_by_diamond_offsets_,
  943. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_pay_by_diamond, _has_bits_[0]),
  944. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_pay_by_diamond, _unknown_fields_),
  945. -1,
  946. ::google::protobuf::DescriptorPool::generated_pool(),
  947. ::google::protobuf::MessageFactory::generated_factory(),
  948. sizeof(packetc2w_pay_by_diamond));
  949. packetw2c_pay_by_diamond_result_descriptor_ = file->message_type(42);
  950. static const int packetw2c_pay_by_diamond_result_offsets_[3] = {
  951. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_pay_by_diamond_result, packet_id_),
  952. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_pay_by_diamond_result, result_),
  953. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_pay_by_diamond_result, payid_),
  954. };
  955. packetw2c_pay_by_diamond_result_reflection_ =
  956. new ::google::protobuf::internal::GeneratedMessageReflection(
  957. packetw2c_pay_by_diamond_result_descriptor_,
  958. packetw2c_pay_by_diamond_result::default_instance_,
  959. packetw2c_pay_by_diamond_result_offsets_,
  960. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_pay_by_diamond_result, _has_bits_[0]),
  961. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_pay_by_diamond_result, _unknown_fields_),
  962. -1,
  963. ::google::protobuf::DescriptorPool::generated_pool(),
  964. ::google::protobuf::MessageFactory::generated_factory(),
  965. sizeof(packetw2c_pay_by_diamond_result));
  966. packetc2w_exchange_vip_item_descriptor_ = file->message_type(43);
  967. static const int packetc2w_exchange_vip_item_offsets_[2] = {
  968. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_exchange_vip_item, packet_id_),
  969. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_exchange_vip_item, index_),
  970. };
  971. packetc2w_exchange_vip_item_reflection_ =
  972. new ::google::protobuf::internal::GeneratedMessageReflection(
  973. packetc2w_exchange_vip_item_descriptor_,
  974. packetc2w_exchange_vip_item::default_instance_,
  975. packetc2w_exchange_vip_item_offsets_,
  976. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_exchange_vip_item, _has_bits_[0]),
  977. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_exchange_vip_item, _unknown_fields_),
  978. -1,
  979. ::google::protobuf::DescriptorPool::generated_pool(),
  980. ::google::protobuf::MessageFactory::generated_factory(),
  981. sizeof(packetc2w_exchange_vip_item));
  982. packetw2c_exchange_vip_item_result_descriptor_ = file->message_type(44);
  983. static const int packetw2c_exchange_vip_item_result_offsets_[3] = {
  984. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_exchange_vip_item_result, packet_id_),
  985. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_exchange_vip_item_result, result_),
  986. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_exchange_vip_item_result, index_),
  987. };
  988. packetw2c_exchange_vip_item_result_reflection_ =
  989. new ::google::protobuf::internal::GeneratedMessageReflection(
  990. packetw2c_exchange_vip_item_result_descriptor_,
  991. packetw2c_exchange_vip_item_result::default_instance_,
  992. packetw2c_exchange_vip_item_result_offsets_,
  993. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_exchange_vip_item_result, _has_bits_[0]),
  994. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_exchange_vip_item_result, _unknown_fields_),
  995. -1,
  996. ::google::protobuf::DescriptorPool::generated_pool(),
  997. ::google::protobuf::MessageFactory::generated_factory(),
  998. sizeof(packetw2c_exchange_vip_item_result));
  999. storeInfo_descriptor_ = file->message_type(45);
  1000. static const int storeInfo_offsets_[2] = {
  1001. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(storeInfo, id_),
  1002. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(storeInfo, store_),
  1003. };
  1004. storeInfo_reflection_ =
  1005. new ::google::protobuf::internal::GeneratedMessageReflection(
  1006. storeInfo_descriptor_,
  1007. storeInfo::default_instance_,
  1008. storeInfo_offsets_,
  1009. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(storeInfo, _has_bits_[0]),
  1010. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(storeInfo, _unknown_fields_),
  1011. -1,
  1012. ::google::protobuf::DescriptorPool::generated_pool(),
  1013. ::google::protobuf::MessageFactory::generated_factory(),
  1014. sizeof(storeInfo));
  1015. packet_c2w_sync_global_data_descriptor_ = file->message_type(46);
  1016. static const int packet_c2w_sync_global_data_offsets_[1] = {
  1017. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_c2w_sync_global_data, packet_id_),
  1018. };
  1019. packet_c2w_sync_global_data_reflection_ =
  1020. new ::google::protobuf::internal::GeneratedMessageReflection(
  1021. packet_c2w_sync_global_data_descriptor_,
  1022. packet_c2w_sync_global_data::default_instance_,
  1023. packet_c2w_sync_global_data_offsets_,
  1024. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_c2w_sync_global_data, _has_bits_[0]),
  1025. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_c2w_sync_global_data, _unknown_fields_),
  1026. -1,
  1027. ::google::protobuf::DescriptorPool::generated_pool(),
  1028. ::google::protobuf::MessageFactory::generated_factory(),
  1029. sizeof(packet_c2w_sync_global_data));
  1030. packet_w2c_sync_global_data_result_descriptor_ = file->message_type(47);
  1031. static const int packet_w2c_sync_global_data_result_offsets_[3] = {
  1032. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_w2c_sync_global_data_result, packet_id_),
  1033. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_w2c_sync_global_data_result, vipexchangestore_),
  1034. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_w2c_sync_global_data_result, firstrechargegiftpaycount_),
  1035. };
  1036. packet_w2c_sync_global_data_result_reflection_ =
  1037. new ::google::protobuf::internal::GeneratedMessageReflection(
  1038. packet_w2c_sync_global_data_result_descriptor_,
  1039. packet_w2c_sync_global_data_result::default_instance_,
  1040. packet_w2c_sync_global_data_result_offsets_,
  1041. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_w2c_sync_global_data_result, _has_bits_[0]),
  1042. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_w2c_sync_global_data_result, _unknown_fields_),
  1043. -1,
  1044. ::google::protobuf::DescriptorPool::generated_pool(),
  1045. ::google::protobuf::MessageFactory::generated_factory(),
  1046. sizeof(packet_w2c_sync_global_data_result));
  1047. packet_w2c_trigger_seven_day_rechage_descriptor_ = file->message_type(48);
  1048. static const int packet_w2c_trigger_seven_day_rechage_offsets_[3] = {
  1049. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_w2c_trigger_seven_day_rechage, packet_id_),
  1050. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_w2c_trigger_seven_day_rechage, endtime_),
  1051. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_w2c_trigger_seven_day_rechage, leftsecond_),
  1052. };
  1053. packet_w2c_trigger_seven_day_rechage_reflection_ =
  1054. new ::google::protobuf::internal::GeneratedMessageReflection(
  1055. packet_w2c_trigger_seven_day_rechage_descriptor_,
  1056. packet_w2c_trigger_seven_day_rechage::default_instance_,
  1057. packet_w2c_trigger_seven_day_rechage_offsets_,
  1058. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_w2c_trigger_seven_day_rechage, _has_bits_[0]),
  1059. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_w2c_trigger_seven_day_rechage, _unknown_fields_),
  1060. -1,
  1061. ::google::protobuf::DescriptorPool::generated_pool(),
  1062. ::google::protobuf::MessageFactory::generated_factory(),
  1063. sizeof(packet_w2c_trigger_seven_day_rechage));
  1064. treasureItem_descriptor_ = file->message_type(49);
  1065. static const int treasureItem_offsets_[3] = {
  1066. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(treasureItem, index_),
  1067. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(treasureItem, itemid_),
  1068. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(treasureItem, itemcount_),
  1069. };
  1070. treasureItem_reflection_ =
  1071. new ::google::protobuf::internal::GeneratedMessageReflection(
  1072. treasureItem_descriptor_,
  1073. treasureItem::default_instance_,
  1074. treasureItem_offsets_,
  1075. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(treasureItem, _has_bits_[0]),
  1076. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(treasureItem, _unknown_fields_),
  1077. -1,
  1078. ::google::protobuf::DescriptorPool::generated_pool(),
  1079. ::google::protobuf::MessageFactory::generated_factory(),
  1080. sizeof(treasureItem));
  1081. packetw2c_trigger_daily_treasure_descriptor_ = file->message_type(50);
  1082. static const int packetw2c_trigger_daily_treasure_offsets_[4] = {
  1083. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_trigger_daily_treasure, packet_id_),
  1084. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_trigger_daily_treasure, giftid_),
  1085. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_trigger_daily_treasure, resetcard_),
  1086. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_trigger_daily_treasure, treasurelist_),
  1087. };
  1088. packetw2c_trigger_daily_treasure_reflection_ =
  1089. new ::google::protobuf::internal::GeneratedMessageReflection(
  1090. packetw2c_trigger_daily_treasure_descriptor_,
  1091. packetw2c_trigger_daily_treasure::default_instance_,
  1092. packetw2c_trigger_daily_treasure_offsets_,
  1093. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_trigger_daily_treasure, _has_bits_[0]),
  1094. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_trigger_daily_treasure, _unknown_fields_),
  1095. -1,
  1096. ::google::protobuf::DescriptorPool::generated_pool(),
  1097. ::google::protobuf::MessageFactory::generated_factory(),
  1098. sizeof(packetw2c_trigger_daily_treasure));
  1099. packetc2w_daily_treasure_lottery_descriptor_ = file->message_type(51);
  1100. static const int packetc2w_daily_treasure_lottery_offsets_[2] = {
  1101. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_daily_treasure_lottery, packet_id_),
  1102. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_daily_treasure_lottery, index_),
  1103. };
  1104. packetc2w_daily_treasure_lottery_reflection_ =
  1105. new ::google::protobuf::internal::GeneratedMessageReflection(
  1106. packetc2w_daily_treasure_lottery_descriptor_,
  1107. packetc2w_daily_treasure_lottery::default_instance_,
  1108. packetc2w_daily_treasure_lottery_offsets_,
  1109. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_daily_treasure_lottery, _has_bits_[0]),
  1110. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_daily_treasure_lottery, _unknown_fields_),
  1111. -1,
  1112. ::google::protobuf::DescriptorPool::generated_pool(),
  1113. ::google::protobuf::MessageFactory::generated_factory(),
  1114. sizeof(packetc2w_daily_treasure_lottery));
  1115. packetw2c_daily_treasure_lottery_result_descriptor_ = file->message_type(52);
  1116. static const int packetw2c_daily_treasure_lottery_result_offsets_[4] = {
  1117. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_daily_treasure_lottery_result, packet_id_),
  1118. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_daily_treasure_lottery_result, result_),
  1119. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_daily_treasure_lottery_result, index_),
  1120. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_daily_treasure_lottery_result, randcount_),
  1121. };
  1122. packetw2c_daily_treasure_lottery_result_reflection_ =
  1123. new ::google::protobuf::internal::GeneratedMessageReflection(
  1124. packetw2c_daily_treasure_lottery_result_descriptor_,
  1125. packetw2c_daily_treasure_lottery_result::default_instance_,
  1126. packetw2c_daily_treasure_lottery_result_offsets_,
  1127. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_daily_treasure_lottery_result, _has_bits_[0]),
  1128. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_daily_treasure_lottery_result, _unknown_fields_),
  1129. -1,
  1130. ::google::protobuf::DescriptorPool::generated_pool(),
  1131. ::google::protobuf::MessageFactory::generated_factory(),
  1132. sizeof(packetw2c_daily_treasure_lottery_result));
  1133. packetc2w_receive_treasure_lottery_descriptor_ = file->message_type(53);
  1134. static const int packetc2w_receive_treasure_lottery_offsets_[1] = {
  1135. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_treasure_lottery, packet_id_),
  1136. };
  1137. packetc2w_receive_treasure_lottery_reflection_ =
  1138. new ::google::protobuf::internal::GeneratedMessageReflection(
  1139. packetc2w_receive_treasure_lottery_descriptor_,
  1140. packetc2w_receive_treasure_lottery::default_instance_,
  1141. packetc2w_receive_treasure_lottery_offsets_,
  1142. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_treasure_lottery, _has_bits_[0]),
  1143. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_treasure_lottery, _unknown_fields_),
  1144. -1,
  1145. ::google::protobuf::DescriptorPool::generated_pool(),
  1146. ::google::protobuf::MessageFactory::generated_factory(),
  1147. sizeof(packetc2w_receive_treasure_lottery));
  1148. packetw2c_receive_treasure_lottery_result_descriptor_ = file->message_type(54);
  1149. static const int packetw2c_receive_treasure_lottery_result_offsets_[4] = {
  1150. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_treasure_lottery_result, packet_id_),
  1151. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_treasure_lottery_result, result_),
  1152. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_treasure_lottery_result, giftid_),
  1153. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_treasure_lottery_result, treasurelist_),
  1154. };
  1155. packetw2c_receive_treasure_lottery_result_reflection_ =
  1156. new ::google::protobuf::internal::GeneratedMessageReflection(
  1157. packetw2c_receive_treasure_lottery_result_descriptor_,
  1158. packetw2c_receive_treasure_lottery_result::default_instance_,
  1159. packetw2c_receive_treasure_lottery_result_offsets_,
  1160. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_treasure_lottery_result, _has_bits_[0]),
  1161. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_treasure_lottery_result, _unknown_fields_),
  1162. -1,
  1163. ::google::protobuf::DescriptorPool::generated_pool(),
  1164. ::google::protobuf::MessageFactory::generated_factory(),
  1165. sizeof(packetw2c_receive_treasure_lottery_result));
  1166. packetc2w_receive_sail_reward_descriptor_ = file->message_type(55);
  1167. static const int packetc2w_receive_sail_reward_offsets_[3] = {
  1168. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_sail_reward, packet_id_),
  1169. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_sail_reward, type_),
  1170. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_sail_reward, index_),
  1171. };
  1172. packetc2w_receive_sail_reward_reflection_ =
  1173. new ::google::protobuf::internal::GeneratedMessageReflection(
  1174. packetc2w_receive_sail_reward_descriptor_,
  1175. packetc2w_receive_sail_reward::default_instance_,
  1176. packetc2w_receive_sail_reward_offsets_,
  1177. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_sail_reward, _has_bits_[0]),
  1178. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_sail_reward, _unknown_fields_),
  1179. -1,
  1180. ::google::protobuf::DescriptorPool::generated_pool(),
  1181. ::google::protobuf::MessageFactory::generated_factory(),
  1182. sizeof(packetc2w_receive_sail_reward));
  1183. packetw2c_receive_sail_result_descriptor_ = file->message_type(56);
  1184. static const int packetw2c_receive_sail_result_offsets_[5] = {
  1185. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_sail_result, packet_id_),
  1186. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_sail_result, type_),
  1187. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_sail_result, index_),
  1188. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_sail_result, result_),
  1189. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_sail_result, resultparam_),
  1190. };
  1191. packetw2c_receive_sail_result_reflection_ =
  1192. new ::google::protobuf::internal::GeneratedMessageReflection(
  1193. packetw2c_receive_sail_result_descriptor_,
  1194. packetw2c_receive_sail_result::default_instance_,
  1195. packetw2c_receive_sail_result_offsets_,
  1196. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_sail_result, _has_bits_[0]),
  1197. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_sail_result, _unknown_fields_),
  1198. -1,
  1199. ::google::protobuf::DescriptorPool::generated_pool(),
  1200. ::google::protobuf::MessageFactory::generated_factory(),
  1201. sizeof(packetw2c_receive_sail_result));
  1202. packetc2w_syn_sail_piggy_gold_descriptor_ = file->message_type(57);
  1203. static const int packetc2w_syn_sail_piggy_gold_offsets_[1] = {
  1204. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_syn_sail_piggy_gold, packet_id_),
  1205. };
  1206. packetc2w_syn_sail_piggy_gold_reflection_ =
  1207. new ::google::protobuf::internal::GeneratedMessageReflection(
  1208. packetc2w_syn_sail_piggy_gold_descriptor_,
  1209. packetc2w_syn_sail_piggy_gold::default_instance_,
  1210. packetc2w_syn_sail_piggy_gold_offsets_,
  1211. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_syn_sail_piggy_gold, _has_bits_[0]),
  1212. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_syn_sail_piggy_gold, _unknown_fields_),
  1213. -1,
  1214. ::google::protobuf::DescriptorPool::generated_pool(),
  1215. ::google::protobuf::MessageFactory::generated_factory(),
  1216. sizeof(packetc2w_syn_sail_piggy_gold));
  1217. packetw2c_syn_sail_piggy_gold_result_descriptor_ = file->message_type(58);
  1218. static const int packetw2c_syn_sail_piggy_gold_result_offsets_[4] = {
  1219. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_sail_piggy_gold_result, packet_id_),
  1220. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_sail_piggy_gold_result, piggygold_),
  1221. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_sail_piggy_gold_result, fishgold_),
  1222. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_sail_piggy_gold_result, onlinegold_),
  1223. };
  1224. packetw2c_syn_sail_piggy_gold_result_reflection_ =
  1225. new ::google::protobuf::internal::GeneratedMessageReflection(
  1226. packetw2c_syn_sail_piggy_gold_result_descriptor_,
  1227. packetw2c_syn_sail_piggy_gold_result::default_instance_,
  1228. packetw2c_syn_sail_piggy_gold_result_offsets_,
  1229. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_sail_piggy_gold_result, _has_bits_[0]),
  1230. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_syn_sail_piggy_gold_result, _unknown_fields_),
  1231. -1,
  1232. ::google::protobuf::DescriptorPool::generated_pool(),
  1233. ::google::protobuf::MessageFactory::generated_factory(),
  1234. sizeof(packetw2c_syn_sail_piggy_gold_result));
  1235. packetc2w_sail_achieve_lottery_descriptor_ = file->message_type(59);
  1236. static const int packetc2w_sail_achieve_lottery_offsets_[2] = {
  1237. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_sail_achieve_lottery, packet_id_),
  1238. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_sail_achieve_lottery, count_),
  1239. };
  1240. packetc2w_sail_achieve_lottery_reflection_ =
  1241. new ::google::protobuf::internal::GeneratedMessageReflection(
  1242. packetc2w_sail_achieve_lottery_descriptor_,
  1243. packetc2w_sail_achieve_lottery::default_instance_,
  1244. packetc2w_sail_achieve_lottery_offsets_,
  1245. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_sail_achieve_lottery, _has_bits_[0]),
  1246. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_sail_achieve_lottery, _unknown_fields_),
  1247. -1,
  1248. ::google::protobuf::DescriptorPool::generated_pool(),
  1249. ::google::protobuf::MessageFactory::generated_factory(),
  1250. sizeof(packetc2w_sail_achieve_lottery));
  1251. packetw2c_sail_achieve_lottery_result_descriptor_ = file->message_type(60);
  1252. static const int packetw2c_sail_achieve_lottery_result_offsets_[4] = {
  1253. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_sail_achieve_lottery_result, packet_id_),
  1254. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_sail_achieve_lottery_result, count_),
  1255. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_sail_achieve_lottery_result, result_),
  1256. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_sail_achieve_lottery_result, rewardlist_),
  1257. };
  1258. packetw2c_sail_achieve_lottery_result_reflection_ =
  1259. new ::google::protobuf::internal::GeneratedMessageReflection(
  1260. packetw2c_sail_achieve_lottery_result_descriptor_,
  1261. packetw2c_sail_achieve_lottery_result::default_instance_,
  1262. packetw2c_sail_achieve_lottery_result_offsets_,
  1263. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_sail_achieve_lottery_result, _has_bits_[0]),
  1264. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_sail_achieve_lottery_result, _unknown_fields_),
  1265. -1,
  1266. ::google::protobuf::DescriptorPool::generated_pool(),
  1267. ::google::protobuf::MessageFactory::generated_factory(),
  1268. sizeof(packetw2c_sail_achieve_lottery_result));
  1269. packetw2c_trigger_sail_achieve_descriptor_ = file->message_type(61);
  1270. static const int packetw2c_trigger_sail_achieve_offsets_[2] = {
  1271. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_trigger_sail_achieve, packet_id_),
  1272. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_trigger_sail_achieve, sailinfo_),
  1273. };
  1274. packetw2c_trigger_sail_achieve_reflection_ =
  1275. new ::google::protobuf::internal::GeneratedMessageReflection(
  1276. packetw2c_trigger_sail_achieve_descriptor_,
  1277. packetw2c_trigger_sail_achieve::default_instance_,
  1278. packetw2c_trigger_sail_achieve_offsets_,
  1279. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_trigger_sail_achieve, _has_bits_[0]),
  1280. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_trigger_sail_achieve, _unknown_fields_),
  1281. -1,
  1282. ::google::protobuf::DescriptorPool::generated_pool(),
  1283. ::google::protobuf::MessageFactory::generated_factory(),
  1284. sizeof(packetw2c_trigger_sail_achieve));
  1285. sailLotteryInfo_descriptor_ = file->message_type(62);
  1286. static const int sailLotteryInfo_offsets_[4] = {
  1287. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(sailLotteryInfo, nickname_),
  1288. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(sailLotteryInfo, itemid_),
  1289. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(sailLotteryInfo, itemcount_),
  1290. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(sailLotteryInfo, time_),
  1291. };
  1292. sailLotteryInfo_reflection_ =
  1293. new ::google::protobuf::internal::GeneratedMessageReflection(
  1294. sailLotteryInfo_descriptor_,
  1295. sailLotteryInfo::default_instance_,
  1296. sailLotteryInfo_offsets_,
  1297. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(sailLotteryInfo, _has_bits_[0]),
  1298. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(sailLotteryInfo, _unknown_fields_),
  1299. -1,
  1300. ::google::protobuf::DescriptorPool::generated_pool(),
  1301. ::google::protobuf::MessageFactory::generated_factory(),
  1302. sizeof(sailLotteryInfo));
  1303. packetc2w_sail_get_lottery_history_descriptor_ = file->message_type(63);
  1304. static const int packetc2w_sail_get_lottery_history_offsets_[1] = {
  1305. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_sail_get_lottery_history, packet_id_),
  1306. };
  1307. packetc2w_sail_get_lottery_history_reflection_ =
  1308. new ::google::protobuf::internal::GeneratedMessageReflection(
  1309. packetc2w_sail_get_lottery_history_descriptor_,
  1310. packetc2w_sail_get_lottery_history::default_instance_,
  1311. packetc2w_sail_get_lottery_history_offsets_,
  1312. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_sail_get_lottery_history, _has_bits_[0]),
  1313. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_sail_get_lottery_history, _unknown_fields_),
  1314. -1,
  1315. ::google::protobuf::DescriptorPool::generated_pool(),
  1316. ::google::protobuf::MessageFactory::generated_factory(),
  1317. sizeof(packetc2w_sail_get_lottery_history));
  1318. packetw2c_sail_get_lottery_history_result_descriptor_ = file->message_type(64);
  1319. static const int packetw2c_sail_get_lottery_history_result_offsets_[2] = {
  1320. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_sail_get_lottery_history_result, packet_id_),
  1321. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_sail_get_lottery_history_result, his_),
  1322. };
  1323. packetw2c_sail_get_lottery_history_result_reflection_ =
  1324. new ::google::protobuf::internal::GeneratedMessageReflection(
  1325. packetw2c_sail_get_lottery_history_result_descriptor_,
  1326. packetw2c_sail_get_lottery_history_result::default_instance_,
  1327. packetw2c_sail_get_lottery_history_result_offsets_,
  1328. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_sail_get_lottery_history_result, _has_bits_[0]),
  1329. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_sail_get_lottery_history_result, _unknown_fields_),
  1330. -1,
  1331. ::google::protobuf::DescriptorPool::generated_pool(),
  1332. ::google::protobuf::MessageFactory::generated_factory(),
  1333. sizeof(packetw2c_sail_get_lottery_history_result));
  1334. packetc2w_recv_return_login_reward_descriptor_ = file->message_type(65);
  1335. static const int packetc2w_recv_return_login_reward_offsets_[2] = {
  1336. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_return_login_reward, packet_id_),
  1337. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_return_login_reward, index_),
  1338. };
  1339. packetc2w_recv_return_login_reward_reflection_ =
  1340. new ::google::protobuf::internal::GeneratedMessageReflection(
  1341. packetc2w_recv_return_login_reward_descriptor_,
  1342. packetc2w_recv_return_login_reward::default_instance_,
  1343. packetc2w_recv_return_login_reward_offsets_,
  1344. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_return_login_reward, _has_bits_[0]),
  1345. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_return_login_reward, _unknown_fields_),
  1346. -1,
  1347. ::google::protobuf::DescriptorPool::generated_pool(),
  1348. ::google::protobuf::MessageFactory::generated_factory(),
  1349. sizeof(packetc2w_recv_return_login_reward));
  1350. packetw2c_recv_return_login_reward_result_descriptor_ = file->message_type(66);
  1351. static const int packetw2c_recv_return_login_reward_result_offsets_[3] = {
  1352. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_return_login_reward_result, packet_id_),
  1353. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_return_login_reward_result, result_),
  1354. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_return_login_reward_result, index_),
  1355. };
  1356. packetw2c_recv_return_login_reward_result_reflection_ =
  1357. new ::google::protobuf::internal::GeneratedMessageReflection(
  1358. packetw2c_recv_return_login_reward_result_descriptor_,
  1359. packetw2c_recv_return_login_reward_result::default_instance_,
  1360. packetw2c_recv_return_login_reward_result_offsets_,
  1361. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_return_login_reward_result, _has_bits_[0]),
  1362. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_return_login_reward_result, _unknown_fields_),
  1363. -1,
  1364. ::google::protobuf::DescriptorPool::generated_pool(),
  1365. ::google::protobuf::MessageFactory::generated_factory(),
  1366. sizeof(packetw2c_recv_return_login_reward_result));
  1367. packetc2w_recv_return_recharge_reward_descriptor_ = file->message_type(67);
  1368. static const int packetc2w_recv_return_recharge_reward_offsets_[2] = {
  1369. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_return_recharge_reward, packet_id_),
  1370. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_return_recharge_reward, index_),
  1371. };
  1372. packetc2w_recv_return_recharge_reward_reflection_ =
  1373. new ::google::protobuf::internal::GeneratedMessageReflection(
  1374. packetc2w_recv_return_recharge_reward_descriptor_,
  1375. packetc2w_recv_return_recharge_reward::default_instance_,
  1376. packetc2w_recv_return_recharge_reward_offsets_,
  1377. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_return_recharge_reward, _has_bits_[0]),
  1378. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_recv_return_recharge_reward, _unknown_fields_),
  1379. -1,
  1380. ::google::protobuf::DescriptorPool::generated_pool(),
  1381. ::google::protobuf::MessageFactory::generated_factory(),
  1382. sizeof(packetc2w_recv_return_recharge_reward));
  1383. packetw2c_recv_return_recharge_reward_result_descriptor_ = file->message_type(68);
  1384. static const int packetw2c_recv_return_recharge_reward_result_offsets_[3] = {
  1385. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_return_recharge_reward_result, packet_id_),
  1386. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_return_recharge_reward_result, result_),
  1387. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_return_recharge_reward_result, index_),
  1388. };
  1389. packetw2c_recv_return_recharge_reward_result_reflection_ =
  1390. new ::google::protobuf::internal::GeneratedMessageReflection(
  1391. packetw2c_recv_return_recharge_reward_result_descriptor_,
  1392. packetw2c_recv_return_recharge_reward_result::default_instance_,
  1393. packetw2c_recv_return_recharge_reward_result_offsets_,
  1394. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_return_recharge_reward_result, _has_bits_[0]),
  1395. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_recv_return_recharge_reward_result, _unknown_fields_),
  1396. -1,
  1397. ::google::protobuf::DescriptorPool::generated_pool(),
  1398. ::google::protobuf::MessageFactory::generated_factory(),
  1399. sizeof(packetw2c_recv_return_recharge_reward_result));
  1400. packetc2w_abysm_sign_descriptor_ = file->message_type(69);
  1401. static const int packetc2w_abysm_sign_offsets_[2] = {
  1402. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_abysm_sign, packet_id_),
  1403. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_abysm_sign, index_),
  1404. };
  1405. packetc2w_abysm_sign_reflection_ =
  1406. new ::google::protobuf::internal::GeneratedMessageReflection(
  1407. packetc2w_abysm_sign_descriptor_,
  1408. packetc2w_abysm_sign::default_instance_,
  1409. packetc2w_abysm_sign_offsets_,
  1410. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_abysm_sign, _has_bits_[0]),
  1411. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_abysm_sign, _unknown_fields_),
  1412. -1,
  1413. ::google::protobuf::DescriptorPool::generated_pool(),
  1414. ::google::protobuf::MessageFactory::generated_factory(),
  1415. sizeof(packetc2w_abysm_sign));
  1416. packetw2c_abysm_sign_result_descriptor_ = file->message_type(70);
  1417. static const int packetw2c_abysm_sign_result_offsets_[4] = {
  1418. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_abysm_sign_result, packet_id_),
  1419. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_abysm_sign_result, result_),
  1420. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_abysm_sign_result, index_),
  1421. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_abysm_sign_result, rewarditem_),
  1422. };
  1423. packetw2c_abysm_sign_result_reflection_ =
  1424. new ::google::protobuf::internal::GeneratedMessageReflection(
  1425. packetw2c_abysm_sign_result_descriptor_,
  1426. packetw2c_abysm_sign_result::default_instance_,
  1427. packetw2c_abysm_sign_result_offsets_,
  1428. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_abysm_sign_result, _has_bits_[0]),
  1429. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_abysm_sign_result, _unknown_fields_),
  1430. -1,
  1431. ::google::protobuf::DescriptorPool::generated_pool(),
  1432. ::google::protobuf::MessageFactory::generated_factory(),
  1433. sizeof(packetw2c_abysm_sign_result));
  1434. packetc2w_dragonball_lottery_descriptor_ = file->message_type(71);
  1435. static const int packetc2w_dragonball_lottery_offsets_[2] = {
  1436. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_dragonball_lottery, packet_id_),
  1437. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_dragonball_lottery, count_),
  1438. };
  1439. packetc2w_dragonball_lottery_reflection_ =
  1440. new ::google::protobuf::internal::GeneratedMessageReflection(
  1441. packetc2w_dragonball_lottery_descriptor_,
  1442. packetc2w_dragonball_lottery::default_instance_,
  1443. packetc2w_dragonball_lottery_offsets_,
  1444. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_dragonball_lottery, _has_bits_[0]),
  1445. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_dragonball_lottery, _unknown_fields_),
  1446. -1,
  1447. ::google::protobuf::DescriptorPool::generated_pool(),
  1448. ::google::protobuf::MessageFactory::generated_factory(),
  1449. sizeof(packetc2w_dragonball_lottery));
  1450. packetw2c_dragonball_lottery_result_descriptor_ = file->message_type(72);
  1451. static const int packetw2c_dragonball_lottery_result_offsets_[6] = {
  1452. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_dragonball_lottery_result, packet_id_),
  1453. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_dragonball_lottery_result, result_),
  1454. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_dragonball_lottery_result, count_),
  1455. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_dragonball_lottery_result, curlucky_),
  1456. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_dragonball_lottery_result, dragonball_),
  1457. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_dragonball_lottery_result, rewards_),
  1458. };
  1459. packetw2c_dragonball_lottery_result_reflection_ =
  1460. new ::google::protobuf::internal::GeneratedMessageReflection(
  1461. packetw2c_dragonball_lottery_result_descriptor_,
  1462. packetw2c_dragonball_lottery_result::default_instance_,
  1463. packetw2c_dragonball_lottery_result_offsets_,
  1464. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_dragonball_lottery_result, _has_bits_[0]),
  1465. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_dragonball_lottery_result, _unknown_fields_),
  1466. -1,
  1467. ::google::protobuf::DescriptorPool::generated_pool(),
  1468. ::google::protobuf::MessageFactory::generated_factory(),
  1469. sizeof(packetw2c_dragonball_lottery_result));
  1470. }
  1471. namespace {
  1472. GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
  1473. inline void protobuf_AssignDescriptorsOnce() {
  1474. ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
  1475. &protobuf_AssignDesc_client2world_5fprotocol_2eproto);
  1476. }
  1477. void protobuf_RegisterTypes(const ::std::string&) {
  1478. protobuf_AssignDescriptorsOnce();
  1479. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1480. packet_c2w_timesync_descriptor_, &packet_c2w_timesync::default_instance());
  1481. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1482. packet_w2c_timesync_result_descriptor_, &packet_w2c_timesync_result::default_instance());
  1483. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1484. packetc2w_ask_login_descriptor_, &packetc2w_ask_login::default_instance());
  1485. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1486. msg_game_info_descriptor_, &msg_game_info::default_instance());
  1487. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1488. packetw2c_ask_login_result_descriptor_, &packetw2c_ask_login_result::default_instance());
  1489. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1490. packetc2w_enter_game_descriptor_, &packetc2w_enter_game::default_instance());
  1491. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1492. packetw2c_enter_game_result_descriptor_, &packetw2c_enter_game_result::default_instance());
  1493. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1494. packetc2w_gm_command_descriptor_, &packetc2w_gm_command::default_instance());
  1495. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1496. packetw2c_gm_command_result_descriptor_, &packetw2c_gm_command_result::default_instance());
  1497. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1498. packetc2w_ask_for_pay_descriptor_, &packetc2w_ask_for_pay::default_instance());
  1499. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1500. packetw2c_ask_for_pay_result_descriptor_, &packetw2c_ask_for_pay_result::default_instance());
  1501. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1502. packetc2w_ask_check_payment_descriptor_, &packetc2w_ask_check_payment::default_instance());
  1503. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1504. packetc2w_ask_test_payment_descriptor_, &packetc2w_ask_test_payment::default_instance());
  1505. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1506. packetw2c_ask_check_payment_result_descriptor_, &packetw2c_ask_check_payment_result::default_instance());
  1507. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1508. packetc2w_free_gift_payment_descriptor_, &packetc2w_free_gift_payment::default_instance());
  1509. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1510. packetc2w_open_gift_descriptor_, &packetc2w_open_gift::default_instance());
  1511. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1512. packetw2c_open_gift_result_descriptor_, &packetw2c_open_gift_result::default_instance());
  1513. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1514. packetc2w_leave_game_descriptor_, &packetc2w_leave_game::default_instance());
  1515. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1516. packetw2c_leave_game_result_descriptor_, &packetw2c_leave_game_result::default_instance());
  1517. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1518. packetw2c_player_kick_descriptor_, &packetw2c_player_kick::default_instance());
  1519. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1520. packetc2w_get_gamelist_descriptor_, &packetc2w_get_gamelist::default_instance());
  1521. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1522. packetw2c_get_gamelist_result_descriptor_, &packetw2c_get_gamelist_result::default_instance());
  1523. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1524. packetc2w_first_login_descriptor_, &packetc2w_first_login::default_instance());
  1525. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1526. packetw2c_first_login_result_descriptor_, &packetw2c_first_login_result::default_instance());
  1527. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1528. packetc2w_enter_fish_game_descriptor_, &packetc2w_enter_fish_game::default_instance());
  1529. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1530. packetw2c_enter_fish_game_result_descriptor_, &packetw2c_enter_fish_game_result::default_instance());
  1531. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1532. msg_airdropitem_descriptor_, &msg_airdropitem::default_instance());
  1533. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1534. packetc2w_create_airdrop_descriptor_, &packetc2w_create_airdrop::default_instance());
  1535. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1536. packetw2c_create_airdrop_result_descriptor_, &packetw2c_create_airdrop_result::default_instance());
  1537. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1538. packetc2w_get_airdrop_list_descriptor_, &packetc2w_get_airdrop_list::default_instance());
  1539. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1540. packetw2c_get_airdrop_list_result_descriptor_, &packetw2c_get_airdrop_list_result::default_instance());
  1541. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1542. packetc2w_get_airdrop_info_descriptor_, &packetc2w_get_airdrop_info::default_instance());
  1543. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1544. packetw2c_get_airdrop_info_result_descriptor_, &packetw2c_get_airdrop_info_result::default_instance());
  1545. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1546. packetc2w_draw_airdrop_descriptor_, &packetc2w_draw_airdrop::default_instance());
  1547. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1548. packetw2c_draw_airdrop_result_descriptor_, &packetw2c_draw_airdrop_result::default_instance());
  1549. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1550. packetc2w_receive_vip_reward_descriptor_, &packetc2w_receive_vip_reward::default_instance());
  1551. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1552. packetw2c_receive_vip_reward_result_descriptor_, &packetw2c_receive_vip_reward_result::default_instance());
  1553. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1554. packetw2c_check_vip_money_result_descriptor_, &packetw2c_check_vip_money_result::default_instance());
  1555. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1556. packetw2c_timer_update_descriptor_, &packetw2c_timer_update::default_instance());
  1557. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1558. recordInfo_descriptor_, &recordInfo::default_instance());
  1559. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1560. packetc2w_syn_record_info_descriptor_, &packetc2w_syn_record_info::default_instance());
  1561. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1562. packetc2w_pay_by_diamond_descriptor_, &packetc2w_pay_by_diamond::default_instance());
  1563. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1564. packetw2c_pay_by_diamond_result_descriptor_, &packetw2c_pay_by_diamond_result::default_instance());
  1565. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1566. packetc2w_exchange_vip_item_descriptor_, &packetc2w_exchange_vip_item::default_instance());
  1567. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1568. packetw2c_exchange_vip_item_result_descriptor_, &packetw2c_exchange_vip_item_result::default_instance());
  1569. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1570. storeInfo_descriptor_, &storeInfo::default_instance());
  1571. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1572. packet_c2w_sync_global_data_descriptor_, &packet_c2w_sync_global_data::default_instance());
  1573. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1574. packet_w2c_sync_global_data_result_descriptor_, &packet_w2c_sync_global_data_result::default_instance());
  1575. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1576. packet_w2c_trigger_seven_day_rechage_descriptor_, &packet_w2c_trigger_seven_day_rechage::default_instance());
  1577. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1578. treasureItem_descriptor_, &treasureItem::default_instance());
  1579. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1580. packetw2c_trigger_daily_treasure_descriptor_, &packetw2c_trigger_daily_treasure::default_instance());
  1581. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1582. packetc2w_daily_treasure_lottery_descriptor_, &packetc2w_daily_treasure_lottery::default_instance());
  1583. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1584. packetw2c_daily_treasure_lottery_result_descriptor_, &packetw2c_daily_treasure_lottery_result::default_instance());
  1585. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1586. packetc2w_receive_treasure_lottery_descriptor_, &packetc2w_receive_treasure_lottery::default_instance());
  1587. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1588. packetw2c_receive_treasure_lottery_result_descriptor_, &packetw2c_receive_treasure_lottery_result::default_instance());
  1589. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1590. packetc2w_receive_sail_reward_descriptor_, &packetc2w_receive_sail_reward::default_instance());
  1591. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1592. packetw2c_receive_sail_result_descriptor_, &packetw2c_receive_sail_result::default_instance());
  1593. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1594. packetc2w_syn_sail_piggy_gold_descriptor_, &packetc2w_syn_sail_piggy_gold::default_instance());
  1595. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1596. packetw2c_syn_sail_piggy_gold_result_descriptor_, &packetw2c_syn_sail_piggy_gold_result::default_instance());
  1597. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1598. packetc2w_sail_achieve_lottery_descriptor_, &packetc2w_sail_achieve_lottery::default_instance());
  1599. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1600. packetw2c_sail_achieve_lottery_result_descriptor_, &packetw2c_sail_achieve_lottery_result::default_instance());
  1601. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1602. packetw2c_trigger_sail_achieve_descriptor_, &packetw2c_trigger_sail_achieve::default_instance());
  1603. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1604. sailLotteryInfo_descriptor_, &sailLotteryInfo::default_instance());
  1605. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1606. packetc2w_sail_get_lottery_history_descriptor_, &packetc2w_sail_get_lottery_history::default_instance());
  1607. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1608. packetw2c_sail_get_lottery_history_result_descriptor_, &packetw2c_sail_get_lottery_history_result::default_instance());
  1609. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1610. packetc2w_recv_return_login_reward_descriptor_, &packetc2w_recv_return_login_reward::default_instance());
  1611. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1612. packetw2c_recv_return_login_reward_result_descriptor_, &packetw2c_recv_return_login_reward_result::default_instance());
  1613. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1614. packetc2w_recv_return_recharge_reward_descriptor_, &packetc2w_recv_return_recharge_reward::default_instance());
  1615. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1616. packetw2c_recv_return_recharge_reward_result_descriptor_, &packetw2c_recv_return_recharge_reward_result::default_instance());
  1617. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1618. packetc2w_abysm_sign_descriptor_, &packetc2w_abysm_sign::default_instance());
  1619. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1620. packetw2c_abysm_sign_result_descriptor_, &packetw2c_abysm_sign_result::default_instance());
  1621. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1622. packetc2w_dragonball_lottery_descriptor_, &packetc2w_dragonball_lottery::default_instance());
  1623. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  1624. packetw2c_dragonball_lottery_result_descriptor_, &packetw2c_dragonball_lottery_result::default_instance());
  1625. }
  1626. } // namespace
  1627. void protobuf_ShutdownFile_client2world_5fprotocol_2eproto() {
  1628. delete packet_c2w_timesync::default_instance_;
  1629. delete packet_c2w_timesync_reflection_;
  1630. delete packet_w2c_timesync_result::default_instance_;
  1631. delete packet_w2c_timesync_result_reflection_;
  1632. delete packetc2w_ask_login::default_instance_;
  1633. delete packetc2w_ask_login_reflection_;
  1634. delete msg_game_info::default_instance_;
  1635. delete msg_game_info_reflection_;
  1636. delete packetw2c_ask_login_result::default_instance_;
  1637. delete packetw2c_ask_login_result_reflection_;
  1638. delete packetc2w_enter_game::default_instance_;
  1639. delete packetc2w_enter_game_reflection_;
  1640. delete packetw2c_enter_game_result::default_instance_;
  1641. delete packetw2c_enter_game_result_reflection_;
  1642. delete packetc2w_gm_command::default_instance_;
  1643. delete packetc2w_gm_command_reflection_;
  1644. delete packetw2c_gm_command_result::default_instance_;
  1645. delete packetw2c_gm_command_result_reflection_;
  1646. delete packetc2w_ask_for_pay::default_instance_;
  1647. delete packetc2w_ask_for_pay_reflection_;
  1648. delete packetw2c_ask_for_pay_result::default_instance_;
  1649. delete packetw2c_ask_for_pay_result_reflection_;
  1650. delete packetc2w_ask_check_payment::default_instance_;
  1651. delete packetc2w_ask_check_payment_reflection_;
  1652. delete packetc2w_ask_test_payment::default_instance_;
  1653. delete packetc2w_ask_test_payment_reflection_;
  1654. delete packetw2c_ask_check_payment_result::default_instance_;
  1655. delete packetw2c_ask_check_payment_result_reflection_;
  1656. delete packetc2w_free_gift_payment::default_instance_;
  1657. delete packetc2w_free_gift_payment_reflection_;
  1658. delete packetc2w_open_gift::default_instance_;
  1659. delete packetc2w_open_gift_reflection_;
  1660. delete packetw2c_open_gift_result::default_instance_;
  1661. delete packetw2c_open_gift_result_reflection_;
  1662. delete packetc2w_leave_game::default_instance_;
  1663. delete packetc2w_leave_game_reflection_;
  1664. delete packetw2c_leave_game_result::default_instance_;
  1665. delete packetw2c_leave_game_result_reflection_;
  1666. delete packetw2c_player_kick::default_instance_;
  1667. delete packetw2c_player_kick_reflection_;
  1668. delete packetc2w_get_gamelist::default_instance_;
  1669. delete packetc2w_get_gamelist_reflection_;
  1670. delete packetw2c_get_gamelist_result::default_instance_;
  1671. delete packetw2c_get_gamelist_result_reflection_;
  1672. delete packetc2w_first_login::default_instance_;
  1673. delete packetc2w_first_login_reflection_;
  1674. delete packetw2c_first_login_result::default_instance_;
  1675. delete packetw2c_first_login_result_reflection_;
  1676. delete packetc2w_enter_fish_game::default_instance_;
  1677. delete packetc2w_enter_fish_game_reflection_;
  1678. delete packetw2c_enter_fish_game_result::default_instance_;
  1679. delete packetw2c_enter_fish_game_result_reflection_;
  1680. delete msg_airdropitem::default_instance_;
  1681. delete msg_airdropitem_reflection_;
  1682. delete packetc2w_create_airdrop::default_instance_;
  1683. delete packetc2w_create_airdrop_reflection_;
  1684. delete packetw2c_create_airdrop_result::default_instance_;
  1685. delete packetw2c_create_airdrop_result_reflection_;
  1686. delete packetc2w_get_airdrop_list::default_instance_;
  1687. delete packetc2w_get_airdrop_list_reflection_;
  1688. delete packetw2c_get_airdrop_list_result::default_instance_;
  1689. delete packetw2c_get_airdrop_list_result_reflection_;
  1690. delete packetc2w_get_airdrop_info::default_instance_;
  1691. delete packetc2w_get_airdrop_info_reflection_;
  1692. delete packetw2c_get_airdrop_info_result::default_instance_;
  1693. delete packetw2c_get_airdrop_info_result_reflection_;
  1694. delete packetc2w_draw_airdrop::default_instance_;
  1695. delete packetc2w_draw_airdrop_reflection_;
  1696. delete packetw2c_draw_airdrop_result::default_instance_;
  1697. delete packetw2c_draw_airdrop_result_reflection_;
  1698. delete packetc2w_receive_vip_reward::default_instance_;
  1699. delete packetc2w_receive_vip_reward_reflection_;
  1700. delete packetw2c_receive_vip_reward_result::default_instance_;
  1701. delete packetw2c_receive_vip_reward_result_reflection_;
  1702. delete packetw2c_check_vip_money_result::default_instance_;
  1703. delete packetw2c_check_vip_money_result_reflection_;
  1704. delete packetw2c_timer_update::default_instance_;
  1705. delete packetw2c_timer_update_reflection_;
  1706. delete recordInfo::default_instance_;
  1707. delete recordInfo_reflection_;
  1708. delete packetc2w_syn_record_info::default_instance_;
  1709. delete packetc2w_syn_record_info_reflection_;
  1710. delete packetc2w_pay_by_diamond::default_instance_;
  1711. delete packetc2w_pay_by_diamond_reflection_;
  1712. delete packetw2c_pay_by_diamond_result::default_instance_;
  1713. delete packetw2c_pay_by_diamond_result_reflection_;
  1714. delete packetc2w_exchange_vip_item::default_instance_;
  1715. delete packetc2w_exchange_vip_item_reflection_;
  1716. delete packetw2c_exchange_vip_item_result::default_instance_;
  1717. delete packetw2c_exchange_vip_item_result_reflection_;
  1718. delete storeInfo::default_instance_;
  1719. delete storeInfo_reflection_;
  1720. delete packet_c2w_sync_global_data::default_instance_;
  1721. delete packet_c2w_sync_global_data_reflection_;
  1722. delete packet_w2c_sync_global_data_result::default_instance_;
  1723. delete packet_w2c_sync_global_data_result_reflection_;
  1724. delete packet_w2c_trigger_seven_day_rechage::default_instance_;
  1725. delete packet_w2c_trigger_seven_day_rechage_reflection_;
  1726. delete treasureItem::default_instance_;
  1727. delete treasureItem_reflection_;
  1728. delete packetw2c_trigger_daily_treasure::default_instance_;
  1729. delete packetw2c_trigger_daily_treasure_reflection_;
  1730. delete packetc2w_daily_treasure_lottery::default_instance_;
  1731. delete packetc2w_daily_treasure_lottery_reflection_;
  1732. delete packetw2c_daily_treasure_lottery_result::default_instance_;
  1733. delete packetw2c_daily_treasure_lottery_result_reflection_;
  1734. delete packetc2w_receive_treasure_lottery::default_instance_;
  1735. delete packetc2w_receive_treasure_lottery_reflection_;
  1736. delete packetw2c_receive_treasure_lottery_result::default_instance_;
  1737. delete packetw2c_receive_treasure_lottery_result_reflection_;
  1738. delete packetc2w_receive_sail_reward::default_instance_;
  1739. delete packetc2w_receive_sail_reward_reflection_;
  1740. delete packetw2c_receive_sail_result::default_instance_;
  1741. delete packetw2c_receive_sail_result_reflection_;
  1742. delete packetc2w_syn_sail_piggy_gold::default_instance_;
  1743. delete packetc2w_syn_sail_piggy_gold_reflection_;
  1744. delete packetw2c_syn_sail_piggy_gold_result::default_instance_;
  1745. delete packetw2c_syn_sail_piggy_gold_result_reflection_;
  1746. delete packetc2w_sail_achieve_lottery::default_instance_;
  1747. delete packetc2w_sail_achieve_lottery_reflection_;
  1748. delete packetw2c_sail_achieve_lottery_result::default_instance_;
  1749. delete packetw2c_sail_achieve_lottery_result_reflection_;
  1750. delete packetw2c_trigger_sail_achieve::default_instance_;
  1751. delete packetw2c_trigger_sail_achieve_reflection_;
  1752. delete sailLotteryInfo::default_instance_;
  1753. delete sailLotteryInfo_reflection_;
  1754. delete packetc2w_sail_get_lottery_history::default_instance_;
  1755. delete packetc2w_sail_get_lottery_history_reflection_;
  1756. delete packetw2c_sail_get_lottery_history_result::default_instance_;
  1757. delete packetw2c_sail_get_lottery_history_result_reflection_;
  1758. delete packetc2w_recv_return_login_reward::default_instance_;
  1759. delete packetc2w_recv_return_login_reward_reflection_;
  1760. delete packetw2c_recv_return_login_reward_result::default_instance_;
  1761. delete packetw2c_recv_return_login_reward_result_reflection_;
  1762. delete packetc2w_recv_return_recharge_reward::default_instance_;
  1763. delete packetc2w_recv_return_recharge_reward_reflection_;
  1764. delete packetw2c_recv_return_recharge_reward_result::default_instance_;
  1765. delete packetw2c_recv_return_recharge_reward_result_reflection_;
  1766. delete packetc2w_abysm_sign::default_instance_;
  1767. delete packetc2w_abysm_sign_reflection_;
  1768. delete packetw2c_abysm_sign_result::default_instance_;
  1769. delete packetw2c_abysm_sign_result_reflection_;
  1770. delete packetc2w_dragonball_lottery::default_instance_;
  1771. delete packetc2w_dragonball_lottery_reflection_;
  1772. delete packetw2c_dragonball_lottery_result::default_instance_;
  1773. delete packetw2c_dragonball_lottery_result_reflection_;
  1774. }
  1775. void protobuf_AddDesc_client2world_5fprotocol_2eproto() {
  1776. static bool already_here = false;
  1777. if (already_here) return;
  1778. already_here = true;
  1779. GOOGLE_PROTOBUF_VERIFY_VERSION;
  1780. ::client2world_protocols::protobuf_AddDesc_client2world_5fmsg_5ftype_2eproto();
  1781. ::msg_type_def::protobuf_AddDesc_msg_5ftype_5fdef_2eproto();
  1782. ::msg_info_def::protobuf_AddDesc_msg_5finfo_5fdef_2eproto();
  1783. ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
  1784. "\n\033client2world_protocol.proto\022\026client2wo"
  1785. "rld_protocols\032\033client2world_msg_type.pro"
  1786. "to\032\022msg_type_def.proto\032\022msg_info_def.pro"
  1787. "to\"g\n\023packet_c2w_timesync\022P\n\tpacket_id\030\001"
  1788. " \001(\0162).client2world_protocols.e_server_m"
  1789. "sg_type:\022e_mst_c2w_timesync\"\212\001\n\032packet_w"
  1790. "2c_timesync_result\022W\n\tpacket_id\030\001 \001(\0162)."
  1791. "client2world_protocols.e_server_msg_type"
  1792. ":\031e_mst_w2c_timesync_result\022\023\n\013server_ti"
  1793. "me\030\002 \001(\005\"g\n\023packetc2w_ask_login\022P\n\tpacke"
  1794. "t_id\030\001 \001(\0162).client2world_protocols.e_se"
  1795. "rver_msg_type:\022e_mst_c2w_asklogin\"F\n\rmsg"
  1796. "_game_info\022\016\n\006gameid\030\001 \001(\005\022\017\n\007gamever\030\002 "
  1797. "\001(\005\022\024\n\014curOnlineNum\030\003 \001(\005\"\370\001\n\032packetw2c_"
  1798. "ask_login_result\022W\n\tpacket_id\030\001 \001(\0162).cl"
  1799. "ient2world_protocols.e_server_msg_type:\031"
  1800. "e_mst_w2c_asklogin_result\0224\n\014account_inf"
  1801. "o\030\002 \001(\0132\036.msg_info_def.msg_account_info\022"
  1802. "8\n\tgame_list\030\003 \003(\0132%.client2world_protoc"
  1803. "ols.msg_game_info\022\021\n\006gaming\030\004 \001(\005:\0010\"\233\001\n"
  1804. "\024packetc2w_enter_game\022R\n\tpacket_id\030\001 \001(\016"
  1805. "2).client2world_protocols.e_server_msg_t"
  1806. "ype:\024e_mst_c2w_enter_game\022\016\n\006gameid\030\002 \001("
  1807. "\005\022\017\n\007gamever\030\003 \001(\005\022\016\n\006roomId\030\004 \001(\005\"\264\001\n\033p"
  1808. "acketw2c_enter_game_result\022Y\n\tpacket_id\030"
  1809. "\001 \001(\0162).client2world_protocols.e_server_"
  1810. "msg_type:\033e_mst_w2c_enter_game_result\022:\n"
  1811. "\006result\030\002 \001(\0162\036.msg_type_def.e_msg_resul"
  1812. "t_def:\ne_rmt_fail\"x\n\024packetc2w_gm_comman"
  1813. "d\022O\n\tpacket_id\030\001 \001(\0162).client2world_prot"
  1814. "ocols.e_server_msg_type:\021e_mst_c2w_comma"
  1815. "nd\022\017\n\007command\030\002 \001(\t\"\261\001\n\033packetw2c_gm_com"
  1816. "mand_result\022V\n\tpacket_id\030\001 \001(\0162).client2"
  1817. "world_protocols.e_server_msg_type:\030e_mst"
  1818. "_w2c_command_result\022:\n\006result\030\002 \001(\0162\036.ms"
  1819. "g_type_def.e_msg_result_def:\ne_rmt_fail\""
  1820. "\241\001\n\025packetc2w_ask_for_pay\022S\n\tpacket_id\030\001"
  1821. " \001(\0162).client2world_protocols.e_server_m"
  1822. "sg_type:\025e_mst_c2w_ask_for_pay\022\017\n\007channe"
  1823. "l\030\002 \001(\t\022\020\n\010pay_code\030\003 \001(\005\022\020\n\010pay_type\030\004 "
  1824. "\001(\t\"\310\001\n\034packetw2c_ask_for_pay_result\022Z\n\t"
  1825. "packet_id\030\001 \001(\0162).client2world_protocols"
  1826. ".e_server_msg_type:\034e_mst_w2c_ask_for_pa"
  1827. "y_result\022:\n\006result\030\002 \001(\0162\036.msg_type_def."
  1828. "e_msg_result_def:\ne_rmt_fail\022\020\n\010order_id"
  1829. "\030\003 \001(\t\"\262\001\n\033packetc2w_ask_check_payment\022Y"
  1830. "\n\tpacket_id\030\001 \001(\0162).client2world_protoco"
  1831. "ls.e_server_msg_type:\033e_mst_c2w_ask_chec"
  1832. "k_payment\022\017\n\007orderid\030\002 \001(\t\022\026\n\007ex_mark\030\003 "
  1833. "\001(\010:\005false\022\017\n\007payType\030\004 \001(\t\"\235\001\n\032packetc2"
  1834. "w_ask_test_payment\022X\n\tpacket_id\030\001 \001(\0162)."
  1835. "client2world_protocols.e_server_msg_type"
  1836. ":\032e_mst_c2w_ask_test_payment\022\r\n\005payid\030\002 "
  1837. "\001(\005\022\026\n\007ex_mark\030\003 \001(\010:\005false\"\275\002\n\"packetw2"
  1838. "c_ask_check_payment_result\022`\n\tpacket_id\030"
  1839. "\001 \001(\0162).client2world_protocols.e_server_"
  1840. "msg_type:\"e_mst_w2c_ask_check_payment_re"
  1841. "sult\022\r\n\005payid\030\002 \001(\005\022\024\n\006result\030\003 \001(\010:\004tru"
  1842. "e\022\025\n\ngold_count\030\004 \001(\005:\0010\022\027\n\014ticket_count"
  1843. "\030\005 \001(\005:\0010\022*\n\nrewardItem\030\t \003(\0132\026.msg_info"
  1844. "_def.ItemInfo\0224\n\014activityItem\030\n \003(\0132\036.ms"
  1845. "g_info_def.ActivityItemInfo\"\237\001\n\033packetc2"
  1846. "w_free_gift_payment\022Y\n\tpacket_id\030\001 \001(\0162)"
  1847. ".client2world_protocols.e_server_msg_typ"
  1848. "e:\033e_mst_c2w_free_gift_payment\022\r\n\005payid\030"
  1849. "\002 \001(\005\022\026\n\007ex_mark\030\003 \001(\010:\005false\"x\n\023packetc"
  1850. "2w_open_gift\022Q\n\tpacket_id\030\001 \001(\0162).client"
  1851. "2world_protocols.e_server_msg_type:\023e_ms"
  1852. "t_c2w_open_gift\022\016\n\006giftId\030\002 \001(\005\"\226\001\n\032pack"
  1853. "etw2c_open_gift_result\022X\n\tpacket_id\030\001 \001("
  1854. "\0162).client2world_protocols.e_server_msg_"
  1855. "type:\032e_mst_w2c_open_gift_result\022\016\n\006resu"
  1856. "lt\030\002 \001(\005\022\016\n\006giftId\030\003 \001(\005\"j\n\024packetc2w_le"
  1857. "ave_game\022R\n\tpacket_id\030\001 \001(\0162).client2wor"
  1858. "ld_protocols.e_server_msg_type:\024e_mst_c2"
  1859. "w_leave_game\"x\n\033packetw2c_leave_game_res"
  1860. "ult\022Y\n\tpacket_id\030\001 \001(\0162).client2world_pr"
  1861. "otocols.e_server_msg_type:\033e_mst_w2c_lea"
  1862. "ve_game_result\"l\n\025packetw2c_player_kick\022"
  1863. "S\n\tpacket_id\030\001 \001(\0162).client2world_protoc"
  1864. "ols.e_server_msg_type:\025e_mst_w2c_player_"
  1865. "kick\"n\n\026packetc2w_get_gamelist\022T\n\tpacket"
  1866. "_id\030\001 \001(\0162).client2world_protocols.e_ser"
  1867. "ver_msg_type:\026e_mst_c2w_get_gamelist\"\266\001\n"
  1868. "\035packetw2c_get_gamelist_result\022[\n\tpacket"
  1869. "_id\030\001 \001(\0162).client2world_protocols.e_ser"
  1870. "ver_msg_type:\035e_mst_w2c_get_gamelist_res"
  1871. "ult\0228\n\tgame_list\030\002 \003(\0132%.client2world_pr"
  1872. "otocols.msg_game_info\"l\n\025packetc2w_first"
  1873. "_login\022S\n\tpacket_id\030\001 \001(\0162).client2world"
  1874. "_protocols.e_server_msg_type:\025e_mst_c2w_"
  1875. "first_login\"\266\001\n\034packetw2c_first_login_re"
  1876. "sult\022Z\n\tpacket_id\030\001 \001(\0162).client2world_p"
  1877. "rotocols.e_server_msg_type:\034e_mst_w2c_fi"
  1878. "rst_login_result\022:\n\006result\030\002 \001(\0162\036.msg_t"
  1879. "ype_def.e_msg_result_def:\ne_rmt_fail\"\225\001\n"
  1880. "\031packetc2w_enter_fish_game\022W\n\tpacket_id\030"
  1881. "\001 \001(\0162).client2world_protocols.e_server_"
  1882. "msg_type:\031e_mst_c2w_enter_fish_game\022\017\n\007g"
  1883. "amever\030\002 \001(\005\022\016\n\006roomId\030\003 \001(\005\"\242\001\n packetw"
  1884. "2c_enter_fish_game_result\022^\n\tpacket_id\030\001"
  1885. " \001(\0162).client2world_protocols.e_server_m"
  1886. "sg_type: e_mst_w2c_enter_fish_game_resul"
  1887. "t\022\016\n\006result\030\002 \001(\005\022\016\n\006roomId\030\003 \001(\005\"\252\001\n\017ms"
  1888. "g_airdropitem\022\014\n\004uuid\030\001 \001(\005\022\020\n\010playerid\030"
  1889. "\002 \001(\005\022\016\n\006itemid\030\003 \001(\005\022\021\n\titemcount\030\004 \001(\005"
  1890. "\022\020\n\010nickname\030\005 \001(\t\022\016\n\006headid\030\006 \001(\005\022\013\n\003pw"
  1891. "d\030\007 \001(\t\022\022\n\nleftsecond\030\010 \001(\005\022\021\n\treceiveId"
  1892. "\030\t \001(\005\"\242\001\n\030packetc2w_create_airdrop\022V\n\tp"
  1893. "acket_id\030\001 \001(\0162).client2world_protocols."
  1894. "e_server_msg_type:\030e_mst_c2w_create_aird"
  1895. "rop\022\016\n\006itemid\030\002 \001(\005\022\021\n\titemcount\030\003 \001(\005\022\013"
  1896. "\n\003pwd\030\004 \001(\t\"\316\001\n\037packetw2c_create_airdrop"
  1897. "_result\022]\n\tpacket_id\030\001 \001(\0162).client2worl"
  1898. "d_protocols.e_server_msg_type:\037e_mst_w2c"
  1899. "_create_airdrop_result\022\016\n\006result\030\002 \001(\005\022\016"
  1900. "\n\006itemid\030\003 \001(\005\022\021\n\titemcount\030\004 \001(\005\022\013\n\003pwd"
  1901. "\030\005 \001(\t\022\014\n\004uuid\030\006 \001(\005\"\216\001\n\032packetc2w_get_a"
  1902. "irdrop_list\022X\n\tpacket_id\030\001 \001(\0162).client2"
  1903. "world_protocols.e_server_msg_type:\032e_mst"
  1904. "_c2w_get_airdrop_list\022\026\n\016bplayerairdrop\030"
  1905. "\002 \001(\010\"\370\001\n!packetw2c_get_airdrop_list_res"
  1906. "ult\022_\n\tpacket_id\030\001 \001(\0162).client2world_pr"
  1907. "otocols.e_server_msg_type:!e_mst_w2c_get"
  1908. "_airdrop_list_result\022\016\n\006result\030\002 \001(\005\022\026\n\016"
  1909. "bplayerairdrop\030\003 \001(\010\0226\n\005items\030\004 \003(\0132\'.cl"
  1910. "ient2world_protocols.msg_airdropitem\022\022\n\n"
  1911. "errorcount\030\005 \001(\005\"\204\001\n\032packetc2w_get_airdr"
  1912. "op_info\022X\n\tpacket_id\030\001 \001(\0162).client2worl"
  1913. "d_protocols.e_server_msg_type:\032e_mst_c2w"
  1914. "_get_airdrop_info\022\014\n\004uuid\030\002 \001(\005\"\313\001\n!pack"
  1915. "etw2c_get_airdrop_info_result\022_\n\tpacket_"
  1916. "id\030\001 \001(\0162).client2world_protocols.e_serv"
  1917. "er_msg_type:!e_mst_w2c_get_airdrop_info_"
  1918. "result\022\016\n\006result\030\002 \001(\005\0225\n\004item\030\003 \001(\0132\'.c"
  1919. "lient2world_protocols.msg_airdropitem\"\211\001"
  1920. "\n\026packetc2w_draw_airdrop\022T\n\tpacket_id\030\001 "
  1921. "\001(\0162).client2world_protocols.e_server_ms"
  1922. "g_type:\026e_mst_c2w_draw_airdrop\022\014\n\004uuid\030\002"
  1923. " \001(\005\022\013\n\003pwd\030\003 \001(\t\"\303\001\n\035packetw2c_draw_air"
  1924. "drop_result\022[\n\tpacket_id\030\001 \001(\0162).client2"
  1925. "world_protocols.e_server_msg_type:\035e_mst"
  1926. "_w2c_draw_airdrop_result\022\016\n\006result\030\002 \001(\005"
  1927. "\0225\n\004item\030\003 \001(\0132\'.client2world_protocols."
  1928. "msg_airdropitem\"\234\001\n\034packetc2w_receive_vi"
  1929. "p_reward\022Z\n\tpacket_id\030\001 \001(\0162).client2wor"
  1930. "ld_protocols.e_server_msg_type:\034e_mst_c2"
  1931. "w_receive_vip_reward\022\016\n\006result\030\002 \001(\005\022\020\n\010"
  1932. "rewardid\030\003 \001(\005\"\252\001\n#packetw2c_receive_vip"
  1933. "_reward_result\022a\n\tpacket_id\030\001 \001(\0162).clie"
  1934. "nt2world_protocols.e_server_msg_type:#e_"
  1935. "mst_w2c_receive_vip_reward_result\022\016\n\006res"
  1936. "ult\030\002 \001(\005\022\020\n\010rewardid\030\003 \001(\005\"\222\001\n packetw2"
  1937. "c_check_vip_money_result\022^\n\tpacket_id\030\001 "
  1938. "\001(\0162).client2world_protocols.e_server_ms"
  1939. "g_type: e_mst_w2c_check_vip_money_result"
  1940. "\022\016\n\006result\030\002 \001(\005\"n\n\026packetw2c_timer_upda"
  1941. "te\022T\n\tpacket_id\030\001 \001(\0162).client2world_pro"
  1942. "tocols.e_server_msg_type:\026e_mst_w2c_time"
  1943. "r_update\"8\n\nrecordInfo\022\014\n\004type\030\001 \001(\005\022\r\n\005"
  1944. "param\030\002 \001(\005\022\r\n\005count\030\003 \001(\005\"\254\001\n\031packetc2w"
  1945. "_syn_record_info\022W\n\tpacket_id\030\001 \001(\0162).cl"
  1946. "ient2world_protocols.e_server_msg_type:\031"
  1947. "e_mst_c2w_syn_record_info\0226\n\nrecordList\030"
  1948. "\002 \003(\0132\".client2world_protocols.recordInf"
  1949. "o\"\201\001\n\030packetc2w_pay_by_diamond\022V\n\tpacket"
  1950. "_id\030\001 \001(\0162).client2world_protocols.e_ser"
  1951. "ver_msg_type:\030e_mst_c2w_pay_by_diamond\022\r"
  1952. "\n\005payid\030\002 \001(\005\"\237\001\n\037packetw2c_pay_by_diamo"
  1953. "nd_result\022]\n\tpacket_id\030\001 \001(\0162).client2wo"
  1954. "rld_protocols.e_server_msg_type:\037e_mst_w"
  1955. "2c_pay_by_diamond_result\022\016\n\006result\030\002 \001(\005"
  1956. "\022\r\n\005payid\030\003 \001(\005\"\207\001\n\033packetc2w_exchange_v"
  1957. "ip_item\022Y\n\tpacket_id\030\001 \001(\0162).client2worl"
  1958. "d_protocols.e_server_msg_type:\033e_mst_c2w"
  1959. "_exchange_vip_item\022\r\n\005index\030\002 \001(\005\"\245\001\n\"pa"
  1960. "cketw2c_exchange_vip_item_result\022`\n\tpack"
  1961. "et_id\030\001 \001(\0162).client2world_protocols.e_s"
  1962. "erver_msg_type:\"e_mst_w2c_exchange_vip_i"
  1963. "tem_result\022\016\n\006result\030\002 \001(\005\022\r\n\005index\030\003 \001("
  1964. "\005\"&\n\tstoreInfo\022\n\n\002id\030\001 \001(\005\022\r\n\005store\030\002 \001("
  1965. "\005\"w\n\033packet_c2w_sync_global_data\022X\n\tpack"
  1966. "et_id\030\001 \001(\0162).client2world_protocols.e_s"
  1967. "erver_msg_type:\032e_mst_c2w_sync_global_da"
  1968. "ta\"\345\001\n\"packet_w2c_sync_global_data_resul"
  1969. "t\022_\n\tpacket_id\030\001 \001(\0162).client2world_prot"
  1970. "ocols.e_server_msg_type:!e_mst_w2c_sync_"
  1971. "global_data_result\022;\n\020vipExchangeStore\030\002"
  1972. " \003(\0132!.client2world_protocols.storeInfo\022"
  1973. "!\n\031firstRechargeGiftPayCount\030\003 \001(\005\"\256\001\n$p"
  1974. "acket_w2c_trigger_seven_day_rechage\022a\n\tp"
  1975. "acket_id\030\001 \001(\0162).client2world_protocols."
  1976. "e_server_msg_type:#e_mst_w2c_trigger_sev"
  1977. "en_day_rechage\022\017\n\007endTime\030\002 \001(\005\022\022\n\nlefts"
  1978. "econd\030\003 \001(\005\"@\n\014treasureItem\022\r\n\005index\030\001 \001"
  1979. "(\005\022\016\n\006itemId\030\002 \001(\005\022\021\n\titemCount\030\003 \001(\005\"\341\001"
  1980. "\n packetw2c_trigger_daily_treasure\022^\n\tpa"
  1981. "cket_id\030\001 \001(\0162).client2world_protocols.e"
  1982. "_server_msg_type: e_mst_w2c_trigger_dail"
  1983. "y_treasure\022\016\n\006giftId\030\002 \001(\005\022\021\n\tresetCard\030"
  1984. "\003 \001(\005\022:\n\014treasureList\030\004 \003(\0132$.client2wor"
  1985. "ld_protocols.treasureItem\"\221\001\n packetc2w_"
  1986. "daily_treasure_lottery\022^\n\tpacket_id\030\001 \001("
  1987. "\0162).client2world_protocols.e_server_msg_"
  1988. "type: e_mst_c2w_daily_treasure_lottery\022\r"
  1989. "\n\005index\030\002 \001(\005\"\302\001\n\'packetw2c_daily_treasu"
  1990. "re_lottery_result\022e\n\tpacket_id\030\001 \001(\0162).c"
  1991. "lient2world_protocols.e_server_msg_type:"
  1992. "\'e_mst_w2c_daily_treasure_lottery_result"
  1993. "\022\016\n\006result\030\002 \001(\005\022\r\n\005index\030\003 \001(\005\022\021\n\trandC"
  1994. "ount\030\004 \001(\005\"\206\001\n\"packetc2w_receive_treasur"
  1995. "e_lottery\022`\n\tpacket_id\030\001 \001(\0162).client2wo"
  1996. "rld_protocols.e_server_msg_type:\"e_mst_c"
  1997. "2w_receive_treasure_lottery\"\360\001\n)packetw2"
  1998. "c_receive_treasure_lottery_result\022g\n\tpac"
  1999. "ket_id\030\001 \001(\0162).client2world_protocols.e_"
  2000. "server_msg_type:)e_mst_w2c_receive_treas"
  2001. "ure_lottery_result\022\016\n\006result\030\002 \001(\005\022\016\n\006gi"
  2002. "ftId\030\003 \001(\005\022:\n\014treasureList\030\004 \003(\0132$.clien"
  2003. "t2world_protocols.treasureItem\"\231\001\n\035packe"
  2004. "tc2w_receive_sail_reward\022[\n\tpacket_id\030\001 "
  2005. "\001(\0162).client2world_protocols.e_server_ms"
  2006. "g_type:\035e_mst_c2w_receive_sail_reward\022\014\n"
  2007. "\004type\030\002 \001(\005\022\r\n\005index\030\003 \001(\005\"\276\001\n\035packetw2c"
  2008. "_receive_sail_result\022[\n\tpacket_id\030\001 \001(\0162"
  2009. ").client2world_protocols.e_server_msg_ty"
  2010. "pe:\035e_mst_w2c_receive_sail_result\022\014\n\004typ"
  2011. "e\030\002 \001(\005\022\r\n\005index\030\003 \001(\005\022\016\n\006result\030\004 \001(\005\022\023"
  2012. "\n\013resultParam\030\005 \001(\005\"|\n\035packetc2w_syn_sai"
  2013. "l_piggy_gold\022[\n\tpacket_id\030\001 \001(\0162).client"
  2014. "2world_protocols.e_server_msg_type:\035e_ms"
  2015. "t_c2w_syn_sail_piggy_gold\"\303\001\n$packetw2c_"
  2016. "syn_sail_piggy_gold_result\022b\n\tpacket_id\030"
  2017. "\001 \001(\0162).client2world_protocols.e_server_"
  2018. "msg_type:$e_mst_w2c_syn_sail_piggy_gold_"
  2019. "result\022\021\n\tpiggyGold\030\002 \001(\005\022\020\n\010fishGold\030\003 "
  2020. "\001(\005\022\022\n\nonlineGold\030\004 \001(\005\"\215\001\n\036packetc2w_sa"
  2021. "il_achieve_lottery\022\\\n\tpacket_id\030\001 \001(\0162)."
  2022. "client2world_protocols.e_server_msg_type"
  2023. ":\036e_mst_c2w_sail_achieve_lottery\022\r\n\005coun"
  2024. "t\030\002 \001(\005\"\277\001\n%packetw2c_sail_achieve_lotte"
  2025. "ry_result\022c\n\tpacket_id\030\001 \001(\0162).client2wo"
  2026. "rld_protocols.e_server_msg_type:%e_mst_w"
  2027. "2c_sail_achieve_lottery_result\022\r\n\005count\030"
  2028. "\002 \001(\005\022\016\n\006result\030\003 \001(\005\022\022\n\nrewardList\030\004 \003("
  2029. "\005\"\260\001\n\036packetw2c_trigger_sail_achieve\022\\\n\t"
  2030. "packet_id\030\001 \001(\0162).client2world_protocols"
  2031. ".e_server_msg_type:\036e_mst_w2c_trigger_sa"
  2032. "il_achieve\0220\n\010sailInfo\030\002 \001(\0132\036.msg_info_"
  2033. "def.SailCeremonyInfo\"T\n\017sailLotteryInfo\022"
  2034. "\020\n\010nickname\030\001 \001(\t\022\016\n\006itemID\030\002 \001(\005\022\021\n\tite"
  2035. "mCount\030\003 \001(\005\022\014\n\004time\030\004 \001(\005\"\206\001\n\"packetc2w"
  2036. "_sail_get_lottery_history\022`\n\tpacket_id\030\001"
  2037. " \001(\0162).client2world_protocols.e_server_m"
  2038. "sg_type:\"e_mst_c2w_sail_get_lottery_hist"
  2039. "ory\"\312\001\n)packetw2c_sail_get_lottery_histo"
  2040. "ry_result\022g\n\tpacket_id\030\001 \001(\0162).client2wo"
  2041. "rld_protocols.e_server_msg_type:)e_mst_w"
  2042. "2c_sail_get_lottery_history_result\0224\n\003hi"
  2043. "s\030\002 \003(\0132\'.client2world_protocols.sailLot"
  2044. "teryInfo\"\225\001\n\"packetc2w_recv_return_login"
  2045. "_reward\022`\n\tpacket_id\030\001 \001(\0162).client2worl"
  2046. "d_protocols.e_server_msg_type:\"e_mst_c2w"
  2047. "_recv_return_login_reward\022\r\n\005index\030\002 \001(\005"
  2048. "\"\263\001\n)packetw2c_recv_return_login_reward_"
  2049. "result\022g\n\tpacket_id\030\001 \001(\0162).client2world"
  2050. "_protocols.e_server_msg_type:)e_mst_w2c_"
  2051. "recv_return_login_reward_result\022\016\n\006resul"
  2052. "t\030\002 \001(\005\022\r\n\005index\030\003 \001(\005\"\233\001\n%packetc2w_rec"
  2053. "v_return_recharge_reward\022c\n\tpacket_id\030\001 "
  2054. "\001(\0162).client2world_protocols.e_server_ms"
  2055. "g_type:%e_mst_c2w_recv_return_recharge_r"
  2056. "eward\022\r\n\005index\030\002 \001(\005\"\271\001\n,packetw2c_recv_"
  2057. "return_recharge_reward_result\022j\n\tpacket_"
  2058. "id\030\001 \001(\0162).client2world_protocols.e_serv"
  2059. "er_msg_type:,e_mst_w2c_recv_return_recha"
  2060. "rge_reward_result\022\016\n\006result\030\002 \001(\005\022\r\n\005ind"
  2061. "ex\030\003 \001(\005\"y\n\024packetc2w_abysm_sign\022R\n\tpack"
  2062. "et_id\030\001 \001(\0162).client2world_protocols.e_s"
  2063. "erver_msg_type:\024e_mst_c2w_abysm_sign\022\r\n\005"
  2064. "index\030\002 \001(\005\"\303\001\n\033packetw2c_abysm_sign_res"
  2065. "ult\022Y\n\tpacket_id\030\001 \001(\0162).client2world_pr"
  2066. "otocols.e_server_msg_type:\033e_mst_w2c_aby"
  2067. "sm_sign_result\022\016\n\006result\030\002 \001(\005\022\r\n\005index\030"
  2068. "\003 \001(\005\022*\n\nrewardItem\030\004 \003(\0132\026.msg_info_def"
  2069. ".ItemInfo\"\211\001\n\034packetc2w_dragonball_lotte"
  2070. "ry\022Z\n\tpacket_id\030\001 \001(\0162).client2world_pro"
  2071. "tocols.e_server_msg_type:\034e_mst_c2w_drag"
  2072. "onball_lottery\022\r\n\005count\030\002 \001(\005\"\336\001\n#packet"
  2073. "w2c_dragonball_lottery_result\022a\n\tpacket_"
  2074. "id\030\001 \001(\0162).client2world_protocols.e_serv"
  2075. "er_msg_type:#e_mst_w2c_dragonball_lotter"
  2076. "y_result\022\016\n\006result\030\002 \001(\005\022\r\n\005count\030\003 \001(\005\022"
  2077. "\020\n\010curlucky\030\004 \001(\005\022\022\n\ndragonball\030\005 \001(\005\022\017\n"
  2078. "\007rewards\030\006 \003(\005", 11774);
  2079. ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
  2080. "client2world_protocol.proto", &protobuf_RegisterTypes);
  2081. packet_c2w_timesync::default_instance_ = new packet_c2w_timesync();
  2082. packet_w2c_timesync_result::default_instance_ = new packet_w2c_timesync_result();
  2083. packetc2w_ask_login::default_instance_ = new packetc2w_ask_login();
  2084. msg_game_info::default_instance_ = new msg_game_info();
  2085. packetw2c_ask_login_result::default_instance_ = new packetw2c_ask_login_result();
  2086. packetc2w_enter_game::default_instance_ = new packetc2w_enter_game();
  2087. packetw2c_enter_game_result::default_instance_ = new packetw2c_enter_game_result();
  2088. packetc2w_gm_command::default_instance_ = new packetc2w_gm_command();
  2089. packetw2c_gm_command_result::default_instance_ = new packetw2c_gm_command_result();
  2090. packetc2w_ask_for_pay::default_instance_ = new packetc2w_ask_for_pay();
  2091. packetw2c_ask_for_pay_result::default_instance_ = new packetw2c_ask_for_pay_result();
  2092. packetc2w_ask_check_payment::default_instance_ = new packetc2w_ask_check_payment();
  2093. packetc2w_ask_test_payment::default_instance_ = new packetc2w_ask_test_payment();
  2094. packetw2c_ask_check_payment_result::default_instance_ = new packetw2c_ask_check_payment_result();
  2095. packetc2w_free_gift_payment::default_instance_ = new packetc2w_free_gift_payment();
  2096. packetc2w_open_gift::default_instance_ = new packetc2w_open_gift();
  2097. packetw2c_open_gift_result::default_instance_ = new packetw2c_open_gift_result();
  2098. packetc2w_leave_game::default_instance_ = new packetc2w_leave_game();
  2099. packetw2c_leave_game_result::default_instance_ = new packetw2c_leave_game_result();
  2100. packetw2c_player_kick::default_instance_ = new packetw2c_player_kick();
  2101. packetc2w_get_gamelist::default_instance_ = new packetc2w_get_gamelist();
  2102. packetw2c_get_gamelist_result::default_instance_ = new packetw2c_get_gamelist_result();
  2103. packetc2w_first_login::default_instance_ = new packetc2w_first_login();
  2104. packetw2c_first_login_result::default_instance_ = new packetw2c_first_login_result();
  2105. packetc2w_enter_fish_game::default_instance_ = new packetc2w_enter_fish_game();
  2106. packetw2c_enter_fish_game_result::default_instance_ = new packetw2c_enter_fish_game_result();
  2107. msg_airdropitem::default_instance_ = new msg_airdropitem();
  2108. packetc2w_create_airdrop::default_instance_ = new packetc2w_create_airdrop();
  2109. packetw2c_create_airdrop_result::default_instance_ = new packetw2c_create_airdrop_result();
  2110. packetc2w_get_airdrop_list::default_instance_ = new packetc2w_get_airdrop_list();
  2111. packetw2c_get_airdrop_list_result::default_instance_ = new packetw2c_get_airdrop_list_result();
  2112. packetc2w_get_airdrop_info::default_instance_ = new packetc2w_get_airdrop_info();
  2113. packetw2c_get_airdrop_info_result::default_instance_ = new packetw2c_get_airdrop_info_result();
  2114. packetc2w_draw_airdrop::default_instance_ = new packetc2w_draw_airdrop();
  2115. packetw2c_draw_airdrop_result::default_instance_ = new packetw2c_draw_airdrop_result();
  2116. packetc2w_receive_vip_reward::default_instance_ = new packetc2w_receive_vip_reward();
  2117. packetw2c_receive_vip_reward_result::default_instance_ = new packetw2c_receive_vip_reward_result();
  2118. packetw2c_check_vip_money_result::default_instance_ = new packetw2c_check_vip_money_result();
  2119. packetw2c_timer_update::default_instance_ = new packetw2c_timer_update();
  2120. recordInfo::default_instance_ = new recordInfo();
  2121. packetc2w_syn_record_info::default_instance_ = new packetc2w_syn_record_info();
  2122. packetc2w_pay_by_diamond::default_instance_ = new packetc2w_pay_by_diamond();
  2123. packetw2c_pay_by_diamond_result::default_instance_ = new packetw2c_pay_by_diamond_result();
  2124. packetc2w_exchange_vip_item::default_instance_ = new packetc2w_exchange_vip_item();
  2125. packetw2c_exchange_vip_item_result::default_instance_ = new packetw2c_exchange_vip_item_result();
  2126. storeInfo::default_instance_ = new storeInfo();
  2127. packet_c2w_sync_global_data::default_instance_ = new packet_c2w_sync_global_data();
  2128. packet_w2c_sync_global_data_result::default_instance_ = new packet_w2c_sync_global_data_result();
  2129. packet_w2c_trigger_seven_day_rechage::default_instance_ = new packet_w2c_trigger_seven_day_rechage();
  2130. treasureItem::default_instance_ = new treasureItem();
  2131. packetw2c_trigger_daily_treasure::default_instance_ = new packetw2c_trigger_daily_treasure();
  2132. packetc2w_daily_treasure_lottery::default_instance_ = new packetc2w_daily_treasure_lottery();
  2133. packetw2c_daily_treasure_lottery_result::default_instance_ = new packetw2c_daily_treasure_lottery_result();
  2134. packetc2w_receive_treasure_lottery::default_instance_ = new packetc2w_receive_treasure_lottery();
  2135. packetw2c_receive_treasure_lottery_result::default_instance_ = new packetw2c_receive_treasure_lottery_result();
  2136. packetc2w_receive_sail_reward::default_instance_ = new packetc2w_receive_sail_reward();
  2137. packetw2c_receive_sail_result::default_instance_ = new packetw2c_receive_sail_result();
  2138. packetc2w_syn_sail_piggy_gold::default_instance_ = new packetc2w_syn_sail_piggy_gold();
  2139. packetw2c_syn_sail_piggy_gold_result::default_instance_ = new packetw2c_syn_sail_piggy_gold_result();
  2140. packetc2w_sail_achieve_lottery::default_instance_ = new packetc2w_sail_achieve_lottery();
  2141. packetw2c_sail_achieve_lottery_result::default_instance_ = new packetw2c_sail_achieve_lottery_result();
  2142. packetw2c_trigger_sail_achieve::default_instance_ = new packetw2c_trigger_sail_achieve();
  2143. sailLotteryInfo::default_instance_ = new sailLotteryInfo();
  2144. packetc2w_sail_get_lottery_history::default_instance_ = new packetc2w_sail_get_lottery_history();
  2145. packetw2c_sail_get_lottery_history_result::default_instance_ = new packetw2c_sail_get_lottery_history_result();
  2146. packetc2w_recv_return_login_reward::default_instance_ = new packetc2w_recv_return_login_reward();
  2147. packetw2c_recv_return_login_reward_result::default_instance_ = new packetw2c_recv_return_login_reward_result();
  2148. packetc2w_recv_return_recharge_reward::default_instance_ = new packetc2w_recv_return_recharge_reward();
  2149. packetw2c_recv_return_recharge_reward_result::default_instance_ = new packetw2c_recv_return_recharge_reward_result();
  2150. packetc2w_abysm_sign::default_instance_ = new packetc2w_abysm_sign();
  2151. packetw2c_abysm_sign_result::default_instance_ = new packetw2c_abysm_sign_result();
  2152. packetc2w_dragonball_lottery::default_instance_ = new packetc2w_dragonball_lottery();
  2153. packetw2c_dragonball_lottery_result::default_instance_ = new packetw2c_dragonball_lottery_result();
  2154. packet_c2w_timesync::default_instance_->InitAsDefaultInstance();
  2155. packet_w2c_timesync_result::default_instance_->InitAsDefaultInstance();
  2156. packetc2w_ask_login::default_instance_->InitAsDefaultInstance();
  2157. msg_game_info::default_instance_->InitAsDefaultInstance();
  2158. packetw2c_ask_login_result::default_instance_->InitAsDefaultInstance();
  2159. packetc2w_enter_game::default_instance_->InitAsDefaultInstance();
  2160. packetw2c_enter_game_result::default_instance_->InitAsDefaultInstance();
  2161. packetc2w_gm_command::default_instance_->InitAsDefaultInstance();
  2162. packetw2c_gm_command_result::default_instance_->InitAsDefaultInstance();
  2163. packetc2w_ask_for_pay::default_instance_->InitAsDefaultInstance();
  2164. packetw2c_ask_for_pay_result::default_instance_->InitAsDefaultInstance();
  2165. packetc2w_ask_check_payment::default_instance_->InitAsDefaultInstance();
  2166. packetc2w_ask_test_payment::default_instance_->InitAsDefaultInstance();
  2167. packetw2c_ask_check_payment_result::default_instance_->InitAsDefaultInstance();
  2168. packetc2w_free_gift_payment::default_instance_->InitAsDefaultInstance();
  2169. packetc2w_open_gift::default_instance_->InitAsDefaultInstance();
  2170. packetw2c_open_gift_result::default_instance_->InitAsDefaultInstance();
  2171. packetc2w_leave_game::default_instance_->InitAsDefaultInstance();
  2172. packetw2c_leave_game_result::default_instance_->InitAsDefaultInstance();
  2173. packetw2c_player_kick::default_instance_->InitAsDefaultInstance();
  2174. packetc2w_get_gamelist::default_instance_->InitAsDefaultInstance();
  2175. packetw2c_get_gamelist_result::default_instance_->InitAsDefaultInstance();
  2176. packetc2w_first_login::default_instance_->InitAsDefaultInstance();
  2177. packetw2c_first_login_result::default_instance_->InitAsDefaultInstance();
  2178. packetc2w_enter_fish_game::default_instance_->InitAsDefaultInstance();
  2179. packetw2c_enter_fish_game_result::default_instance_->InitAsDefaultInstance();
  2180. msg_airdropitem::default_instance_->InitAsDefaultInstance();
  2181. packetc2w_create_airdrop::default_instance_->InitAsDefaultInstance();
  2182. packetw2c_create_airdrop_result::default_instance_->InitAsDefaultInstance();
  2183. packetc2w_get_airdrop_list::default_instance_->InitAsDefaultInstance();
  2184. packetw2c_get_airdrop_list_result::default_instance_->InitAsDefaultInstance();
  2185. packetc2w_get_airdrop_info::default_instance_->InitAsDefaultInstance();
  2186. packetw2c_get_airdrop_info_result::default_instance_->InitAsDefaultInstance();
  2187. packetc2w_draw_airdrop::default_instance_->InitAsDefaultInstance();
  2188. packetw2c_draw_airdrop_result::default_instance_->InitAsDefaultInstance();
  2189. packetc2w_receive_vip_reward::default_instance_->InitAsDefaultInstance();
  2190. packetw2c_receive_vip_reward_result::default_instance_->InitAsDefaultInstance();
  2191. packetw2c_check_vip_money_result::default_instance_->InitAsDefaultInstance();
  2192. packetw2c_timer_update::default_instance_->InitAsDefaultInstance();
  2193. recordInfo::default_instance_->InitAsDefaultInstance();
  2194. packetc2w_syn_record_info::default_instance_->InitAsDefaultInstance();
  2195. packetc2w_pay_by_diamond::default_instance_->InitAsDefaultInstance();
  2196. packetw2c_pay_by_diamond_result::default_instance_->InitAsDefaultInstance();
  2197. packetc2w_exchange_vip_item::default_instance_->InitAsDefaultInstance();
  2198. packetw2c_exchange_vip_item_result::default_instance_->InitAsDefaultInstance();
  2199. storeInfo::default_instance_->InitAsDefaultInstance();
  2200. packet_c2w_sync_global_data::default_instance_->InitAsDefaultInstance();
  2201. packet_w2c_sync_global_data_result::default_instance_->InitAsDefaultInstance();
  2202. packet_w2c_trigger_seven_day_rechage::default_instance_->InitAsDefaultInstance();
  2203. treasureItem::default_instance_->InitAsDefaultInstance();
  2204. packetw2c_trigger_daily_treasure::default_instance_->InitAsDefaultInstance();
  2205. packetc2w_daily_treasure_lottery::default_instance_->InitAsDefaultInstance();
  2206. packetw2c_daily_treasure_lottery_result::default_instance_->InitAsDefaultInstance();
  2207. packetc2w_receive_treasure_lottery::default_instance_->InitAsDefaultInstance();
  2208. packetw2c_receive_treasure_lottery_result::default_instance_->InitAsDefaultInstance();
  2209. packetc2w_receive_sail_reward::default_instance_->InitAsDefaultInstance();
  2210. packetw2c_receive_sail_result::default_instance_->InitAsDefaultInstance();
  2211. packetc2w_syn_sail_piggy_gold::default_instance_->InitAsDefaultInstance();
  2212. packetw2c_syn_sail_piggy_gold_result::default_instance_->InitAsDefaultInstance();
  2213. packetc2w_sail_achieve_lottery::default_instance_->InitAsDefaultInstance();
  2214. packetw2c_sail_achieve_lottery_result::default_instance_->InitAsDefaultInstance();
  2215. packetw2c_trigger_sail_achieve::default_instance_->InitAsDefaultInstance();
  2216. sailLotteryInfo::default_instance_->InitAsDefaultInstance();
  2217. packetc2w_sail_get_lottery_history::default_instance_->InitAsDefaultInstance();
  2218. packetw2c_sail_get_lottery_history_result::default_instance_->InitAsDefaultInstance();
  2219. packetc2w_recv_return_login_reward::default_instance_->InitAsDefaultInstance();
  2220. packetw2c_recv_return_login_reward_result::default_instance_->InitAsDefaultInstance();
  2221. packetc2w_recv_return_recharge_reward::default_instance_->InitAsDefaultInstance();
  2222. packetw2c_recv_return_recharge_reward_result::default_instance_->InitAsDefaultInstance();
  2223. packetc2w_abysm_sign::default_instance_->InitAsDefaultInstance();
  2224. packetw2c_abysm_sign_result::default_instance_->InitAsDefaultInstance();
  2225. packetc2w_dragonball_lottery::default_instance_->InitAsDefaultInstance();
  2226. packetw2c_dragonball_lottery_result::default_instance_->InitAsDefaultInstance();
  2227. ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_client2world_5fprotocol_2eproto);
  2228. }
  2229. // Force AddDescriptors() to be called at static initialization time.
  2230. struct StaticDescriptorInitializer_client2world_5fprotocol_2eproto {
  2231. StaticDescriptorInitializer_client2world_5fprotocol_2eproto() {
  2232. protobuf_AddDesc_client2world_5fprotocol_2eproto();
  2233. }
  2234. } static_descriptor_initializer_client2world_5fprotocol_2eproto_;
  2235. // ===================================================================
  2236. #ifndef _MSC_VER
  2237. const int packet_c2w_timesync::kPacketIdFieldNumber;
  2238. #endif // !_MSC_VER
  2239. packet_c2w_timesync::packet_c2w_timesync()
  2240. : ::google::protobuf::Message() {
  2241. SharedCtor();
  2242. }
  2243. void packet_c2w_timesync::InitAsDefaultInstance() {
  2244. }
  2245. packet_c2w_timesync::packet_c2w_timesync(const packet_c2w_timesync& from)
  2246. : ::google::protobuf::Message() {
  2247. SharedCtor();
  2248. MergeFrom(from);
  2249. }
  2250. void packet_c2w_timesync::SharedCtor() {
  2251. _cached_size_ = 0;
  2252. packet_id_ = 5002;
  2253. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2254. }
  2255. packet_c2w_timesync::~packet_c2w_timesync() {
  2256. SharedDtor();
  2257. }
  2258. void packet_c2w_timesync::SharedDtor() {
  2259. if (this != default_instance_) {
  2260. }
  2261. }
  2262. void packet_c2w_timesync::SetCachedSize(int size) const {
  2263. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2264. _cached_size_ = size;
  2265. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2266. }
  2267. const ::google::protobuf::Descriptor* packet_c2w_timesync::descriptor() {
  2268. protobuf_AssignDescriptorsOnce();
  2269. return packet_c2w_timesync_descriptor_;
  2270. }
  2271. const packet_c2w_timesync& packet_c2w_timesync::default_instance() {
  2272. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  2273. return *default_instance_;
  2274. }
  2275. packet_c2w_timesync* packet_c2w_timesync::default_instance_ = NULL;
  2276. packet_c2w_timesync* packet_c2w_timesync::New() const {
  2277. return new packet_c2w_timesync;
  2278. }
  2279. void packet_c2w_timesync::Clear() {
  2280. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2281. packet_id_ = 5002;
  2282. }
  2283. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2284. mutable_unknown_fields()->Clear();
  2285. }
  2286. bool packet_c2w_timesync::MergePartialFromCodedStream(
  2287. ::google::protobuf::io::CodedInputStream* input) {
  2288. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  2289. ::google::protobuf::uint32 tag;
  2290. while ((tag = input->ReadTag()) != 0) {
  2291. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2292. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_timesync];
  2293. case 1: {
  2294. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2295. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2296. int value;
  2297. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2298. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  2299. input, &value)));
  2300. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  2301. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  2302. } else {
  2303. mutable_unknown_fields()->AddVarint(1, value);
  2304. }
  2305. } else {
  2306. goto handle_uninterpreted;
  2307. }
  2308. if (input->ExpectAtEnd()) return true;
  2309. break;
  2310. }
  2311. default: {
  2312. handle_uninterpreted:
  2313. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2314. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2315. return true;
  2316. }
  2317. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2318. input, tag, mutable_unknown_fields()));
  2319. break;
  2320. }
  2321. }
  2322. }
  2323. return true;
  2324. #undef DO_
  2325. }
  2326. void packet_c2w_timesync::SerializeWithCachedSizes(
  2327. ::google::protobuf::io::CodedOutputStream* output) const {
  2328. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_timesync];
  2329. if (has_packet_id()) {
  2330. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  2331. 1, this->packet_id(), output);
  2332. }
  2333. if (!unknown_fields().empty()) {
  2334. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2335. unknown_fields(), output);
  2336. }
  2337. }
  2338. ::google::protobuf::uint8* packet_c2w_timesync::SerializeWithCachedSizesToArray(
  2339. ::google::protobuf::uint8* target) const {
  2340. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_timesync];
  2341. if (has_packet_id()) {
  2342. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  2343. 1, this->packet_id(), target);
  2344. }
  2345. if (!unknown_fields().empty()) {
  2346. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2347. unknown_fields(), target);
  2348. }
  2349. return target;
  2350. }
  2351. int packet_c2w_timesync::ByteSize() const {
  2352. int total_size = 0;
  2353. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2354. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_timesync];
  2355. if (has_packet_id()) {
  2356. total_size += 1 +
  2357. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  2358. }
  2359. }
  2360. if (!unknown_fields().empty()) {
  2361. total_size +=
  2362. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2363. unknown_fields());
  2364. }
  2365. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2366. _cached_size_ = total_size;
  2367. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2368. return total_size;
  2369. }
  2370. void packet_c2w_timesync::MergeFrom(const ::google::protobuf::Message& from) {
  2371. GOOGLE_CHECK_NE(&from, this);
  2372. const packet_c2w_timesync* source =
  2373. ::google::protobuf::internal::dynamic_cast_if_available<const packet_c2w_timesync*>(
  2374. &from);
  2375. if (source == NULL) {
  2376. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2377. } else {
  2378. MergeFrom(*source);
  2379. }
  2380. }
  2381. void packet_c2w_timesync::MergeFrom(const packet_c2w_timesync& from) {
  2382. GOOGLE_CHECK_NE(&from, this);
  2383. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2384. if (from.has_packet_id()) {
  2385. set_packet_id(from.packet_id());
  2386. }
  2387. }
  2388. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  2389. }
  2390. void packet_c2w_timesync::CopyFrom(const ::google::protobuf::Message& from) {
  2391. if (&from == this) return;
  2392. Clear();
  2393. MergeFrom(from);
  2394. }
  2395. void packet_c2w_timesync::CopyFrom(const packet_c2w_timesync& from) {
  2396. if (&from == this) return;
  2397. Clear();
  2398. MergeFrom(from);
  2399. }
  2400. bool packet_c2w_timesync::IsInitialized() const {
  2401. return true;
  2402. }
  2403. void packet_c2w_timesync::Swap(packet_c2w_timesync* other) {
  2404. if (other != this) {
  2405. std::swap(packet_id_, other->packet_id_);
  2406. std::swap(_has_bits_[0], other->_has_bits_[0]);
  2407. _unknown_fields_.Swap(&other->_unknown_fields_);
  2408. std::swap(_cached_size_, other->_cached_size_);
  2409. }
  2410. }
  2411. ::google::protobuf::Metadata packet_c2w_timesync::GetMetadata() const {
  2412. protobuf_AssignDescriptorsOnce();
  2413. ::google::protobuf::Metadata metadata;
  2414. metadata.descriptor = packet_c2w_timesync_descriptor_;
  2415. metadata.reflection = packet_c2w_timesync_reflection_;
  2416. return metadata;
  2417. }
  2418. // ===================================================================
  2419. #ifndef _MSC_VER
  2420. const int packet_w2c_timesync_result::kPacketIdFieldNumber;
  2421. const int packet_w2c_timesync_result::kServerTimeFieldNumber;
  2422. #endif // !_MSC_VER
  2423. packet_w2c_timesync_result::packet_w2c_timesync_result()
  2424. : ::google::protobuf::Message() {
  2425. SharedCtor();
  2426. }
  2427. void packet_w2c_timesync_result::InitAsDefaultInstance() {
  2428. }
  2429. packet_w2c_timesync_result::packet_w2c_timesync_result(const packet_w2c_timesync_result& from)
  2430. : ::google::protobuf::Message() {
  2431. SharedCtor();
  2432. MergeFrom(from);
  2433. }
  2434. void packet_w2c_timesync_result::SharedCtor() {
  2435. _cached_size_ = 0;
  2436. packet_id_ = 7502;
  2437. server_time_ = 0;
  2438. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2439. }
  2440. packet_w2c_timesync_result::~packet_w2c_timesync_result() {
  2441. SharedDtor();
  2442. }
  2443. void packet_w2c_timesync_result::SharedDtor() {
  2444. if (this != default_instance_) {
  2445. }
  2446. }
  2447. void packet_w2c_timesync_result::SetCachedSize(int size) const {
  2448. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2449. _cached_size_ = size;
  2450. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2451. }
  2452. const ::google::protobuf::Descriptor* packet_w2c_timesync_result::descriptor() {
  2453. protobuf_AssignDescriptorsOnce();
  2454. return packet_w2c_timesync_result_descriptor_;
  2455. }
  2456. const packet_w2c_timesync_result& packet_w2c_timesync_result::default_instance() {
  2457. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  2458. return *default_instance_;
  2459. }
  2460. packet_w2c_timesync_result* packet_w2c_timesync_result::default_instance_ = NULL;
  2461. packet_w2c_timesync_result* packet_w2c_timesync_result::New() const {
  2462. return new packet_w2c_timesync_result;
  2463. }
  2464. void packet_w2c_timesync_result::Clear() {
  2465. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2466. packet_id_ = 7502;
  2467. server_time_ = 0;
  2468. }
  2469. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2470. mutable_unknown_fields()->Clear();
  2471. }
  2472. bool packet_w2c_timesync_result::MergePartialFromCodedStream(
  2473. ::google::protobuf::io::CodedInputStream* input) {
  2474. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  2475. ::google::protobuf::uint32 tag;
  2476. while ((tag = input->ReadTag()) != 0) {
  2477. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2478. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_timesync_result];
  2479. case 1: {
  2480. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2481. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2482. int value;
  2483. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2484. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  2485. input, &value)));
  2486. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  2487. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  2488. } else {
  2489. mutable_unknown_fields()->AddVarint(1, value);
  2490. }
  2491. } else {
  2492. goto handle_uninterpreted;
  2493. }
  2494. if (input->ExpectTag(16)) goto parse_server_time;
  2495. break;
  2496. }
  2497. // optional int32 server_time = 2;
  2498. case 2: {
  2499. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2500. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2501. parse_server_time:
  2502. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2503. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2504. input, &server_time_)));
  2505. set_has_server_time();
  2506. } else {
  2507. goto handle_uninterpreted;
  2508. }
  2509. if (input->ExpectAtEnd()) return true;
  2510. break;
  2511. }
  2512. default: {
  2513. handle_uninterpreted:
  2514. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2515. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2516. return true;
  2517. }
  2518. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2519. input, tag, mutable_unknown_fields()));
  2520. break;
  2521. }
  2522. }
  2523. }
  2524. return true;
  2525. #undef DO_
  2526. }
  2527. void packet_w2c_timesync_result::SerializeWithCachedSizes(
  2528. ::google::protobuf::io::CodedOutputStream* output) const {
  2529. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_timesync_result];
  2530. if (has_packet_id()) {
  2531. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  2532. 1, this->packet_id(), output);
  2533. }
  2534. // optional int32 server_time = 2;
  2535. if (has_server_time()) {
  2536. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->server_time(), output);
  2537. }
  2538. if (!unknown_fields().empty()) {
  2539. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2540. unknown_fields(), output);
  2541. }
  2542. }
  2543. ::google::protobuf::uint8* packet_w2c_timesync_result::SerializeWithCachedSizesToArray(
  2544. ::google::protobuf::uint8* target) const {
  2545. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_timesync_result];
  2546. if (has_packet_id()) {
  2547. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  2548. 1, this->packet_id(), target);
  2549. }
  2550. // optional int32 server_time = 2;
  2551. if (has_server_time()) {
  2552. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->server_time(), target);
  2553. }
  2554. if (!unknown_fields().empty()) {
  2555. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2556. unknown_fields(), target);
  2557. }
  2558. return target;
  2559. }
  2560. int packet_w2c_timesync_result::ByteSize() const {
  2561. int total_size = 0;
  2562. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2563. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_timesync_result];
  2564. if (has_packet_id()) {
  2565. total_size += 1 +
  2566. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  2567. }
  2568. // optional int32 server_time = 2;
  2569. if (has_server_time()) {
  2570. total_size += 1 +
  2571. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2572. this->server_time());
  2573. }
  2574. }
  2575. if (!unknown_fields().empty()) {
  2576. total_size +=
  2577. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2578. unknown_fields());
  2579. }
  2580. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2581. _cached_size_ = total_size;
  2582. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2583. return total_size;
  2584. }
  2585. void packet_w2c_timesync_result::MergeFrom(const ::google::protobuf::Message& from) {
  2586. GOOGLE_CHECK_NE(&from, this);
  2587. const packet_w2c_timesync_result* source =
  2588. ::google::protobuf::internal::dynamic_cast_if_available<const packet_w2c_timesync_result*>(
  2589. &from);
  2590. if (source == NULL) {
  2591. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2592. } else {
  2593. MergeFrom(*source);
  2594. }
  2595. }
  2596. void packet_w2c_timesync_result::MergeFrom(const packet_w2c_timesync_result& from) {
  2597. GOOGLE_CHECK_NE(&from, this);
  2598. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2599. if (from.has_packet_id()) {
  2600. set_packet_id(from.packet_id());
  2601. }
  2602. if (from.has_server_time()) {
  2603. set_server_time(from.server_time());
  2604. }
  2605. }
  2606. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  2607. }
  2608. void packet_w2c_timesync_result::CopyFrom(const ::google::protobuf::Message& from) {
  2609. if (&from == this) return;
  2610. Clear();
  2611. MergeFrom(from);
  2612. }
  2613. void packet_w2c_timesync_result::CopyFrom(const packet_w2c_timesync_result& from) {
  2614. if (&from == this) return;
  2615. Clear();
  2616. MergeFrom(from);
  2617. }
  2618. bool packet_w2c_timesync_result::IsInitialized() const {
  2619. return true;
  2620. }
  2621. void packet_w2c_timesync_result::Swap(packet_w2c_timesync_result* other) {
  2622. if (other != this) {
  2623. std::swap(packet_id_, other->packet_id_);
  2624. std::swap(server_time_, other->server_time_);
  2625. std::swap(_has_bits_[0], other->_has_bits_[0]);
  2626. _unknown_fields_.Swap(&other->_unknown_fields_);
  2627. std::swap(_cached_size_, other->_cached_size_);
  2628. }
  2629. }
  2630. ::google::protobuf::Metadata packet_w2c_timesync_result::GetMetadata() const {
  2631. protobuf_AssignDescriptorsOnce();
  2632. ::google::protobuf::Metadata metadata;
  2633. metadata.descriptor = packet_w2c_timesync_result_descriptor_;
  2634. metadata.reflection = packet_w2c_timesync_result_reflection_;
  2635. return metadata;
  2636. }
  2637. // ===================================================================
  2638. #ifndef _MSC_VER
  2639. const int packetc2w_ask_login::kPacketIdFieldNumber;
  2640. #endif // !_MSC_VER
  2641. packetc2w_ask_login::packetc2w_ask_login()
  2642. : ::google::protobuf::Message() {
  2643. SharedCtor();
  2644. }
  2645. void packetc2w_ask_login::InitAsDefaultInstance() {
  2646. }
  2647. packetc2w_ask_login::packetc2w_ask_login(const packetc2w_ask_login& from)
  2648. : ::google::protobuf::Message() {
  2649. SharedCtor();
  2650. MergeFrom(from);
  2651. }
  2652. void packetc2w_ask_login::SharedCtor() {
  2653. _cached_size_ = 0;
  2654. packet_id_ = 5003;
  2655. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2656. }
  2657. packetc2w_ask_login::~packetc2w_ask_login() {
  2658. SharedDtor();
  2659. }
  2660. void packetc2w_ask_login::SharedDtor() {
  2661. if (this != default_instance_) {
  2662. }
  2663. }
  2664. void packetc2w_ask_login::SetCachedSize(int size) const {
  2665. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2666. _cached_size_ = size;
  2667. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2668. }
  2669. const ::google::protobuf::Descriptor* packetc2w_ask_login::descriptor() {
  2670. protobuf_AssignDescriptorsOnce();
  2671. return packetc2w_ask_login_descriptor_;
  2672. }
  2673. const packetc2w_ask_login& packetc2w_ask_login::default_instance() {
  2674. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  2675. return *default_instance_;
  2676. }
  2677. packetc2w_ask_login* packetc2w_ask_login::default_instance_ = NULL;
  2678. packetc2w_ask_login* packetc2w_ask_login::New() const {
  2679. return new packetc2w_ask_login;
  2680. }
  2681. void packetc2w_ask_login::Clear() {
  2682. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2683. packet_id_ = 5003;
  2684. }
  2685. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2686. mutable_unknown_fields()->Clear();
  2687. }
  2688. bool packetc2w_ask_login::MergePartialFromCodedStream(
  2689. ::google::protobuf::io::CodedInputStream* input) {
  2690. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  2691. ::google::protobuf::uint32 tag;
  2692. while ((tag = input->ReadTag()) != 0) {
  2693. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2694. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_asklogin];
  2695. case 1: {
  2696. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2697. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2698. int value;
  2699. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2700. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  2701. input, &value)));
  2702. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  2703. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  2704. } else {
  2705. mutable_unknown_fields()->AddVarint(1, value);
  2706. }
  2707. } else {
  2708. goto handle_uninterpreted;
  2709. }
  2710. if (input->ExpectAtEnd()) return true;
  2711. break;
  2712. }
  2713. default: {
  2714. handle_uninterpreted:
  2715. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2716. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2717. return true;
  2718. }
  2719. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2720. input, tag, mutable_unknown_fields()));
  2721. break;
  2722. }
  2723. }
  2724. }
  2725. return true;
  2726. #undef DO_
  2727. }
  2728. void packetc2w_ask_login::SerializeWithCachedSizes(
  2729. ::google::protobuf::io::CodedOutputStream* output) const {
  2730. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_asklogin];
  2731. if (has_packet_id()) {
  2732. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  2733. 1, this->packet_id(), output);
  2734. }
  2735. if (!unknown_fields().empty()) {
  2736. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2737. unknown_fields(), output);
  2738. }
  2739. }
  2740. ::google::protobuf::uint8* packetc2w_ask_login::SerializeWithCachedSizesToArray(
  2741. ::google::protobuf::uint8* target) const {
  2742. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_asklogin];
  2743. if (has_packet_id()) {
  2744. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  2745. 1, this->packet_id(), target);
  2746. }
  2747. if (!unknown_fields().empty()) {
  2748. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2749. unknown_fields(), target);
  2750. }
  2751. return target;
  2752. }
  2753. int packetc2w_ask_login::ByteSize() const {
  2754. int total_size = 0;
  2755. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2756. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_asklogin];
  2757. if (has_packet_id()) {
  2758. total_size += 1 +
  2759. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  2760. }
  2761. }
  2762. if (!unknown_fields().empty()) {
  2763. total_size +=
  2764. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2765. unknown_fields());
  2766. }
  2767. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2768. _cached_size_ = total_size;
  2769. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2770. return total_size;
  2771. }
  2772. void packetc2w_ask_login::MergeFrom(const ::google::protobuf::Message& from) {
  2773. GOOGLE_CHECK_NE(&from, this);
  2774. const packetc2w_ask_login* source =
  2775. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_ask_login*>(
  2776. &from);
  2777. if (source == NULL) {
  2778. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2779. } else {
  2780. MergeFrom(*source);
  2781. }
  2782. }
  2783. void packetc2w_ask_login::MergeFrom(const packetc2w_ask_login& from) {
  2784. GOOGLE_CHECK_NE(&from, this);
  2785. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2786. if (from.has_packet_id()) {
  2787. set_packet_id(from.packet_id());
  2788. }
  2789. }
  2790. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  2791. }
  2792. void packetc2w_ask_login::CopyFrom(const ::google::protobuf::Message& from) {
  2793. if (&from == this) return;
  2794. Clear();
  2795. MergeFrom(from);
  2796. }
  2797. void packetc2w_ask_login::CopyFrom(const packetc2w_ask_login& from) {
  2798. if (&from == this) return;
  2799. Clear();
  2800. MergeFrom(from);
  2801. }
  2802. bool packetc2w_ask_login::IsInitialized() const {
  2803. return true;
  2804. }
  2805. void packetc2w_ask_login::Swap(packetc2w_ask_login* other) {
  2806. if (other != this) {
  2807. std::swap(packet_id_, other->packet_id_);
  2808. std::swap(_has_bits_[0], other->_has_bits_[0]);
  2809. _unknown_fields_.Swap(&other->_unknown_fields_);
  2810. std::swap(_cached_size_, other->_cached_size_);
  2811. }
  2812. }
  2813. ::google::protobuf::Metadata packetc2w_ask_login::GetMetadata() const {
  2814. protobuf_AssignDescriptorsOnce();
  2815. ::google::protobuf::Metadata metadata;
  2816. metadata.descriptor = packetc2w_ask_login_descriptor_;
  2817. metadata.reflection = packetc2w_ask_login_reflection_;
  2818. return metadata;
  2819. }
  2820. // ===================================================================
  2821. #ifndef _MSC_VER
  2822. const int msg_game_info::kGameidFieldNumber;
  2823. const int msg_game_info::kGameverFieldNumber;
  2824. const int msg_game_info::kCurOnlineNumFieldNumber;
  2825. #endif // !_MSC_VER
  2826. msg_game_info::msg_game_info()
  2827. : ::google::protobuf::Message() {
  2828. SharedCtor();
  2829. }
  2830. void msg_game_info::InitAsDefaultInstance() {
  2831. }
  2832. msg_game_info::msg_game_info(const msg_game_info& from)
  2833. : ::google::protobuf::Message() {
  2834. SharedCtor();
  2835. MergeFrom(from);
  2836. }
  2837. void msg_game_info::SharedCtor() {
  2838. _cached_size_ = 0;
  2839. gameid_ = 0;
  2840. gamever_ = 0;
  2841. curonlinenum_ = 0;
  2842. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2843. }
  2844. msg_game_info::~msg_game_info() {
  2845. SharedDtor();
  2846. }
  2847. void msg_game_info::SharedDtor() {
  2848. if (this != default_instance_) {
  2849. }
  2850. }
  2851. void msg_game_info::SetCachedSize(int size) const {
  2852. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2853. _cached_size_ = size;
  2854. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2855. }
  2856. const ::google::protobuf::Descriptor* msg_game_info::descriptor() {
  2857. protobuf_AssignDescriptorsOnce();
  2858. return msg_game_info_descriptor_;
  2859. }
  2860. const msg_game_info& msg_game_info::default_instance() {
  2861. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  2862. return *default_instance_;
  2863. }
  2864. msg_game_info* msg_game_info::default_instance_ = NULL;
  2865. msg_game_info* msg_game_info::New() const {
  2866. return new msg_game_info;
  2867. }
  2868. void msg_game_info::Clear() {
  2869. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2870. gameid_ = 0;
  2871. gamever_ = 0;
  2872. curonlinenum_ = 0;
  2873. }
  2874. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2875. mutable_unknown_fields()->Clear();
  2876. }
  2877. bool msg_game_info::MergePartialFromCodedStream(
  2878. ::google::protobuf::io::CodedInputStream* input) {
  2879. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  2880. ::google::protobuf::uint32 tag;
  2881. while ((tag = input->ReadTag()) != 0) {
  2882. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2883. // optional int32 gameid = 1;
  2884. case 1: {
  2885. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2886. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2887. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2888. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2889. input, &gameid_)));
  2890. set_has_gameid();
  2891. } else {
  2892. goto handle_uninterpreted;
  2893. }
  2894. if (input->ExpectTag(16)) goto parse_gamever;
  2895. break;
  2896. }
  2897. // optional int32 gamever = 2;
  2898. case 2: {
  2899. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2900. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2901. parse_gamever:
  2902. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2903. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2904. input, &gamever_)));
  2905. set_has_gamever();
  2906. } else {
  2907. goto handle_uninterpreted;
  2908. }
  2909. if (input->ExpectTag(24)) goto parse_curOnlineNum;
  2910. break;
  2911. }
  2912. // optional int32 curOnlineNum = 3;
  2913. case 3: {
  2914. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2915. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2916. parse_curOnlineNum:
  2917. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2918. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2919. input, &curonlinenum_)));
  2920. set_has_curonlinenum();
  2921. } else {
  2922. goto handle_uninterpreted;
  2923. }
  2924. if (input->ExpectAtEnd()) return true;
  2925. break;
  2926. }
  2927. default: {
  2928. handle_uninterpreted:
  2929. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2930. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2931. return true;
  2932. }
  2933. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2934. input, tag, mutable_unknown_fields()));
  2935. break;
  2936. }
  2937. }
  2938. }
  2939. return true;
  2940. #undef DO_
  2941. }
  2942. void msg_game_info::SerializeWithCachedSizes(
  2943. ::google::protobuf::io::CodedOutputStream* output) const {
  2944. // optional int32 gameid = 1;
  2945. if (has_gameid()) {
  2946. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->gameid(), output);
  2947. }
  2948. // optional int32 gamever = 2;
  2949. if (has_gamever()) {
  2950. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->gamever(), output);
  2951. }
  2952. // optional int32 curOnlineNum = 3;
  2953. if (has_curonlinenum()) {
  2954. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->curonlinenum(), output);
  2955. }
  2956. if (!unknown_fields().empty()) {
  2957. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2958. unknown_fields(), output);
  2959. }
  2960. }
  2961. ::google::protobuf::uint8* msg_game_info::SerializeWithCachedSizesToArray(
  2962. ::google::protobuf::uint8* target) const {
  2963. // optional int32 gameid = 1;
  2964. if (has_gameid()) {
  2965. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->gameid(), target);
  2966. }
  2967. // optional int32 gamever = 2;
  2968. if (has_gamever()) {
  2969. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->gamever(), target);
  2970. }
  2971. // optional int32 curOnlineNum = 3;
  2972. if (has_curonlinenum()) {
  2973. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->curonlinenum(), target);
  2974. }
  2975. if (!unknown_fields().empty()) {
  2976. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2977. unknown_fields(), target);
  2978. }
  2979. return target;
  2980. }
  2981. int msg_game_info::ByteSize() const {
  2982. int total_size = 0;
  2983. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2984. // optional int32 gameid = 1;
  2985. if (has_gameid()) {
  2986. total_size += 1 +
  2987. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2988. this->gameid());
  2989. }
  2990. // optional int32 gamever = 2;
  2991. if (has_gamever()) {
  2992. total_size += 1 +
  2993. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2994. this->gamever());
  2995. }
  2996. // optional int32 curOnlineNum = 3;
  2997. if (has_curonlinenum()) {
  2998. total_size += 1 +
  2999. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3000. this->curonlinenum());
  3001. }
  3002. }
  3003. if (!unknown_fields().empty()) {
  3004. total_size +=
  3005. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3006. unknown_fields());
  3007. }
  3008. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3009. _cached_size_ = total_size;
  3010. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3011. return total_size;
  3012. }
  3013. void msg_game_info::MergeFrom(const ::google::protobuf::Message& from) {
  3014. GOOGLE_CHECK_NE(&from, this);
  3015. const msg_game_info* source =
  3016. ::google::protobuf::internal::dynamic_cast_if_available<const msg_game_info*>(
  3017. &from);
  3018. if (source == NULL) {
  3019. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3020. } else {
  3021. MergeFrom(*source);
  3022. }
  3023. }
  3024. void msg_game_info::MergeFrom(const msg_game_info& from) {
  3025. GOOGLE_CHECK_NE(&from, this);
  3026. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3027. if (from.has_gameid()) {
  3028. set_gameid(from.gameid());
  3029. }
  3030. if (from.has_gamever()) {
  3031. set_gamever(from.gamever());
  3032. }
  3033. if (from.has_curonlinenum()) {
  3034. set_curonlinenum(from.curonlinenum());
  3035. }
  3036. }
  3037. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  3038. }
  3039. void msg_game_info::CopyFrom(const ::google::protobuf::Message& from) {
  3040. if (&from == this) return;
  3041. Clear();
  3042. MergeFrom(from);
  3043. }
  3044. void msg_game_info::CopyFrom(const msg_game_info& from) {
  3045. if (&from == this) return;
  3046. Clear();
  3047. MergeFrom(from);
  3048. }
  3049. bool msg_game_info::IsInitialized() const {
  3050. return true;
  3051. }
  3052. void msg_game_info::Swap(msg_game_info* other) {
  3053. if (other != this) {
  3054. std::swap(gameid_, other->gameid_);
  3055. std::swap(gamever_, other->gamever_);
  3056. std::swap(curonlinenum_, other->curonlinenum_);
  3057. std::swap(_has_bits_[0], other->_has_bits_[0]);
  3058. _unknown_fields_.Swap(&other->_unknown_fields_);
  3059. std::swap(_cached_size_, other->_cached_size_);
  3060. }
  3061. }
  3062. ::google::protobuf::Metadata msg_game_info::GetMetadata() const {
  3063. protobuf_AssignDescriptorsOnce();
  3064. ::google::protobuf::Metadata metadata;
  3065. metadata.descriptor = msg_game_info_descriptor_;
  3066. metadata.reflection = msg_game_info_reflection_;
  3067. return metadata;
  3068. }
  3069. // ===================================================================
  3070. #ifndef _MSC_VER
  3071. const int packetw2c_ask_login_result::kPacketIdFieldNumber;
  3072. const int packetw2c_ask_login_result::kAccountInfoFieldNumber;
  3073. const int packetw2c_ask_login_result::kGameListFieldNumber;
  3074. const int packetw2c_ask_login_result::kGamingFieldNumber;
  3075. #endif // !_MSC_VER
  3076. packetw2c_ask_login_result::packetw2c_ask_login_result()
  3077. : ::google::protobuf::Message() {
  3078. SharedCtor();
  3079. }
  3080. void packetw2c_ask_login_result::InitAsDefaultInstance() {
  3081. account_info_ = const_cast< ::msg_info_def::msg_account_info*>(&::msg_info_def::msg_account_info::default_instance());
  3082. }
  3083. packetw2c_ask_login_result::packetw2c_ask_login_result(const packetw2c_ask_login_result& from)
  3084. : ::google::protobuf::Message() {
  3085. SharedCtor();
  3086. MergeFrom(from);
  3087. }
  3088. void packetw2c_ask_login_result::SharedCtor() {
  3089. _cached_size_ = 0;
  3090. packet_id_ = 7503;
  3091. account_info_ = NULL;
  3092. gaming_ = 0;
  3093. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3094. }
  3095. packetw2c_ask_login_result::~packetw2c_ask_login_result() {
  3096. SharedDtor();
  3097. }
  3098. void packetw2c_ask_login_result::SharedDtor() {
  3099. if (this != default_instance_) {
  3100. delete account_info_;
  3101. }
  3102. }
  3103. void packetw2c_ask_login_result::SetCachedSize(int size) const {
  3104. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3105. _cached_size_ = size;
  3106. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3107. }
  3108. const ::google::protobuf::Descriptor* packetw2c_ask_login_result::descriptor() {
  3109. protobuf_AssignDescriptorsOnce();
  3110. return packetw2c_ask_login_result_descriptor_;
  3111. }
  3112. const packetw2c_ask_login_result& packetw2c_ask_login_result::default_instance() {
  3113. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  3114. return *default_instance_;
  3115. }
  3116. packetw2c_ask_login_result* packetw2c_ask_login_result::default_instance_ = NULL;
  3117. packetw2c_ask_login_result* packetw2c_ask_login_result::New() const {
  3118. return new packetw2c_ask_login_result;
  3119. }
  3120. void packetw2c_ask_login_result::Clear() {
  3121. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3122. packet_id_ = 7503;
  3123. if (has_account_info()) {
  3124. if (account_info_ != NULL) account_info_->::msg_info_def::msg_account_info::Clear();
  3125. }
  3126. gaming_ = 0;
  3127. }
  3128. game_list_.Clear();
  3129. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3130. mutable_unknown_fields()->Clear();
  3131. }
  3132. bool packetw2c_ask_login_result::MergePartialFromCodedStream(
  3133. ::google::protobuf::io::CodedInputStream* input) {
  3134. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  3135. ::google::protobuf::uint32 tag;
  3136. while ((tag = input->ReadTag()) != 0) {
  3137. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3138. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_asklogin_result];
  3139. case 1: {
  3140. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3141. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3142. int value;
  3143. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3144. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  3145. input, &value)));
  3146. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  3147. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  3148. } else {
  3149. mutable_unknown_fields()->AddVarint(1, value);
  3150. }
  3151. } else {
  3152. goto handle_uninterpreted;
  3153. }
  3154. if (input->ExpectTag(18)) goto parse_account_info;
  3155. break;
  3156. }
  3157. // optional .msg_info_def.msg_account_info account_info = 2;
  3158. case 2: {
  3159. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3160. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  3161. parse_account_info:
  3162. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  3163. input, mutable_account_info()));
  3164. } else {
  3165. goto handle_uninterpreted;
  3166. }
  3167. if (input->ExpectTag(26)) goto parse_game_list;
  3168. break;
  3169. }
  3170. // repeated .client2world_protocols.msg_game_info game_list = 3;
  3171. case 3: {
  3172. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3173. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  3174. parse_game_list:
  3175. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  3176. input, add_game_list()));
  3177. } else {
  3178. goto handle_uninterpreted;
  3179. }
  3180. if (input->ExpectTag(26)) goto parse_game_list;
  3181. if (input->ExpectTag(32)) goto parse_gaming;
  3182. break;
  3183. }
  3184. // optional int32 gaming = 4 [default = 0];
  3185. case 4: {
  3186. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3187. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3188. parse_gaming:
  3189. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3190. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3191. input, &gaming_)));
  3192. set_has_gaming();
  3193. } else {
  3194. goto handle_uninterpreted;
  3195. }
  3196. if (input->ExpectAtEnd()) return true;
  3197. break;
  3198. }
  3199. default: {
  3200. handle_uninterpreted:
  3201. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3202. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  3203. return true;
  3204. }
  3205. DO_(::google::protobuf::internal::WireFormat::SkipField(
  3206. input, tag, mutable_unknown_fields()));
  3207. break;
  3208. }
  3209. }
  3210. }
  3211. return true;
  3212. #undef DO_
  3213. }
  3214. void packetw2c_ask_login_result::SerializeWithCachedSizes(
  3215. ::google::protobuf::io::CodedOutputStream* output) const {
  3216. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_asklogin_result];
  3217. if (has_packet_id()) {
  3218. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  3219. 1, this->packet_id(), output);
  3220. }
  3221. // optional .msg_info_def.msg_account_info account_info = 2;
  3222. if (has_account_info()) {
  3223. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  3224. 2, this->account_info(), output);
  3225. }
  3226. // repeated .client2world_protocols.msg_game_info game_list = 3;
  3227. for (int i = 0; i < this->game_list_size(); i++) {
  3228. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  3229. 3, this->game_list(i), output);
  3230. }
  3231. // optional int32 gaming = 4 [default = 0];
  3232. if (has_gaming()) {
  3233. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->gaming(), output);
  3234. }
  3235. if (!unknown_fields().empty()) {
  3236. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  3237. unknown_fields(), output);
  3238. }
  3239. }
  3240. ::google::protobuf::uint8* packetw2c_ask_login_result::SerializeWithCachedSizesToArray(
  3241. ::google::protobuf::uint8* target) const {
  3242. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_asklogin_result];
  3243. if (has_packet_id()) {
  3244. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  3245. 1, this->packet_id(), target);
  3246. }
  3247. // optional .msg_info_def.msg_account_info account_info = 2;
  3248. if (has_account_info()) {
  3249. target = ::google::protobuf::internal::WireFormatLite::
  3250. WriteMessageNoVirtualToArray(
  3251. 2, this->account_info(), target);
  3252. }
  3253. // repeated .client2world_protocols.msg_game_info game_list = 3;
  3254. for (int i = 0; i < this->game_list_size(); i++) {
  3255. target = ::google::protobuf::internal::WireFormatLite::
  3256. WriteMessageNoVirtualToArray(
  3257. 3, this->game_list(i), target);
  3258. }
  3259. // optional int32 gaming = 4 [default = 0];
  3260. if (has_gaming()) {
  3261. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->gaming(), target);
  3262. }
  3263. if (!unknown_fields().empty()) {
  3264. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3265. unknown_fields(), target);
  3266. }
  3267. return target;
  3268. }
  3269. int packetw2c_ask_login_result::ByteSize() const {
  3270. int total_size = 0;
  3271. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3272. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_asklogin_result];
  3273. if (has_packet_id()) {
  3274. total_size += 1 +
  3275. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  3276. }
  3277. // optional .msg_info_def.msg_account_info account_info = 2;
  3278. if (has_account_info()) {
  3279. total_size += 1 +
  3280. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  3281. this->account_info());
  3282. }
  3283. // optional int32 gaming = 4 [default = 0];
  3284. if (has_gaming()) {
  3285. total_size += 1 +
  3286. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3287. this->gaming());
  3288. }
  3289. }
  3290. // repeated .client2world_protocols.msg_game_info game_list = 3;
  3291. total_size += 1 * this->game_list_size();
  3292. for (int i = 0; i < this->game_list_size(); i++) {
  3293. total_size +=
  3294. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  3295. this->game_list(i));
  3296. }
  3297. if (!unknown_fields().empty()) {
  3298. total_size +=
  3299. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3300. unknown_fields());
  3301. }
  3302. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3303. _cached_size_ = total_size;
  3304. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3305. return total_size;
  3306. }
  3307. void packetw2c_ask_login_result::MergeFrom(const ::google::protobuf::Message& from) {
  3308. GOOGLE_CHECK_NE(&from, this);
  3309. const packetw2c_ask_login_result* source =
  3310. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_ask_login_result*>(
  3311. &from);
  3312. if (source == NULL) {
  3313. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3314. } else {
  3315. MergeFrom(*source);
  3316. }
  3317. }
  3318. void packetw2c_ask_login_result::MergeFrom(const packetw2c_ask_login_result& from) {
  3319. GOOGLE_CHECK_NE(&from, this);
  3320. game_list_.MergeFrom(from.game_list_);
  3321. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3322. if (from.has_packet_id()) {
  3323. set_packet_id(from.packet_id());
  3324. }
  3325. if (from.has_account_info()) {
  3326. mutable_account_info()->::msg_info_def::msg_account_info::MergeFrom(from.account_info());
  3327. }
  3328. if (from.has_gaming()) {
  3329. set_gaming(from.gaming());
  3330. }
  3331. }
  3332. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  3333. }
  3334. void packetw2c_ask_login_result::CopyFrom(const ::google::protobuf::Message& from) {
  3335. if (&from == this) return;
  3336. Clear();
  3337. MergeFrom(from);
  3338. }
  3339. void packetw2c_ask_login_result::CopyFrom(const packetw2c_ask_login_result& from) {
  3340. if (&from == this) return;
  3341. Clear();
  3342. MergeFrom(from);
  3343. }
  3344. bool packetw2c_ask_login_result::IsInitialized() const {
  3345. return true;
  3346. }
  3347. void packetw2c_ask_login_result::Swap(packetw2c_ask_login_result* other) {
  3348. if (other != this) {
  3349. std::swap(packet_id_, other->packet_id_);
  3350. std::swap(account_info_, other->account_info_);
  3351. game_list_.Swap(&other->game_list_);
  3352. std::swap(gaming_, other->gaming_);
  3353. std::swap(_has_bits_[0], other->_has_bits_[0]);
  3354. _unknown_fields_.Swap(&other->_unknown_fields_);
  3355. std::swap(_cached_size_, other->_cached_size_);
  3356. }
  3357. }
  3358. ::google::protobuf::Metadata packetw2c_ask_login_result::GetMetadata() const {
  3359. protobuf_AssignDescriptorsOnce();
  3360. ::google::protobuf::Metadata metadata;
  3361. metadata.descriptor = packetw2c_ask_login_result_descriptor_;
  3362. metadata.reflection = packetw2c_ask_login_result_reflection_;
  3363. return metadata;
  3364. }
  3365. // ===================================================================
  3366. #ifndef _MSC_VER
  3367. const int packetc2w_enter_game::kPacketIdFieldNumber;
  3368. const int packetc2w_enter_game::kGameidFieldNumber;
  3369. const int packetc2w_enter_game::kGameverFieldNumber;
  3370. const int packetc2w_enter_game::kRoomIdFieldNumber;
  3371. #endif // !_MSC_VER
  3372. packetc2w_enter_game::packetc2w_enter_game()
  3373. : ::google::protobuf::Message() {
  3374. SharedCtor();
  3375. }
  3376. void packetc2w_enter_game::InitAsDefaultInstance() {
  3377. }
  3378. packetc2w_enter_game::packetc2w_enter_game(const packetc2w_enter_game& from)
  3379. : ::google::protobuf::Message() {
  3380. SharedCtor();
  3381. MergeFrom(from);
  3382. }
  3383. void packetc2w_enter_game::SharedCtor() {
  3384. _cached_size_ = 0;
  3385. packet_id_ = 5004;
  3386. gameid_ = 0;
  3387. gamever_ = 0;
  3388. roomid_ = 0;
  3389. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3390. }
  3391. packetc2w_enter_game::~packetc2w_enter_game() {
  3392. SharedDtor();
  3393. }
  3394. void packetc2w_enter_game::SharedDtor() {
  3395. if (this != default_instance_) {
  3396. }
  3397. }
  3398. void packetc2w_enter_game::SetCachedSize(int size) const {
  3399. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3400. _cached_size_ = size;
  3401. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3402. }
  3403. const ::google::protobuf::Descriptor* packetc2w_enter_game::descriptor() {
  3404. protobuf_AssignDescriptorsOnce();
  3405. return packetc2w_enter_game_descriptor_;
  3406. }
  3407. const packetc2w_enter_game& packetc2w_enter_game::default_instance() {
  3408. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  3409. return *default_instance_;
  3410. }
  3411. packetc2w_enter_game* packetc2w_enter_game::default_instance_ = NULL;
  3412. packetc2w_enter_game* packetc2w_enter_game::New() const {
  3413. return new packetc2w_enter_game;
  3414. }
  3415. void packetc2w_enter_game::Clear() {
  3416. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3417. packet_id_ = 5004;
  3418. gameid_ = 0;
  3419. gamever_ = 0;
  3420. roomid_ = 0;
  3421. }
  3422. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3423. mutable_unknown_fields()->Clear();
  3424. }
  3425. bool packetc2w_enter_game::MergePartialFromCodedStream(
  3426. ::google::protobuf::io::CodedInputStream* input) {
  3427. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  3428. ::google::protobuf::uint32 tag;
  3429. while ((tag = input->ReadTag()) != 0) {
  3430. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3431. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_enter_game];
  3432. case 1: {
  3433. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3434. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3435. int value;
  3436. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3437. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  3438. input, &value)));
  3439. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  3440. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  3441. } else {
  3442. mutable_unknown_fields()->AddVarint(1, value);
  3443. }
  3444. } else {
  3445. goto handle_uninterpreted;
  3446. }
  3447. if (input->ExpectTag(16)) goto parse_gameid;
  3448. break;
  3449. }
  3450. // optional int32 gameid = 2;
  3451. case 2: {
  3452. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3453. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3454. parse_gameid:
  3455. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3456. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3457. input, &gameid_)));
  3458. set_has_gameid();
  3459. } else {
  3460. goto handle_uninterpreted;
  3461. }
  3462. if (input->ExpectTag(24)) goto parse_gamever;
  3463. break;
  3464. }
  3465. // optional int32 gamever = 3;
  3466. case 3: {
  3467. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3468. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3469. parse_gamever:
  3470. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3471. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3472. input, &gamever_)));
  3473. set_has_gamever();
  3474. } else {
  3475. goto handle_uninterpreted;
  3476. }
  3477. if (input->ExpectTag(32)) goto parse_roomId;
  3478. break;
  3479. }
  3480. // optional int32 roomId = 4;
  3481. case 4: {
  3482. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3483. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3484. parse_roomId:
  3485. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3486. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3487. input, &roomid_)));
  3488. set_has_roomid();
  3489. } else {
  3490. goto handle_uninterpreted;
  3491. }
  3492. if (input->ExpectAtEnd()) return true;
  3493. break;
  3494. }
  3495. default: {
  3496. handle_uninterpreted:
  3497. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3498. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  3499. return true;
  3500. }
  3501. DO_(::google::protobuf::internal::WireFormat::SkipField(
  3502. input, tag, mutable_unknown_fields()));
  3503. break;
  3504. }
  3505. }
  3506. }
  3507. return true;
  3508. #undef DO_
  3509. }
  3510. void packetc2w_enter_game::SerializeWithCachedSizes(
  3511. ::google::protobuf::io::CodedOutputStream* output) const {
  3512. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_enter_game];
  3513. if (has_packet_id()) {
  3514. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  3515. 1, this->packet_id(), output);
  3516. }
  3517. // optional int32 gameid = 2;
  3518. if (has_gameid()) {
  3519. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->gameid(), output);
  3520. }
  3521. // optional int32 gamever = 3;
  3522. if (has_gamever()) {
  3523. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->gamever(), output);
  3524. }
  3525. // optional int32 roomId = 4;
  3526. if (has_roomid()) {
  3527. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->roomid(), output);
  3528. }
  3529. if (!unknown_fields().empty()) {
  3530. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  3531. unknown_fields(), output);
  3532. }
  3533. }
  3534. ::google::protobuf::uint8* packetc2w_enter_game::SerializeWithCachedSizesToArray(
  3535. ::google::protobuf::uint8* target) const {
  3536. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_enter_game];
  3537. if (has_packet_id()) {
  3538. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  3539. 1, this->packet_id(), target);
  3540. }
  3541. // optional int32 gameid = 2;
  3542. if (has_gameid()) {
  3543. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->gameid(), target);
  3544. }
  3545. // optional int32 gamever = 3;
  3546. if (has_gamever()) {
  3547. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->gamever(), target);
  3548. }
  3549. // optional int32 roomId = 4;
  3550. if (has_roomid()) {
  3551. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->roomid(), target);
  3552. }
  3553. if (!unknown_fields().empty()) {
  3554. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3555. unknown_fields(), target);
  3556. }
  3557. return target;
  3558. }
  3559. int packetc2w_enter_game::ByteSize() const {
  3560. int total_size = 0;
  3561. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3562. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_enter_game];
  3563. if (has_packet_id()) {
  3564. total_size += 1 +
  3565. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  3566. }
  3567. // optional int32 gameid = 2;
  3568. if (has_gameid()) {
  3569. total_size += 1 +
  3570. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3571. this->gameid());
  3572. }
  3573. // optional int32 gamever = 3;
  3574. if (has_gamever()) {
  3575. total_size += 1 +
  3576. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3577. this->gamever());
  3578. }
  3579. // optional int32 roomId = 4;
  3580. if (has_roomid()) {
  3581. total_size += 1 +
  3582. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3583. this->roomid());
  3584. }
  3585. }
  3586. if (!unknown_fields().empty()) {
  3587. total_size +=
  3588. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3589. unknown_fields());
  3590. }
  3591. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3592. _cached_size_ = total_size;
  3593. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3594. return total_size;
  3595. }
  3596. void packetc2w_enter_game::MergeFrom(const ::google::protobuf::Message& from) {
  3597. GOOGLE_CHECK_NE(&from, this);
  3598. const packetc2w_enter_game* source =
  3599. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_enter_game*>(
  3600. &from);
  3601. if (source == NULL) {
  3602. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3603. } else {
  3604. MergeFrom(*source);
  3605. }
  3606. }
  3607. void packetc2w_enter_game::MergeFrom(const packetc2w_enter_game& from) {
  3608. GOOGLE_CHECK_NE(&from, this);
  3609. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3610. if (from.has_packet_id()) {
  3611. set_packet_id(from.packet_id());
  3612. }
  3613. if (from.has_gameid()) {
  3614. set_gameid(from.gameid());
  3615. }
  3616. if (from.has_gamever()) {
  3617. set_gamever(from.gamever());
  3618. }
  3619. if (from.has_roomid()) {
  3620. set_roomid(from.roomid());
  3621. }
  3622. }
  3623. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  3624. }
  3625. void packetc2w_enter_game::CopyFrom(const ::google::protobuf::Message& from) {
  3626. if (&from == this) return;
  3627. Clear();
  3628. MergeFrom(from);
  3629. }
  3630. void packetc2w_enter_game::CopyFrom(const packetc2w_enter_game& from) {
  3631. if (&from == this) return;
  3632. Clear();
  3633. MergeFrom(from);
  3634. }
  3635. bool packetc2w_enter_game::IsInitialized() const {
  3636. return true;
  3637. }
  3638. void packetc2w_enter_game::Swap(packetc2w_enter_game* other) {
  3639. if (other != this) {
  3640. std::swap(packet_id_, other->packet_id_);
  3641. std::swap(gameid_, other->gameid_);
  3642. std::swap(gamever_, other->gamever_);
  3643. std::swap(roomid_, other->roomid_);
  3644. std::swap(_has_bits_[0], other->_has_bits_[0]);
  3645. _unknown_fields_.Swap(&other->_unknown_fields_);
  3646. std::swap(_cached_size_, other->_cached_size_);
  3647. }
  3648. }
  3649. ::google::protobuf::Metadata packetc2w_enter_game::GetMetadata() const {
  3650. protobuf_AssignDescriptorsOnce();
  3651. ::google::protobuf::Metadata metadata;
  3652. metadata.descriptor = packetc2w_enter_game_descriptor_;
  3653. metadata.reflection = packetc2w_enter_game_reflection_;
  3654. return metadata;
  3655. }
  3656. // ===================================================================
  3657. #ifndef _MSC_VER
  3658. const int packetw2c_enter_game_result::kPacketIdFieldNumber;
  3659. const int packetw2c_enter_game_result::kResultFieldNumber;
  3660. #endif // !_MSC_VER
  3661. packetw2c_enter_game_result::packetw2c_enter_game_result()
  3662. : ::google::protobuf::Message() {
  3663. SharedCtor();
  3664. }
  3665. void packetw2c_enter_game_result::InitAsDefaultInstance() {
  3666. }
  3667. packetw2c_enter_game_result::packetw2c_enter_game_result(const packetw2c_enter_game_result& from)
  3668. : ::google::protobuf::Message() {
  3669. SharedCtor();
  3670. MergeFrom(from);
  3671. }
  3672. void packetw2c_enter_game_result::SharedCtor() {
  3673. _cached_size_ = 0;
  3674. packet_id_ = 7504;
  3675. result_ = 2;
  3676. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3677. }
  3678. packetw2c_enter_game_result::~packetw2c_enter_game_result() {
  3679. SharedDtor();
  3680. }
  3681. void packetw2c_enter_game_result::SharedDtor() {
  3682. if (this != default_instance_) {
  3683. }
  3684. }
  3685. void packetw2c_enter_game_result::SetCachedSize(int size) const {
  3686. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3687. _cached_size_ = size;
  3688. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3689. }
  3690. const ::google::protobuf::Descriptor* packetw2c_enter_game_result::descriptor() {
  3691. protobuf_AssignDescriptorsOnce();
  3692. return packetw2c_enter_game_result_descriptor_;
  3693. }
  3694. const packetw2c_enter_game_result& packetw2c_enter_game_result::default_instance() {
  3695. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  3696. return *default_instance_;
  3697. }
  3698. packetw2c_enter_game_result* packetw2c_enter_game_result::default_instance_ = NULL;
  3699. packetw2c_enter_game_result* packetw2c_enter_game_result::New() const {
  3700. return new packetw2c_enter_game_result;
  3701. }
  3702. void packetw2c_enter_game_result::Clear() {
  3703. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3704. packet_id_ = 7504;
  3705. result_ = 2;
  3706. }
  3707. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3708. mutable_unknown_fields()->Clear();
  3709. }
  3710. bool packetw2c_enter_game_result::MergePartialFromCodedStream(
  3711. ::google::protobuf::io::CodedInputStream* input) {
  3712. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  3713. ::google::protobuf::uint32 tag;
  3714. while ((tag = input->ReadTag()) != 0) {
  3715. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3716. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_enter_game_result];
  3717. case 1: {
  3718. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3719. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3720. int value;
  3721. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3722. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  3723. input, &value)));
  3724. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  3725. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  3726. } else {
  3727. mutable_unknown_fields()->AddVarint(1, value);
  3728. }
  3729. } else {
  3730. goto handle_uninterpreted;
  3731. }
  3732. if (input->ExpectTag(16)) goto parse_result;
  3733. break;
  3734. }
  3735. // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  3736. case 2: {
  3737. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3738. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3739. parse_result:
  3740. int value;
  3741. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3742. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  3743. input, &value)));
  3744. if (::msg_type_def::e_msg_result_def_IsValid(value)) {
  3745. set_result(static_cast< ::msg_type_def::e_msg_result_def >(value));
  3746. } else {
  3747. mutable_unknown_fields()->AddVarint(2, value);
  3748. }
  3749. } else {
  3750. goto handle_uninterpreted;
  3751. }
  3752. if (input->ExpectAtEnd()) return true;
  3753. break;
  3754. }
  3755. default: {
  3756. handle_uninterpreted:
  3757. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3758. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  3759. return true;
  3760. }
  3761. DO_(::google::protobuf::internal::WireFormat::SkipField(
  3762. input, tag, mutable_unknown_fields()));
  3763. break;
  3764. }
  3765. }
  3766. }
  3767. return true;
  3768. #undef DO_
  3769. }
  3770. void packetw2c_enter_game_result::SerializeWithCachedSizes(
  3771. ::google::protobuf::io::CodedOutputStream* output) const {
  3772. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_enter_game_result];
  3773. if (has_packet_id()) {
  3774. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  3775. 1, this->packet_id(), output);
  3776. }
  3777. // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  3778. if (has_result()) {
  3779. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  3780. 2, this->result(), output);
  3781. }
  3782. if (!unknown_fields().empty()) {
  3783. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  3784. unknown_fields(), output);
  3785. }
  3786. }
  3787. ::google::protobuf::uint8* packetw2c_enter_game_result::SerializeWithCachedSizesToArray(
  3788. ::google::protobuf::uint8* target) const {
  3789. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_enter_game_result];
  3790. if (has_packet_id()) {
  3791. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  3792. 1, this->packet_id(), target);
  3793. }
  3794. // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  3795. if (has_result()) {
  3796. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  3797. 2, this->result(), target);
  3798. }
  3799. if (!unknown_fields().empty()) {
  3800. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3801. unknown_fields(), target);
  3802. }
  3803. return target;
  3804. }
  3805. int packetw2c_enter_game_result::ByteSize() const {
  3806. int total_size = 0;
  3807. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3808. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_enter_game_result];
  3809. if (has_packet_id()) {
  3810. total_size += 1 +
  3811. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  3812. }
  3813. // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  3814. if (has_result()) {
  3815. total_size += 1 +
  3816. ::google::protobuf::internal::WireFormatLite::EnumSize(this->result());
  3817. }
  3818. }
  3819. if (!unknown_fields().empty()) {
  3820. total_size +=
  3821. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3822. unknown_fields());
  3823. }
  3824. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3825. _cached_size_ = total_size;
  3826. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3827. return total_size;
  3828. }
  3829. void packetw2c_enter_game_result::MergeFrom(const ::google::protobuf::Message& from) {
  3830. GOOGLE_CHECK_NE(&from, this);
  3831. const packetw2c_enter_game_result* source =
  3832. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_enter_game_result*>(
  3833. &from);
  3834. if (source == NULL) {
  3835. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3836. } else {
  3837. MergeFrom(*source);
  3838. }
  3839. }
  3840. void packetw2c_enter_game_result::MergeFrom(const packetw2c_enter_game_result& from) {
  3841. GOOGLE_CHECK_NE(&from, this);
  3842. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3843. if (from.has_packet_id()) {
  3844. set_packet_id(from.packet_id());
  3845. }
  3846. if (from.has_result()) {
  3847. set_result(from.result());
  3848. }
  3849. }
  3850. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  3851. }
  3852. void packetw2c_enter_game_result::CopyFrom(const ::google::protobuf::Message& from) {
  3853. if (&from == this) return;
  3854. Clear();
  3855. MergeFrom(from);
  3856. }
  3857. void packetw2c_enter_game_result::CopyFrom(const packetw2c_enter_game_result& from) {
  3858. if (&from == this) return;
  3859. Clear();
  3860. MergeFrom(from);
  3861. }
  3862. bool packetw2c_enter_game_result::IsInitialized() const {
  3863. return true;
  3864. }
  3865. void packetw2c_enter_game_result::Swap(packetw2c_enter_game_result* other) {
  3866. if (other != this) {
  3867. std::swap(packet_id_, other->packet_id_);
  3868. std::swap(result_, other->result_);
  3869. std::swap(_has_bits_[0], other->_has_bits_[0]);
  3870. _unknown_fields_.Swap(&other->_unknown_fields_);
  3871. std::swap(_cached_size_, other->_cached_size_);
  3872. }
  3873. }
  3874. ::google::protobuf::Metadata packetw2c_enter_game_result::GetMetadata() const {
  3875. protobuf_AssignDescriptorsOnce();
  3876. ::google::protobuf::Metadata metadata;
  3877. metadata.descriptor = packetw2c_enter_game_result_descriptor_;
  3878. metadata.reflection = packetw2c_enter_game_result_reflection_;
  3879. return metadata;
  3880. }
  3881. // ===================================================================
  3882. #ifndef _MSC_VER
  3883. const int packetc2w_gm_command::kPacketIdFieldNumber;
  3884. const int packetc2w_gm_command::kCommandFieldNumber;
  3885. #endif // !_MSC_VER
  3886. packetc2w_gm_command::packetc2w_gm_command()
  3887. : ::google::protobuf::Message() {
  3888. SharedCtor();
  3889. }
  3890. void packetc2w_gm_command::InitAsDefaultInstance() {
  3891. }
  3892. packetc2w_gm_command::packetc2w_gm_command(const packetc2w_gm_command& from)
  3893. : ::google::protobuf::Message() {
  3894. SharedCtor();
  3895. MergeFrom(from);
  3896. }
  3897. void packetc2w_gm_command::SharedCtor() {
  3898. _cached_size_ = 0;
  3899. packet_id_ = 5005;
  3900. command_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  3901. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3902. }
  3903. packetc2w_gm_command::~packetc2w_gm_command() {
  3904. SharedDtor();
  3905. }
  3906. void packetc2w_gm_command::SharedDtor() {
  3907. if (command_ != &::google::protobuf::internal::kEmptyString) {
  3908. delete command_;
  3909. }
  3910. if (this != default_instance_) {
  3911. }
  3912. }
  3913. void packetc2w_gm_command::SetCachedSize(int size) const {
  3914. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3915. _cached_size_ = size;
  3916. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3917. }
  3918. const ::google::protobuf::Descriptor* packetc2w_gm_command::descriptor() {
  3919. protobuf_AssignDescriptorsOnce();
  3920. return packetc2w_gm_command_descriptor_;
  3921. }
  3922. const packetc2w_gm_command& packetc2w_gm_command::default_instance() {
  3923. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  3924. return *default_instance_;
  3925. }
  3926. packetc2w_gm_command* packetc2w_gm_command::default_instance_ = NULL;
  3927. packetc2w_gm_command* packetc2w_gm_command::New() const {
  3928. return new packetc2w_gm_command;
  3929. }
  3930. void packetc2w_gm_command::Clear() {
  3931. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3932. packet_id_ = 5005;
  3933. if (has_command()) {
  3934. if (command_ != &::google::protobuf::internal::kEmptyString) {
  3935. command_->clear();
  3936. }
  3937. }
  3938. }
  3939. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3940. mutable_unknown_fields()->Clear();
  3941. }
  3942. bool packetc2w_gm_command::MergePartialFromCodedStream(
  3943. ::google::protobuf::io::CodedInputStream* input) {
  3944. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  3945. ::google::protobuf::uint32 tag;
  3946. while ((tag = input->ReadTag()) != 0) {
  3947. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3948. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_command];
  3949. case 1: {
  3950. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3951. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3952. int value;
  3953. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3954. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  3955. input, &value)));
  3956. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  3957. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  3958. } else {
  3959. mutable_unknown_fields()->AddVarint(1, value);
  3960. }
  3961. } else {
  3962. goto handle_uninterpreted;
  3963. }
  3964. if (input->ExpectTag(18)) goto parse_command;
  3965. break;
  3966. }
  3967. // optional string command = 2;
  3968. case 2: {
  3969. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3970. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  3971. parse_command:
  3972. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  3973. input, this->mutable_command()));
  3974. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  3975. this->command().data(), this->command().length(),
  3976. ::google::protobuf::internal::WireFormat::PARSE);
  3977. } else {
  3978. goto handle_uninterpreted;
  3979. }
  3980. if (input->ExpectAtEnd()) return true;
  3981. break;
  3982. }
  3983. default: {
  3984. handle_uninterpreted:
  3985. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3986. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  3987. return true;
  3988. }
  3989. DO_(::google::protobuf::internal::WireFormat::SkipField(
  3990. input, tag, mutable_unknown_fields()));
  3991. break;
  3992. }
  3993. }
  3994. }
  3995. return true;
  3996. #undef DO_
  3997. }
  3998. void packetc2w_gm_command::SerializeWithCachedSizes(
  3999. ::google::protobuf::io::CodedOutputStream* output) const {
  4000. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_command];
  4001. if (has_packet_id()) {
  4002. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  4003. 1, this->packet_id(), output);
  4004. }
  4005. // optional string command = 2;
  4006. if (has_command()) {
  4007. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  4008. this->command().data(), this->command().length(),
  4009. ::google::protobuf::internal::WireFormat::SERIALIZE);
  4010. ::google::protobuf::internal::WireFormatLite::WriteString(
  4011. 2, this->command(), output);
  4012. }
  4013. if (!unknown_fields().empty()) {
  4014. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  4015. unknown_fields(), output);
  4016. }
  4017. }
  4018. ::google::protobuf::uint8* packetc2w_gm_command::SerializeWithCachedSizesToArray(
  4019. ::google::protobuf::uint8* target) const {
  4020. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_command];
  4021. if (has_packet_id()) {
  4022. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  4023. 1, this->packet_id(), target);
  4024. }
  4025. // optional string command = 2;
  4026. if (has_command()) {
  4027. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  4028. this->command().data(), this->command().length(),
  4029. ::google::protobuf::internal::WireFormat::SERIALIZE);
  4030. target =
  4031. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  4032. 2, this->command(), target);
  4033. }
  4034. if (!unknown_fields().empty()) {
  4035. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  4036. unknown_fields(), target);
  4037. }
  4038. return target;
  4039. }
  4040. int packetc2w_gm_command::ByteSize() const {
  4041. int total_size = 0;
  4042. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4043. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_command];
  4044. if (has_packet_id()) {
  4045. total_size += 1 +
  4046. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  4047. }
  4048. // optional string command = 2;
  4049. if (has_command()) {
  4050. total_size += 1 +
  4051. ::google::protobuf::internal::WireFormatLite::StringSize(
  4052. this->command());
  4053. }
  4054. }
  4055. if (!unknown_fields().empty()) {
  4056. total_size +=
  4057. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  4058. unknown_fields());
  4059. }
  4060. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4061. _cached_size_ = total_size;
  4062. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4063. return total_size;
  4064. }
  4065. void packetc2w_gm_command::MergeFrom(const ::google::protobuf::Message& from) {
  4066. GOOGLE_CHECK_NE(&from, this);
  4067. const packetc2w_gm_command* source =
  4068. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_gm_command*>(
  4069. &from);
  4070. if (source == NULL) {
  4071. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  4072. } else {
  4073. MergeFrom(*source);
  4074. }
  4075. }
  4076. void packetc2w_gm_command::MergeFrom(const packetc2w_gm_command& from) {
  4077. GOOGLE_CHECK_NE(&from, this);
  4078. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4079. if (from.has_packet_id()) {
  4080. set_packet_id(from.packet_id());
  4081. }
  4082. if (from.has_command()) {
  4083. set_command(from.command());
  4084. }
  4085. }
  4086. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  4087. }
  4088. void packetc2w_gm_command::CopyFrom(const ::google::protobuf::Message& from) {
  4089. if (&from == this) return;
  4090. Clear();
  4091. MergeFrom(from);
  4092. }
  4093. void packetc2w_gm_command::CopyFrom(const packetc2w_gm_command& from) {
  4094. if (&from == this) return;
  4095. Clear();
  4096. MergeFrom(from);
  4097. }
  4098. bool packetc2w_gm_command::IsInitialized() const {
  4099. return true;
  4100. }
  4101. void packetc2w_gm_command::Swap(packetc2w_gm_command* other) {
  4102. if (other != this) {
  4103. std::swap(packet_id_, other->packet_id_);
  4104. std::swap(command_, other->command_);
  4105. std::swap(_has_bits_[0], other->_has_bits_[0]);
  4106. _unknown_fields_.Swap(&other->_unknown_fields_);
  4107. std::swap(_cached_size_, other->_cached_size_);
  4108. }
  4109. }
  4110. ::google::protobuf::Metadata packetc2w_gm_command::GetMetadata() const {
  4111. protobuf_AssignDescriptorsOnce();
  4112. ::google::protobuf::Metadata metadata;
  4113. metadata.descriptor = packetc2w_gm_command_descriptor_;
  4114. metadata.reflection = packetc2w_gm_command_reflection_;
  4115. return metadata;
  4116. }
  4117. // ===================================================================
  4118. #ifndef _MSC_VER
  4119. const int packetw2c_gm_command_result::kPacketIdFieldNumber;
  4120. const int packetw2c_gm_command_result::kResultFieldNumber;
  4121. #endif // !_MSC_VER
  4122. packetw2c_gm_command_result::packetw2c_gm_command_result()
  4123. : ::google::protobuf::Message() {
  4124. SharedCtor();
  4125. }
  4126. void packetw2c_gm_command_result::InitAsDefaultInstance() {
  4127. }
  4128. packetw2c_gm_command_result::packetw2c_gm_command_result(const packetw2c_gm_command_result& from)
  4129. : ::google::protobuf::Message() {
  4130. SharedCtor();
  4131. MergeFrom(from);
  4132. }
  4133. void packetw2c_gm_command_result::SharedCtor() {
  4134. _cached_size_ = 0;
  4135. packet_id_ = 7505;
  4136. result_ = 2;
  4137. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4138. }
  4139. packetw2c_gm_command_result::~packetw2c_gm_command_result() {
  4140. SharedDtor();
  4141. }
  4142. void packetw2c_gm_command_result::SharedDtor() {
  4143. if (this != default_instance_) {
  4144. }
  4145. }
  4146. void packetw2c_gm_command_result::SetCachedSize(int size) const {
  4147. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4148. _cached_size_ = size;
  4149. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4150. }
  4151. const ::google::protobuf::Descriptor* packetw2c_gm_command_result::descriptor() {
  4152. protobuf_AssignDescriptorsOnce();
  4153. return packetw2c_gm_command_result_descriptor_;
  4154. }
  4155. const packetw2c_gm_command_result& packetw2c_gm_command_result::default_instance() {
  4156. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  4157. return *default_instance_;
  4158. }
  4159. packetw2c_gm_command_result* packetw2c_gm_command_result::default_instance_ = NULL;
  4160. packetw2c_gm_command_result* packetw2c_gm_command_result::New() const {
  4161. return new packetw2c_gm_command_result;
  4162. }
  4163. void packetw2c_gm_command_result::Clear() {
  4164. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4165. packet_id_ = 7505;
  4166. result_ = 2;
  4167. }
  4168. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4169. mutable_unknown_fields()->Clear();
  4170. }
  4171. bool packetw2c_gm_command_result::MergePartialFromCodedStream(
  4172. ::google::protobuf::io::CodedInputStream* input) {
  4173. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  4174. ::google::protobuf::uint32 tag;
  4175. while ((tag = input->ReadTag()) != 0) {
  4176. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  4177. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_command_result];
  4178. case 1: {
  4179. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4180. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4181. int value;
  4182. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4183. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  4184. input, &value)));
  4185. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  4186. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  4187. } else {
  4188. mutable_unknown_fields()->AddVarint(1, value);
  4189. }
  4190. } else {
  4191. goto handle_uninterpreted;
  4192. }
  4193. if (input->ExpectTag(16)) goto parse_result;
  4194. break;
  4195. }
  4196. // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  4197. case 2: {
  4198. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4199. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4200. parse_result:
  4201. int value;
  4202. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4203. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  4204. input, &value)));
  4205. if (::msg_type_def::e_msg_result_def_IsValid(value)) {
  4206. set_result(static_cast< ::msg_type_def::e_msg_result_def >(value));
  4207. } else {
  4208. mutable_unknown_fields()->AddVarint(2, value);
  4209. }
  4210. } else {
  4211. goto handle_uninterpreted;
  4212. }
  4213. if (input->ExpectAtEnd()) return true;
  4214. break;
  4215. }
  4216. default: {
  4217. handle_uninterpreted:
  4218. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4219. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  4220. return true;
  4221. }
  4222. DO_(::google::protobuf::internal::WireFormat::SkipField(
  4223. input, tag, mutable_unknown_fields()));
  4224. break;
  4225. }
  4226. }
  4227. }
  4228. return true;
  4229. #undef DO_
  4230. }
  4231. void packetw2c_gm_command_result::SerializeWithCachedSizes(
  4232. ::google::protobuf::io::CodedOutputStream* output) const {
  4233. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_command_result];
  4234. if (has_packet_id()) {
  4235. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  4236. 1, this->packet_id(), output);
  4237. }
  4238. // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  4239. if (has_result()) {
  4240. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  4241. 2, this->result(), output);
  4242. }
  4243. if (!unknown_fields().empty()) {
  4244. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  4245. unknown_fields(), output);
  4246. }
  4247. }
  4248. ::google::protobuf::uint8* packetw2c_gm_command_result::SerializeWithCachedSizesToArray(
  4249. ::google::protobuf::uint8* target) const {
  4250. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_command_result];
  4251. if (has_packet_id()) {
  4252. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  4253. 1, this->packet_id(), target);
  4254. }
  4255. // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  4256. if (has_result()) {
  4257. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  4258. 2, this->result(), target);
  4259. }
  4260. if (!unknown_fields().empty()) {
  4261. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  4262. unknown_fields(), target);
  4263. }
  4264. return target;
  4265. }
  4266. int packetw2c_gm_command_result::ByteSize() const {
  4267. int total_size = 0;
  4268. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4269. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_command_result];
  4270. if (has_packet_id()) {
  4271. total_size += 1 +
  4272. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  4273. }
  4274. // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  4275. if (has_result()) {
  4276. total_size += 1 +
  4277. ::google::protobuf::internal::WireFormatLite::EnumSize(this->result());
  4278. }
  4279. }
  4280. if (!unknown_fields().empty()) {
  4281. total_size +=
  4282. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  4283. unknown_fields());
  4284. }
  4285. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4286. _cached_size_ = total_size;
  4287. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4288. return total_size;
  4289. }
  4290. void packetw2c_gm_command_result::MergeFrom(const ::google::protobuf::Message& from) {
  4291. GOOGLE_CHECK_NE(&from, this);
  4292. const packetw2c_gm_command_result* source =
  4293. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_gm_command_result*>(
  4294. &from);
  4295. if (source == NULL) {
  4296. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  4297. } else {
  4298. MergeFrom(*source);
  4299. }
  4300. }
  4301. void packetw2c_gm_command_result::MergeFrom(const packetw2c_gm_command_result& from) {
  4302. GOOGLE_CHECK_NE(&from, this);
  4303. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4304. if (from.has_packet_id()) {
  4305. set_packet_id(from.packet_id());
  4306. }
  4307. if (from.has_result()) {
  4308. set_result(from.result());
  4309. }
  4310. }
  4311. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  4312. }
  4313. void packetw2c_gm_command_result::CopyFrom(const ::google::protobuf::Message& from) {
  4314. if (&from == this) return;
  4315. Clear();
  4316. MergeFrom(from);
  4317. }
  4318. void packetw2c_gm_command_result::CopyFrom(const packetw2c_gm_command_result& from) {
  4319. if (&from == this) return;
  4320. Clear();
  4321. MergeFrom(from);
  4322. }
  4323. bool packetw2c_gm_command_result::IsInitialized() const {
  4324. return true;
  4325. }
  4326. void packetw2c_gm_command_result::Swap(packetw2c_gm_command_result* other) {
  4327. if (other != this) {
  4328. std::swap(packet_id_, other->packet_id_);
  4329. std::swap(result_, other->result_);
  4330. std::swap(_has_bits_[0], other->_has_bits_[0]);
  4331. _unknown_fields_.Swap(&other->_unknown_fields_);
  4332. std::swap(_cached_size_, other->_cached_size_);
  4333. }
  4334. }
  4335. ::google::protobuf::Metadata packetw2c_gm_command_result::GetMetadata() const {
  4336. protobuf_AssignDescriptorsOnce();
  4337. ::google::protobuf::Metadata metadata;
  4338. metadata.descriptor = packetw2c_gm_command_result_descriptor_;
  4339. metadata.reflection = packetw2c_gm_command_result_reflection_;
  4340. return metadata;
  4341. }
  4342. // ===================================================================
  4343. #ifndef _MSC_VER
  4344. const int packetc2w_ask_for_pay::kPacketIdFieldNumber;
  4345. const int packetc2w_ask_for_pay::kChannelFieldNumber;
  4346. const int packetc2w_ask_for_pay::kPayCodeFieldNumber;
  4347. const int packetc2w_ask_for_pay::kPayTypeFieldNumber;
  4348. #endif // !_MSC_VER
  4349. packetc2w_ask_for_pay::packetc2w_ask_for_pay()
  4350. : ::google::protobuf::Message() {
  4351. SharedCtor();
  4352. }
  4353. void packetc2w_ask_for_pay::InitAsDefaultInstance() {
  4354. }
  4355. packetc2w_ask_for_pay::packetc2w_ask_for_pay(const packetc2w_ask_for_pay& from)
  4356. : ::google::protobuf::Message() {
  4357. SharedCtor();
  4358. MergeFrom(from);
  4359. }
  4360. void packetc2w_ask_for_pay::SharedCtor() {
  4361. _cached_size_ = 0;
  4362. packet_id_ = 5075;
  4363. channel_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  4364. pay_code_ = 0;
  4365. pay_type_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  4366. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4367. }
  4368. packetc2w_ask_for_pay::~packetc2w_ask_for_pay() {
  4369. SharedDtor();
  4370. }
  4371. void packetc2w_ask_for_pay::SharedDtor() {
  4372. if (channel_ != &::google::protobuf::internal::kEmptyString) {
  4373. delete channel_;
  4374. }
  4375. if (pay_type_ != &::google::protobuf::internal::kEmptyString) {
  4376. delete pay_type_;
  4377. }
  4378. if (this != default_instance_) {
  4379. }
  4380. }
  4381. void packetc2w_ask_for_pay::SetCachedSize(int size) const {
  4382. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4383. _cached_size_ = size;
  4384. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4385. }
  4386. const ::google::protobuf::Descriptor* packetc2w_ask_for_pay::descriptor() {
  4387. protobuf_AssignDescriptorsOnce();
  4388. return packetc2w_ask_for_pay_descriptor_;
  4389. }
  4390. const packetc2w_ask_for_pay& packetc2w_ask_for_pay::default_instance() {
  4391. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  4392. return *default_instance_;
  4393. }
  4394. packetc2w_ask_for_pay* packetc2w_ask_for_pay::default_instance_ = NULL;
  4395. packetc2w_ask_for_pay* packetc2w_ask_for_pay::New() const {
  4396. return new packetc2w_ask_for_pay;
  4397. }
  4398. void packetc2w_ask_for_pay::Clear() {
  4399. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4400. packet_id_ = 5075;
  4401. if (has_channel()) {
  4402. if (channel_ != &::google::protobuf::internal::kEmptyString) {
  4403. channel_->clear();
  4404. }
  4405. }
  4406. pay_code_ = 0;
  4407. if (has_pay_type()) {
  4408. if (pay_type_ != &::google::protobuf::internal::kEmptyString) {
  4409. pay_type_->clear();
  4410. }
  4411. }
  4412. }
  4413. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4414. mutable_unknown_fields()->Clear();
  4415. }
  4416. bool packetc2w_ask_for_pay::MergePartialFromCodedStream(
  4417. ::google::protobuf::io::CodedInputStream* input) {
  4418. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  4419. ::google::protobuf::uint32 tag;
  4420. while ((tag = input->ReadTag()) != 0) {
  4421. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  4422. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_ask_for_pay];
  4423. case 1: {
  4424. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4425. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4426. int value;
  4427. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4428. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  4429. input, &value)));
  4430. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  4431. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  4432. } else {
  4433. mutable_unknown_fields()->AddVarint(1, value);
  4434. }
  4435. } else {
  4436. goto handle_uninterpreted;
  4437. }
  4438. if (input->ExpectTag(18)) goto parse_channel;
  4439. break;
  4440. }
  4441. // optional string channel = 2;
  4442. case 2: {
  4443. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4444. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  4445. parse_channel:
  4446. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  4447. input, this->mutable_channel()));
  4448. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  4449. this->channel().data(), this->channel().length(),
  4450. ::google::protobuf::internal::WireFormat::PARSE);
  4451. } else {
  4452. goto handle_uninterpreted;
  4453. }
  4454. if (input->ExpectTag(24)) goto parse_pay_code;
  4455. break;
  4456. }
  4457. // optional int32 pay_code = 3;
  4458. case 3: {
  4459. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4460. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4461. parse_pay_code:
  4462. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4463. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4464. input, &pay_code_)));
  4465. set_has_pay_code();
  4466. } else {
  4467. goto handle_uninterpreted;
  4468. }
  4469. if (input->ExpectTag(34)) goto parse_pay_type;
  4470. break;
  4471. }
  4472. // optional string pay_type = 4;
  4473. case 4: {
  4474. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4475. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  4476. parse_pay_type:
  4477. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  4478. input, this->mutable_pay_type()));
  4479. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  4480. this->pay_type().data(), this->pay_type().length(),
  4481. ::google::protobuf::internal::WireFormat::PARSE);
  4482. } else {
  4483. goto handle_uninterpreted;
  4484. }
  4485. if (input->ExpectAtEnd()) return true;
  4486. break;
  4487. }
  4488. default: {
  4489. handle_uninterpreted:
  4490. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4491. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  4492. return true;
  4493. }
  4494. DO_(::google::protobuf::internal::WireFormat::SkipField(
  4495. input, tag, mutable_unknown_fields()));
  4496. break;
  4497. }
  4498. }
  4499. }
  4500. return true;
  4501. #undef DO_
  4502. }
  4503. void packetc2w_ask_for_pay::SerializeWithCachedSizes(
  4504. ::google::protobuf::io::CodedOutputStream* output) const {
  4505. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_ask_for_pay];
  4506. if (has_packet_id()) {
  4507. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  4508. 1, this->packet_id(), output);
  4509. }
  4510. // optional string channel = 2;
  4511. if (has_channel()) {
  4512. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  4513. this->channel().data(), this->channel().length(),
  4514. ::google::protobuf::internal::WireFormat::SERIALIZE);
  4515. ::google::protobuf::internal::WireFormatLite::WriteString(
  4516. 2, this->channel(), output);
  4517. }
  4518. // optional int32 pay_code = 3;
  4519. if (has_pay_code()) {
  4520. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->pay_code(), output);
  4521. }
  4522. // optional string pay_type = 4;
  4523. if (has_pay_type()) {
  4524. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  4525. this->pay_type().data(), this->pay_type().length(),
  4526. ::google::protobuf::internal::WireFormat::SERIALIZE);
  4527. ::google::protobuf::internal::WireFormatLite::WriteString(
  4528. 4, this->pay_type(), output);
  4529. }
  4530. if (!unknown_fields().empty()) {
  4531. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  4532. unknown_fields(), output);
  4533. }
  4534. }
  4535. ::google::protobuf::uint8* packetc2w_ask_for_pay::SerializeWithCachedSizesToArray(
  4536. ::google::protobuf::uint8* target) const {
  4537. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_ask_for_pay];
  4538. if (has_packet_id()) {
  4539. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  4540. 1, this->packet_id(), target);
  4541. }
  4542. // optional string channel = 2;
  4543. if (has_channel()) {
  4544. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  4545. this->channel().data(), this->channel().length(),
  4546. ::google::protobuf::internal::WireFormat::SERIALIZE);
  4547. target =
  4548. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  4549. 2, this->channel(), target);
  4550. }
  4551. // optional int32 pay_code = 3;
  4552. if (has_pay_code()) {
  4553. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->pay_code(), target);
  4554. }
  4555. // optional string pay_type = 4;
  4556. if (has_pay_type()) {
  4557. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  4558. this->pay_type().data(), this->pay_type().length(),
  4559. ::google::protobuf::internal::WireFormat::SERIALIZE);
  4560. target =
  4561. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  4562. 4, this->pay_type(), target);
  4563. }
  4564. if (!unknown_fields().empty()) {
  4565. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  4566. unknown_fields(), target);
  4567. }
  4568. return target;
  4569. }
  4570. int packetc2w_ask_for_pay::ByteSize() const {
  4571. int total_size = 0;
  4572. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4573. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_ask_for_pay];
  4574. if (has_packet_id()) {
  4575. total_size += 1 +
  4576. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  4577. }
  4578. // optional string channel = 2;
  4579. if (has_channel()) {
  4580. total_size += 1 +
  4581. ::google::protobuf::internal::WireFormatLite::StringSize(
  4582. this->channel());
  4583. }
  4584. // optional int32 pay_code = 3;
  4585. if (has_pay_code()) {
  4586. total_size += 1 +
  4587. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4588. this->pay_code());
  4589. }
  4590. // optional string pay_type = 4;
  4591. if (has_pay_type()) {
  4592. total_size += 1 +
  4593. ::google::protobuf::internal::WireFormatLite::StringSize(
  4594. this->pay_type());
  4595. }
  4596. }
  4597. if (!unknown_fields().empty()) {
  4598. total_size +=
  4599. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  4600. unknown_fields());
  4601. }
  4602. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4603. _cached_size_ = total_size;
  4604. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4605. return total_size;
  4606. }
  4607. void packetc2w_ask_for_pay::MergeFrom(const ::google::protobuf::Message& from) {
  4608. GOOGLE_CHECK_NE(&from, this);
  4609. const packetc2w_ask_for_pay* source =
  4610. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_ask_for_pay*>(
  4611. &from);
  4612. if (source == NULL) {
  4613. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  4614. } else {
  4615. MergeFrom(*source);
  4616. }
  4617. }
  4618. void packetc2w_ask_for_pay::MergeFrom(const packetc2w_ask_for_pay& from) {
  4619. GOOGLE_CHECK_NE(&from, this);
  4620. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4621. if (from.has_packet_id()) {
  4622. set_packet_id(from.packet_id());
  4623. }
  4624. if (from.has_channel()) {
  4625. set_channel(from.channel());
  4626. }
  4627. if (from.has_pay_code()) {
  4628. set_pay_code(from.pay_code());
  4629. }
  4630. if (from.has_pay_type()) {
  4631. set_pay_type(from.pay_type());
  4632. }
  4633. }
  4634. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  4635. }
  4636. void packetc2w_ask_for_pay::CopyFrom(const ::google::protobuf::Message& from) {
  4637. if (&from == this) return;
  4638. Clear();
  4639. MergeFrom(from);
  4640. }
  4641. void packetc2w_ask_for_pay::CopyFrom(const packetc2w_ask_for_pay& from) {
  4642. if (&from == this) return;
  4643. Clear();
  4644. MergeFrom(from);
  4645. }
  4646. bool packetc2w_ask_for_pay::IsInitialized() const {
  4647. return true;
  4648. }
  4649. void packetc2w_ask_for_pay::Swap(packetc2w_ask_for_pay* other) {
  4650. if (other != this) {
  4651. std::swap(packet_id_, other->packet_id_);
  4652. std::swap(channel_, other->channel_);
  4653. std::swap(pay_code_, other->pay_code_);
  4654. std::swap(pay_type_, other->pay_type_);
  4655. std::swap(_has_bits_[0], other->_has_bits_[0]);
  4656. _unknown_fields_.Swap(&other->_unknown_fields_);
  4657. std::swap(_cached_size_, other->_cached_size_);
  4658. }
  4659. }
  4660. ::google::protobuf::Metadata packetc2w_ask_for_pay::GetMetadata() const {
  4661. protobuf_AssignDescriptorsOnce();
  4662. ::google::protobuf::Metadata metadata;
  4663. metadata.descriptor = packetc2w_ask_for_pay_descriptor_;
  4664. metadata.reflection = packetc2w_ask_for_pay_reflection_;
  4665. return metadata;
  4666. }
  4667. // ===================================================================
  4668. #ifndef _MSC_VER
  4669. const int packetw2c_ask_for_pay_result::kPacketIdFieldNumber;
  4670. const int packetw2c_ask_for_pay_result::kResultFieldNumber;
  4671. const int packetw2c_ask_for_pay_result::kOrderIdFieldNumber;
  4672. #endif // !_MSC_VER
  4673. packetw2c_ask_for_pay_result::packetw2c_ask_for_pay_result()
  4674. : ::google::protobuf::Message() {
  4675. SharedCtor();
  4676. }
  4677. void packetw2c_ask_for_pay_result::InitAsDefaultInstance() {
  4678. }
  4679. packetw2c_ask_for_pay_result::packetw2c_ask_for_pay_result(const packetw2c_ask_for_pay_result& from)
  4680. : ::google::protobuf::Message() {
  4681. SharedCtor();
  4682. MergeFrom(from);
  4683. }
  4684. void packetw2c_ask_for_pay_result::SharedCtor() {
  4685. _cached_size_ = 0;
  4686. packet_id_ = 7579;
  4687. result_ = 2;
  4688. order_id_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  4689. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4690. }
  4691. packetw2c_ask_for_pay_result::~packetw2c_ask_for_pay_result() {
  4692. SharedDtor();
  4693. }
  4694. void packetw2c_ask_for_pay_result::SharedDtor() {
  4695. if (order_id_ != &::google::protobuf::internal::kEmptyString) {
  4696. delete order_id_;
  4697. }
  4698. if (this != default_instance_) {
  4699. }
  4700. }
  4701. void packetw2c_ask_for_pay_result::SetCachedSize(int size) const {
  4702. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4703. _cached_size_ = size;
  4704. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4705. }
  4706. const ::google::protobuf::Descriptor* packetw2c_ask_for_pay_result::descriptor() {
  4707. protobuf_AssignDescriptorsOnce();
  4708. return packetw2c_ask_for_pay_result_descriptor_;
  4709. }
  4710. const packetw2c_ask_for_pay_result& packetw2c_ask_for_pay_result::default_instance() {
  4711. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  4712. return *default_instance_;
  4713. }
  4714. packetw2c_ask_for_pay_result* packetw2c_ask_for_pay_result::default_instance_ = NULL;
  4715. packetw2c_ask_for_pay_result* packetw2c_ask_for_pay_result::New() const {
  4716. return new packetw2c_ask_for_pay_result;
  4717. }
  4718. void packetw2c_ask_for_pay_result::Clear() {
  4719. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4720. packet_id_ = 7579;
  4721. result_ = 2;
  4722. if (has_order_id()) {
  4723. if (order_id_ != &::google::protobuf::internal::kEmptyString) {
  4724. order_id_->clear();
  4725. }
  4726. }
  4727. }
  4728. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4729. mutable_unknown_fields()->Clear();
  4730. }
  4731. bool packetw2c_ask_for_pay_result::MergePartialFromCodedStream(
  4732. ::google::protobuf::io::CodedInputStream* input) {
  4733. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  4734. ::google::protobuf::uint32 tag;
  4735. while ((tag = input->ReadTag()) != 0) {
  4736. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  4737. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_ask_for_pay_result];
  4738. case 1: {
  4739. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4740. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4741. int value;
  4742. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4743. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  4744. input, &value)));
  4745. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  4746. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  4747. } else {
  4748. mutable_unknown_fields()->AddVarint(1, value);
  4749. }
  4750. } else {
  4751. goto handle_uninterpreted;
  4752. }
  4753. if (input->ExpectTag(16)) goto parse_result;
  4754. break;
  4755. }
  4756. // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  4757. case 2: {
  4758. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4759. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4760. parse_result:
  4761. int value;
  4762. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4763. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  4764. input, &value)));
  4765. if (::msg_type_def::e_msg_result_def_IsValid(value)) {
  4766. set_result(static_cast< ::msg_type_def::e_msg_result_def >(value));
  4767. } else {
  4768. mutable_unknown_fields()->AddVarint(2, value);
  4769. }
  4770. } else {
  4771. goto handle_uninterpreted;
  4772. }
  4773. if (input->ExpectTag(26)) goto parse_order_id;
  4774. break;
  4775. }
  4776. // optional string order_id = 3;
  4777. case 3: {
  4778. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4779. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  4780. parse_order_id:
  4781. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  4782. input, this->mutable_order_id()));
  4783. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  4784. this->order_id().data(), this->order_id().length(),
  4785. ::google::protobuf::internal::WireFormat::PARSE);
  4786. } else {
  4787. goto handle_uninterpreted;
  4788. }
  4789. if (input->ExpectAtEnd()) return true;
  4790. break;
  4791. }
  4792. default: {
  4793. handle_uninterpreted:
  4794. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4795. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  4796. return true;
  4797. }
  4798. DO_(::google::protobuf::internal::WireFormat::SkipField(
  4799. input, tag, mutable_unknown_fields()));
  4800. break;
  4801. }
  4802. }
  4803. }
  4804. return true;
  4805. #undef DO_
  4806. }
  4807. void packetw2c_ask_for_pay_result::SerializeWithCachedSizes(
  4808. ::google::protobuf::io::CodedOutputStream* output) const {
  4809. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_ask_for_pay_result];
  4810. if (has_packet_id()) {
  4811. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  4812. 1, this->packet_id(), output);
  4813. }
  4814. // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  4815. if (has_result()) {
  4816. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  4817. 2, this->result(), output);
  4818. }
  4819. // optional string order_id = 3;
  4820. if (has_order_id()) {
  4821. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  4822. this->order_id().data(), this->order_id().length(),
  4823. ::google::protobuf::internal::WireFormat::SERIALIZE);
  4824. ::google::protobuf::internal::WireFormatLite::WriteString(
  4825. 3, this->order_id(), output);
  4826. }
  4827. if (!unknown_fields().empty()) {
  4828. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  4829. unknown_fields(), output);
  4830. }
  4831. }
  4832. ::google::protobuf::uint8* packetw2c_ask_for_pay_result::SerializeWithCachedSizesToArray(
  4833. ::google::protobuf::uint8* target) const {
  4834. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_ask_for_pay_result];
  4835. if (has_packet_id()) {
  4836. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  4837. 1, this->packet_id(), target);
  4838. }
  4839. // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  4840. if (has_result()) {
  4841. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  4842. 2, this->result(), target);
  4843. }
  4844. // optional string order_id = 3;
  4845. if (has_order_id()) {
  4846. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  4847. this->order_id().data(), this->order_id().length(),
  4848. ::google::protobuf::internal::WireFormat::SERIALIZE);
  4849. target =
  4850. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  4851. 3, this->order_id(), target);
  4852. }
  4853. if (!unknown_fields().empty()) {
  4854. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  4855. unknown_fields(), target);
  4856. }
  4857. return target;
  4858. }
  4859. int packetw2c_ask_for_pay_result::ByteSize() const {
  4860. int total_size = 0;
  4861. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4862. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_ask_for_pay_result];
  4863. if (has_packet_id()) {
  4864. total_size += 1 +
  4865. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  4866. }
  4867. // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  4868. if (has_result()) {
  4869. total_size += 1 +
  4870. ::google::protobuf::internal::WireFormatLite::EnumSize(this->result());
  4871. }
  4872. // optional string order_id = 3;
  4873. if (has_order_id()) {
  4874. total_size += 1 +
  4875. ::google::protobuf::internal::WireFormatLite::StringSize(
  4876. this->order_id());
  4877. }
  4878. }
  4879. if (!unknown_fields().empty()) {
  4880. total_size +=
  4881. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  4882. unknown_fields());
  4883. }
  4884. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4885. _cached_size_ = total_size;
  4886. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4887. return total_size;
  4888. }
  4889. void packetw2c_ask_for_pay_result::MergeFrom(const ::google::protobuf::Message& from) {
  4890. GOOGLE_CHECK_NE(&from, this);
  4891. const packetw2c_ask_for_pay_result* source =
  4892. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_ask_for_pay_result*>(
  4893. &from);
  4894. if (source == NULL) {
  4895. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  4896. } else {
  4897. MergeFrom(*source);
  4898. }
  4899. }
  4900. void packetw2c_ask_for_pay_result::MergeFrom(const packetw2c_ask_for_pay_result& from) {
  4901. GOOGLE_CHECK_NE(&from, this);
  4902. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4903. if (from.has_packet_id()) {
  4904. set_packet_id(from.packet_id());
  4905. }
  4906. if (from.has_result()) {
  4907. set_result(from.result());
  4908. }
  4909. if (from.has_order_id()) {
  4910. set_order_id(from.order_id());
  4911. }
  4912. }
  4913. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  4914. }
  4915. void packetw2c_ask_for_pay_result::CopyFrom(const ::google::protobuf::Message& from) {
  4916. if (&from == this) return;
  4917. Clear();
  4918. MergeFrom(from);
  4919. }
  4920. void packetw2c_ask_for_pay_result::CopyFrom(const packetw2c_ask_for_pay_result& from) {
  4921. if (&from == this) return;
  4922. Clear();
  4923. MergeFrom(from);
  4924. }
  4925. bool packetw2c_ask_for_pay_result::IsInitialized() const {
  4926. return true;
  4927. }
  4928. void packetw2c_ask_for_pay_result::Swap(packetw2c_ask_for_pay_result* other) {
  4929. if (other != this) {
  4930. std::swap(packet_id_, other->packet_id_);
  4931. std::swap(result_, other->result_);
  4932. std::swap(order_id_, other->order_id_);
  4933. std::swap(_has_bits_[0], other->_has_bits_[0]);
  4934. _unknown_fields_.Swap(&other->_unknown_fields_);
  4935. std::swap(_cached_size_, other->_cached_size_);
  4936. }
  4937. }
  4938. ::google::protobuf::Metadata packetw2c_ask_for_pay_result::GetMetadata() const {
  4939. protobuf_AssignDescriptorsOnce();
  4940. ::google::protobuf::Metadata metadata;
  4941. metadata.descriptor = packetw2c_ask_for_pay_result_descriptor_;
  4942. metadata.reflection = packetw2c_ask_for_pay_result_reflection_;
  4943. return metadata;
  4944. }
  4945. // ===================================================================
  4946. #ifndef _MSC_VER
  4947. const int packetc2w_ask_check_payment::kPacketIdFieldNumber;
  4948. const int packetc2w_ask_check_payment::kOrderidFieldNumber;
  4949. const int packetc2w_ask_check_payment::kExMarkFieldNumber;
  4950. const int packetc2w_ask_check_payment::kPayTypeFieldNumber;
  4951. #endif // !_MSC_VER
  4952. packetc2w_ask_check_payment::packetc2w_ask_check_payment()
  4953. : ::google::protobuf::Message() {
  4954. SharedCtor();
  4955. }
  4956. void packetc2w_ask_check_payment::InitAsDefaultInstance() {
  4957. }
  4958. packetc2w_ask_check_payment::packetc2w_ask_check_payment(const packetc2w_ask_check_payment& from)
  4959. : ::google::protobuf::Message() {
  4960. SharedCtor();
  4961. MergeFrom(from);
  4962. }
  4963. void packetc2w_ask_check_payment::SharedCtor() {
  4964. _cached_size_ = 0;
  4965. packet_id_ = 5006;
  4966. orderid_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  4967. ex_mark_ = false;
  4968. paytype_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  4969. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4970. }
  4971. packetc2w_ask_check_payment::~packetc2w_ask_check_payment() {
  4972. SharedDtor();
  4973. }
  4974. void packetc2w_ask_check_payment::SharedDtor() {
  4975. if (orderid_ != &::google::protobuf::internal::kEmptyString) {
  4976. delete orderid_;
  4977. }
  4978. if (paytype_ != &::google::protobuf::internal::kEmptyString) {
  4979. delete paytype_;
  4980. }
  4981. if (this != default_instance_) {
  4982. }
  4983. }
  4984. void packetc2w_ask_check_payment::SetCachedSize(int size) const {
  4985. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4986. _cached_size_ = size;
  4987. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4988. }
  4989. const ::google::protobuf::Descriptor* packetc2w_ask_check_payment::descriptor() {
  4990. protobuf_AssignDescriptorsOnce();
  4991. return packetc2w_ask_check_payment_descriptor_;
  4992. }
  4993. const packetc2w_ask_check_payment& packetc2w_ask_check_payment::default_instance() {
  4994. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  4995. return *default_instance_;
  4996. }
  4997. packetc2w_ask_check_payment* packetc2w_ask_check_payment::default_instance_ = NULL;
  4998. packetc2w_ask_check_payment* packetc2w_ask_check_payment::New() const {
  4999. return new packetc2w_ask_check_payment;
  5000. }
  5001. void packetc2w_ask_check_payment::Clear() {
  5002. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5003. packet_id_ = 5006;
  5004. if (has_orderid()) {
  5005. if (orderid_ != &::google::protobuf::internal::kEmptyString) {
  5006. orderid_->clear();
  5007. }
  5008. }
  5009. ex_mark_ = false;
  5010. if (has_paytype()) {
  5011. if (paytype_ != &::google::protobuf::internal::kEmptyString) {
  5012. paytype_->clear();
  5013. }
  5014. }
  5015. }
  5016. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5017. mutable_unknown_fields()->Clear();
  5018. }
  5019. bool packetc2w_ask_check_payment::MergePartialFromCodedStream(
  5020. ::google::protobuf::io::CodedInputStream* input) {
  5021. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  5022. ::google::protobuf::uint32 tag;
  5023. while ((tag = input->ReadTag()) != 0) {
  5024. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  5025. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_ask_check_payment];
  5026. case 1: {
  5027. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5028. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5029. int value;
  5030. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5031. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  5032. input, &value)));
  5033. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  5034. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  5035. } else {
  5036. mutable_unknown_fields()->AddVarint(1, value);
  5037. }
  5038. } else {
  5039. goto handle_uninterpreted;
  5040. }
  5041. if (input->ExpectTag(18)) goto parse_orderid;
  5042. break;
  5043. }
  5044. // optional string orderid = 2;
  5045. case 2: {
  5046. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5047. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  5048. parse_orderid:
  5049. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  5050. input, this->mutable_orderid()));
  5051. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  5052. this->orderid().data(), this->orderid().length(),
  5053. ::google::protobuf::internal::WireFormat::PARSE);
  5054. } else {
  5055. goto handle_uninterpreted;
  5056. }
  5057. if (input->ExpectTag(24)) goto parse_ex_mark;
  5058. break;
  5059. }
  5060. // optional bool ex_mark = 3 [default = false];
  5061. case 3: {
  5062. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5063. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5064. parse_ex_mark:
  5065. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5066. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  5067. input, &ex_mark_)));
  5068. set_has_ex_mark();
  5069. } else {
  5070. goto handle_uninterpreted;
  5071. }
  5072. if (input->ExpectTag(34)) goto parse_payType;
  5073. break;
  5074. }
  5075. // optional string payType = 4;
  5076. case 4: {
  5077. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5078. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  5079. parse_payType:
  5080. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  5081. input, this->mutable_paytype()));
  5082. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  5083. this->paytype().data(), this->paytype().length(),
  5084. ::google::protobuf::internal::WireFormat::PARSE);
  5085. } else {
  5086. goto handle_uninterpreted;
  5087. }
  5088. if (input->ExpectAtEnd()) return true;
  5089. break;
  5090. }
  5091. default: {
  5092. handle_uninterpreted:
  5093. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5094. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  5095. return true;
  5096. }
  5097. DO_(::google::protobuf::internal::WireFormat::SkipField(
  5098. input, tag, mutable_unknown_fields()));
  5099. break;
  5100. }
  5101. }
  5102. }
  5103. return true;
  5104. #undef DO_
  5105. }
  5106. void packetc2w_ask_check_payment::SerializeWithCachedSizes(
  5107. ::google::protobuf::io::CodedOutputStream* output) const {
  5108. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_ask_check_payment];
  5109. if (has_packet_id()) {
  5110. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  5111. 1, this->packet_id(), output);
  5112. }
  5113. // optional string orderid = 2;
  5114. if (has_orderid()) {
  5115. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  5116. this->orderid().data(), this->orderid().length(),
  5117. ::google::protobuf::internal::WireFormat::SERIALIZE);
  5118. ::google::protobuf::internal::WireFormatLite::WriteString(
  5119. 2, this->orderid(), output);
  5120. }
  5121. // optional bool ex_mark = 3 [default = false];
  5122. if (has_ex_mark()) {
  5123. ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->ex_mark(), output);
  5124. }
  5125. // optional string payType = 4;
  5126. if (has_paytype()) {
  5127. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  5128. this->paytype().data(), this->paytype().length(),
  5129. ::google::protobuf::internal::WireFormat::SERIALIZE);
  5130. ::google::protobuf::internal::WireFormatLite::WriteString(
  5131. 4, this->paytype(), output);
  5132. }
  5133. if (!unknown_fields().empty()) {
  5134. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  5135. unknown_fields(), output);
  5136. }
  5137. }
  5138. ::google::protobuf::uint8* packetc2w_ask_check_payment::SerializeWithCachedSizesToArray(
  5139. ::google::protobuf::uint8* target) const {
  5140. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_ask_check_payment];
  5141. if (has_packet_id()) {
  5142. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  5143. 1, this->packet_id(), target);
  5144. }
  5145. // optional string orderid = 2;
  5146. if (has_orderid()) {
  5147. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  5148. this->orderid().data(), this->orderid().length(),
  5149. ::google::protobuf::internal::WireFormat::SERIALIZE);
  5150. target =
  5151. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  5152. 2, this->orderid(), target);
  5153. }
  5154. // optional bool ex_mark = 3 [default = false];
  5155. if (has_ex_mark()) {
  5156. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->ex_mark(), target);
  5157. }
  5158. // optional string payType = 4;
  5159. if (has_paytype()) {
  5160. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  5161. this->paytype().data(), this->paytype().length(),
  5162. ::google::protobuf::internal::WireFormat::SERIALIZE);
  5163. target =
  5164. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  5165. 4, this->paytype(), target);
  5166. }
  5167. if (!unknown_fields().empty()) {
  5168. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  5169. unknown_fields(), target);
  5170. }
  5171. return target;
  5172. }
  5173. int packetc2w_ask_check_payment::ByteSize() const {
  5174. int total_size = 0;
  5175. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5176. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_ask_check_payment];
  5177. if (has_packet_id()) {
  5178. total_size += 1 +
  5179. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  5180. }
  5181. // optional string orderid = 2;
  5182. if (has_orderid()) {
  5183. total_size += 1 +
  5184. ::google::protobuf::internal::WireFormatLite::StringSize(
  5185. this->orderid());
  5186. }
  5187. // optional bool ex_mark = 3 [default = false];
  5188. if (has_ex_mark()) {
  5189. total_size += 1 + 1;
  5190. }
  5191. // optional string payType = 4;
  5192. if (has_paytype()) {
  5193. total_size += 1 +
  5194. ::google::protobuf::internal::WireFormatLite::StringSize(
  5195. this->paytype());
  5196. }
  5197. }
  5198. if (!unknown_fields().empty()) {
  5199. total_size +=
  5200. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  5201. unknown_fields());
  5202. }
  5203. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5204. _cached_size_ = total_size;
  5205. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5206. return total_size;
  5207. }
  5208. void packetc2w_ask_check_payment::MergeFrom(const ::google::protobuf::Message& from) {
  5209. GOOGLE_CHECK_NE(&from, this);
  5210. const packetc2w_ask_check_payment* source =
  5211. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_ask_check_payment*>(
  5212. &from);
  5213. if (source == NULL) {
  5214. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  5215. } else {
  5216. MergeFrom(*source);
  5217. }
  5218. }
  5219. void packetc2w_ask_check_payment::MergeFrom(const packetc2w_ask_check_payment& from) {
  5220. GOOGLE_CHECK_NE(&from, this);
  5221. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5222. if (from.has_packet_id()) {
  5223. set_packet_id(from.packet_id());
  5224. }
  5225. if (from.has_orderid()) {
  5226. set_orderid(from.orderid());
  5227. }
  5228. if (from.has_ex_mark()) {
  5229. set_ex_mark(from.ex_mark());
  5230. }
  5231. if (from.has_paytype()) {
  5232. set_paytype(from.paytype());
  5233. }
  5234. }
  5235. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  5236. }
  5237. void packetc2w_ask_check_payment::CopyFrom(const ::google::protobuf::Message& from) {
  5238. if (&from == this) return;
  5239. Clear();
  5240. MergeFrom(from);
  5241. }
  5242. void packetc2w_ask_check_payment::CopyFrom(const packetc2w_ask_check_payment& from) {
  5243. if (&from == this) return;
  5244. Clear();
  5245. MergeFrom(from);
  5246. }
  5247. bool packetc2w_ask_check_payment::IsInitialized() const {
  5248. return true;
  5249. }
  5250. void packetc2w_ask_check_payment::Swap(packetc2w_ask_check_payment* other) {
  5251. if (other != this) {
  5252. std::swap(packet_id_, other->packet_id_);
  5253. std::swap(orderid_, other->orderid_);
  5254. std::swap(ex_mark_, other->ex_mark_);
  5255. std::swap(paytype_, other->paytype_);
  5256. std::swap(_has_bits_[0], other->_has_bits_[0]);
  5257. _unknown_fields_.Swap(&other->_unknown_fields_);
  5258. std::swap(_cached_size_, other->_cached_size_);
  5259. }
  5260. }
  5261. ::google::protobuf::Metadata packetc2w_ask_check_payment::GetMetadata() const {
  5262. protobuf_AssignDescriptorsOnce();
  5263. ::google::protobuf::Metadata metadata;
  5264. metadata.descriptor = packetc2w_ask_check_payment_descriptor_;
  5265. metadata.reflection = packetc2w_ask_check_payment_reflection_;
  5266. return metadata;
  5267. }
  5268. // ===================================================================
  5269. #ifndef _MSC_VER
  5270. const int packetc2w_ask_test_payment::kPacketIdFieldNumber;
  5271. const int packetc2w_ask_test_payment::kPayidFieldNumber;
  5272. const int packetc2w_ask_test_payment::kExMarkFieldNumber;
  5273. #endif // !_MSC_VER
  5274. packetc2w_ask_test_payment::packetc2w_ask_test_payment()
  5275. : ::google::protobuf::Message() {
  5276. SharedCtor();
  5277. }
  5278. void packetc2w_ask_test_payment::InitAsDefaultInstance() {
  5279. }
  5280. packetc2w_ask_test_payment::packetc2w_ask_test_payment(const packetc2w_ask_test_payment& from)
  5281. : ::google::protobuf::Message() {
  5282. SharedCtor();
  5283. MergeFrom(from);
  5284. }
  5285. void packetc2w_ask_test_payment::SharedCtor() {
  5286. _cached_size_ = 0;
  5287. packet_id_ = 5007;
  5288. payid_ = 0;
  5289. ex_mark_ = false;
  5290. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5291. }
  5292. packetc2w_ask_test_payment::~packetc2w_ask_test_payment() {
  5293. SharedDtor();
  5294. }
  5295. void packetc2w_ask_test_payment::SharedDtor() {
  5296. if (this != default_instance_) {
  5297. }
  5298. }
  5299. void packetc2w_ask_test_payment::SetCachedSize(int size) const {
  5300. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5301. _cached_size_ = size;
  5302. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5303. }
  5304. const ::google::protobuf::Descriptor* packetc2w_ask_test_payment::descriptor() {
  5305. protobuf_AssignDescriptorsOnce();
  5306. return packetc2w_ask_test_payment_descriptor_;
  5307. }
  5308. const packetc2w_ask_test_payment& packetc2w_ask_test_payment::default_instance() {
  5309. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  5310. return *default_instance_;
  5311. }
  5312. packetc2w_ask_test_payment* packetc2w_ask_test_payment::default_instance_ = NULL;
  5313. packetc2w_ask_test_payment* packetc2w_ask_test_payment::New() const {
  5314. return new packetc2w_ask_test_payment;
  5315. }
  5316. void packetc2w_ask_test_payment::Clear() {
  5317. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5318. packet_id_ = 5007;
  5319. payid_ = 0;
  5320. ex_mark_ = false;
  5321. }
  5322. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5323. mutable_unknown_fields()->Clear();
  5324. }
  5325. bool packetc2w_ask_test_payment::MergePartialFromCodedStream(
  5326. ::google::protobuf::io::CodedInputStream* input) {
  5327. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  5328. ::google::protobuf::uint32 tag;
  5329. while ((tag = input->ReadTag()) != 0) {
  5330. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  5331. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_ask_test_payment];
  5332. case 1: {
  5333. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5334. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5335. int value;
  5336. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5337. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  5338. input, &value)));
  5339. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  5340. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  5341. } else {
  5342. mutable_unknown_fields()->AddVarint(1, value);
  5343. }
  5344. } else {
  5345. goto handle_uninterpreted;
  5346. }
  5347. if (input->ExpectTag(16)) goto parse_payid;
  5348. break;
  5349. }
  5350. // optional int32 payid = 2;
  5351. case 2: {
  5352. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5353. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5354. parse_payid:
  5355. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5356. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  5357. input, &payid_)));
  5358. set_has_payid();
  5359. } else {
  5360. goto handle_uninterpreted;
  5361. }
  5362. if (input->ExpectTag(24)) goto parse_ex_mark;
  5363. break;
  5364. }
  5365. // optional bool ex_mark = 3 [default = false];
  5366. case 3: {
  5367. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5368. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5369. parse_ex_mark:
  5370. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5371. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  5372. input, &ex_mark_)));
  5373. set_has_ex_mark();
  5374. } else {
  5375. goto handle_uninterpreted;
  5376. }
  5377. if (input->ExpectAtEnd()) return true;
  5378. break;
  5379. }
  5380. default: {
  5381. handle_uninterpreted:
  5382. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5383. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  5384. return true;
  5385. }
  5386. DO_(::google::protobuf::internal::WireFormat::SkipField(
  5387. input, tag, mutable_unknown_fields()));
  5388. break;
  5389. }
  5390. }
  5391. }
  5392. return true;
  5393. #undef DO_
  5394. }
  5395. void packetc2w_ask_test_payment::SerializeWithCachedSizes(
  5396. ::google::protobuf::io::CodedOutputStream* output) const {
  5397. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_ask_test_payment];
  5398. if (has_packet_id()) {
  5399. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  5400. 1, this->packet_id(), output);
  5401. }
  5402. // optional int32 payid = 2;
  5403. if (has_payid()) {
  5404. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->payid(), output);
  5405. }
  5406. // optional bool ex_mark = 3 [default = false];
  5407. if (has_ex_mark()) {
  5408. ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->ex_mark(), output);
  5409. }
  5410. if (!unknown_fields().empty()) {
  5411. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  5412. unknown_fields(), output);
  5413. }
  5414. }
  5415. ::google::protobuf::uint8* packetc2w_ask_test_payment::SerializeWithCachedSizesToArray(
  5416. ::google::protobuf::uint8* target) const {
  5417. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_ask_test_payment];
  5418. if (has_packet_id()) {
  5419. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  5420. 1, this->packet_id(), target);
  5421. }
  5422. // optional int32 payid = 2;
  5423. if (has_payid()) {
  5424. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->payid(), target);
  5425. }
  5426. // optional bool ex_mark = 3 [default = false];
  5427. if (has_ex_mark()) {
  5428. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->ex_mark(), target);
  5429. }
  5430. if (!unknown_fields().empty()) {
  5431. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  5432. unknown_fields(), target);
  5433. }
  5434. return target;
  5435. }
  5436. int packetc2w_ask_test_payment::ByteSize() const {
  5437. int total_size = 0;
  5438. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5439. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_ask_test_payment];
  5440. if (has_packet_id()) {
  5441. total_size += 1 +
  5442. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  5443. }
  5444. // optional int32 payid = 2;
  5445. if (has_payid()) {
  5446. total_size += 1 +
  5447. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5448. this->payid());
  5449. }
  5450. // optional bool ex_mark = 3 [default = false];
  5451. if (has_ex_mark()) {
  5452. total_size += 1 + 1;
  5453. }
  5454. }
  5455. if (!unknown_fields().empty()) {
  5456. total_size +=
  5457. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  5458. unknown_fields());
  5459. }
  5460. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5461. _cached_size_ = total_size;
  5462. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5463. return total_size;
  5464. }
  5465. void packetc2w_ask_test_payment::MergeFrom(const ::google::protobuf::Message& from) {
  5466. GOOGLE_CHECK_NE(&from, this);
  5467. const packetc2w_ask_test_payment* source =
  5468. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_ask_test_payment*>(
  5469. &from);
  5470. if (source == NULL) {
  5471. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  5472. } else {
  5473. MergeFrom(*source);
  5474. }
  5475. }
  5476. void packetc2w_ask_test_payment::MergeFrom(const packetc2w_ask_test_payment& from) {
  5477. GOOGLE_CHECK_NE(&from, this);
  5478. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5479. if (from.has_packet_id()) {
  5480. set_packet_id(from.packet_id());
  5481. }
  5482. if (from.has_payid()) {
  5483. set_payid(from.payid());
  5484. }
  5485. if (from.has_ex_mark()) {
  5486. set_ex_mark(from.ex_mark());
  5487. }
  5488. }
  5489. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  5490. }
  5491. void packetc2w_ask_test_payment::CopyFrom(const ::google::protobuf::Message& from) {
  5492. if (&from == this) return;
  5493. Clear();
  5494. MergeFrom(from);
  5495. }
  5496. void packetc2w_ask_test_payment::CopyFrom(const packetc2w_ask_test_payment& from) {
  5497. if (&from == this) return;
  5498. Clear();
  5499. MergeFrom(from);
  5500. }
  5501. bool packetc2w_ask_test_payment::IsInitialized() const {
  5502. return true;
  5503. }
  5504. void packetc2w_ask_test_payment::Swap(packetc2w_ask_test_payment* other) {
  5505. if (other != this) {
  5506. std::swap(packet_id_, other->packet_id_);
  5507. std::swap(payid_, other->payid_);
  5508. std::swap(ex_mark_, other->ex_mark_);
  5509. std::swap(_has_bits_[0], other->_has_bits_[0]);
  5510. _unknown_fields_.Swap(&other->_unknown_fields_);
  5511. std::swap(_cached_size_, other->_cached_size_);
  5512. }
  5513. }
  5514. ::google::protobuf::Metadata packetc2w_ask_test_payment::GetMetadata() const {
  5515. protobuf_AssignDescriptorsOnce();
  5516. ::google::protobuf::Metadata metadata;
  5517. metadata.descriptor = packetc2w_ask_test_payment_descriptor_;
  5518. metadata.reflection = packetc2w_ask_test_payment_reflection_;
  5519. return metadata;
  5520. }
  5521. // ===================================================================
  5522. #ifndef _MSC_VER
  5523. const int packetw2c_ask_check_payment_result::kPacketIdFieldNumber;
  5524. const int packetw2c_ask_check_payment_result::kPayidFieldNumber;
  5525. const int packetw2c_ask_check_payment_result::kResultFieldNumber;
  5526. const int packetw2c_ask_check_payment_result::kGoldCountFieldNumber;
  5527. const int packetw2c_ask_check_payment_result::kTicketCountFieldNumber;
  5528. const int packetw2c_ask_check_payment_result::kRewardItemFieldNumber;
  5529. const int packetw2c_ask_check_payment_result::kActivityItemFieldNumber;
  5530. #endif // !_MSC_VER
  5531. packetw2c_ask_check_payment_result::packetw2c_ask_check_payment_result()
  5532. : ::google::protobuf::Message() {
  5533. SharedCtor();
  5534. }
  5535. void packetw2c_ask_check_payment_result::InitAsDefaultInstance() {
  5536. }
  5537. packetw2c_ask_check_payment_result::packetw2c_ask_check_payment_result(const packetw2c_ask_check_payment_result& from)
  5538. : ::google::protobuf::Message() {
  5539. SharedCtor();
  5540. MergeFrom(from);
  5541. }
  5542. void packetw2c_ask_check_payment_result::SharedCtor() {
  5543. _cached_size_ = 0;
  5544. packet_id_ = 7506;
  5545. payid_ = 0;
  5546. result_ = true;
  5547. gold_count_ = 0;
  5548. ticket_count_ = 0;
  5549. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5550. }
  5551. packetw2c_ask_check_payment_result::~packetw2c_ask_check_payment_result() {
  5552. SharedDtor();
  5553. }
  5554. void packetw2c_ask_check_payment_result::SharedDtor() {
  5555. if (this != default_instance_) {
  5556. }
  5557. }
  5558. void packetw2c_ask_check_payment_result::SetCachedSize(int size) const {
  5559. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5560. _cached_size_ = size;
  5561. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5562. }
  5563. const ::google::protobuf::Descriptor* packetw2c_ask_check_payment_result::descriptor() {
  5564. protobuf_AssignDescriptorsOnce();
  5565. return packetw2c_ask_check_payment_result_descriptor_;
  5566. }
  5567. const packetw2c_ask_check_payment_result& packetw2c_ask_check_payment_result::default_instance() {
  5568. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  5569. return *default_instance_;
  5570. }
  5571. packetw2c_ask_check_payment_result* packetw2c_ask_check_payment_result::default_instance_ = NULL;
  5572. packetw2c_ask_check_payment_result* packetw2c_ask_check_payment_result::New() const {
  5573. return new packetw2c_ask_check_payment_result;
  5574. }
  5575. void packetw2c_ask_check_payment_result::Clear() {
  5576. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5577. packet_id_ = 7506;
  5578. payid_ = 0;
  5579. result_ = true;
  5580. gold_count_ = 0;
  5581. ticket_count_ = 0;
  5582. }
  5583. rewarditem_.Clear();
  5584. activityitem_.Clear();
  5585. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5586. mutable_unknown_fields()->Clear();
  5587. }
  5588. bool packetw2c_ask_check_payment_result::MergePartialFromCodedStream(
  5589. ::google::protobuf::io::CodedInputStream* input) {
  5590. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  5591. ::google::protobuf::uint32 tag;
  5592. while ((tag = input->ReadTag()) != 0) {
  5593. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  5594. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_ask_check_payment_result];
  5595. case 1: {
  5596. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5597. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5598. int value;
  5599. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5600. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  5601. input, &value)));
  5602. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  5603. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  5604. } else {
  5605. mutable_unknown_fields()->AddVarint(1, value);
  5606. }
  5607. } else {
  5608. goto handle_uninterpreted;
  5609. }
  5610. if (input->ExpectTag(16)) goto parse_payid;
  5611. break;
  5612. }
  5613. // optional int32 payid = 2;
  5614. case 2: {
  5615. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5616. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5617. parse_payid:
  5618. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5619. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  5620. input, &payid_)));
  5621. set_has_payid();
  5622. } else {
  5623. goto handle_uninterpreted;
  5624. }
  5625. if (input->ExpectTag(24)) goto parse_result;
  5626. break;
  5627. }
  5628. // optional bool result = 3 [default = true];
  5629. case 3: {
  5630. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5631. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5632. parse_result:
  5633. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5634. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  5635. input, &result_)));
  5636. set_has_result();
  5637. } else {
  5638. goto handle_uninterpreted;
  5639. }
  5640. if (input->ExpectTag(32)) goto parse_gold_count;
  5641. break;
  5642. }
  5643. // optional int32 gold_count = 4 [default = 0];
  5644. case 4: {
  5645. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5646. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5647. parse_gold_count:
  5648. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5649. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  5650. input, &gold_count_)));
  5651. set_has_gold_count();
  5652. } else {
  5653. goto handle_uninterpreted;
  5654. }
  5655. if (input->ExpectTag(40)) goto parse_ticket_count;
  5656. break;
  5657. }
  5658. // optional int32 ticket_count = 5 [default = 0];
  5659. case 5: {
  5660. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5661. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5662. parse_ticket_count:
  5663. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5664. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  5665. input, &ticket_count_)));
  5666. set_has_ticket_count();
  5667. } else {
  5668. goto handle_uninterpreted;
  5669. }
  5670. if (input->ExpectTag(74)) goto parse_rewardItem;
  5671. break;
  5672. }
  5673. // repeated .msg_info_def.ItemInfo rewardItem = 9;
  5674. case 9: {
  5675. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5676. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  5677. parse_rewardItem:
  5678. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  5679. input, add_rewarditem()));
  5680. } else {
  5681. goto handle_uninterpreted;
  5682. }
  5683. if (input->ExpectTag(74)) goto parse_rewardItem;
  5684. if (input->ExpectTag(82)) goto parse_activityItem;
  5685. break;
  5686. }
  5687. // repeated .msg_info_def.ActivityItemInfo activityItem = 10;
  5688. case 10: {
  5689. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5690. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  5691. parse_activityItem:
  5692. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  5693. input, add_activityitem()));
  5694. } else {
  5695. goto handle_uninterpreted;
  5696. }
  5697. if (input->ExpectTag(82)) goto parse_activityItem;
  5698. if (input->ExpectAtEnd()) return true;
  5699. break;
  5700. }
  5701. default: {
  5702. handle_uninterpreted:
  5703. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5704. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  5705. return true;
  5706. }
  5707. DO_(::google::protobuf::internal::WireFormat::SkipField(
  5708. input, tag, mutable_unknown_fields()));
  5709. break;
  5710. }
  5711. }
  5712. }
  5713. return true;
  5714. #undef DO_
  5715. }
  5716. void packetw2c_ask_check_payment_result::SerializeWithCachedSizes(
  5717. ::google::protobuf::io::CodedOutputStream* output) const {
  5718. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_ask_check_payment_result];
  5719. if (has_packet_id()) {
  5720. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  5721. 1, this->packet_id(), output);
  5722. }
  5723. // optional int32 payid = 2;
  5724. if (has_payid()) {
  5725. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->payid(), output);
  5726. }
  5727. // optional bool result = 3 [default = true];
  5728. if (has_result()) {
  5729. ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->result(), output);
  5730. }
  5731. // optional int32 gold_count = 4 [default = 0];
  5732. if (has_gold_count()) {
  5733. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->gold_count(), output);
  5734. }
  5735. // optional int32 ticket_count = 5 [default = 0];
  5736. if (has_ticket_count()) {
  5737. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->ticket_count(), output);
  5738. }
  5739. // repeated .msg_info_def.ItemInfo rewardItem = 9;
  5740. for (int i = 0; i < this->rewarditem_size(); i++) {
  5741. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  5742. 9, this->rewarditem(i), output);
  5743. }
  5744. // repeated .msg_info_def.ActivityItemInfo activityItem = 10;
  5745. for (int i = 0; i < this->activityitem_size(); i++) {
  5746. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  5747. 10, this->activityitem(i), output);
  5748. }
  5749. if (!unknown_fields().empty()) {
  5750. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  5751. unknown_fields(), output);
  5752. }
  5753. }
  5754. ::google::protobuf::uint8* packetw2c_ask_check_payment_result::SerializeWithCachedSizesToArray(
  5755. ::google::protobuf::uint8* target) const {
  5756. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_ask_check_payment_result];
  5757. if (has_packet_id()) {
  5758. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  5759. 1, this->packet_id(), target);
  5760. }
  5761. // optional int32 payid = 2;
  5762. if (has_payid()) {
  5763. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->payid(), target);
  5764. }
  5765. // optional bool result = 3 [default = true];
  5766. if (has_result()) {
  5767. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->result(), target);
  5768. }
  5769. // optional int32 gold_count = 4 [default = 0];
  5770. if (has_gold_count()) {
  5771. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->gold_count(), target);
  5772. }
  5773. // optional int32 ticket_count = 5 [default = 0];
  5774. if (has_ticket_count()) {
  5775. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->ticket_count(), target);
  5776. }
  5777. // repeated .msg_info_def.ItemInfo rewardItem = 9;
  5778. for (int i = 0; i < this->rewarditem_size(); i++) {
  5779. target = ::google::protobuf::internal::WireFormatLite::
  5780. WriteMessageNoVirtualToArray(
  5781. 9, this->rewarditem(i), target);
  5782. }
  5783. // repeated .msg_info_def.ActivityItemInfo activityItem = 10;
  5784. for (int i = 0; i < this->activityitem_size(); i++) {
  5785. target = ::google::protobuf::internal::WireFormatLite::
  5786. WriteMessageNoVirtualToArray(
  5787. 10, this->activityitem(i), target);
  5788. }
  5789. if (!unknown_fields().empty()) {
  5790. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  5791. unknown_fields(), target);
  5792. }
  5793. return target;
  5794. }
  5795. int packetw2c_ask_check_payment_result::ByteSize() const {
  5796. int total_size = 0;
  5797. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5798. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_ask_check_payment_result];
  5799. if (has_packet_id()) {
  5800. total_size += 1 +
  5801. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  5802. }
  5803. // optional int32 payid = 2;
  5804. if (has_payid()) {
  5805. total_size += 1 +
  5806. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5807. this->payid());
  5808. }
  5809. // optional bool result = 3 [default = true];
  5810. if (has_result()) {
  5811. total_size += 1 + 1;
  5812. }
  5813. // optional int32 gold_count = 4 [default = 0];
  5814. if (has_gold_count()) {
  5815. total_size += 1 +
  5816. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5817. this->gold_count());
  5818. }
  5819. // optional int32 ticket_count = 5 [default = 0];
  5820. if (has_ticket_count()) {
  5821. total_size += 1 +
  5822. ::google::protobuf::internal::WireFormatLite::Int32Size(
  5823. this->ticket_count());
  5824. }
  5825. }
  5826. // repeated .msg_info_def.ItemInfo rewardItem = 9;
  5827. total_size += 1 * this->rewarditem_size();
  5828. for (int i = 0; i < this->rewarditem_size(); i++) {
  5829. total_size +=
  5830. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  5831. this->rewarditem(i));
  5832. }
  5833. // repeated .msg_info_def.ActivityItemInfo activityItem = 10;
  5834. total_size += 1 * this->activityitem_size();
  5835. for (int i = 0; i < this->activityitem_size(); i++) {
  5836. total_size +=
  5837. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  5838. this->activityitem(i));
  5839. }
  5840. if (!unknown_fields().empty()) {
  5841. total_size +=
  5842. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  5843. unknown_fields());
  5844. }
  5845. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5846. _cached_size_ = total_size;
  5847. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5848. return total_size;
  5849. }
  5850. void packetw2c_ask_check_payment_result::MergeFrom(const ::google::protobuf::Message& from) {
  5851. GOOGLE_CHECK_NE(&from, this);
  5852. const packetw2c_ask_check_payment_result* source =
  5853. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_ask_check_payment_result*>(
  5854. &from);
  5855. if (source == NULL) {
  5856. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  5857. } else {
  5858. MergeFrom(*source);
  5859. }
  5860. }
  5861. void packetw2c_ask_check_payment_result::MergeFrom(const packetw2c_ask_check_payment_result& from) {
  5862. GOOGLE_CHECK_NE(&from, this);
  5863. rewarditem_.MergeFrom(from.rewarditem_);
  5864. activityitem_.MergeFrom(from.activityitem_);
  5865. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5866. if (from.has_packet_id()) {
  5867. set_packet_id(from.packet_id());
  5868. }
  5869. if (from.has_payid()) {
  5870. set_payid(from.payid());
  5871. }
  5872. if (from.has_result()) {
  5873. set_result(from.result());
  5874. }
  5875. if (from.has_gold_count()) {
  5876. set_gold_count(from.gold_count());
  5877. }
  5878. if (from.has_ticket_count()) {
  5879. set_ticket_count(from.ticket_count());
  5880. }
  5881. }
  5882. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  5883. }
  5884. void packetw2c_ask_check_payment_result::CopyFrom(const ::google::protobuf::Message& from) {
  5885. if (&from == this) return;
  5886. Clear();
  5887. MergeFrom(from);
  5888. }
  5889. void packetw2c_ask_check_payment_result::CopyFrom(const packetw2c_ask_check_payment_result& from) {
  5890. if (&from == this) return;
  5891. Clear();
  5892. MergeFrom(from);
  5893. }
  5894. bool packetw2c_ask_check_payment_result::IsInitialized() const {
  5895. return true;
  5896. }
  5897. void packetw2c_ask_check_payment_result::Swap(packetw2c_ask_check_payment_result* other) {
  5898. if (other != this) {
  5899. std::swap(packet_id_, other->packet_id_);
  5900. std::swap(payid_, other->payid_);
  5901. std::swap(result_, other->result_);
  5902. std::swap(gold_count_, other->gold_count_);
  5903. std::swap(ticket_count_, other->ticket_count_);
  5904. rewarditem_.Swap(&other->rewarditem_);
  5905. activityitem_.Swap(&other->activityitem_);
  5906. std::swap(_has_bits_[0], other->_has_bits_[0]);
  5907. _unknown_fields_.Swap(&other->_unknown_fields_);
  5908. std::swap(_cached_size_, other->_cached_size_);
  5909. }
  5910. }
  5911. ::google::protobuf::Metadata packetw2c_ask_check_payment_result::GetMetadata() const {
  5912. protobuf_AssignDescriptorsOnce();
  5913. ::google::protobuf::Metadata metadata;
  5914. metadata.descriptor = packetw2c_ask_check_payment_result_descriptor_;
  5915. metadata.reflection = packetw2c_ask_check_payment_result_reflection_;
  5916. return metadata;
  5917. }
  5918. // ===================================================================
  5919. #ifndef _MSC_VER
  5920. const int packetc2w_free_gift_payment::kPacketIdFieldNumber;
  5921. const int packetc2w_free_gift_payment::kPayidFieldNumber;
  5922. const int packetc2w_free_gift_payment::kExMarkFieldNumber;
  5923. #endif // !_MSC_VER
  5924. packetc2w_free_gift_payment::packetc2w_free_gift_payment()
  5925. : ::google::protobuf::Message() {
  5926. SharedCtor();
  5927. }
  5928. void packetc2w_free_gift_payment::InitAsDefaultInstance() {
  5929. }
  5930. packetc2w_free_gift_payment::packetc2w_free_gift_payment(const packetc2w_free_gift_payment& from)
  5931. : ::google::protobuf::Message() {
  5932. SharedCtor();
  5933. MergeFrom(from);
  5934. }
  5935. void packetc2w_free_gift_payment::SharedCtor() {
  5936. _cached_size_ = 0;
  5937. packet_id_ = 5158;
  5938. payid_ = 0;
  5939. ex_mark_ = false;
  5940. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5941. }
  5942. packetc2w_free_gift_payment::~packetc2w_free_gift_payment() {
  5943. SharedDtor();
  5944. }
  5945. void packetc2w_free_gift_payment::SharedDtor() {
  5946. if (this != default_instance_) {
  5947. }
  5948. }
  5949. void packetc2w_free_gift_payment::SetCachedSize(int size) const {
  5950. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  5951. _cached_size_ = size;
  5952. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  5953. }
  5954. const ::google::protobuf::Descriptor* packetc2w_free_gift_payment::descriptor() {
  5955. protobuf_AssignDescriptorsOnce();
  5956. return packetc2w_free_gift_payment_descriptor_;
  5957. }
  5958. const packetc2w_free_gift_payment& packetc2w_free_gift_payment::default_instance() {
  5959. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  5960. return *default_instance_;
  5961. }
  5962. packetc2w_free_gift_payment* packetc2w_free_gift_payment::default_instance_ = NULL;
  5963. packetc2w_free_gift_payment* packetc2w_free_gift_payment::New() const {
  5964. return new packetc2w_free_gift_payment;
  5965. }
  5966. void packetc2w_free_gift_payment::Clear() {
  5967. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  5968. packet_id_ = 5158;
  5969. payid_ = 0;
  5970. ex_mark_ = false;
  5971. }
  5972. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  5973. mutable_unknown_fields()->Clear();
  5974. }
  5975. bool packetc2w_free_gift_payment::MergePartialFromCodedStream(
  5976. ::google::protobuf::io::CodedInputStream* input) {
  5977. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  5978. ::google::protobuf::uint32 tag;
  5979. while ((tag = input->ReadTag()) != 0) {
  5980. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  5981. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_free_gift_payment];
  5982. case 1: {
  5983. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  5984. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  5985. int value;
  5986. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  5987. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  5988. input, &value)));
  5989. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  5990. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  5991. } else {
  5992. mutable_unknown_fields()->AddVarint(1, value);
  5993. }
  5994. } else {
  5995. goto handle_uninterpreted;
  5996. }
  5997. if (input->ExpectTag(16)) goto parse_payid;
  5998. break;
  5999. }
  6000. // optional int32 payid = 2;
  6001. case 2: {
  6002. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6003. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6004. parse_payid:
  6005. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6006. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6007. input, &payid_)));
  6008. set_has_payid();
  6009. } else {
  6010. goto handle_uninterpreted;
  6011. }
  6012. if (input->ExpectTag(24)) goto parse_ex_mark;
  6013. break;
  6014. }
  6015. // optional bool ex_mark = 3 [default = false];
  6016. case 3: {
  6017. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6018. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6019. parse_ex_mark:
  6020. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6021. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  6022. input, &ex_mark_)));
  6023. set_has_ex_mark();
  6024. } else {
  6025. goto handle_uninterpreted;
  6026. }
  6027. if (input->ExpectAtEnd()) return true;
  6028. break;
  6029. }
  6030. default: {
  6031. handle_uninterpreted:
  6032. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6033. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  6034. return true;
  6035. }
  6036. DO_(::google::protobuf::internal::WireFormat::SkipField(
  6037. input, tag, mutable_unknown_fields()));
  6038. break;
  6039. }
  6040. }
  6041. }
  6042. return true;
  6043. #undef DO_
  6044. }
  6045. void packetc2w_free_gift_payment::SerializeWithCachedSizes(
  6046. ::google::protobuf::io::CodedOutputStream* output) const {
  6047. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_free_gift_payment];
  6048. if (has_packet_id()) {
  6049. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  6050. 1, this->packet_id(), output);
  6051. }
  6052. // optional int32 payid = 2;
  6053. if (has_payid()) {
  6054. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->payid(), output);
  6055. }
  6056. // optional bool ex_mark = 3 [default = false];
  6057. if (has_ex_mark()) {
  6058. ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->ex_mark(), output);
  6059. }
  6060. if (!unknown_fields().empty()) {
  6061. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  6062. unknown_fields(), output);
  6063. }
  6064. }
  6065. ::google::protobuf::uint8* packetc2w_free_gift_payment::SerializeWithCachedSizesToArray(
  6066. ::google::protobuf::uint8* target) const {
  6067. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_free_gift_payment];
  6068. if (has_packet_id()) {
  6069. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  6070. 1, this->packet_id(), target);
  6071. }
  6072. // optional int32 payid = 2;
  6073. if (has_payid()) {
  6074. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->payid(), target);
  6075. }
  6076. // optional bool ex_mark = 3 [default = false];
  6077. if (has_ex_mark()) {
  6078. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->ex_mark(), target);
  6079. }
  6080. if (!unknown_fields().empty()) {
  6081. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  6082. unknown_fields(), target);
  6083. }
  6084. return target;
  6085. }
  6086. int packetc2w_free_gift_payment::ByteSize() const {
  6087. int total_size = 0;
  6088. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6089. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_free_gift_payment];
  6090. if (has_packet_id()) {
  6091. total_size += 1 +
  6092. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  6093. }
  6094. // optional int32 payid = 2;
  6095. if (has_payid()) {
  6096. total_size += 1 +
  6097. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6098. this->payid());
  6099. }
  6100. // optional bool ex_mark = 3 [default = false];
  6101. if (has_ex_mark()) {
  6102. total_size += 1 + 1;
  6103. }
  6104. }
  6105. if (!unknown_fields().empty()) {
  6106. total_size +=
  6107. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  6108. unknown_fields());
  6109. }
  6110. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6111. _cached_size_ = total_size;
  6112. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6113. return total_size;
  6114. }
  6115. void packetc2w_free_gift_payment::MergeFrom(const ::google::protobuf::Message& from) {
  6116. GOOGLE_CHECK_NE(&from, this);
  6117. const packetc2w_free_gift_payment* source =
  6118. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_free_gift_payment*>(
  6119. &from);
  6120. if (source == NULL) {
  6121. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  6122. } else {
  6123. MergeFrom(*source);
  6124. }
  6125. }
  6126. void packetc2w_free_gift_payment::MergeFrom(const packetc2w_free_gift_payment& from) {
  6127. GOOGLE_CHECK_NE(&from, this);
  6128. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6129. if (from.has_packet_id()) {
  6130. set_packet_id(from.packet_id());
  6131. }
  6132. if (from.has_payid()) {
  6133. set_payid(from.payid());
  6134. }
  6135. if (from.has_ex_mark()) {
  6136. set_ex_mark(from.ex_mark());
  6137. }
  6138. }
  6139. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  6140. }
  6141. void packetc2w_free_gift_payment::CopyFrom(const ::google::protobuf::Message& from) {
  6142. if (&from == this) return;
  6143. Clear();
  6144. MergeFrom(from);
  6145. }
  6146. void packetc2w_free_gift_payment::CopyFrom(const packetc2w_free_gift_payment& from) {
  6147. if (&from == this) return;
  6148. Clear();
  6149. MergeFrom(from);
  6150. }
  6151. bool packetc2w_free_gift_payment::IsInitialized() const {
  6152. return true;
  6153. }
  6154. void packetc2w_free_gift_payment::Swap(packetc2w_free_gift_payment* other) {
  6155. if (other != this) {
  6156. std::swap(packet_id_, other->packet_id_);
  6157. std::swap(payid_, other->payid_);
  6158. std::swap(ex_mark_, other->ex_mark_);
  6159. std::swap(_has_bits_[0], other->_has_bits_[0]);
  6160. _unknown_fields_.Swap(&other->_unknown_fields_);
  6161. std::swap(_cached_size_, other->_cached_size_);
  6162. }
  6163. }
  6164. ::google::protobuf::Metadata packetc2w_free_gift_payment::GetMetadata() const {
  6165. protobuf_AssignDescriptorsOnce();
  6166. ::google::protobuf::Metadata metadata;
  6167. metadata.descriptor = packetc2w_free_gift_payment_descriptor_;
  6168. metadata.reflection = packetc2w_free_gift_payment_reflection_;
  6169. return metadata;
  6170. }
  6171. // ===================================================================
  6172. #ifndef _MSC_VER
  6173. const int packetc2w_open_gift::kPacketIdFieldNumber;
  6174. const int packetc2w_open_gift::kGiftIdFieldNumber;
  6175. #endif // !_MSC_VER
  6176. packetc2w_open_gift::packetc2w_open_gift()
  6177. : ::google::protobuf::Message() {
  6178. SharedCtor();
  6179. }
  6180. void packetc2w_open_gift::InitAsDefaultInstance() {
  6181. }
  6182. packetc2w_open_gift::packetc2w_open_gift(const packetc2w_open_gift& from)
  6183. : ::google::protobuf::Message() {
  6184. SharedCtor();
  6185. MergeFrom(from);
  6186. }
  6187. void packetc2w_open_gift::SharedCtor() {
  6188. _cached_size_ = 0;
  6189. packet_id_ = 5183;
  6190. giftid_ = 0;
  6191. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6192. }
  6193. packetc2w_open_gift::~packetc2w_open_gift() {
  6194. SharedDtor();
  6195. }
  6196. void packetc2w_open_gift::SharedDtor() {
  6197. if (this != default_instance_) {
  6198. }
  6199. }
  6200. void packetc2w_open_gift::SetCachedSize(int size) const {
  6201. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6202. _cached_size_ = size;
  6203. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6204. }
  6205. const ::google::protobuf::Descriptor* packetc2w_open_gift::descriptor() {
  6206. protobuf_AssignDescriptorsOnce();
  6207. return packetc2w_open_gift_descriptor_;
  6208. }
  6209. const packetc2w_open_gift& packetc2w_open_gift::default_instance() {
  6210. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  6211. return *default_instance_;
  6212. }
  6213. packetc2w_open_gift* packetc2w_open_gift::default_instance_ = NULL;
  6214. packetc2w_open_gift* packetc2w_open_gift::New() const {
  6215. return new packetc2w_open_gift;
  6216. }
  6217. void packetc2w_open_gift::Clear() {
  6218. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6219. packet_id_ = 5183;
  6220. giftid_ = 0;
  6221. }
  6222. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6223. mutable_unknown_fields()->Clear();
  6224. }
  6225. bool packetc2w_open_gift::MergePartialFromCodedStream(
  6226. ::google::protobuf::io::CodedInputStream* input) {
  6227. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  6228. ::google::protobuf::uint32 tag;
  6229. while ((tag = input->ReadTag()) != 0) {
  6230. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  6231. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_open_gift];
  6232. case 1: {
  6233. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6234. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6235. int value;
  6236. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6237. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  6238. input, &value)));
  6239. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  6240. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  6241. } else {
  6242. mutable_unknown_fields()->AddVarint(1, value);
  6243. }
  6244. } else {
  6245. goto handle_uninterpreted;
  6246. }
  6247. if (input->ExpectTag(16)) goto parse_giftId;
  6248. break;
  6249. }
  6250. // optional int32 giftId = 2;
  6251. case 2: {
  6252. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6253. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6254. parse_giftId:
  6255. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6256. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6257. input, &giftid_)));
  6258. set_has_giftid();
  6259. } else {
  6260. goto handle_uninterpreted;
  6261. }
  6262. if (input->ExpectAtEnd()) return true;
  6263. break;
  6264. }
  6265. default: {
  6266. handle_uninterpreted:
  6267. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6268. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  6269. return true;
  6270. }
  6271. DO_(::google::protobuf::internal::WireFormat::SkipField(
  6272. input, tag, mutable_unknown_fields()));
  6273. break;
  6274. }
  6275. }
  6276. }
  6277. return true;
  6278. #undef DO_
  6279. }
  6280. void packetc2w_open_gift::SerializeWithCachedSizes(
  6281. ::google::protobuf::io::CodedOutputStream* output) const {
  6282. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_open_gift];
  6283. if (has_packet_id()) {
  6284. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  6285. 1, this->packet_id(), output);
  6286. }
  6287. // optional int32 giftId = 2;
  6288. if (has_giftid()) {
  6289. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->giftid(), output);
  6290. }
  6291. if (!unknown_fields().empty()) {
  6292. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  6293. unknown_fields(), output);
  6294. }
  6295. }
  6296. ::google::protobuf::uint8* packetc2w_open_gift::SerializeWithCachedSizesToArray(
  6297. ::google::protobuf::uint8* target) const {
  6298. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_open_gift];
  6299. if (has_packet_id()) {
  6300. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  6301. 1, this->packet_id(), target);
  6302. }
  6303. // optional int32 giftId = 2;
  6304. if (has_giftid()) {
  6305. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->giftid(), target);
  6306. }
  6307. if (!unknown_fields().empty()) {
  6308. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  6309. unknown_fields(), target);
  6310. }
  6311. return target;
  6312. }
  6313. int packetc2w_open_gift::ByteSize() const {
  6314. int total_size = 0;
  6315. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6316. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_open_gift];
  6317. if (has_packet_id()) {
  6318. total_size += 1 +
  6319. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  6320. }
  6321. // optional int32 giftId = 2;
  6322. if (has_giftid()) {
  6323. total_size += 1 +
  6324. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6325. this->giftid());
  6326. }
  6327. }
  6328. if (!unknown_fields().empty()) {
  6329. total_size +=
  6330. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  6331. unknown_fields());
  6332. }
  6333. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6334. _cached_size_ = total_size;
  6335. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6336. return total_size;
  6337. }
  6338. void packetc2w_open_gift::MergeFrom(const ::google::protobuf::Message& from) {
  6339. GOOGLE_CHECK_NE(&from, this);
  6340. const packetc2w_open_gift* source =
  6341. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_open_gift*>(
  6342. &from);
  6343. if (source == NULL) {
  6344. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  6345. } else {
  6346. MergeFrom(*source);
  6347. }
  6348. }
  6349. void packetc2w_open_gift::MergeFrom(const packetc2w_open_gift& from) {
  6350. GOOGLE_CHECK_NE(&from, this);
  6351. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6352. if (from.has_packet_id()) {
  6353. set_packet_id(from.packet_id());
  6354. }
  6355. if (from.has_giftid()) {
  6356. set_giftid(from.giftid());
  6357. }
  6358. }
  6359. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  6360. }
  6361. void packetc2w_open_gift::CopyFrom(const ::google::protobuf::Message& from) {
  6362. if (&from == this) return;
  6363. Clear();
  6364. MergeFrom(from);
  6365. }
  6366. void packetc2w_open_gift::CopyFrom(const packetc2w_open_gift& from) {
  6367. if (&from == this) return;
  6368. Clear();
  6369. MergeFrom(from);
  6370. }
  6371. bool packetc2w_open_gift::IsInitialized() const {
  6372. return true;
  6373. }
  6374. void packetc2w_open_gift::Swap(packetc2w_open_gift* other) {
  6375. if (other != this) {
  6376. std::swap(packet_id_, other->packet_id_);
  6377. std::swap(giftid_, other->giftid_);
  6378. std::swap(_has_bits_[0], other->_has_bits_[0]);
  6379. _unknown_fields_.Swap(&other->_unknown_fields_);
  6380. std::swap(_cached_size_, other->_cached_size_);
  6381. }
  6382. }
  6383. ::google::protobuf::Metadata packetc2w_open_gift::GetMetadata() const {
  6384. protobuf_AssignDescriptorsOnce();
  6385. ::google::protobuf::Metadata metadata;
  6386. metadata.descriptor = packetc2w_open_gift_descriptor_;
  6387. metadata.reflection = packetc2w_open_gift_reflection_;
  6388. return metadata;
  6389. }
  6390. // ===================================================================
  6391. #ifndef _MSC_VER
  6392. const int packetw2c_open_gift_result::kPacketIdFieldNumber;
  6393. const int packetw2c_open_gift_result::kResultFieldNumber;
  6394. const int packetw2c_open_gift_result::kGiftIdFieldNumber;
  6395. #endif // !_MSC_VER
  6396. packetw2c_open_gift_result::packetw2c_open_gift_result()
  6397. : ::google::protobuf::Message() {
  6398. SharedCtor();
  6399. }
  6400. void packetw2c_open_gift_result::InitAsDefaultInstance() {
  6401. }
  6402. packetw2c_open_gift_result::packetw2c_open_gift_result(const packetw2c_open_gift_result& from)
  6403. : ::google::protobuf::Message() {
  6404. SharedCtor();
  6405. MergeFrom(from);
  6406. }
  6407. void packetw2c_open_gift_result::SharedCtor() {
  6408. _cached_size_ = 0;
  6409. packet_id_ = 7707;
  6410. result_ = 0;
  6411. giftid_ = 0;
  6412. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6413. }
  6414. packetw2c_open_gift_result::~packetw2c_open_gift_result() {
  6415. SharedDtor();
  6416. }
  6417. void packetw2c_open_gift_result::SharedDtor() {
  6418. if (this != default_instance_) {
  6419. }
  6420. }
  6421. void packetw2c_open_gift_result::SetCachedSize(int size) const {
  6422. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6423. _cached_size_ = size;
  6424. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6425. }
  6426. const ::google::protobuf::Descriptor* packetw2c_open_gift_result::descriptor() {
  6427. protobuf_AssignDescriptorsOnce();
  6428. return packetw2c_open_gift_result_descriptor_;
  6429. }
  6430. const packetw2c_open_gift_result& packetw2c_open_gift_result::default_instance() {
  6431. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  6432. return *default_instance_;
  6433. }
  6434. packetw2c_open_gift_result* packetw2c_open_gift_result::default_instance_ = NULL;
  6435. packetw2c_open_gift_result* packetw2c_open_gift_result::New() const {
  6436. return new packetw2c_open_gift_result;
  6437. }
  6438. void packetw2c_open_gift_result::Clear() {
  6439. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6440. packet_id_ = 7707;
  6441. result_ = 0;
  6442. giftid_ = 0;
  6443. }
  6444. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6445. mutable_unknown_fields()->Clear();
  6446. }
  6447. bool packetw2c_open_gift_result::MergePartialFromCodedStream(
  6448. ::google::protobuf::io::CodedInputStream* input) {
  6449. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  6450. ::google::protobuf::uint32 tag;
  6451. while ((tag = input->ReadTag()) != 0) {
  6452. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  6453. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_open_gift_result];
  6454. case 1: {
  6455. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6456. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6457. int value;
  6458. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6459. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  6460. input, &value)));
  6461. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  6462. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  6463. } else {
  6464. mutable_unknown_fields()->AddVarint(1, value);
  6465. }
  6466. } else {
  6467. goto handle_uninterpreted;
  6468. }
  6469. if (input->ExpectTag(16)) goto parse_result;
  6470. break;
  6471. }
  6472. // optional int32 result = 2;
  6473. case 2: {
  6474. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6475. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6476. parse_result:
  6477. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6478. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6479. input, &result_)));
  6480. set_has_result();
  6481. } else {
  6482. goto handle_uninterpreted;
  6483. }
  6484. if (input->ExpectTag(24)) goto parse_giftId;
  6485. break;
  6486. }
  6487. // optional int32 giftId = 3;
  6488. case 3: {
  6489. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6490. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6491. parse_giftId:
  6492. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6493. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  6494. input, &giftid_)));
  6495. set_has_giftid();
  6496. } else {
  6497. goto handle_uninterpreted;
  6498. }
  6499. if (input->ExpectAtEnd()) return true;
  6500. break;
  6501. }
  6502. default: {
  6503. handle_uninterpreted:
  6504. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6505. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  6506. return true;
  6507. }
  6508. DO_(::google::protobuf::internal::WireFormat::SkipField(
  6509. input, tag, mutable_unknown_fields()));
  6510. break;
  6511. }
  6512. }
  6513. }
  6514. return true;
  6515. #undef DO_
  6516. }
  6517. void packetw2c_open_gift_result::SerializeWithCachedSizes(
  6518. ::google::protobuf::io::CodedOutputStream* output) const {
  6519. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_open_gift_result];
  6520. if (has_packet_id()) {
  6521. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  6522. 1, this->packet_id(), output);
  6523. }
  6524. // optional int32 result = 2;
  6525. if (has_result()) {
  6526. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  6527. }
  6528. // optional int32 giftId = 3;
  6529. if (has_giftid()) {
  6530. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->giftid(), output);
  6531. }
  6532. if (!unknown_fields().empty()) {
  6533. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  6534. unknown_fields(), output);
  6535. }
  6536. }
  6537. ::google::protobuf::uint8* packetw2c_open_gift_result::SerializeWithCachedSizesToArray(
  6538. ::google::protobuf::uint8* target) const {
  6539. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_open_gift_result];
  6540. if (has_packet_id()) {
  6541. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  6542. 1, this->packet_id(), target);
  6543. }
  6544. // optional int32 result = 2;
  6545. if (has_result()) {
  6546. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  6547. }
  6548. // optional int32 giftId = 3;
  6549. if (has_giftid()) {
  6550. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->giftid(), target);
  6551. }
  6552. if (!unknown_fields().empty()) {
  6553. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  6554. unknown_fields(), target);
  6555. }
  6556. return target;
  6557. }
  6558. int packetw2c_open_gift_result::ByteSize() const {
  6559. int total_size = 0;
  6560. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6561. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_open_gift_result];
  6562. if (has_packet_id()) {
  6563. total_size += 1 +
  6564. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  6565. }
  6566. // optional int32 result = 2;
  6567. if (has_result()) {
  6568. total_size += 1 +
  6569. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6570. this->result());
  6571. }
  6572. // optional int32 giftId = 3;
  6573. if (has_giftid()) {
  6574. total_size += 1 +
  6575. ::google::protobuf::internal::WireFormatLite::Int32Size(
  6576. this->giftid());
  6577. }
  6578. }
  6579. if (!unknown_fields().empty()) {
  6580. total_size +=
  6581. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  6582. unknown_fields());
  6583. }
  6584. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6585. _cached_size_ = total_size;
  6586. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6587. return total_size;
  6588. }
  6589. void packetw2c_open_gift_result::MergeFrom(const ::google::protobuf::Message& from) {
  6590. GOOGLE_CHECK_NE(&from, this);
  6591. const packetw2c_open_gift_result* source =
  6592. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_open_gift_result*>(
  6593. &from);
  6594. if (source == NULL) {
  6595. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  6596. } else {
  6597. MergeFrom(*source);
  6598. }
  6599. }
  6600. void packetw2c_open_gift_result::MergeFrom(const packetw2c_open_gift_result& from) {
  6601. GOOGLE_CHECK_NE(&from, this);
  6602. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6603. if (from.has_packet_id()) {
  6604. set_packet_id(from.packet_id());
  6605. }
  6606. if (from.has_result()) {
  6607. set_result(from.result());
  6608. }
  6609. if (from.has_giftid()) {
  6610. set_giftid(from.giftid());
  6611. }
  6612. }
  6613. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  6614. }
  6615. void packetw2c_open_gift_result::CopyFrom(const ::google::protobuf::Message& from) {
  6616. if (&from == this) return;
  6617. Clear();
  6618. MergeFrom(from);
  6619. }
  6620. void packetw2c_open_gift_result::CopyFrom(const packetw2c_open_gift_result& from) {
  6621. if (&from == this) return;
  6622. Clear();
  6623. MergeFrom(from);
  6624. }
  6625. bool packetw2c_open_gift_result::IsInitialized() const {
  6626. return true;
  6627. }
  6628. void packetw2c_open_gift_result::Swap(packetw2c_open_gift_result* other) {
  6629. if (other != this) {
  6630. std::swap(packet_id_, other->packet_id_);
  6631. std::swap(result_, other->result_);
  6632. std::swap(giftid_, other->giftid_);
  6633. std::swap(_has_bits_[0], other->_has_bits_[0]);
  6634. _unknown_fields_.Swap(&other->_unknown_fields_);
  6635. std::swap(_cached_size_, other->_cached_size_);
  6636. }
  6637. }
  6638. ::google::protobuf::Metadata packetw2c_open_gift_result::GetMetadata() const {
  6639. protobuf_AssignDescriptorsOnce();
  6640. ::google::protobuf::Metadata metadata;
  6641. metadata.descriptor = packetw2c_open_gift_result_descriptor_;
  6642. metadata.reflection = packetw2c_open_gift_result_reflection_;
  6643. return metadata;
  6644. }
  6645. // ===================================================================
  6646. #ifndef _MSC_VER
  6647. const int packetc2w_leave_game::kPacketIdFieldNumber;
  6648. #endif // !_MSC_VER
  6649. packetc2w_leave_game::packetc2w_leave_game()
  6650. : ::google::protobuf::Message() {
  6651. SharedCtor();
  6652. }
  6653. void packetc2w_leave_game::InitAsDefaultInstance() {
  6654. }
  6655. packetc2w_leave_game::packetc2w_leave_game(const packetc2w_leave_game& from)
  6656. : ::google::protobuf::Message() {
  6657. SharedCtor();
  6658. MergeFrom(from);
  6659. }
  6660. void packetc2w_leave_game::SharedCtor() {
  6661. _cached_size_ = 0;
  6662. packet_id_ = 5008;
  6663. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6664. }
  6665. packetc2w_leave_game::~packetc2w_leave_game() {
  6666. SharedDtor();
  6667. }
  6668. void packetc2w_leave_game::SharedDtor() {
  6669. if (this != default_instance_) {
  6670. }
  6671. }
  6672. void packetc2w_leave_game::SetCachedSize(int size) const {
  6673. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6674. _cached_size_ = size;
  6675. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6676. }
  6677. const ::google::protobuf::Descriptor* packetc2w_leave_game::descriptor() {
  6678. protobuf_AssignDescriptorsOnce();
  6679. return packetc2w_leave_game_descriptor_;
  6680. }
  6681. const packetc2w_leave_game& packetc2w_leave_game::default_instance() {
  6682. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  6683. return *default_instance_;
  6684. }
  6685. packetc2w_leave_game* packetc2w_leave_game::default_instance_ = NULL;
  6686. packetc2w_leave_game* packetc2w_leave_game::New() const {
  6687. return new packetc2w_leave_game;
  6688. }
  6689. void packetc2w_leave_game::Clear() {
  6690. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6691. packet_id_ = 5008;
  6692. }
  6693. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6694. mutable_unknown_fields()->Clear();
  6695. }
  6696. bool packetc2w_leave_game::MergePartialFromCodedStream(
  6697. ::google::protobuf::io::CodedInputStream* input) {
  6698. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  6699. ::google::protobuf::uint32 tag;
  6700. while ((tag = input->ReadTag()) != 0) {
  6701. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  6702. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_leave_game];
  6703. case 1: {
  6704. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6705. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6706. int value;
  6707. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6708. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  6709. input, &value)));
  6710. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  6711. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  6712. } else {
  6713. mutable_unknown_fields()->AddVarint(1, value);
  6714. }
  6715. } else {
  6716. goto handle_uninterpreted;
  6717. }
  6718. if (input->ExpectAtEnd()) return true;
  6719. break;
  6720. }
  6721. default: {
  6722. handle_uninterpreted:
  6723. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6724. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  6725. return true;
  6726. }
  6727. DO_(::google::protobuf::internal::WireFormat::SkipField(
  6728. input, tag, mutable_unknown_fields()));
  6729. break;
  6730. }
  6731. }
  6732. }
  6733. return true;
  6734. #undef DO_
  6735. }
  6736. void packetc2w_leave_game::SerializeWithCachedSizes(
  6737. ::google::protobuf::io::CodedOutputStream* output) const {
  6738. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_leave_game];
  6739. if (has_packet_id()) {
  6740. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  6741. 1, this->packet_id(), output);
  6742. }
  6743. if (!unknown_fields().empty()) {
  6744. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  6745. unknown_fields(), output);
  6746. }
  6747. }
  6748. ::google::protobuf::uint8* packetc2w_leave_game::SerializeWithCachedSizesToArray(
  6749. ::google::protobuf::uint8* target) const {
  6750. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_leave_game];
  6751. if (has_packet_id()) {
  6752. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  6753. 1, this->packet_id(), target);
  6754. }
  6755. if (!unknown_fields().empty()) {
  6756. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  6757. unknown_fields(), target);
  6758. }
  6759. return target;
  6760. }
  6761. int packetc2w_leave_game::ByteSize() const {
  6762. int total_size = 0;
  6763. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6764. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_leave_game];
  6765. if (has_packet_id()) {
  6766. total_size += 1 +
  6767. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  6768. }
  6769. }
  6770. if (!unknown_fields().empty()) {
  6771. total_size +=
  6772. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  6773. unknown_fields());
  6774. }
  6775. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6776. _cached_size_ = total_size;
  6777. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6778. return total_size;
  6779. }
  6780. void packetc2w_leave_game::MergeFrom(const ::google::protobuf::Message& from) {
  6781. GOOGLE_CHECK_NE(&from, this);
  6782. const packetc2w_leave_game* source =
  6783. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_leave_game*>(
  6784. &from);
  6785. if (source == NULL) {
  6786. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  6787. } else {
  6788. MergeFrom(*source);
  6789. }
  6790. }
  6791. void packetc2w_leave_game::MergeFrom(const packetc2w_leave_game& from) {
  6792. GOOGLE_CHECK_NE(&from, this);
  6793. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6794. if (from.has_packet_id()) {
  6795. set_packet_id(from.packet_id());
  6796. }
  6797. }
  6798. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  6799. }
  6800. void packetc2w_leave_game::CopyFrom(const ::google::protobuf::Message& from) {
  6801. if (&from == this) return;
  6802. Clear();
  6803. MergeFrom(from);
  6804. }
  6805. void packetc2w_leave_game::CopyFrom(const packetc2w_leave_game& from) {
  6806. if (&from == this) return;
  6807. Clear();
  6808. MergeFrom(from);
  6809. }
  6810. bool packetc2w_leave_game::IsInitialized() const {
  6811. return true;
  6812. }
  6813. void packetc2w_leave_game::Swap(packetc2w_leave_game* other) {
  6814. if (other != this) {
  6815. std::swap(packet_id_, other->packet_id_);
  6816. std::swap(_has_bits_[0], other->_has_bits_[0]);
  6817. _unknown_fields_.Swap(&other->_unknown_fields_);
  6818. std::swap(_cached_size_, other->_cached_size_);
  6819. }
  6820. }
  6821. ::google::protobuf::Metadata packetc2w_leave_game::GetMetadata() const {
  6822. protobuf_AssignDescriptorsOnce();
  6823. ::google::protobuf::Metadata metadata;
  6824. metadata.descriptor = packetc2w_leave_game_descriptor_;
  6825. metadata.reflection = packetc2w_leave_game_reflection_;
  6826. return metadata;
  6827. }
  6828. // ===================================================================
  6829. #ifndef _MSC_VER
  6830. const int packetw2c_leave_game_result::kPacketIdFieldNumber;
  6831. #endif // !_MSC_VER
  6832. packetw2c_leave_game_result::packetw2c_leave_game_result()
  6833. : ::google::protobuf::Message() {
  6834. SharedCtor();
  6835. }
  6836. void packetw2c_leave_game_result::InitAsDefaultInstance() {
  6837. }
  6838. packetw2c_leave_game_result::packetw2c_leave_game_result(const packetw2c_leave_game_result& from)
  6839. : ::google::protobuf::Message() {
  6840. SharedCtor();
  6841. MergeFrom(from);
  6842. }
  6843. void packetw2c_leave_game_result::SharedCtor() {
  6844. _cached_size_ = 0;
  6845. packet_id_ = 7507;
  6846. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6847. }
  6848. packetw2c_leave_game_result::~packetw2c_leave_game_result() {
  6849. SharedDtor();
  6850. }
  6851. void packetw2c_leave_game_result::SharedDtor() {
  6852. if (this != default_instance_) {
  6853. }
  6854. }
  6855. void packetw2c_leave_game_result::SetCachedSize(int size) const {
  6856. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6857. _cached_size_ = size;
  6858. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6859. }
  6860. const ::google::protobuf::Descriptor* packetw2c_leave_game_result::descriptor() {
  6861. protobuf_AssignDescriptorsOnce();
  6862. return packetw2c_leave_game_result_descriptor_;
  6863. }
  6864. const packetw2c_leave_game_result& packetw2c_leave_game_result::default_instance() {
  6865. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  6866. return *default_instance_;
  6867. }
  6868. packetw2c_leave_game_result* packetw2c_leave_game_result::default_instance_ = NULL;
  6869. packetw2c_leave_game_result* packetw2c_leave_game_result::New() const {
  6870. return new packetw2c_leave_game_result;
  6871. }
  6872. void packetw2c_leave_game_result::Clear() {
  6873. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6874. packet_id_ = 7507;
  6875. }
  6876. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  6877. mutable_unknown_fields()->Clear();
  6878. }
  6879. bool packetw2c_leave_game_result::MergePartialFromCodedStream(
  6880. ::google::protobuf::io::CodedInputStream* input) {
  6881. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  6882. ::google::protobuf::uint32 tag;
  6883. while ((tag = input->ReadTag()) != 0) {
  6884. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  6885. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_leave_game_result];
  6886. case 1: {
  6887. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6888. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  6889. int value;
  6890. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  6891. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  6892. input, &value)));
  6893. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  6894. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  6895. } else {
  6896. mutable_unknown_fields()->AddVarint(1, value);
  6897. }
  6898. } else {
  6899. goto handle_uninterpreted;
  6900. }
  6901. if (input->ExpectAtEnd()) return true;
  6902. break;
  6903. }
  6904. default: {
  6905. handle_uninterpreted:
  6906. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  6907. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  6908. return true;
  6909. }
  6910. DO_(::google::protobuf::internal::WireFormat::SkipField(
  6911. input, tag, mutable_unknown_fields()));
  6912. break;
  6913. }
  6914. }
  6915. }
  6916. return true;
  6917. #undef DO_
  6918. }
  6919. void packetw2c_leave_game_result::SerializeWithCachedSizes(
  6920. ::google::protobuf::io::CodedOutputStream* output) const {
  6921. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_leave_game_result];
  6922. if (has_packet_id()) {
  6923. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  6924. 1, this->packet_id(), output);
  6925. }
  6926. if (!unknown_fields().empty()) {
  6927. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  6928. unknown_fields(), output);
  6929. }
  6930. }
  6931. ::google::protobuf::uint8* packetw2c_leave_game_result::SerializeWithCachedSizesToArray(
  6932. ::google::protobuf::uint8* target) const {
  6933. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_leave_game_result];
  6934. if (has_packet_id()) {
  6935. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  6936. 1, this->packet_id(), target);
  6937. }
  6938. if (!unknown_fields().empty()) {
  6939. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  6940. unknown_fields(), target);
  6941. }
  6942. return target;
  6943. }
  6944. int packetw2c_leave_game_result::ByteSize() const {
  6945. int total_size = 0;
  6946. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6947. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_leave_game_result];
  6948. if (has_packet_id()) {
  6949. total_size += 1 +
  6950. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  6951. }
  6952. }
  6953. if (!unknown_fields().empty()) {
  6954. total_size +=
  6955. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  6956. unknown_fields());
  6957. }
  6958. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  6959. _cached_size_ = total_size;
  6960. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  6961. return total_size;
  6962. }
  6963. void packetw2c_leave_game_result::MergeFrom(const ::google::protobuf::Message& from) {
  6964. GOOGLE_CHECK_NE(&from, this);
  6965. const packetw2c_leave_game_result* source =
  6966. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_leave_game_result*>(
  6967. &from);
  6968. if (source == NULL) {
  6969. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  6970. } else {
  6971. MergeFrom(*source);
  6972. }
  6973. }
  6974. void packetw2c_leave_game_result::MergeFrom(const packetw2c_leave_game_result& from) {
  6975. GOOGLE_CHECK_NE(&from, this);
  6976. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  6977. if (from.has_packet_id()) {
  6978. set_packet_id(from.packet_id());
  6979. }
  6980. }
  6981. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  6982. }
  6983. void packetw2c_leave_game_result::CopyFrom(const ::google::protobuf::Message& from) {
  6984. if (&from == this) return;
  6985. Clear();
  6986. MergeFrom(from);
  6987. }
  6988. void packetw2c_leave_game_result::CopyFrom(const packetw2c_leave_game_result& from) {
  6989. if (&from == this) return;
  6990. Clear();
  6991. MergeFrom(from);
  6992. }
  6993. bool packetw2c_leave_game_result::IsInitialized() const {
  6994. return true;
  6995. }
  6996. void packetw2c_leave_game_result::Swap(packetw2c_leave_game_result* other) {
  6997. if (other != this) {
  6998. std::swap(packet_id_, other->packet_id_);
  6999. std::swap(_has_bits_[0], other->_has_bits_[0]);
  7000. _unknown_fields_.Swap(&other->_unknown_fields_);
  7001. std::swap(_cached_size_, other->_cached_size_);
  7002. }
  7003. }
  7004. ::google::protobuf::Metadata packetw2c_leave_game_result::GetMetadata() const {
  7005. protobuf_AssignDescriptorsOnce();
  7006. ::google::protobuf::Metadata metadata;
  7007. metadata.descriptor = packetw2c_leave_game_result_descriptor_;
  7008. metadata.reflection = packetw2c_leave_game_result_reflection_;
  7009. return metadata;
  7010. }
  7011. // ===================================================================
  7012. #ifndef _MSC_VER
  7013. const int packetw2c_player_kick::kPacketIdFieldNumber;
  7014. #endif // !_MSC_VER
  7015. packetw2c_player_kick::packetw2c_player_kick()
  7016. : ::google::protobuf::Message() {
  7017. SharedCtor();
  7018. }
  7019. void packetw2c_player_kick::InitAsDefaultInstance() {
  7020. }
  7021. packetw2c_player_kick::packetw2c_player_kick(const packetw2c_player_kick& from)
  7022. : ::google::protobuf::Message() {
  7023. SharedCtor();
  7024. MergeFrom(from);
  7025. }
  7026. void packetw2c_player_kick::SharedCtor() {
  7027. _cached_size_ = 0;
  7028. packet_id_ = 7541;
  7029. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  7030. }
  7031. packetw2c_player_kick::~packetw2c_player_kick() {
  7032. SharedDtor();
  7033. }
  7034. void packetw2c_player_kick::SharedDtor() {
  7035. if (this != default_instance_) {
  7036. }
  7037. }
  7038. void packetw2c_player_kick::SetCachedSize(int size) const {
  7039. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7040. _cached_size_ = size;
  7041. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7042. }
  7043. const ::google::protobuf::Descriptor* packetw2c_player_kick::descriptor() {
  7044. protobuf_AssignDescriptorsOnce();
  7045. return packetw2c_player_kick_descriptor_;
  7046. }
  7047. const packetw2c_player_kick& packetw2c_player_kick::default_instance() {
  7048. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  7049. return *default_instance_;
  7050. }
  7051. packetw2c_player_kick* packetw2c_player_kick::default_instance_ = NULL;
  7052. packetw2c_player_kick* packetw2c_player_kick::New() const {
  7053. return new packetw2c_player_kick;
  7054. }
  7055. void packetw2c_player_kick::Clear() {
  7056. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7057. packet_id_ = 7541;
  7058. }
  7059. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  7060. mutable_unknown_fields()->Clear();
  7061. }
  7062. bool packetw2c_player_kick::MergePartialFromCodedStream(
  7063. ::google::protobuf::io::CodedInputStream* input) {
  7064. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  7065. ::google::protobuf::uint32 tag;
  7066. while ((tag = input->ReadTag()) != 0) {
  7067. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  7068. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_player_kick];
  7069. case 1: {
  7070. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7071. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7072. int value;
  7073. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7074. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  7075. input, &value)));
  7076. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  7077. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  7078. } else {
  7079. mutable_unknown_fields()->AddVarint(1, value);
  7080. }
  7081. } else {
  7082. goto handle_uninterpreted;
  7083. }
  7084. if (input->ExpectAtEnd()) return true;
  7085. break;
  7086. }
  7087. default: {
  7088. handle_uninterpreted:
  7089. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7090. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  7091. return true;
  7092. }
  7093. DO_(::google::protobuf::internal::WireFormat::SkipField(
  7094. input, tag, mutable_unknown_fields()));
  7095. break;
  7096. }
  7097. }
  7098. }
  7099. return true;
  7100. #undef DO_
  7101. }
  7102. void packetw2c_player_kick::SerializeWithCachedSizes(
  7103. ::google::protobuf::io::CodedOutputStream* output) const {
  7104. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_player_kick];
  7105. if (has_packet_id()) {
  7106. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  7107. 1, this->packet_id(), output);
  7108. }
  7109. if (!unknown_fields().empty()) {
  7110. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  7111. unknown_fields(), output);
  7112. }
  7113. }
  7114. ::google::protobuf::uint8* packetw2c_player_kick::SerializeWithCachedSizesToArray(
  7115. ::google::protobuf::uint8* target) const {
  7116. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_player_kick];
  7117. if (has_packet_id()) {
  7118. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  7119. 1, this->packet_id(), target);
  7120. }
  7121. if (!unknown_fields().empty()) {
  7122. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  7123. unknown_fields(), target);
  7124. }
  7125. return target;
  7126. }
  7127. int packetw2c_player_kick::ByteSize() const {
  7128. int total_size = 0;
  7129. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7130. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_player_kick];
  7131. if (has_packet_id()) {
  7132. total_size += 1 +
  7133. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  7134. }
  7135. }
  7136. if (!unknown_fields().empty()) {
  7137. total_size +=
  7138. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  7139. unknown_fields());
  7140. }
  7141. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7142. _cached_size_ = total_size;
  7143. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7144. return total_size;
  7145. }
  7146. void packetw2c_player_kick::MergeFrom(const ::google::protobuf::Message& from) {
  7147. GOOGLE_CHECK_NE(&from, this);
  7148. const packetw2c_player_kick* source =
  7149. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_player_kick*>(
  7150. &from);
  7151. if (source == NULL) {
  7152. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  7153. } else {
  7154. MergeFrom(*source);
  7155. }
  7156. }
  7157. void packetw2c_player_kick::MergeFrom(const packetw2c_player_kick& from) {
  7158. GOOGLE_CHECK_NE(&from, this);
  7159. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7160. if (from.has_packet_id()) {
  7161. set_packet_id(from.packet_id());
  7162. }
  7163. }
  7164. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  7165. }
  7166. void packetw2c_player_kick::CopyFrom(const ::google::protobuf::Message& from) {
  7167. if (&from == this) return;
  7168. Clear();
  7169. MergeFrom(from);
  7170. }
  7171. void packetw2c_player_kick::CopyFrom(const packetw2c_player_kick& from) {
  7172. if (&from == this) return;
  7173. Clear();
  7174. MergeFrom(from);
  7175. }
  7176. bool packetw2c_player_kick::IsInitialized() const {
  7177. return true;
  7178. }
  7179. void packetw2c_player_kick::Swap(packetw2c_player_kick* other) {
  7180. if (other != this) {
  7181. std::swap(packet_id_, other->packet_id_);
  7182. std::swap(_has_bits_[0], other->_has_bits_[0]);
  7183. _unknown_fields_.Swap(&other->_unknown_fields_);
  7184. std::swap(_cached_size_, other->_cached_size_);
  7185. }
  7186. }
  7187. ::google::protobuf::Metadata packetw2c_player_kick::GetMetadata() const {
  7188. protobuf_AssignDescriptorsOnce();
  7189. ::google::protobuf::Metadata metadata;
  7190. metadata.descriptor = packetw2c_player_kick_descriptor_;
  7191. metadata.reflection = packetw2c_player_kick_reflection_;
  7192. return metadata;
  7193. }
  7194. // ===================================================================
  7195. #ifndef _MSC_VER
  7196. const int packetc2w_get_gamelist::kPacketIdFieldNumber;
  7197. #endif // !_MSC_VER
  7198. packetc2w_get_gamelist::packetc2w_get_gamelist()
  7199. : ::google::protobuf::Message() {
  7200. SharedCtor();
  7201. }
  7202. void packetc2w_get_gamelist::InitAsDefaultInstance() {
  7203. }
  7204. packetc2w_get_gamelist::packetc2w_get_gamelist(const packetc2w_get_gamelist& from)
  7205. : ::google::protobuf::Message() {
  7206. SharedCtor();
  7207. MergeFrom(from);
  7208. }
  7209. void packetc2w_get_gamelist::SharedCtor() {
  7210. _cached_size_ = 0;
  7211. packet_id_ = 5048;
  7212. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  7213. }
  7214. packetc2w_get_gamelist::~packetc2w_get_gamelist() {
  7215. SharedDtor();
  7216. }
  7217. void packetc2w_get_gamelist::SharedDtor() {
  7218. if (this != default_instance_) {
  7219. }
  7220. }
  7221. void packetc2w_get_gamelist::SetCachedSize(int size) const {
  7222. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7223. _cached_size_ = size;
  7224. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7225. }
  7226. const ::google::protobuf::Descriptor* packetc2w_get_gamelist::descriptor() {
  7227. protobuf_AssignDescriptorsOnce();
  7228. return packetc2w_get_gamelist_descriptor_;
  7229. }
  7230. const packetc2w_get_gamelist& packetc2w_get_gamelist::default_instance() {
  7231. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  7232. return *default_instance_;
  7233. }
  7234. packetc2w_get_gamelist* packetc2w_get_gamelist::default_instance_ = NULL;
  7235. packetc2w_get_gamelist* packetc2w_get_gamelist::New() const {
  7236. return new packetc2w_get_gamelist;
  7237. }
  7238. void packetc2w_get_gamelist::Clear() {
  7239. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7240. packet_id_ = 5048;
  7241. }
  7242. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  7243. mutable_unknown_fields()->Clear();
  7244. }
  7245. bool packetc2w_get_gamelist::MergePartialFromCodedStream(
  7246. ::google::protobuf::io::CodedInputStream* input) {
  7247. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  7248. ::google::protobuf::uint32 tag;
  7249. while ((tag = input->ReadTag()) != 0) {
  7250. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  7251. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_gamelist];
  7252. case 1: {
  7253. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7254. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7255. int value;
  7256. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7257. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  7258. input, &value)));
  7259. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  7260. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  7261. } else {
  7262. mutable_unknown_fields()->AddVarint(1, value);
  7263. }
  7264. } else {
  7265. goto handle_uninterpreted;
  7266. }
  7267. if (input->ExpectAtEnd()) return true;
  7268. break;
  7269. }
  7270. default: {
  7271. handle_uninterpreted:
  7272. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7273. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  7274. return true;
  7275. }
  7276. DO_(::google::protobuf::internal::WireFormat::SkipField(
  7277. input, tag, mutable_unknown_fields()));
  7278. break;
  7279. }
  7280. }
  7281. }
  7282. return true;
  7283. #undef DO_
  7284. }
  7285. void packetc2w_get_gamelist::SerializeWithCachedSizes(
  7286. ::google::protobuf::io::CodedOutputStream* output) const {
  7287. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_gamelist];
  7288. if (has_packet_id()) {
  7289. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  7290. 1, this->packet_id(), output);
  7291. }
  7292. if (!unknown_fields().empty()) {
  7293. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  7294. unknown_fields(), output);
  7295. }
  7296. }
  7297. ::google::protobuf::uint8* packetc2w_get_gamelist::SerializeWithCachedSizesToArray(
  7298. ::google::protobuf::uint8* target) const {
  7299. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_gamelist];
  7300. if (has_packet_id()) {
  7301. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  7302. 1, this->packet_id(), target);
  7303. }
  7304. if (!unknown_fields().empty()) {
  7305. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  7306. unknown_fields(), target);
  7307. }
  7308. return target;
  7309. }
  7310. int packetc2w_get_gamelist::ByteSize() const {
  7311. int total_size = 0;
  7312. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7313. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_gamelist];
  7314. if (has_packet_id()) {
  7315. total_size += 1 +
  7316. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  7317. }
  7318. }
  7319. if (!unknown_fields().empty()) {
  7320. total_size +=
  7321. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  7322. unknown_fields());
  7323. }
  7324. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7325. _cached_size_ = total_size;
  7326. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7327. return total_size;
  7328. }
  7329. void packetc2w_get_gamelist::MergeFrom(const ::google::protobuf::Message& from) {
  7330. GOOGLE_CHECK_NE(&from, this);
  7331. const packetc2w_get_gamelist* source =
  7332. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_gamelist*>(
  7333. &from);
  7334. if (source == NULL) {
  7335. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  7336. } else {
  7337. MergeFrom(*source);
  7338. }
  7339. }
  7340. void packetc2w_get_gamelist::MergeFrom(const packetc2w_get_gamelist& from) {
  7341. GOOGLE_CHECK_NE(&from, this);
  7342. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7343. if (from.has_packet_id()) {
  7344. set_packet_id(from.packet_id());
  7345. }
  7346. }
  7347. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  7348. }
  7349. void packetc2w_get_gamelist::CopyFrom(const ::google::protobuf::Message& from) {
  7350. if (&from == this) return;
  7351. Clear();
  7352. MergeFrom(from);
  7353. }
  7354. void packetc2w_get_gamelist::CopyFrom(const packetc2w_get_gamelist& from) {
  7355. if (&from == this) return;
  7356. Clear();
  7357. MergeFrom(from);
  7358. }
  7359. bool packetc2w_get_gamelist::IsInitialized() const {
  7360. return true;
  7361. }
  7362. void packetc2w_get_gamelist::Swap(packetc2w_get_gamelist* other) {
  7363. if (other != this) {
  7364. std::swap(packet_id_, other->packet_id_);
  7365. std::swap(_has_bits_[0], other->_has_bits_[0]);
  7366. _unknown_fields_.Swap(&other->_unknown_fields_);
  7367. std::swap(_cached_size_, other->_cached_size_);
  7368. }
  7369. }
  7370. ::google::protobuf::Metadata packetc2w_get_gamelist::GetMetadata() const {
  7371. protobuf_AssignDescriptorsOnce();
  7372. ::google::protobuf::Metadata metadata;
  7373. metadata.descriptor = packetc2w_get_gamelist_descriptor_;
  7374. metadata.reflection = packetc2w_get_gamelist_reflection_;
  7375. return metadata;
  7376. }
  7377. // ===================================================================
  7378. #ifndef _MSC_VER
  7379. const int packetw2c_get_gamelist_result::kPacketIdFieldNumber;
  7380. const int packetw2c_get_gamelist_result::kGameListFieldNumber;
  7381. #endif // !_MSC_VER
  7382. packetw2c_get_gamelist_result::packetw2c_get_gamelist_result()
  7383. : ::google::protobuf::Message() {
  7384. SharedCtor();
  7385. }
  7386. void packetw2c_get_gamelist_result::InitAsDefaultInstance() {
  7387. }
  7388. packetw2c_get_gamelist_result::packetw2c_get_gamelist_result(const packetw2c_get_gamelist_result& from)
  7389. : ::google::protobuf::Message() {
  7390. SharedCtor();
  7391. MergeFrom(from);
  7392. }
  7393. void packetw2c_get_gamelist_result::SharedCtor() {
  7394. _cached_size_ = 0;
  7395. packet_id_ = 7552;
  7396. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  7397. }
  7398. packetw2c_get_gamelist_result::~packetw2c_get_gamelist_result() {
  7399. SharedDtor();
  7400. }
  7401. void packetw2c_get_gamelist_result::SharedDtor() {
  7402. if (this != default_instance_) {
  7403. }
  7404. }
  7405. void packetw2c_get_gamelist_result::SetCachedSize(int size) const {
  7406. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7407. _cached_size_ = size;
  7408. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7409. }
  7410. const ::google::protobuf::Descriptor* packetw2c_get_gamelist_result::descriptor() {
  7411. protobuf_AssignDescriptorsOnce();
  7412. return packetw2c_get_gamelist_result_descriptor_;
  7413. }
  7414. const packetw2c_get_gamelist_result& packetw2c_get_gamelist_result::default_instance() {
  7415. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  7416. return *default_instance_;
  7417. }
  7418. packetw2c_get_gamelist_result* packetw2c_get_gamelist_result::default_instance_ = NULL;
  7419. packetw2c_get_gamelist_result* packetw2c_get_gamelist_result::New() const {
  7420. return new packetw2c_get_gamelist_result;
  7421. }
  7422. void packetw2c_get_gamelist_result::Clear() {
  7423. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7424. packet_id_ = 7552;
  7425. }
  7426. game_list_.Clear();
  7427. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  7428. mutable_unknown_fields()->Clear();
  7429. }
  7430. bool packetw2c_get_gamelist_result::MergePartialFromCodedStream(
  7431. ::google::protobuf::io::CodedInputStream* input) {
  7432. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  7433. ::google::protobuf::uint32 tag;
  7434. while ((tag = input->ReadTag()) != 0) {
  7435. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  7436. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_gamelist_result];
  7437. case 1: {
  7438. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7439. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7440. int value;
  7441. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7442. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  7443. input, &value)));
  7444. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  7445. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  7446. } else {
  7447. mutable_unknown_fields()->AddVarint(1, value);
  7448. }
  7449. } else {
  7450. goto handle_uninterpreted;
  7451. }
  7452. if (input->ExpectTag(18)) goto parse_game_list;
  7453. break;
  7454. }
  7455. // repeated .client2world_protocols.msg_game_info game_list = 2;
  7456. case 2: {
  7457. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7458. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  7459. parse_game_list:
  7460. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  7461. input, add_game_list()));
  7462. } else {
  7463. goto handle_uninterpreted;
  7464. }
  7465. if (input->ExpectTag(18)) goto parse_game_list;
  7466. if (input->ExpectAtEnd()) return true;
  7467. break;
  7468. }
  7469. default: {
  7470. handle_uninterpreted:
  7471. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7472. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  7473. return true;
  7474. }
  7475. DO_(::google::protobuf::internal::WireFormat::SkipField(
  7476. input, tag, mutable_unknown_fields()));
  7477. break;
  7478. }
  7479. }
  7480. }
  7481. return true;
  7482. #undef DO_
  7483. }
  7484. void packetw2c_get_gamelist_result::SerializeWithCachedSizes(
  7485. ::google::protobuf::io::CodedOutputStream* output) const {
  7486. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_gamelist_result];
  7487. if (has_packet_id()) {
  7488. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  7489. 1, this->packet_id(), output);
  7490. }
  7491. // repeated .client2world_protocols.msg_game_info game_list = 2;
  7492. for (int i = 0; i < this->game_list_size(); i++) {
  7493. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  7494. 2, this->game_list(i), output);
  7495. }
  7496. if (!unknown_fields().empty()) {
  7497. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  7498. unknown_fields(), output);
  7499. }
  7500. }
  7501. ::google::protobuf::uint8* packetw2c_get_gamelist_result::SerializeWithCachedSizesToArray(
  7502. ::google::protobuf::uint8* target) const {
  7503. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_gamelist_result];
  7504. if (has_packet_id()) {
  7505. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  7506. 1, this->packet_id(), target);
  7507. }
  7508. // repeated .client2world_protocols.msg_game_info game_list = 2;
  7509. for (int i = 0; i < this->game_list_size(); i++) {
  7510. target = ::google::protobuf::internal::WireFormatLite::
  7511. WriteMessageNoVirtualToArray(
  7512. 2, this->game_list(i), target);
  7513. }
  7514. if (!unknown_fields().empty()) {
  7515. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  7516. unknown_fields(), target);
  7517. }
  7518. return target;
  7519. }
  7520. int packetw2c_get_gamelist_result::ByteSize() const {
  7521. int total_size = 0;
  7522. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7523. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_gamelist_result];
  7524. if (has_packet_id()) {
  7525. total_size += 1 +
  7526. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  7527. }
  7528. }
  7529. // repeated .client2world_protocols.msg_game_info game_list = 2;
  7530. total_size += 1 * this->game_list_size();
  7531. for (int i = 0; i < this->game_list_size(); i++) {
  7532. total_size +=
  7533. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  7534. this->game_list(i));
  7535. }
  7536. if (!unknown_fields().empty()) {
  7537. total_size +=
  7538. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  7539. unknown_fields());
  7540. }
  7541. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7542. _cached_size_ = total_size;
  7543. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7544. return total_size;
  7545. }
  7546. void packetw2c_get_gamelist_result::MergeFrom(const ::google::protobuf::Message& from) {
  7547. GOOGLE_CHECK_NE(&from, this);
  7548. const packetw2c_get_gamelist_result* source =
  7549. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_gamelist_result*>(
  7550. &from);
  7551. if (source == NULL) {
  7552. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  7553. } else {
  7554. MergeFrom(*source);
  7555. }
  7556. }
  7557. void packetw2c_get_gamelist_result::MergeFrom(const packetw2c_get_gamelist_result& from) {
  7558. GOOGLE_CHECK_NE(&from, this);
  7559. game_list_.MergeFrom(from.game_list_);
  7560. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7561. if (from.has_packet_id()) {
  7562. set_packet_id(from.packet_id());
  7563. }
  7564. }
  7565. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  7566. }
  7567. void packetw2c_get_gamelist_result::CopyFrom(const ::google::protobuf::Message& from) {
  7568. if (&from == this) return;
  7569. Clear();
  7570. MergeFrom(from);
  7571. }
  7572. void packetw2c_get_gamelist_result::CopyFrom(const packetw2c_get_gamelist_result& from) {
  7573. if (&from == this) return;
  7574. Clear();
  7575. MergeFrom(from);
  7576. }
  7577. bool packetw2c_get_gamelist_result::IsInitialized() const {
  7578. return true;
  7579. }
  7580. void packetw2c_get_gamelist_result::Swap(packetw2c_get_gamelist_result* other) {
  7581. if (other != this) {
  7582. std::swap(packet_id_, other->packet_id_);
  7583. game_list_.Swap(&other->game_list_);
  7584. std::swap(_has_bits_[0], other->_has_bits_[0]);
  7585. _unknown_fields_.Swap(&other->_unknown_fields_);
  7586. std::swap(_cached_size_, other->_cached_size_);
  7587. }
  7588. }
  7589. ::google::protobuf::Metadata packetw2c_get_gamelist_result::GetMetadata() const {
  7590. protobuf_AssignDescriptorsOnce();
  7591. ::google::protobuf::Metadata metadata;
  7592. metadata.descriptor = packetw2c_get_gamelist_result_descriptor_;
  7593. metadata.reflection = packetw2c_get_gamelist_result_reflection_;
  7594. return metadata;
  7595. }
  7596. // ===================================================================
  7597. #ifndef _MSC_VER
  7598. const int packetc2w_first_login::kPacketIdFieldNumber;
  7599. #endif // !_MSC_VER
  7600. packetc2w_first_login::packetc2w_first_login()
  7601. : ::google::protobuf::Message() {
  7602. SharedCtor();
  7603. }
  7604. void packetc2w_first_login::InitAsDefaultInstance() {
  7605. }
  7606. packetc2w_first_login::packetc2w_first_login(const packetc2w_first_login& from)
  7607. : ::google::protobuf::Message() {
  7608. SharedCtor();
  7609. MergeFrom(from);
  7610. }
  7611. void packetc2w_first_login::SharedCtor() {
  7612. _cached_size_ = 0;
  7613. packet_id_ = 5062;
  7614. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  7615. }
  7616. packetc2w_first_login::~packetc2w_first_login() {
  7617. SharedDtor();
  7618. }
  7619. void packetc2w_first_login::SharedDtor() {
  7620. if (this != default_instance_) {
  7621. }
  7622. }
  7623. void packetc2w_first_login::SetCachedSize(int size) const {
  7624. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7625. _cached_size_ = size;
  7626. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7627. }
  7628. const ::google::protobuf::Descriptor* packetc2w_first_login::descriptor() {
  7629. protobuf_AssignDescriptorsOnce();
  7630. return packetc2w_first_login_descriptor_;
  7631. }
  7632. const packetc2w_first_login& packetc2w_first_login::default_instance() {
  7633. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  7634. return *default_instance_;
  7635. }
  7636. packetc2w_first_login* packetc2w_first_login::default_instance_ = NULL;
  7637. packetc2w_first_login* packetc2w_first_login::New() const {
  7638. return new packetc2w_first_login;
  7639. }
  7640. void packetc2w_first_login::Clear() {
  7641. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7642. packet_id_ = 5062;
  7643. }
  7644. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  7645. mutable_unknown_fields()->Clear();
  7646. }
  7647. bool packetc2w_first_login::MergePartialFromCodedStream(
  7648. ::google::protobuf::io::CodedInputStream* input) {
  7649. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  7650. ::google::protobuf::uint32 tag;
  7651. while ((tag = input->ReadTag()) != 0) {
  7652. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  7653. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_first_login];
  7654. case 1: {
  7655. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7656. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7657. int value;
  7658. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7659. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  7660. input, &value)));
  7661. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  7662. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  7663. } else {
  7664. mutable_unknown_fields()->AddVarint(1, value);
  7665. }
  7666. } else {
  7667. goto handle_uninterpreted;
  7668. }
  7669. if (input->ExpectAtEnd()) return true;
  7670. break;
  7671. }
  7672. default: {
  7673. handle_uninterpreted:
  7674. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7675. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  7676. return true;
  7677. }
  7678. DO_(::google::protobuf::internal::WireFormat::SkipField(
  7679. input, tag, mutable_unknown_fields()));
  7680. break;
  7681. }
  7682. }
  7683. }
  7684. return true;
  7685. #undef DO_
  7686. }
  7687. void packetc2w_first_login::SerializeWithCachedSizes(
  7688. ::google::protobuf::io::CodedOutputStream* output) const {
  7689. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_first_login];
  7690. if (has_packet_id()) {
  7691. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  7692. 1, this->packet_id(), output);
  7693. }
  7694. if (!unknown_fields().empty()) {
  7695. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  7696. unknown_fields(), output);
  7697. }
  7698. }
  7699. ::google::protobuf::uint8* packetc2w_first_login::SerializeWithCachedSizesToArray(
  7700. ::google::protobuf::uint8* target) const {
  7701. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_first_login];
  7702. if (has_packet_id()) {
  7703. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  7704. 1, this->packet_id(), target);
  7705. }
  7706. if (!unknown_fields().empty()) {
  7707. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  7708. unknown_fields(), target);
  7709. }
  7710. return target;
  7711. }
  7712. int packetc2w_first_login::ByteSize() const {
  7713. int total_size = 0;
  7714. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7715. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_first_login];
  7716. if (has_packet_id()) {
  7717. total_size += 1 +
  7718. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  7719. }
  7720. }
  7721. if (!unknown_fields().empty()) {
  7722. total_size +=
  7723. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  7724. unknown_fields());
  7725. }
  7726. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7727. _cached_size_ = total_size;
  7728. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7729. return total_size;
  7730. }
  7731. void packetc2w_first_login::MergeFrom(const ::google::protobuf::Message& from) {
  7732. GOOGLE_CHECK_NE(&from, this);
  7733. const packetc2w_first_login* source =
  7734. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_first_login*>(
  7735. &from);
  7736. if (source == NULL) {
  7737. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  7738. } else {
  7739. MergeFrom(*source);
  7740. }
  7741. }
  7742. void packetc2w_first_login::MergeFrom(const packetc2w_first_login& from) {
  7743. GOOGLE_CHECK_NE(&from, this);
  7744. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7745. if (from.has_packet_id()) {
  7746. set_packet_id(from.packet_id());
  7747. }
  7748. }
  7749. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  7750. }
  7751. void packetc2w_first_login::CopyFrom(const ::google::protobuf::Message& from) {
  7752. if (&from == this) return;
  7753. Clear();
  7754. MergeFrom(from);
  7755. }
  7756. void packetc2w_first_login::CopyFrom(const packetc2w_first_login& from) {
  7757. if (&from == this) return;
  7758. Clear();
  7759. MergeFrom(from);
  7760. }
  7761. bool packetc2w_first_login::IsInitialized() const {
  7762. return true;
  7763. }
  7764. void packetc2w_first_login::Swap(packetc2w_first_login* other) {
  7765. if (other != this) {
  7766. std::swap(packet_id_, other->packet_id_);
  7767. std::swap(_has_bits_[0], other->_has_bits_[0]);
  7768. _unknown_fields_.Swap(&other->_unknown_fields_);
  7769. std::swap(_cached_size_, other->_cached_size_);
  7770. }
  7771. }
  7772. ::google::protobuf::Metadata packetc2w_first_login::GetMetadata() const {
  7773. protobuf_AssignDescriptorsOnce();
  7774. ::google::protobuf::Metadata metadata;
  7775. metadata.descriptor = packetc2w_first_login_descriptor_;
  7776. metadata.reflection = packetc2w_first_login_reflection_;
  7777. return metadata;
  7778. }
  7779. // ===================================================================
  7780. #ifndef _MSC_VER
  7781. const int packetw2c_first_login_result::kPacketIdFieldNumber;
  7782. const int packetw2c_first_login_result::kResultFieldNumber;
  7783. #endif // !_MSC_VER
  7784. packetw2c_first_login_result::packetw2c_first_login_result()
  7785. : ::google::protobuf::Message() {
  7786. SharedCtor();
  7787. }
  7788. void packetw2c_first_login_result::InitAsDefaultInstance() {
  7789. }
  7790. packetw2c_first_login_result::packetw2c_first_login_result(const packetw2c_first_login_result& from)
  7791. : ::google::protobuf::Message() {
  7792. SharedCtor();
  7793. MergeFrom(from);
  7794. }
  7795. void packetw2c_first_login_result::SharedCtor() {
  7796. _cached_size_ = 0;
  7797. packet_id_ = 7566;
  7798. result_ = 2;
  7799. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  7800. }
  7801. packetw2c_first_login_result::~packetw2c_first_login_result() {
  7802. SharedDtor();
  7803. }
  7804. void packetw2c_first_login_result::SharedDtor() {
  7805. if (this != default_instance_) {
  7806. }
  7807. }
  7808. void packetw2c_first_login_result::SetCachedSize(int size) const {
  7809. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7810. _cached_size_ = size;
  7811. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7812. }
  7813. const ::google::protobuf::Descriptor* packetw2c_first_login_result::descriptor() {
  7814. protobuf_AssignDescriptorsOnce();
  7815. return packetw2c_first_login_result_descriptor_;
  7816. }
  7817. const packetw2c_first_login_result& packetw2c_first_login_result::default_instance() {
  7818. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  7819. return *default_instance_;
  7820. }
  7821. packetw2c_first_login_result* packetw2c_first_login_result::default_instance_ = NULL;
  7822. packetw2c_first_login_result* packetw2c_first_login_result::New() const {
  7823. return new packetw2c_first_login_result;
  7824. }
  7825. void packetw2c_first_login_result::Clear() {
  7826. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7827. packet_id_ = 7566;
  7828. result_ = 2;
  7829. }
  7830. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  7831. mutable_unknown_fields()->Clear();
  7832. }
  7833. bool packetw2c_first_login_result::MergePartialFromCodedStream(
  7834. ::google::protobuf::io::CodedInputStream* input) {
  7835. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  7836. ::google::protobuf::uint32 tag;
  7837. while ((tag = input->ReadTag()) != 0) {
  7838. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  7839. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_first_login_result];
  7840. case 1: {
  7841. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7842. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7843. int value;
  7844. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7845. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  7846. input, &value)));
  7847. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  7848. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  7849. } else {
  7850. mutable_unknown_fields()->AddVarint(1, value);
  7851. }
  7852. } else {
  7853. goto handle_uninterpreted;
  7854. }
  7855. if (input->ExpectTag(16)) goto parse_result;
  7856. break;
  7857. }
  7858. // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  7859. case 2: {
  7860. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7861. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  7862. parse_result:
  7863. int value;
  7864. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  7865. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  7866. input, &value)));
  7867. if (::msg_type_def::e_msg_result_def_IsValid(value)) {
  7868. set_result(static_cast< ::msg_type_def::e_msg_result_def >(value));
  7869. } else {
  7870. mutable_unknown_fields()->AddVarint(2, value);
  7871. }
  7872. } else {
  7873. goto handle_uninterpreted;
  7874. }
  7875. if (input->ExpectAtEnd()) return true;
  7876. break;
  7877. }
  7878. default: {
  7879. handle_uninterpreted:
  7880. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  7881. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  7882. return true;
  7883. }
  7884. DO_(::google::protobuf::internal::WireFormat::SkipField(
  7885. input, tag, mutable_unknown_fields()));
  7886. break;
  7887. }
  7888. }
  7889. }
  7890. return true;
  7891. #undef DO_
  7892. }
  7893. void packetw2c_first_login_result::SerializeWithCachedSizes(
  7894. ::google::protobuf::io::CodedOutputStream* output) const {
  7895. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_first_login_result];
  7896. if (has_packet_id()) {
  7897. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  7898. 1, this->packet_id(), output);
  7899. }
  7900. // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  7901. if (has_result()) {
  7902. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  7903. 2, this->result(), output);
  7904. }
  7905. if (!unknown_fields().empty()) {
  7906. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  7907. unknown_fields(), output);
  7908. }
  7909. }
  7910. ::google::protobuf::uint8* packetw2c_first_login_result::SerializeWithCachedSizesToArray(
  7911. ::google::protobuf::uint8* target) const {
  7912. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_first_login_result];
  7913. if (has_packet_id()) {
  7914. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  7915. 1, this->packet_id(), target);
  7916. }
  7917. // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  7918. if (has_result()) {
  7919. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  7920. 2, this->result(), target);
  7921. }
  7922. if (!unknown_fields().empty()) {
  7923. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  7924. unknown_fields(), target);
  7925. }
  7926. return target;
  7927. }
  7928. int packetw2c_first_login_result::ByteSize() const {
  7929. int total_size = 0;
  7930. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7931. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_first_login_result];
  7932. if (has_packet_id()) {
  7933. total_size += 1 +
  7934. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  7935. }
  7936. // optional .msg_type_def.e_msg_result_def result = 2 [default = e_rmt_fail];
  7937. if (has_result()) {
  7938. total_size += 1 +
  7939. ::google::protobuf::internal::WireFormatLite::EnumSize(this->result());
  7940. }
  7941. }
  7942. if (!unknown_fields().empty()) {
  7943. total_size +=
  7944. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  7945. unknown_fields());
  7946. }
  7947. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  7948. _cached_size_ = total_size;
  7949. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  7950. return total_size;
  7951. }
  7952. void packetw2c_first_login_result::MergeFrom(const ::google::protobuf::Message& from) {
  7953. GOOGLE_CHECK_NE(&from, this);
  7954. const packetw2c_first_login_result* source =
  7955. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_first_login_result*>(
  7956. &from);
  7957. if (source == NULL) {
  7958. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  7959. } else {
  7960. MergeFrom(*source);
  7961. }
  7962. }
  7963. void packetw2c_first_login_result::MergeFrom(const packetw2c_first_login_result& from) {
  7964. GOOGLE_CHECK_NE(&from, this);
  7965. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  7966. if (from.has_packet_id()) {
  7967. set_packet_id(from.packet_id());
  7968. }
  7969. if (from.has_result()) {
  7970. set_result(from.result());
  7971. }
  7972. }
  7973. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  7974. }
  7975. void packetw2c_first_login_result::CopyFrom(const ::google::protobuf::Message& from) {
  7976. if (&from == this) return;
  7977. Clear();
  7978. MergeFrom(from);
  7979. }
  7980. void packetw2c_first_login_result::CopyFrom(const packetw2c_first_login_result& from) {
  7981. if (&from == this) return;
  7982. Clear();
  7983. MergeFrom(from);
  7984. }
  7985. bool packetw2c_first_login_result::IsInitialized() const {
  7986. return true;
  7987. }
  7988. void packetw2c_first_login_result::Swap(packetw2c_first_login_result* other) {
  7989. if (other != this) {
  7990. std::swap(packet_id_, other->packet_id_);
  7991. std::swap(result_, other->result_);
  7992. std::swap(_has_bits_[0], other->_has_bits_[0]);
  7993. _unknown_fields_.Swap(&other->_unknown_fields_);
  7994. std::swap(_cached_size_, other->_cached_size_);
  7995. }
  7996. }
  7997. ::google::protobuf::Metadata packetw2c_first_login_result::GetMetadata() const {
  7998. protobuf_AssignDescriptorsOnce();
  7999. ::google::protobuf::Metadata metadata;
  8000. metadata.descriptor = packetw2c_first_login_result_descriptor_;
  8001. metadata.reflection = packetw2c_first_login_result_reflection_;
  8002. return metadata;
  8003. }
  8004. // ===================================================================
  8005. #ifndef _MSC_VER
  8006. const int packetc2w_enter_fish_game::kPacketIdFieldNumber;
  8007. const int packetc2w_enter_fish_game::kGameverFieldNumber;
  8008. const int packetc2w_enter_fish_game::kRoomIdFieldNumber;
  8009. #endif // !_MSC_VER
  8010. packetc2w_enter_fish_game::packetc2w_enter_fish_game()
  8011. : ::google::protobuf::Message() {
  8012. SharedCtor();
  8013. }
  8014. void packetc2w_enter_fish_game::InitAsDefaultInstance() {
  8015. }
  8016. packetc2w_enter_fish_game::packetc2w_enter_fish_game(const packetc2w_enter_fish_game& from)
  8017. : ::google::protobuf::Message() {
  8018. SharedCtor();
  8019. MergeFrom(from);
  8020. }
  8021. void packetc2w_enter_fish_game::SharedCtor() {
  8022. _cached_size_ = 0;
  8023. packet_id_ = 5096;
  8024. gamever_ = 0;
  8025. roomid_ = 0;
  8026. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8027. }
  8028. packetc2w_enter_fish_game::~packetc2w_enter_fish_game() {
  8029. SharedDtor();
  8030. }
  8031. void packetc2w_enter_fish_game::SharedDtor() {
  8032. if (this != default_instance_) {
  8033. }
  8034. }
  8035. void packetc2w_enter_fish_game::SetCachedSize(int size) const {
  8036. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8037. _cached_size_ = size;
  8038. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8039. }
  8040. const ::google::protobuf::Descriptor* packetc2w_enter_fish_game::descriptor() {
  8041. protobuf_AssignDescriptorsOnce();
  8042. return packetc2w_enter_fish_game_descriptor_;
  8043. }
  8044. const packetc2w_enter_fish_game& packetc2w_enter_fish_game::default_instance() {
  8045. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  8046. return *default_instance_;
  8047. }
  8048. packetc2w_enter_fish_game* packetc2w_enter_fish_game::default_instance_ = NULL;
  8049. packetc2w_enter_fish_game* packetc2w_enter_fish_game::New() const {
  8050. return new packetc2w_enter_fish_game;
  8051. }
  8052. void packetc2w_enter_fish_game::Clear() {
  8053. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8054. packet_id_ = 5096;
  8055. gamever_ = 0;
  8056. roomid_ = 0;
  8057. }
  8058. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8059. mutable_unknown_fields()->Clear();
  8060. }
  8061. bool packetc2w_enter_fish_game::MergePartialFromCodedStream(
  8062. ::google::protobuf::io::CodedInputStream* input) {
  8063. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  8064. ::google::protobuf::uint32 tag;
  8065. while ((tag = input->ReadTag()) != 0) {
  8066. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  8067. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_enter_fish_game];
  8068. case 1: {
  8069. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8070. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8071. int value;
  8072. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8073. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  8074. input, &value)));
  8075. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  8076. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  8077. } else {
  8078. mutable_unknown_fields()->AddVarint(1, value);
  8079. }
  8080. } else {
  8081. goto handle_uninterpreted;
  8082. }
  8083. if (input->ExpectTag(16)) goto parse_gamever;
  8084. break;
  8085. }
  8086. // optional int32 gamever = 2;
  8087. case 2: {
  8088. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8089. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8090. parse_gamever:
  8091. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8092. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8093. input, &gamever_)));
  8094. set_has_gamever();
  8095. } else {
  8096. goto handle_uninterpreted;
  8097. }
  8098. if (input->ExpectTag(24)) goto parse_roomId;
  8099. break;
  8100. }
  8101. // optional int32 roomId = 3;
  8102. case 3: {
  8103. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8104. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8105. parse_roomId:
  8106. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8107. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8108. input, &roomid_)));
  8109. set_has_roomid();
  8110. } else {
  8111. goto handle_uninterpreted;
  8112. }
  8113. if (input->ExpectAtEnd()) return true;
  8114. break;
  8115. }
  8116. default: {
  8117. handle_uninterpreted:
  8118. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8119. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  8120. return true;
  8121. }
  8122. DO_(::google::protobuf::internal::WireFormat::SkipField(
  8123. input, tag, mutable_unknown_fields()));
  8124. break;
  8125. }
  8126. }
  8127. }
  8128. return true;
  8129. #undef DO_
  8130. }
  8131. void packetc2w_enter_fish_game::SerializeWithCachedSizes(
  8132. ::google::protobuf::io::CodedOutputStream* output) const {
  8133. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_enter_fish_game];
  8134. if (has_packet_id()) {
  8135. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  8136. 1, this->packet_id(), output);
  8137. }
  8138. // optional int32 gamever = 2;
  8139. if (has_gamever()) {
  8140. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->gamever(), output);
  8141. }
  8142. // optional int32 roomId = 3;
  8143. if (has_roomid()) {
  8144. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->roomid(), output);
  8145. }
  8146. if (!unknown_fields().empty()) {
  8147. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  8148. unknown_fields(), output);
  8149. }
  8150. }
  8151. ::google::protobuf::uint8* packetc2w_enter_fish_game::SerializeWithCachedSizesToArray(
  8152. ::google::protobuf::uint8* target) const {
  8153. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_enter_fish_game];
  8154. if (has_packet_id()) {
  8155. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  8156. 1, this->packet_id(), target);
  8157. }
  8158. // optional int32 gamever = 2;
  8159. if (has_gamever()) {
  8160. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->gamever(), target);
  8161. }
  8162. // optional int32 roomId = 3;
  8163. if (has_roomid()) {
  8164. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->roomid(), target);
  8165. }
  8166. if (!unknown_fields().empty()) {
  8167. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  8168. unknown_fields(), target);
  8169. }
  8170. return target;
  8171. }
  8172. int packetc2w_enter_fish_game::ByteSize() const {
  8173. int total_size = 0;
  8174. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8175. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_enter_fish_game];
  8176. if (has_packet_id()) {
  8177. total_size += 1 +
  8178. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  8179. }
  8180. // optional int32 gamever = 2;
  8181. if (has_gamever()) {
  8182. total_size += 1 +
  8183. ::google::protobuf::internal::WireFormatLite::Int32Size(
  8184. this->gamever());
  8185. }
  8186. // optional int32 roomId = 3;
  8187. if (has_roomid()) {
  8188. total_size += 1 +
  8189. ::google::protobuf::internal::WireFormatLite::Int32Size(
  8190. this->roomid());
  8191. }
  8192. }
  8193. if (!unknown_fields().empty()) {
  8194. total_size +=
  8195. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  8196. unknown_fields());
  8197. }
  8198. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8199. _cached_size_ = total_size;
  8200. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8201. return total_size;
  8202. }
  8203. void packetc2w_enter_fish_game::MergeFrom(const ::google::protobuf::Message& from) {
  8204. GOOGLE_CHECK_NE(&from, this);
  8205. const packetc2w_enter_fish_game* source =
  8206. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_enter_fish_game*>(
  8207. &from);
  8208. if (source == NULL) {
  8209. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  8210. } else {
  8211. MergeFrom(*source);
  8212. }
  8213. }
  8214. void packetc2w_enter_fish_game::MergeFrom(const packetc2w_enter_fish_game& from) {
  8215. GOOGLE_CHECK_NE(&from, this);
  8216. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8217. if (from.has_packet_id()) {
  8218. set_packet_id(from.packet_id());
  8219. }
  8220. if (from.has_gamever()) {
  8221. set_gamever(from.gamever());
  8222. }
  8223. if (from.has_roomid()) {
  8224. set_roomid(from.roomid());
  8225. }
  8226. }
  8227. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  8228. }
  8229. void packetc2w_enter_fish_game::CopyFrom(const ::google::protobuf::Message& from) {
  8230. if (&from == this) return;
  8231. Clear();
  8232. MergeFrom(from);
  8233. }
  8234. void packetc2w_enter_fish_game::CopyFrom(const packetc2w_enter_fish_game& from) {
  8235. if (&from == this) return;
  8236. Clear();
  8237. MergeFrom(from);
  8238. }
  8239. bool packetc2w_enter_fish_game::IsInitialized() const {
  8240. return true;
  8241. }
  8242. void packetc2w_enter_fish_game::Swap(packetc2w_enter_fish_game* other) {
  8243. if (other != this) {
  8244. std::swap(packet_id_, other->packet_id_);
  8245. std::swap(gamever_, other->gamever_);
  8246. std::swap(roomid_, other->roomid_);
  8247. std::swap(_has_bits_[0], other->_has_bits_[0]);
  8248. _unknown_fields_.Swap(&other->_unknown_fields_);
  8249. std::swap(_cached_size_, other->_cached_size_);
  8250. }
  8251. }
  8252. ::google::protobuf::Metadata packetc2w_enter_fish_game::GetMetadata() const {
  8253. protobuf_AssignDescriptorsOnce();
  8254. ::google::protobuf::Metadata metadata;
  8255. metadata.descriptor = packetc2w_enter_fish_game_descriptor_;
  8256. metadata.reflection = packetc2w_enter_fish_game_reflection_;
  8257. return metadata;
  8258. }
  8259. // ===================================================================
  8260. #ifndef _MSC_VER
  8261. const int packetw2c_enter_fish_game_result::kPacketIdFieldNumber;
  8262. const int packetw2c_enter_fish_game_result::kResultFieldNumber;
  8263. const int packetw2c_enter_fish_game_result::kRoomIdFieldNumber;
  8264. #endif // !_MSC_VER
  8265. packetw2c_enter_fish_game_result::packetw2c_enter_fish_game_result()
  8266. : ::google::protobuf::Message() {
  8267. SharedCtor();
  8268. }
  8269. void packetw2c_enter_fish_game_result::InitAsDefaultInstance() {
  8270. }
  8271. packetw2c_enter_fish_game_result::packetw2c_enter_fish_game_result(const packetw2c_enter_fish_game_result& from)
  8272. : ::google::protobuf::Message() {
  8273. SharedCtor();
  8274. MergeFrom(from);
  8275. }
  8276. void packetw2c_enter_fish_game_result::SharedCtor() {
  8277. _cached_size_ = 0;
  8278. packet_id_ = 7603;
  8279. result_ = 0;
  8280. roomid_ = 0;
  8281. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8282. }
  8283. packetw2c_enter_fish_game_result::~packetw2c_enter_fish_game_result() {
  8284. SharedDtor();
  8285. }
  8286. void packetw2c_enter_fish_game_result::SharedDtor() {
  8287. if (this != default_instance_) {
  8288. }
  8289. }
  8290. void packetw2c_enter_fish_game_result::SetCachedSize(int size) const {
  8291. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8292. _cached_size_ = size;
  8293. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8294. }
  8295. const ::google::protobuf::Descriptor* packetw2c_enter_fish_game_result::descriptor() {
  8296. protobuf_AssignDescriptorsOnce();
  8297. return packetw2c_enter_fish_game_result_descriptor_;
  8298. }
  8299. const packetw2c_enter_fish_game_result& packetw2c_enter_fish_game_result::default_instance() {
  8300. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  8301. return *default_instance_;
  8302. }
  8303. packetw2c_enter_fish_game_result* packetw2c_enter_fish_game_result::default_instance_ = NULL;
  8304. packetw2c_enter_fish_game_result* packetw2c_enter_fish_game_result::New() const {
  8305. return new packetw2c_enter_fish_game_result;
  8306. }
  8307. void packetw2c_enter_fish_game_result::Clear() {
  8308. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8309. packet_id_ = 7603;
  8310. result_ = 0;
  8311. roomid_ = 0;
  8312. }
  8313. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8314. mutable_unknown_fields()->Clear();
  8315. }
  8316. bool packetw2c_enter_fish_game_result::MergePartialFromCodedStream(
  8317. ::google::protobuf::io::CodedInputStream* input) {
  8318. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  8319. ::google::protobuf::uint32 tag;
  8320. while ((tag = input->ReadTag()) != 0) {
  8321. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  8322. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_enter_fish_game_result];
  8323. case 1: {
  8324. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8325. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8326. int value;
  8327. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8328. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  8329. input, &value)));
  8330. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  8331. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  8332. } else {
  8333. mutable_unknown_fields()->AddVarint(1, value);
  8334. }
  8335. } else {
  8336. goto handle_uninterpreted;
  8337. }
  8338. if (input->ExpectTag(16)) goto parse_result;
  8339. break;
  8340. }
  8341. // optional int32 result = 2;
  8342. case 2: {
  8343. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8344. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8345. parse_result:
  8346. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8347. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8348. input, &result_)));
  8349. set_has_result();
  8350. } else {
  8351. goto handle_uninterpreted;
  8352. }
  8353. if (input->ExpectTag(24)) goto parse_roomId;
  8354. break;
  8355. }
  8356. // optional int32 roomId = 3;
  8357. case 3: {
  8358. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8359. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8360. parse_roomId:
  8361. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8362. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8363. input, &roomid_)));
  8364. set_has_roomid();
  8365. } else {
  8366. goto handle_uninterpreted;
  8367. }
  8368. if (input->ExpectAtEnd()) return true;
  8369. break;
  8370. }
  8371. default: {
  8372. handle_uninterpreted:
  8373. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8374. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  8375. return true;
  8376. }
  8377. DO_(::google::protobuf::internal::WireFormat::SkipField(
  8378. input, tag, mutable_unknown_fields()));
  8379. break;
  8380. }
  8381. }
  8382. }
  8383. return true;
  8384. #undef DO_
  8385. }
  8386. void packetw2c_enter_fish_game_result::SerializeWithCachedSizes(
  8387. ::google::protobuf::io::CodedOutputStream* output) const {
  8388. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_enter_fish_game_result];
  8389. if (has_packet_id()) {
  8390. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  8391. 1, this->packet_id(), output);
  8392. }
  8393. // optional int32 result = 2;
  8394. if (has_result()) {
  8395. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  8396. }
  8397. // optional int32 roomId = 3;
  8398. if (has_roomid()) {
  8399. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->roomid(), output);
  8400. }
  8401. if (!unknown_fields().empty()) {
  8402. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  8403. unknown_fields(), output);
  8404. }
  8405. }
  8406. ::google::protobuf::uint8* packetw2c_enter_fish_game_result::SerializeWithCachedSizesToArray(
  8407. ::google::protobuf::uint8* target) const {
  8408. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_enter_fish_game_result];
  8409. if (has_packet_id()) {
  8410. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  8411. 1, this->packet_id(), target);
  8412. }
  8413. // optional int32 result = 2;
  8414. if (has_result()) {
  8415. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  8416. }
  8417. // optional int32 roomId = 3;
  8418. if (has_roomid()) {
  8419. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->roomid(), target);
  8420. }
  8421. if (!unknown_fields().empty()) {
  8422. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  8423. unknown_fields(), target);
  8424. }
  8425. return target;
  8426. }
  8427. int packetw2c_enter_fish_game_result::ByteSize() const {
  8428. int total_size = 0;
  8429. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8430. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_enter_fish_game_result];
  8431. if (has_packet_id()) {
  8432. total_size += 1 +
  8433. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  8434. }
  8435. // optional int32 result = 2;
  8436. if (has_result()) {
  8437. total_size += 1 +
  8438. ::google::protobuf::internal::WireFormatLite::Int32Size(
  8439. this->result());
  8440. }
  8441. // optional int32 roomId = 3;
  8442. if (has_roomid()) {
  8443. total_size += 1 +
  8444. ::google::protobuf::internal::WireFormatLite::Int32Size(
  8445. this->roomid());
  8446. }
  8447. }
  8448. if (!unknown_fields().empty()) {
  8449. total_size +=
  8450. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  8451. unknown_fields());
  8452. }
  8453. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8454. _cached_size_ = total_size;
  8455. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8456. return total_size;
  8457. }
  8458. void packetw2c_enter_fish_game_result::MergeFrom(const ::google::protobuf::Message& from) {
  8459. GOOGLE_CHECK_NE(&from, this);
  8460. const packetw2c_enter_fish_game_result* source =
  8461. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_enter_fish_game_result*>(
  8462. &from);
  8463. if (source == NULL) {
  8464. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  8465. } else {
  8466. MergeFrom(*source);
  8467. }
  8468. }
  8469. void packetw2c_enter_fish_game_result::MergeFrom(const packetw2c_enter_fish_game_result& from) {
  8470. GOOGLE_CHECK_NE(&from, this);
  8471. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8472. if (from.has_packet_id()) {
  8473. set_packet_id(from.packet_id());
  8474. }
  8475. if (from.has_result()) {
  8476. set_result(from.result());
  8477. }
  8478. if (from.has_roomid()) {
  8479. set_roomid(from.roomid());
  8480. }
  8481. }
  8482. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  8483. }
  8484. void packetw2c_enter_fish_game_result::CopyFrom(const ::google::protobuf::Message& from) {
  8485. if (&from == this) return;
  8486. Clear();
  8487. MergeFrom(from);
  8488. }
  8489. void packetw2c_enter_fish_game_result::CopyFrom(const packetw2c_enter_fish_game_result& from) {
  8490. if (&from == this) return;
  8491. Clear();
  8492. MergeFrom(from);
  8493. }
  8494. bool packetw2c_enter_fish_game_result::IsInitialized() const {
  8495. return true;
  8496. }
  8497. void packetw2c_enter_fish_game_result::Swap(packetw2c_enter_fish_game_result* other) {
  8498. if (other != this) {
  8499. std::swap(packet_id_, other->packet_id_);
  8500. std::swap(result_, other->result_);
  8501. std::swap(roomid_, other->roomid_);
  8502. std::swap(_has_bits_[0], other->_has_bits_[0]);
  8503. _unknown_fields_.Swap(&other->_unknown_fields_);
  8504. std::swap(_cached_size_, other->_cached_size_);
  8505. }
  8506. }
  8507. ::google::protobuf::Metadata packetw2c_enter_fish_game_result::GetMetadata() const {
  8508. protobuf_AssignDescriptorsOnce();
  8509. ::google::protobuf::Metadata metadata;
  8510. metadata.descriptor = packetw2c_enter_fish_game_result_descriptor_;
  8511. metadata.reflection = packetw2c_enter_fish_game_result_reflection_;
  8512. return metadata;
  8513. }
  8514. // ===================================================================
  8515. #ifndef _MSC_VER
  8516. const int msg_airdropitem::kUuidFieldNumber;
  8517. const int msg_airdropitem::kPlayeridFieldNumber;
  8518. const int msg_airdropitem::kItemidFieldNumber;
  8519. const int msg_airdropitem::kItemcountFieldNumber;
  8520. const int msg_airdropitem::kNicknameFieldNumber;
  8521. const int msg_airdropitem::kHeadidFieldNumber;
  8522. const int msg_airdropitem::kPwdFieldNumber;
  8523. const int msg_airdropitem::kLeftsecondFieldNumber;
  8524. const int msg_airdropitem::kReceiveIdFieldNumber;
  8525. #endif // !_MSC_VER
  8526. msg_airdropitem::msg_airdropitem()
  8527. : ::google::protobuf::Message() {
  8528. SharedCtor();
  8529. }
  8530. void msg_airdropitem::InitAsDefaultInstance() {
  8531. }
  8532. msg_airdropitem::msg_airdropitem(const msg_airdropitem& from)
  8533. : ::google::protobuf::Message() {
  8534. SharedCtor();
  8535. MergeFrom(from);
  8536. }
  8537. void msg_airdropitem::SharedCtor() {
  8538. _cached_size_ = 0;
  8539. uuid_ = 0;
  8540. playerid_ = 0;
  8541. itemid_ = 0;
  8542. itemcount_ = 0;
  8543. nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  8544. headid_ = 0;
  8545. pwd_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  8546. leftsecond_ = 0;
  8547. receiveid_ = 0;
  8548. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8549. }
  8550. msg_airdropitem::~msg_airdropitem() {
  8551. SharedDtor();
  8552. }
  8553. void msg_airdropitem::SharedDtor() {
  8554. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  8555. delete nickname_;
  8556. }
  8557. if (pwd_ != &::google::protobuf::internal::kEmptyString) {
  8558. delete pwd_;
  8559. }
  8560. if (this != default_instance_) {
  8561. }
  8562. }
  8563. void msg_airdropitem::SetCachedSize(int size) const {
  8564. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8565. _cached_size_ = size;
  8566. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8567. }
  8568. const ::google::protobuf::Descriptor* msg_airdropitem::descriptor() {
  8569. protobuf_AssignDescriptorsOnce();
  8570. return msg_airdropitem_descriptor_;
  8571. }
  8572. const msg_airdropitem& msg_airdropitem::default_instance() {
  8573. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  8574. return *default_instance_;
  8575. }
  8576. msg_airdropitem* msg_airdropitem::default_instance_ = NULL;
  8577. msg_airdropitem* msg_airdropitem::New() const {
  8578. return new msg_airdropitem;
  8579. }
  8580. void msg_airdropitem::Clear() {
  8581. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8582. uuid_ = 0;
  8583. playerid_ = 0;
  8584. itemid_ = 0;
  8585. itemcount_ = 0;
  8586. if (has_nickname()) {
  8587. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  8588. nickname_->clear();
  8589. }
  8590. }
  8591. headid_ = 0;
  8592. if (has_pwd()) {
  8593. if (pwd_ != &::google::protobuf::internal::kEmptyString) {
  8594. pwd_->clear();
  8595. }
  8596. }
  8597. leftsecond_ = 0;
  8598. }
  8599. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  8600. receiveid_ = 0;
  8601. }
  8602. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  8603. mutable_unknown_fields()->Clear();
  8604. }
  8605. bool msg_airdropitem::MergePartialFromCodedStream(
  8606. ::google::protobuf::io::CodedInputStream* input) {
  8607. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  8608. ::google::protobuf::uint32 tag;
  8609. while ((tag = input->ReadTag()) != 0) {
  8610. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  8611. // optional int32 uuid = 1;
  8612. case 1: {
  8613. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8614. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8615. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8616. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8617. input, &uuid_)));
  8618. set_has_uuid();
  8619. } else {
  8620. goto handle_uninterpreted;
  8621. }
  8622. if (input->ExpectTag(16)) goto parse_playerid;
  8623. break;
  8624. }
  8625. // optional int32 playerid = 2;
  8626. case 2: {
  8627. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8628. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8629. parse_playerid:
  8630. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8631. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8632. input, &playerid_)));
  8633. set_has_playerid();
  8634. } else {
  8635. goto handle_uninterpreted;
  8636. }
  8637. if (input->ExpectTag(24)) goto parse_itemid;
  8638. break;
  8639. }
  8640. // optional int32 itemid = 3;
  8641. case 3: {
  8642. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8643. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8644. parse_itemid:
  8645. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8646. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8647. input, &itemid_)));
  8648. set_has_itemid();
  8649. } else {
  8650. goto handle_uninterpreted;
  8651. }
  8652. if (input->ExpectTag(32)) goto parse_itemcount;
  8653. break;
  8654. }
  8655. // optional int32 itemcount = 4;
  8656. case 4: {
  8657. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8658. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8659. parse_itemcount:
  8660. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8661. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8662. input, &itemcount_)));
  8663. set_has_itemcount();
  8664. } else {
  8665. goto handle_uninterpreted;
  8666. }
  8667. if (input->ExpectTag(42)) goto parse_nickname;
  8668. break;
  8669. }
  8670. // optional string nickname = 5;
  8671. case 5: {
  8672. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8673. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  8674. parse_nickname:
  8675. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  8676. input, this->mutable_nickname()));
  8677. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  8678. this->nickname().data(), this->nickname().length(),
  8679. ::google::protobuf::internal::WireFormat::PARSE);
  8680. } else {
  8681. goto handle_uninterpreted;
  8682. }
  8683. if (input->ExpectTag(48)) goto parse_headid;
  8684. break;
  8685. }
  8686. // optional int32 headid = 6;
  8687. case 6: {
  8688. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8689. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8690. parse_headid:
  8691. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8692. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8693. input, &headid_)));
  8694. set_has_headid();
  8695. } else {
  8696. goto handle_uninterpreted;
  8697. }
  8698. if (input->ExpectTag(58)) goto parse_pwd;
  8699. break;
  8700. }
  8701. // optional string pwd = 7;
  8702. case 7: {
  8703. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8704. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  8705. parse_pwd:
  8706. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  8707. input, this->mutable_pwd()));
  8708. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  8709. this->pwd().data(), this->pwd().length(),
  8710. ::google::protobuf::internal::WireFormat::PARSE);
  8711. } else {
  8712. goto handle_uninterpreted;
  8713. }
  8714. if (input->ExpectTag(64)) goto parse_leftsecond;
  8715. break;
  8716. }
  8717. // optional int32 leftsecond = 8;
  8718. case 8: {
  8719. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8720. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8721. parse_leftsecond:
  8722. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8723. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8724. input, &leftsecond_)));
  8725. set_has_leftsecond();
  8726. } else {
  8727. goto handle_uninterpreted;
  8728. }
  8729. if (input->ExpectTag(72)) goto parse_receiveId;
  8730. break;
  8731. }
  8732. // optional int32 receiveId = 9;
  8733. case 9: {
  8734. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8735. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  8736. parse_receiveId:
  8737. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  8738. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  8739. input, &receiveid_)));
  8740. set_has_receiveid();
  8741. } else {
  8742. goto handle_uninterpreted;
  8743. }
  8744. if (input->ExpectAtEnd()) return true;
  8745. break;
  8746. }
  8747. default: {
  8748. handle_uninterpreted:
  8749. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  8750. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  8751. return true;
  8752. }
  8753. DO_(::google::protobuf::internal::WireFormat::SkipField(
  8754. input, tag, mutable_unknown_fields()));
  8755. break;
  8756. }
  8757. }
  8758. }
  8759. return true;
  8760. #undef DO_
  8761. }
  8762. void msg_airdropitem::SerializeWithCachedSizes(
  8763. ::google::protobuf::io::CodedOutputStream* output) const {
  8764. // optional int32 uuid = 1;
  8765. if (has_uuid()) {
  8766. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->uuid(), output);
  8767. }
  8768. // optional int32 playerid = 2;
  8769. if (has_playerid()) {
  8770. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playerid(), output);
  8771. }
  8772. // optional int32 itemid = 3;
  8773. if (has_itemid()) {
  8774. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->itemid(), output);
  8775. }
  8776. // optional int32 itemcount = 4;
  8777. if (has_itemcount()) {
  8778. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->itemcount(), output);
  8779. }
  8780. // optional string nickname = 5;
  8781. if (has_nickname()) {
  8782. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  8783. this->nickname().data(), this->nickname().length(),
  8784. ::google::protobuf::internal::WireFormat::SERIALIZE);
  8785. ::google::protobuf::internal::WireFormatLite::WriteString(
  8786. 5, this->nickname(), output);
  8787. }
  8788. // optional int32 headid = 6;
  8789. if (has_headid()) {
  8790. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->headid(), output);
  8791. }
  8792. // optional string pwd = 7;
  8793. if (has_pwd()) {
  8794. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  8795. this->pwd().data(), this->pwd().length(),
  8796. ::google::protobuf::internal::WireFormat::SERIALIZE);
  8797. ::google::protobuf::internal::WireFormatLite::WriteString(
  8798. 7, this->pwd(), output);
  8799. }
  8800. // optional int32 leftsecond = 8;
  8801. if (has_leftsecond()) {
  8802. ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->leftsecond(), output);
  8803. }
  8804. // optional int32 receiveId = 9;
  8805. if (has_receiveid()) {
  8806. ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->receiveid(), output);
  8807. }
  8808. if (!unknown_fields().empty()) {
  8809. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  8810. unknown_fields(), output);
  8811. }
  8812. }
  8813. ::google::protobuf::uint8* msg_airdropitem::SerializeWithCachedSizesToArray(
  8814. ::google::protobuf::uint8* target) const {
  8815. // optional int32 uuid = 1;
  8816. if (has_uuid()) {
  8817. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->uuid(), target);
  8818. }
  8819. // optional int32 playerid = 2;
  8820. if (has_playerid()) {
  8821. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playerid(), target);
  8822. }
  8823. // optional int32 itemid = 3;
  8824. if (has_itemid()) {
  8825. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->itemid(), target);
  8826. }
  8827. // optional int32 itemcount = 4;
  8828. if (has_itemcount()) {
  8829. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->itemcount(), target);
  8830. }
  8831. // optional string nickname = 5;
  8832. if (has_nickname()) {
  8833. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  8834. this->nickname().data(), this->nickname().length(),
  8835. ::google::protobuf::internal::WireFormat::SERIALIZE);
  8836. target =
  8837. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  8838. 5, this->nickname(), target);
  8839. }
  8840. // optional int32 headid = 6;
  8841. if (has_headid()) {
  8842. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->headid(), target);
  8843. }
  8844. // optional string pwd = 7;
  8845. if (has_pwd()) {
  8846. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  8847. this->pwd().data(), this->pwd().length(),
  8848. ::google::protobuf::internal::WireFormat::SERIALIZE);
  8849. target =
  8850. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  8851. 7, this->pwd(), target);
  8852. }
  8853. // optional int32 leftsecond = 8;
  8854. if (has_leftsecond()) {
  8855. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->leftsecond(), target);
  8856. }
  8857. // optional int32 receiveId = 9;
  8858. if (has_receiveid()) {
  8859. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->receiveid(), target);
  8860. }
  8861. if (!unknown_fields().empty()) {
  8862. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  8863. unknown_fields(), target);
  8864. }
  8865. return target;
  8866. }
  8867. int msg_airdropitem::ByteSize() const {
  8868. int total_size = 0;
  8869. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8870. // optional int32 uuid = 1;
  8871. if (has_uuid()) {
  8872. total_size += 1 +
  8873. ::google::protobuf::internal::WireFormatLite::Int32Size(
  8874. this->uuid());
  8875. }
  8876. // optional int32 playerid = 2;
  8877. if (has_playerid()) {
  8878. total_size += 1 +
  8879. ::google::protobuf::internal::WireFormatLite::Int32Size(
  8880. this->playerid());
  8881. }
  8882. // optional int32 itemid = 3;
  8883. if (has_itemid()) {
  8884. total_size += 1 +
  8885. ::google::protobuf::internal::WireFormatLite::Int32Size(
  8886. this->itemid());
  8887. }
  8888. // optional int32 itemcount = 4;
  8889. if (has_itemcount()) {
  8890. total_size += 1 +
  8891. ::google::protobuf::internal::WireFormatLite::Int32Size(
  8892. this->itemcount());
  8893. }
  8894. // optional string nickname = 5;
  8895. if (has_nickname()) {
  8896. total_size += 1 +
  8897. ::google::protobuf::internal::WireFormatLite::StringSize(
  8898. this->nickname());
  8899. }
  8900. // optional int32 headid = 6;
  8901. if (has_headid()) {
  8902. total_size += 1 +
  8903. ::google::protobuf::internal::WireFormatLite::Int32Size(
  8904. this->headid());
  8905. }
  8906. // optional string pwd = 7;
  8907. if (has_pwd()) {
  8908. total_size += 1 +
  8909. ::google::protobuf::internal::WireFormatLite::StringSize(
  8910. this->pwd());
  8911. }
  8912. // optional int32 leftsecond = 8;
  8913. if (has_leftsecond()) {
  8914. total_size += 1 +
  8915. ::google::protobuf::internal::WireFormatLite::Int32Size(
  8916. this->leftsecond());
  8917. }
  8918. }
  8919. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  8920. // optional int32 receiveId = 9;
  8921. if (has_receiveid()) {
  8922. total_size += 1 +
  8923. ::google::protobuf::internal::WireFormatLite::Int32Size(
  8924. this->receiveid());
  8925. }
  8926. }
  8927. if (!unknown_fields().empty()) {
  8928. total_size +=
  8929. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  8930. unknown_fields());
  8931. }
  8932. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  8933. _cached_size_ = total_size;
  8934. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  8935. return total_size;
  8936. }
  8937. void msg_airdropitem::MergeFrom(const ::google::protobuf::Message& from) {
  8938. GOOGLE_CHECK_NE(&from, this);
  8939. const msg_airdropitem* source =
  8940. ::google::protobuf::internal::dynamic_cast_if_available<const msg_airdropitem*>(
  8941. &from);
  8942. if (source == NULL) {
  8943. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  8944. } else {
  8945. MergeFrom(*source);
  8946. }
  8947. }
  8948. void msg_airdropitem::MergeFrom(const msg_airdropitem& from) {
  8949. GOOGLE_CHECK_NE(&from, this);
  8950. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  8951. if (from.has_uuid()) {
  8952. set_uuid(from.uuid());
  8953. }
  8954. if (from.has_playerid()) {
  8955. set_playerid(from.playerid());
  8956. }
  8957. if (from.has_itemid()) {
  8958. set_itemid(from.itemid());
  8959. }
  8960. if (from.has_itemcount()) {
  8961. set_itemcount(from.itemcount());
  8962. }
  8963. if (from.has_nickname()) {
  8964. set_nickname(from.nickname());
  8965. }
  8966. if (from.has_headid()) {
  8967. set_headid(from.headid());
  8968. }
  8969. if (from.has_pwd()) {
  8970. set_pwd(from.pwd());
  8971. }
  8972. if (from.has_leftsecond()) {
  8973. set_leftsecond(from.leftsecond());
  8974. }
  8975. }
  8976. if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  8977. if (from.has_receiveid()) {
  8978. set_receiveid(from.receiveid());
  8979. }
  8980. }
  8981. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  8982. }
  8983. void msg_airdropitem::CopyFrom(const ::google::protobuf::Message& from) {
  8984. if (&from == this) return;
  8985. Clear();
  8986. MergeFrom(from);
  8987. }
  8988. void msg_airdropitem::CopyFrom(const msg_airdropitem& from) {
  8989. if (&from == this) return;
  8990. Clear();
  8991. MergeFrom(from);
  8992. }
  8993. bool msg_airdropitem::IsInitialized() const {
  8994. return true;
  8995. }
  8996. void msg_airdropitem::Swap(msg_airdropitem* other) {
  8997. if (other != this) {
  8998. std::swap(uuid_, other->uuid_);
  8999. std::swap(playerid_, other->playerid_);
  9000. std::swap(itemid_, other->itemid_);
  9001. std::swap(itemcount_, other->itemcount_);
  9002. std::swap(nickname_, other->nickname_);
  9003. std::swap(headid_, other->headid_);
  9004. std::swap(pwd_, other->pwd_);
  9005. std::swap(leftsecond_, other->leftsecond_);
  9006. std::swap(receiveid_, other->receiveid_);
  9007. std::swap(_has_bits_[0], other->_has_bits_[0]);
  9008. _unknown_fields_.Swap(&other->_unknown_fields_);
  9009. std::swap(_cached_size_, other->_cached_size_);
  9010. }
  9011. }
  9012. ::google::protobuf::Metadata msg_airdropitem::GetMetadata() const {
  9013. protobuf_AssignDescriptorsOnce();
  9014. ::google::protobuf::Metadata metadata;
  9015. metadata.descriptor = msg_airdropitem_descriptor_;
  9016. metadata.reflection = msg_airdropitem_reflection_;
  9017. return metadata;
  9018. }
  9019. // ===================================================================
  9020. #ifndef _MSC_VER
  9021. const int packetc2w_create_airdrop::kPacketIdFieldNumber;
  9022. const int packetc2w_create_airdrop::kItemidFieldNumber;
  9023. const int packetc2w_create_airdrop::kItemcountFieldNumber;
  9024. const int packetc2w_create_airdrop::kPwdFieldNumber;
  9025. #endif // !_MSC_VER
  9026. packetc2w_create_airdrop::packetc2w_create_airdrop()
  9027. : ::google::protobuf::Message() {
  9028. SharedCtor();
  9029. }
  9030. void packetc2w_create_airdrop::InitAsDefaultInstance() {
  9031. }
  9032. packetc2w_create_airdrop::packetc2w_create_airdrop(const packetc2w_create_airdrop& from)
  9033. : ::google::protobuf::Message() {
  9034. SharedCtor();
  9035. MergeFrom(from);
  9036. }
  9037. void packetc2w_create_airdrop::SharedCtor() {
  9038. _cached_size_ = 0;
  9039. packet_id_ = 5148;
  9040. itemid_ = 0;
  9041. itemcount_ = 0;
  9042. pwd_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  9043. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9044. }
  9045. packetc2w_create_airdrop::~packetc2w_create_airdrop() {
  9046. SharedDtor();
  9047. }
  9048. void packetc2w_create_airdrop::SharedDtor() {
  9049. if (pwd_ != &::google::protobuf::internal::kEmptyString) {
  9050. delete pwd_;
  9051. }
  9052. if (this != default_instance_) {
  9053. }
  9054. }
  9055. void packetc2w_create_airdrop::SetCachedSize(int size) const {
  9056. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9057. _cached_size_ = size;
  9058. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9059. }
  9060. const ::google::protobuf::Descriptor* packetc2w_create_airdrop::descriptor() {
  9061. protobuf_AssignDescriptorsOnce();
  9062. return packetc2w_create_airdrop_descriptor_;
  9063. }
  9064. const packetc2w_create_airdrop& packetc2w_create_airdrop::default_instance() {
  9065. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  9066. return *default_instance_;
  9067. }
  9068. packetc2w_create_airdrop* packetc2w_create_airdrop::default_instance_ = NULL;
  9069. packetc2w_create_airdrop* packetc2w_create_airdrop::New() const {
  9070. return new packetc2w_create_airdrop;
  9071. }
  9072. void packetc2w_create_airdrop::Clear() {
  9073. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9074. packet_id_ = 5148;
  9075. itemid_ = 0;
  9076. itemcount_ = 0;
  9077. if (has_pwd()) {
  9078. if (pwd_ != &::google::protobuf::internal::kEmptyString) {
  9079. pwd_->clear();
  9080. }
  9081. }
  9082. }
  9083. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9084. mutable_unknown_fields()->Clear();
  9085. }
  9086. bool packetc2w_create_airdrop::MergePartialFromCodedStream(
  9087. ::google::protobuf::io::CodedInputStream* input) {
  9088. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  9089. ::google::protobuf::uint32 tag;
  9090. while ((tag = input->ReadTag()) != 0) {
  9091. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  9092. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_create_airdrop];
  9093. case 1: {
  9094. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9095. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9096. int value;
  9097. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9098. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  9099. input, &value)));
  9100. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  9101. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  9102. } else {
  9103. mutable_unknown_fields()->AddVarint(1, value);
  9104. }
  9105. } else {
  9106. goto handle_uninterpreted;
  9107. }
  9108. if (input->ExpectTag(16)) goto parse_itemid;
  9109. break;
  9110. }
  9111. // optional int32 itemid = 2;
  9112. case 2: {
  9113. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9114. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9115. parse_itemid:
  9116. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9117. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  9118. input, &itemid_)));
  9119. set_has_itemid();
  9120. } else {
  9121. goto handle_uninterpreted;
  9122. }
  9123. if (input->ExpectTag(24)) goto parse_itemcount;
  9124. break;
  9125. }
  9126. // optional int32 itemcount = 3;
  9127. case 3: {
  9128. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9129. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9130. parse_itemcount:
  9131. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9132. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  9133. input, &itemcount_)));
  9134. set_has_itemcount();
  9135. } else {
  9136. goto handle_uninterpreted;
  9137. }
  9138. if (input->ExpectTag(34)) goto parse_pwd;
  9139. break;
  9140. }
  9141. // optional string pwd = 4;
  9142. case 4: {
  9143. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9144. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  9145. parse_pwd:
  9146. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  9147. input, this->mutable_pwd()));
  9148. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  9149. this->pwd().data(), this->pwd().length(),
  9150. ::google::protobuf::internal::WireFormat::PARSE);
  9151. } else {
  9152. goto handle_uninterpreted;
  9153. }
  9154. if (input->ExpectAtEnd()) return true;
  9155. break;
  9156. }
  9157. default: {
  9158. handle_uninterpreted:
  9159. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9160. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  9161. return true;
  9162. }
  9163. DO_(::google::protobuf::internal::WireFormat::SkipField(
  9164. input, tag, mutable_unknown_fields()));
  9165. break;
  9166. }
  9167. }
  9168. }
  9169. return true;
  9170. #undef DO_
  9171. }
  9172. void packetc2w_create_airdrop::SerializeWithCachedSizes(
  9173. ::google::protobuf::io::CodedOutputStream* output) const {
  9174. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_create_airdrop];
  9175. if (has_packet_id()) {
  9176. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  9177. 1, this->packet_id(), output);
  9178. }
  9179. // optional int32 itemid = 2;
  9180. if (has_itemid()) {
  9181. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->itemid(), output);
  9182. }
  9183. // optional int32 itemcount = 3;
  9184. if (has_itemcount()) {
  9185. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->itemcount(), output);
  9186. }
  9187. // optional string pwd = 4;
  9188. if (has_pwd()) {
  9189. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  9190. this->pwd().data(), this->pwd().length(),
  9191. ::google::protobuf::internal::WireFormat::SERIALIZE);
  9192. ::google::protobuf::internal::WireFormatLite::WriteString(
  9193. 4, this->pwd(), output);
  9194. }
  9195. if (!unknown_fields().empty()) {
  9196. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  9197. unknown_fields(), output);
  9198. }
  9199. }
  9200. ::google::protobuf::uint8* packetc2w_create_airdrop::SerializeWithCachedSizesToArray(
  9201. ::google::protobuf::uint8* target) const {
  9202. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_create_airdrop];
  9203. if (has_packet_id()) {
  9204. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  9205. 1, this->packet_id(), target);
  9206. }
  9207. // optional int32 itemid = 2;
  9208. if (has_itemid()) {
  9209. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->itemid(), target);
  9210. }
  9211. // optional int32 itemcount = 3;
  9212. if (has_itemcount()) {
  9213. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->itemcount(), target);
  9214. }
  9215. // optional string pwd = 4;
  9216. if (has_pwd()) {
  9217. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  9218. this->pwd().data(), this->pwd().length(),
  9219. ::google::protobuf::internal::WireFormat::SERIALIZE);
  9220. target =
  9221. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  9222. 4, this->pwd(), target);
  9223. }
  9224. if (!unknown_fields().empty()) {
  9225. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  9226. unknown_fields(), target);
  9227. }
  9228. return target;
  9229. }
  9230. int packetc2w_create_airdrop::ByteSize() const {
  9231. int total_size = 0;
  9232. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9233. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_create_airdrop];
  9234. if (has_packet_id()) {
  9235. total_size += 1 +
  9236. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  9237. }
  9238. // optional int32 itemid = 2;
  9239. if (has_itemid()) {
  9240. total_size += 1 +
  9241. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9242. this->itemid());
  9243. }
  9244. // optional int32 itemcount = 3;
  9245. if (has_itemcount()) {
  9246. total_size += 1 +
  9247. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9248. this->itemcount());
  9249. }
  9250. // optional string pwd = 4;
  9251. if (has_pwd()) {
  9252. total_size += 1 +
  9253. ::google::protobuf::internal::WireFormatLite::StringSize(
  9254. this->pwd());
  9255. }
  9256. }
  9257. if (!unknown_fields().empty()) {
  9258. total_size +=
  9259. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  9260. unknown_fields());
  9261. }
  9262. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9263. _cached_size_ = total_size;
  9264. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9265. return total_size;
  9266. }
  9267. void packetc2w_create_airdrop::MergeFrom(const ::google::protobuf::Message& from) {
  9268. GOOGLE_CHECK_NE(&from, this);
  9269. const packetc2w_create_airdrop* source =
  9270. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_create_airdrop*>(
  9271. &from);
  9272. if (source == NULL) {
  9273. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  9274. } else {
  9275. MergeFrom(*source);
  9276. }
  9277. }
  9278. void packetc2w_create_airdrop::MergeFrom(const packetc2w_create_airdrop& from) {
  9279. GOOGLE_CHECK_NE(&from, this);
  9280. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9281. if (from.has_packet_id()) {
  9282. set_packet_id(from.packet_id());
  9283. }
  9284. if (from.has_itemid()) {
  9285. set_itemid(from.itemid());
  9286. }
  9287. if (from.has_itemcount()) {
  9288. set_itemcount(from.itemcount());
  9289. }
  9290. if (from.has_pwd()) {
  9291. set_pwd(from.pwd());
  9292. }
  9293. }
  9294. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  9295. }
  9296. void packetc2w_create_airdrop::CopyFrom(const ::google::protobuf::Message& from) {
  9297. if (&from == this) return;
  9298. Clear();
  9299. MergeFrom(from);
  9300. }
  9301. void packetc2w_create_airdrop::CopyFrom(const packetc2w_create_airdrop& from) {
  9302. if (&from == this) return;
  9303. Clear();
  9304. MergeFrom(from);
  9305. }
  9306. bool packetc2w_create_airdrop::IsInitialized() const {
  9307. return true;
  9308. }
  9309. void packetc2w_create_airdrop::Swap(packetc2w_create_airdrop* other) {
  9310. if (other != this) {
  9311. std::swap(packet_id_, other->packet_id_);
  9312. std::swap(itemid_, other->itemid_);
  9313. std::swap(itemcount_, other->itemcount_);
  9314. std::swap(pwd_, other->pwd_);
  9315. std::swap(_has_bits_[0], other->_has_bits_[0]);
  9316. _unknown_fields_.Swap(&other->_unknown_fields_);
  9317. std::swap(_cached_size_, other->_cached_size_);
  9318. }
  9319. }
  9320. ::google::protobuf::Metadata packetc2w_create_airdrop::GetMetadata() const {
  9321. protobuf_AssignDescriptorsOnce();
  9322. ::google::protobuf::Metadata metadata;
  9323. metadata.descriptor = packetc2w_create_airdrop_descriptor_;
  9324. metadata.reflection = packetc2w_create_airdrop_reflection_;
  9325. return metadata;
  9326. }
  9327. // ===================================================================
  9328. #ifndef _MSC_VER
  9329. const int packetw2c_create_airdrop_result::kPacketIdFieldNumber;
  9330. const int packetw2c_create_airdrop_result::kResultFieldNumber;
  9331. const int packetw2c_create_airdrop_result::kItemidFieldNumber;
  9332. const int packetw2c_create_airdrop_result::kItemcountFieldNumber;
  9333. const int packetw2c_create_airdrop_result::kPwdFieldNumber;
  9334. const int packetw2c_create_airdrop_result::kUuidFieldNumber;
  9335. #endif // !_MSC_VER
  9336. packetw2c_create_airdrop_result::packetw2c_create_airdrop_result()
  9337. : ::google::protobuf::Message() {
  9338. SharedCtor();
  9339. }
  9340. void packetw2c_create_airdrop_result::InitAsDefaultInstance() {
  9341. }
  9342. packetw2c_create_airdrop_result::packetw2c_create_airdrop_result(const packetw2c_create_airdrop_result& from)
  9343. : ::google::protobuf::Message() {
  9344. SharedCtor();
  9345. MergeFrom(from);
  9346. }
  9347. void packetw2c_create_airdrop_result::SharedCtor() {
  9348. _cached_size_ = 0;
  9349. packet_id_ = 7660;
  9350. result_ = 0;
  9351. itemid_ = 0;
  9352. itemcount_ = 0;
  9353. pwd_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  9354. uuid_ = 0;
  9355. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9356. }
  9357. packetw2c_create_airdrop_result::~packetw2c_create_airdrop_result() {
  9358. SharedDtor();
  9359. }
  9360. void packetw2c_create_airdrop_result::SharedDtor() {
  9361. if (pwd_ != &::google::protobuf::internal::kEmptyString) {
  9362. delete pwd_;
  9363. }
  9364. if (this != default_instance_) {
  9365. }
  9366. }
  9367. void packetw2c_create_airdrop_result::SetCachedSize(int size) const {
  9368. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9369. _cached_size_ = size;
  9370. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9371. }
  9372. const ::google::protobuf::Descriptor* packetw2c_create_airdrop_result::descriptor() {
  9373. protobuf_AssignDescriptorsOnce();
  9374. return packetw2c_create_airdrop_result_descriptor_;
  9375. }
  9376. const packetw2c_create_airdrop_result& packetw2c_create_airdrop_result::default_instance() {
  9377. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  9378. return *default_instance_;
  9379. }
  9380. packetw2c_create_airdrop_result* packetw2c_create_airdrop_result::default_instance_ = NULL;
  9381. packetw2c_create_airdrop_result* packetw2c_create_airdrop_result::New() const {
  9382. return new packetw2c_create_airdrop_result;
  9383. }
  9384. void packetw2c_create_airdrop_result::Clear() {
  9385. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9386. packet_id_ = 7660;
  9387. result_ = 0;
  9388. itemid_ = 0;
  9389. itemcount_ = 0;
  9390. if (has_pwd()) {
  9391. if (pwd_ != &::google::protobuf::internal::kEmptyString) {
  9392. pwd_->clear();
  9393. }
  9394. }
  9395. uuid_ = 0;
  9396. }
  9397. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9398. mutable_unknown_fields()->Clear();
  9399. }
  9400. bool packetw2c_create_airdrop_result::MergePartialFromCodedStream(
  9401. ::google::protobuf::io::CodedInputStream* input) {
  9402. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  9403. ::google::protobuf::uint32 tag;
  9404. while ((tag = input->ReadTag()) != 0) {
  9405. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  9406. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_create_airdrop_result];
  9407. case 1: {
  9408. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9409. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9410. int value;
  9411. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9412. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  9413. input, &value)));
  9414. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  9415. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  9416. } else {
  9417. mutable_unknown_fields()->AddVarint(1, value);
  9418. }
  9419. } else {
  9420. goto handle_uninterpreted;
  9421. }
  9422. if (input->ExpectTag(16)) goto parse_result;
  9423. break;
  9424. }
  9425. // optional int32 result = 2;
  9426. case 2: {
  9427. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9428. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9429. parse_result:
  9430. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9431. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  9432. input, &result_)));
  9433. set_has_result();
  9434. } else {
  9435. goto handle_uninterpreted;
  9436. }
  9437. if (input->ExpectTag(24)) goto parse_itemid;
  9438. break;
  9439. }
  9440. // optional int32 itemid = 3;
  9441. case 3: {
  9442. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9443. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9444. parse_itemid:
  9445. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9446. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  9447. input, &itemid_)));
  9448. set_has_itemid();
  9449. } else {
  9450. goto handle_uninterpreted;
  9451. }
  9452. if (input->ExpectTag(32)) goto parse_itemcount;
  9453. break;
  9454. }
  9455. // optional int32 itemcount = 4;
  9456. case 4: {
  9457. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9458. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9459. parse_itemcount:
  9460. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9461. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  9462. input, &itemcount_)));
  9463. set_has_itemcount();
  9464. } else {
  9465. goto handle_uninterpreted;
  9466. }
  9467. if (input->ExpectTag(42)) goto parse_pwd;
  9468. break;
  9469. }
  9470. // optional string pwd = 5;
  9471. case 5: {
  9472. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9473. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  9474. parse_pwd:
  9475. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  9476. input, this->mutable_pwd()));
  9477. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  9478. this->pwd().data(), this->pwd().length(),
  9479. ::google::protobuf::internal::WireFormat::PARSE);
  9480. } else {
  9481. goto handle_uninterpreted;
  9482. }
  9483. if (input->ExpectTag(48)) goto parse_uuid;
  9484. break;
  9485. }
  9486. // optional int32 uuid = 6;
  9487. case 6: {
  9488. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9489. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9490. parse_uuid:
  9491. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9492. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  9493. input, &uuid_)));
  9494. set_has_uuid();
  9495. } else {
  9496. goto handle_uninterpreted;
  9497. }
  9498. if (input->ExpectAtEnd()) return true;
  9499. break;
  9500. }
  9501. default: {
  9502. handle_uninterpreted:
  9503. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9504. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  9505. return true;
  9506. }
  9507. DO_(::google::protobuf::internal::WireFormat::SkipField(
  9508. input, tag, mutable_unknown_fields()));
  9509. break;
  9510. }
  9511. }
  9512. }
  9513. return true;
  9514. #undef DO_
  9515. }
  9516. void packetw2c_create_airdrop_result::SerializeWithCachedSizes(
  9517. ::google::protobuf::io::CodedOutputStream* output) const {
  9518. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_create_airdrop_result];
  9519. if (has_packet_id()) {
  9520. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  9521. 1, this->packet_id(), output);
  9522. }
  9523. // optional int32 result = 2;
  9524. if (has_result()) {
  9525. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  9526. }
  9527. // optional int32 itemid = 3;
  9528. if (has_itemid()) {
  9529. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->itemid(), output);
  9530. }
  9531. // optional int32 itemcount = 4;
  9532. if (has_itemcount()) {
  9533. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->itemcount(), output);
  9534. }
  9535. // optional string pwd = 5;
  9536. if (has_pwd()) {
  9537. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  9538. this->pwd().data(), this->pwd().length(),
  9539. ::google::protobuf::internal::WireFormat::SERIALIZE);
  9540. ::google::protobuf::internal::WireFormatLite::WriteString(
  9541. 5, this->pwd(), output);
  9542. }
  9543. // optional int32 uuid = 6;
  9544. if (has_uuid()) {
  9545. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->uuid(), output);
  9546. }
  9547. if (!unknown_fields().empty()) {
  9548. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  9549. unknown_fields(), output);
  9550. }
  9551. }
  9552. ::google::protobuf::uint8* packetw2c_create_airdrop_result::SerializeWithCachedSizesToArray(
  9553. ::google::protobuf::uint8* target) const {
  9554. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_create_airdrop_result];
  9555. if (has_packet_id()) {
  9556. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  9557. 1, this->packet_id(), target);
  9558. }
  9559. // optional int32 result = 2;
  9560. if (has_result()) {
  9561. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  9562. }
  9563. // optional int32 itemid = 3;
  9564. if (has_itemid()) {
  9565. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->itemid(), target);
  9566. }
  9567. // optional int32 itemcount = 4;
  9568. if (has_itemcount()) {
  9569. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->itemcount(), target);
  9570. }
  9571. // optional string pwd = 5;
  9572. if (has_pwd()) {
  9573. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  9574. this->pwd().data(), this->pwd().length(),
  9575. ::google::protobuf::internal::WireFormat::SERIALIZE);
  9576. target =
  9577. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  9578. 5, this->pwd(), target);
  9579. }
  9580. // optional int32 uuid = 6;
  9581. if (has_uuid()) {
  9582. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->uuid(), target);
  9583. }
  9584. if (!unknown_fields().empty()) {
  9585. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  9586. unknown_fields(), target);
  9587. }
  9588. return target;
  9589. }
  9590. int packetw2c_create_airdrop_result::ByteSize() const {
  9591. int total_size = 0;
  9592. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9593. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_create_airdrop_result];
  9594. if (has_packet_id()) {
  9595. total_size += 1 +
  9596. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  9597. }
  9598. // optional int32 result = 2;
  9599. if (has_result()) {
  9600. total_size += 1 +
  9601. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9602. this->result());
  9603. }
  9604. // optional int32 itemid = 3;
  9605. if (has_itemid()) {
  9606. total_size += 1 +
  9607. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9608. this->itemid());
  9609. }
  9610. // optional int32 itemcount = 4;
  9611. if (has_itemcount()) {
  9612. total_size += 1 +
  9613. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9614. this->itemcount());
  9615. }
  9616. // optional string pwd = 5;
  9617. if (has_pwd()) {
  9618. total_size += 1 +
  9619. ::google::protobuf::internal::WireFormatLite::StringSize(
  9620. this->pwd());
  9621. }
  9622. // optional int32 uuid = 6;
  9623. if (has_uuid()) {
  9624. total_size += 1 +
  9625. ::google::protobuf::internal::WireFormatLite::Int32Size(
  9626. this->uuid());
  9627. }
  9628. }
  9629. if (!unknown_fields().empty()) {
  9630. total_size +=
  9631. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  9632. unknown_fields());
  9633. }
  9634. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9635. _cached_size_ = total_size;
  9636. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9637. return total_size;
  9638. }
  9639. void packetw2c_create_airdrop_result::MergeFrom(const ::google::protobuf::Message& from) {
  9640. GOOGLE_CHECK_NE(&from, this);
  9641. const packetw2c_create_airdrop_result* source =
  9642. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_create_airdrop_result*>(
  9643. &from);
  9644. if (source == NULL) {
  9645. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  9646. } else {
  9647. MergeFrom(*source);
  9648. }
  9649. }
  9650. void packetw2c_create_airdrop_result::MergeFrom(const packetw2c_create_airdrop_result& from) {
  9651. GOOGLE_CHECK_NE(&from, this);
  9652. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9653. if (from.has_packet_id()) {
  9654. set_packet_id(from.packet_id());
  9655. }
  9656. if (from.has_result()) {
  9657. set_result(from.result());
  9658. }
  9659. if (from.has_itemid()) {
  9660. set_itemid(from.itemid());
  9661. }
  9662. if (from.has_itemcount()) {
  9663. set_itemcount(from.itemcount());
  9664. }
  9665. if (from.has_pwd()) {
  9666. set_pwd(from.pwd());
  9667. }
  9668. if (from.has_uuid()) {
  9669. set_uuid(from.uuid());
  9670. }
  9671. }
  9672. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  9673. }
  9674. void packetw2c_create_airdrop_result::CopyFrom(const ::google::protobuf::Message& from) {
  9675. if (&from == this) return;
  9676. Clear();
  9677. MergeFrom(from);
  9678. }
  9679. void packetw2c_create_airdrop_result::CopyFrom(const packetw2c_create_airdrop_result& from) {
  9680. if (&from == this) return;
  9681. Clear();
  9682. MergeFrom(from);
  9683. }
  9684. bool packetw2c_create_airdrop_result::IsInitialized() const {
  9685. return true;
  9686. }
  9687. void packetw2c_create_airdrop_result::Swap(packetw2c_create_airdrop_result* other) {
  9688. if (other != this) {
  9689. std::swap(packet_id_, other->packet_id_);
  9690. std::swap(result_, other->result_);
  9691. std::swap(itemid_, other->itemid_);
  9692. std::swap(itemcount_, other->itemcount_);
  9693. std::swap(pwd_, other->pwd_);
  9694. std::swap(uuid_, other->uuid_);
  9695. std::swap(_has_bits_[0], other->_has_bits_[0]);
  9696. _unknown_fields_.Swap(&other->_unknown_fields_);
  9697. std::swap(_cached_size_, other->_cached_size_);
  9698. }
  9699. }
  9700. ::google::protobuf::Metadata packetw2c_create_airdrop_result::GetMetadata() const {
  9701. protobuf_AssignDescriptorsOnce();
  9702. ::google::protobuf::Metadata metadata;
  9703. metadata.descriptor = packetw2c_create_airdrop_result_descriptor_;
  9704. metadata.reflection = packetw2c_create_airdrop_result_reflection_;
  9705. return metadata;
  9706. }
  9707. // ===================================================================
  9708. #ifndef _MSC_VER
  9709. const int packetc2w_get_airdrop_list::kPacketIdFieldNumber;
  9710. const int packetc2w_get_airdrop_list::kBplayerairdropFieldNumber;
  9711. #endif // !_MSC_VER
  9712. packetc2w_get_airdrop_list::packetc2w_get_airdrop_list()
  9713. : ::google::protobuf::Message() {
  9714. SharedCtor();
  9715. }
  9716. void packetc2w_get_airdrop_list::InitAsDefaultInstance() {
  9717. }
  9718. packetc2w_get_airdrop_list::packetc2w_get_airdrop_list(const packetc2w_get_airdrop_list& from)
  9719. : ::google::protobuf::Message() {
  9720. SharedCtor();
  9721. MergeFrom(from);
  9722. }
  9723. void packetc2w_get_airdrop_list::SharedCtor() {
  9724. _cached_size_ = 0;
  9725. packet_id_ = 5149;
  9726. bplayerairdrop_ = false;
  9727. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9728. }
  9729. packetc2w_get_airdrop_list::~packetc2w_get_airdrop_list() {
  9730. SharedDtor();
  9731. }
  9732. void packetc2w_get_airdrop_list::SharedDtor() {
  9733. if (this != default_instance_) {
  9734. }
  9735. }
  9736. void packetc2w_get_airdrop_list::SetCachedSize(int size) const {
  9737. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9738. _cached_size_ = size;
  9739. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9740. }
  9741. const ::google::protobuf::Descriptor* packetc2w_get_airdrop_list::descriptor() {
  9742. protobuf_AssignDescriptorsOnce();
  9743. return packetc2w_get_airdrop_list_descriptor_;
  9744. }
  9745. const packetc2w_get_airdrop_list& packetc2w_get_airdrop_list::default_instance() {
  9746. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  9747. return *default_instance_;
  9748. }
  9749. packetc2w_get_airdrop_list* packetc2w_get_airdrop_list::default_instance_ = NULL;
  9750. packetc2w_get_airdrop_list* packetc2w_get_airdrop_list::New() const {
  9751. return new packetc2w_get_airdrop_list;
  9752. }
  9753. void packetc2w_get_airdrop_list::Clear() {
  9754. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9755. packet_id_ = 5149;
  9756. bplayerairdrop_ = false;
  9757. }
  9758. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9759. mutable_unknown_fields()->Clear();
  9760. }
  9761. bool packetc2w_get_airdrop_list::MergePartialFromCodedStream(
  9762. ::google::protobuf::io::CodedInputStream* input) {
  9763. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  9764. ::google::protobuf::uint32 tag;
  9765. while ((tag = input->ReadTag()) != 0) {
  9766. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  9767. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_airdrop_list];
  9768. case 1: {
  9769. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9770. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9771. int value;
  9772. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9773. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  9774. input, &value)));
  9775. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  9776. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  9777. } else {
  9778. mutable_unknown_fields()->AddVarint(1, value);
  9779. }
  9780. } else {
  9781. goto handle_uninterpreted;
  9782. }
  9783. if (input->ExpectTag(16)) goto parse_bplayerairdrop;
  9784. break;
  9785. }
  9786. // optional bool bplayerairdrop = 2;
  9787. case 2: {
  9788. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9789. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9790. parse_bplayerairdrop:
  9791. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9792. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  9793. input, &bplayerairdrop_)));
  9794. set_has_bplayerairdrop();
  9795. } else {
  9796. goto handle_uninterpreted;
  9797. }
  9798. if (input->ExpectAtEnd()) return true;
  9799. break;
  9800. }
  9801. default: {
  9802. handle_uninterpreted:
  9803. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9804. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  9805. return true;
  9806. }
  9807. DO_(::google::protobuf::internal::WireFormat::SkipField(
  9808. input, tag, mutable_unknown_fields()));
  9809. break;
  9810. }
  9811. }
  9812. }
  9813. return true;
  9814. #undef DO_
  9815. }
  9816. void packetc2w_get_airdrop_list::SerializeWithCachedSizes(
  9817. ::google::protobuf::io::CodedOutputStream* output) const {
  9818. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_airdrop_list];
  9819. if (has_packet_id()) {
  9820. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  9821. 1, this->packet_id(), output);
  9822. }
  9823. // optional bool bplayerairdrop = 2;
  9824. if (has_bplayerairdrop()) {
  9825. ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->bplayerairdrop(), output);
  9826. }
  9827. if (!unknown_fields().empty()) {
  9828. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  9829. unknown_fields(), output);
  9830. }
  9831. }
  9832. ::google::protobuf::uint8* packetc2w_get_airdrop_list::SerializeWithCachedSizesToArray(
  9833. ::google::protobuf::uint8* target) const {
  9834. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_airdrop_list];
  9835. if (has_packet_id()) {
  9836. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  9837. 1, this->packet_id(), target);
  9838. }
  9839. // optional bool bplayerairdrop = 2;
  9840. if (has_bplayerairdrop()) {
  9841. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->bplayerairdrop(), target);
  9842. }
  9843. if (!unknown_fields().empty()) {
  9844. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  9845. unknown_fields(), target);
  9846. }
  9847. return target;
  9848. }
  9849. int packetc2w_get_airdrop_list::ByteSize() const {
  9850. int total_size = 0;
  9851. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9852. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_airdrop_list];
  9853. if (has_packet_id()) {
  9854. total_size += 1 +
  9855. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  9856. }
  9857. // optional bool bplayerairdrop = 2;
  9858. if (has_bplayerairdrop()) {
  9859. total_size += 1 + 1;
  9860. }
  9861. }
  9862. if (!unknown_fields().empty()) {
  9863. total_size +=
  9864. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  9865. unknown_fields());
  9866. }
  9867. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9868. _cached_size_ = total_size;
  9869. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9870. return total_size;
  9871. }
  9872. void packetc2w_get_airdrop_list::MergeFrom(const ::google::protobuf::Message& from) {
  9873. GOOGLE_CHECK_NE(&from, this);
  9874. const packetc2w_get_airdrop_list* source =
  9875. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_airdrop_list*>(
  9876. &from);
  9877. if (source == NULL) {
  9878. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  9879. } else {
  9880. MergeFrom(*source);
  9881. }
  9882. }
  9883. void packetc2w_get_airdrop_list::MergeFrom(const packetc2w_get_airdrop_list& from) {
  9884. GOOGLE_CHECK_NE(&from, this);
  9885. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9886. if (from.has_packet_id()) {
  9887. set_packet_id(from.packet_id());
  9888. }
  9889. if (from.has_bplayerairdrop()) {
  9890. set_bplayerairdrop(from.bplayerairdrop());
  9891. }
  9892. }
  9893. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  9894. }
  9895. void packetc2w_get_airdrop_list::CopyFrom(const ::google::protobuf::Message& from) {
  9896. if (&from == this) return;
  9897. Clear();
  9898. MergeFrom(from);
  9899. }
  9900. void packetc2w_get_airdrop_list::CopyFrom(const packetc2w_get_airdrop_list& from) {
  9901. if (&from == this) return;
  9902. Clear();
  9903. MergeFrom(from);
  9904. }
  9905. bool packetc2w_get_airdrop_list::IsInitialized() const {
  9906. return true;
  9907. }
  9908. void packetc2w_get_airdrop_list::Swap(packetc2w_get_airdrop_list* other) {
  9909. if (other != this) {
  9910. std::swap(packet_id_, other->packet_id_);
  9911. std::swap(bplayerairdrop_, other->bplayerairdrop_);
  9912. std::swap(_has_bits_[0], other->_has_bits_[0]);
  9913. _unknown_fields_.Swap(&other->_unknown_fields_);
  9914. std::swap(_cached_size_, other->_cached_size_);
  9915. }
  9916. }
  9917. ::google::protobuf::Metadata packetc2w_get_airdrop_list::GetMetadata() const {
  9918. protobuf_AssignDescriptorsOnce();
  9919. ::google::protobuf::Metadata metadata;
  9920. metadata.descriptor = packetc2w_get_airdrop_list_descriptor_;
  9921. metadata.reflection = packetc2w_get_airdrop_list_reflection_;
  9922. return metadata;
  9923. }
  9924. // ===================================================================
  9925. #ifndef _MSC_VER
  9926. const int packetw2c_get_airdrop_list_result::kPacketIdFieldNumber;
  9927. const int packetw2c_get_airdrop_list_result::kResultFieldNumber;
  9928. const int packetw2c_get_airdrop_list_result::kBplayerairdropFieldNumber;
  9929. const int packetw2c_get_airdrop_list_result::kItemsFieldNumber;
  9930. const int packetw2c_get_airdrop_list_result::kErrorcountFieldNumber;
  9931. #endif // !_MSC_VER
  9932. packetw2c_get_airdrop_list_result::packetw2c_get_airdrop_list_result()
  9933. : ::google::protobuf::Message() {
  9934. SharedCtor();
  9935. }
  9936. void packetw2c_get_airdrop_list_result::InitAsDefaultInstance() {
  9937. }
  9938. packetw2c_get_airdrop_list_result::packetw2c_get_airdrop_list_result(const packetw2c_get_airdrop_list_result& from)
  9939. : ::google::protobuf::Message() {
  9940. SharedCtor();
  9941. MergeFrom(from);
  9942. }
  9943. void packetw2c_get_airdrop_list_result::SharedCtor() {
  9944. _cached_size_ = 0;
  9945. packet_id_ = 7661;
  9946. result_ = 0;
  9947. bplayerairdrop_ = false;
  9948. errorcount_ = 0;
  9949. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9950. }
  9951. packetw2c_get_airdrop_list_result::~packetw2c_get_airdrop_list_result() {
  9952. SharedDtor();
  9953. }
  9954. void packetw2c_get_airdrop_list_result::SharedDtor() {
  9955. if (this != default_instance_) {
  9956. }
  9957. }
  9958. void packetw2c_get_airdrop_list_result::SetCachedSize(int size) const {
  9959. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  9960. _cached_size_ = size;
  9961. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  9962. }
  9963. const ::google::protobuf::Descriptor* packetw2c_get_airdrop_list_result::descriptor() {
  9964. protobuf_AssignDescriptorsOnce();
  9965. return packetw2c_get_airdrop_list_result_descriptor_;
  9966. }
  9967. const packetw2c_get_airdrop_list_result& packetw2c_get_airdrop_list_result::default_instance() {
  9968. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  9969. return *default_instance_;
  9970. }
  9971. packetw2c_get_airdrop_list_result* packetw2c_get_airdrop_list_result::default_instance_ = NULL;
  9972. packetw2c_get_airdrop_list_result* packetw2c_get_airdrop_list_result::New() const {
  9973. return new packetw2c_get_airdrop_list_result;
  9974. }
  9975. void packetw2c_get_airdrop_list_result::Clear() {
  9976. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  9977. packet_id_ = 7661;
  9978. result_ = 0;
  9979. bplayerairdrop_ = false;
  9980. errorcount_ = 0;
  9981. }
  9982. items_.Clear();
  9983. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  9984. mutable_unknown_fields()->Clear();
  9985. }
  9986. bool packetw2c_get_airdrop_list_result::MergePartialFromCodedStream(
  9987. ::google::protobuf::io::CodedInputStream* input) {
  9988. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  9989. ::google::protobuf::uint32 tag;
  9990. while ((tag = input->ReadTag()) != 0) {
  9991. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  9992. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_airdrop_list_result];
  9993. case 1: {
  9994. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  9995. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  9996. int value;
  9997. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  9998. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  9999. input, &value)));
  10000. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  10001. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  10002. } else {
  10003. mutable_unknown_fields()->AddVarint(1, value);
  10004. }
  10005. } else {
  10006. goto handle_uninterpreted;
  10007. }
  10008. if (input->ExpectTag(16)) goto parse_result;
  10009. break;
  10010. }
  10011. // optional int32 result = 2;
  10012. case 2: {
  10013. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10014. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10015. parse_result:
  10016. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10017. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10018. input, &result_)));
  10019. set_has_result();
  10020. } else {
  10021. goto handle_uninterpreted;
  10022. }
  10023. if (input->ExpectTag(24)) goto parse_bplayerairdrop;
  10024. break;
  10025. }
  10026. // optional bool bplayerairdrop = 3;
  10027. case 3: {
  10028. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10029. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10030. parse_bplayerairdrop:
  10031. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10032. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  10033. input, &bplayerairdrop_)));
  10034. set_has_bplayerairdrop();
  10035. } else {
  10036. goto handle_uninterpreted;
  10037. }
  10038. if (input->ExpectTag(34)) goto parse_items;
  10039. break;
  10040. }
  10041. // repeated .client2world_protocols.msg_airdropitem items = 4;
  10042. case 4: {
  10043. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10044. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  10045. parse_items:
  10046. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  10047. input, add_items()));
  10048. } else {
  10049. goto handle_uninterpreted;
  10050. }
  10051. if (input->ExpectTag(34)) goto parse_items;
  10052. if (input->ExpectTag(40)) goto parse_errorcount;
  10053. break;
  10054. }
  10055. // optional int32 errorcount = 5;
  10056. case 5: {
  10057. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10058. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10059. parse_errorcount:
  10060. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10061. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10062. input, &errorcount_)));
  10063. set_has_errorcount();
  10064. } else {
  10065. goto handle_uninterpreted;
  10066. }
  10067. if (input->ExpectAtEnd()) return true;
  10068. break;
  10069. }
  10070. default: {
  10071. handle_uninterpreted:
  10072. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10073. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  10074. return true;
  10075. }
  10076. DO_(::google::protobuf::internal::WireFormat::SkipField(
  10077. input, tag, mutable_unknown_fields()));
  10078. break;
  10079. }
  10080. }
  10081. }
  10082. return true;
  10083. #undef DO_
  10084. }
  10085. void packetw2c_get_airdrop_list_result::SerializeWithCachedSizes(
  10086. ::google::protobuf::io::CodedOutputStream* output) const {
  10087. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_airdrop_list_result];
  10088. if (has_packet_id()) {
  10089. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  10090. 1, this->packet_id(), output);
  10091. }
  10092. // optional int32 result = 2;
  10093. if (has_result()) {
  10094. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  10095. }
  10096. // optional bool bplayerairdrop = 3;
  10097. if (has_bplayerairdrop()) {
  10098. ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->bplayerairdrop(), output);
  10099. }
  10100. // repeated .client2world_protocols.msg_airdropitem items = 4;
  10101. for (int i = 0; i < this->items_size(); i++) {
  10102. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  10103. 4, this->items(i), output);
  10104. }
  10105. // optional int32 errorcount = 5;
  10106. if (has_errorcount()) {
  10107. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->errorcount(), output);
  10108. }
  10109. if (!unknown_fields().empty()) {
  10110. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  10111. unknown_fields(), output);
  10112. }
  10113. }
  10114. ::google::protobuf::uint8* packetw2c_get_airdrop_list_result::SerializeWithCachedSizesToArray(
  10115. ::google::protobuf::uint8* target) const {
  10116. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_airdrop_list_result];
  10117. if (has_packet_id()) {
  10118. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  10119. 1, this->packet_id(), target);
  10120. }
  10121. // optional int32 result = 2;
  10122. if (has_result()) {
  10123. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  10124. }
  10125. // optional bool bplayerairdrop = 3;
  10126. if (has_bplayerairdrop()) {
  10127. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->bplayerairdrop(), target);
  10128. }
  10129. // repeated .client2world_protocols.msg_airdropitem items = 4;
  10130. for (int i = 0; i < this->items_size(); i++) {
  10131. target = ::google::protobuf::internal::WireFormatLite::
  10132. WriteMessageNoVirtualToArray(
  10133. 4, this->items(i), target);
  10134. }
  10135. // optional int32 errorcount = 5;
  10136. if (has_errorcount()) {
  10137. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->errorcount(), target);
  10138. }
  10139. if (!unknown_fields().empty()) {
  10140. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  10141. unknown_fields(), target);
  10142. }
  10143. return target;
  10144. }
  10145. int packetw2c_get_airdrop_list_result::ByteSize() const {
  10146. int total_size = 0;
  10147. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10148. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_airdrop_list_result];
  10149. if (has_packet_id()) {
  10150. total_size += 1 +
  10151. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  10152. }
  10153. // optional int32 result = 2;
  10154. if (has_result()) {
  10155. total_size += 1 +
  10156. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10157. this->result());
  10158. }
  10159. // optional bool bplayerairdrop = 3;
  10160. if (has_bplayerairdrop()) {
  10161. total_size += 1 + 1;
  10162. }
  10163. // optional int32 errorcount = 5;
  10164. if (has_errorcount()) {
  10165. total_size += 1 +
  10166. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10167. this->errorcount());
  10168. }
  10169. }
  10170. // repeated .client2world_protocols.msg_airdropitem items = 4;
  10171. total_size += 1 * this->items_size();
  10172. for (int i = 0; i < this->items_size(); i++) {
  10173. total_size +=
  10174. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  10175. this->items(i));
  10176. }
  10177. if (!unknown_fields().empty()) {
  10178. total_size +=
  10179. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  10180. unknown_fields());
  10181. }
  10182. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10183. _cached_size_ = total_size;
  10184. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10185. return total_size;
  10186. }
  10187. void packetw2c_get_airdrop_list_result::MergeFrom(const ::google::protobuf::Message& from) {
  10188. GOOGLE_CHECK_NE(&from, this);
  10189. const packetw2c_get_airdrop_list_result* source =
  10190. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_airdrop_list_result*>(
  10191. &from);
  10192. if (source == NULL) {
  10193. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  10194. } else {
  10195. MergeFrom(*source);
  10196. }
  10197. }
  10198. void packetw2c_get_airdrop_list_result::MergeFrom(const packetw2c_get_airdrop_list_result& from) {
  10199. GOOGLE_CHECK_NE(&from, this);
  10200. items_.MergeFrom(from.items_);
  10201. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10202. if (from.has_packet_id()) {
  10203. set_packet_id(from.packet_id());
  10204. }
  10205. if (from.has_result()) {
  10206. set_result(from.result());
  10207. }
  10208. if (from.has_bplayerairdrop()) {
  10209. set_bplayerairdrop(from.bplayerairdrop());
  10210. }
  10211. if (from.has_errorcount()) {
  10212. set_errorcount(from.errorcount());
  10213. }
  10214. }
  10215. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  10216. }
  10217. void packetw2c_get_airdrop_list_result::CopyFrom(const ::google::protobuf::Message& from) {
  10218. if (&from == this) return;
  10219. Clear();
  10220. MergeFrom(from);
  10221. }
  10222. void packetw2c_get_airdrop_list_result::CopyFrom(const packetw2c_get_airdrop_list_result& from) {
  10223. if (&from == this) return;
  10224. Clear();
  10225. MergeFrom(from);
  10226. }
  10227. bool packetw2c_get_airdrop_list_result::IsInitialized() const {
  10228. return true;
  10229. }
  10230. void packetw2c_get_airdrop_list_result::Swap(packetw2c_get_airdrop_list_result* other) {
  10231. if (other != this) {
  10232. std::swap(packet_id_, other->packet_id_);
  10233. std::swap(result_, other->result_);
  10234. std::swap(bplayerairdrop_, other->bplayerairdrop_);
  10235. items_.Swap(&other->items_);
  10236. std::swap(errorcount_, other->errorcount_);
  10237. std::swap(_has_bits_[0], other->_has_bits_[0]);
  10238. _unknown_fields_.Swap(&other->_unknown_fields_);
  10239. std::swap(_cached_size_, other->_cached_size_);
  10240. }
  10241. }
  10242. ::google::protobuf::Metadata packetw2c_get_airdrop_list_result::GetMetadata() const {
  10243. protobuf_AssignDescriptorsOnce();
  10244. ::google::protobuf::Metadata metadata;
  10245. metadata.descriptor = packetw2c_get_airdrop_list_result_descriptor_;
  10246. metadata.reflection = packetw2c_get_airdrop_list_result_reflection_;
  10247. return metadata;
  10248. }
  10249. // ===================================================================
  10250. #ifndef _MSC_VER
  10251. const int packetc2w_get_airdrop_info::kPacketIdFieldNumber;
  10252. const int packetc2w_get_airdrop_info::kUuidFieldNumber;
  10253. #endif // !_MSC_VER
  10254. packetc2w_get_airdrop_info::packetc2w_get_airdrop_info()
  10255. : ::google::protobuf::Message() {
  10256. SharedCtor();
  10257. }
  10258. void packetc2w_get_airdrop_info::InitAsDefaultInstance() {
  10259. }
  10260. packetc2w_get_airdrop_info::packetc2w_get_airdrop_info(const packetc2w_get_airdrop_info& from)
  10261. : ::google::protobuf::Message() {
  10262. SharedCtor();
  10263. MergeFrom(from);
  10264. }
  10265. void packetc2w_get_airdrop_info::SharedCtor() {
  10266. _cached_size_ = 0;
  10267. packet_id_ = 5150;
  10268. uuid_ = 0;
  10269. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10270. }
  10271. packetc2w_get_airdrop_info::~packetc2w_get_airdrop_info() {
  10272. SharedDtor();
  10273. }
  10274. void packetc2w_get_airdrop_info::SharedDtor() {
  10275. if (this != default_instance_) {
  10276. }
  10277. }
  10278. void packetc2w_get_airdrop_info::SetCachedSize(int size) const {
  10279. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10280. _cached_size_ = size;
  10281. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10282. }
  10283. const ::google::protobuf::Descriptor* packetc2w_get_airdrop_info::descriptor() {
  10284. protobuf_AssignDescriptorsOnce();
  10285. return packetc2w_get_airdrop_info_descriptor_;
  10286. }
  10287. const packetc2w_get_airdrop_info& packetc2w_get_airdrop_info::default_instance() {
  10288. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  10289. return *default_instance_;
  10290. }
  10291. packetc2w_get_airdrop_info* packetc2w_get_airdrop_info::default_instance_ = NULL;
  10292. packetc2w_get_airdrop_info* packetc2w_get_airdrop_info::New() const {
  10293. return new packetc2w_get_airdrop_info;
  10294. }
  10295. void packetc2w_get_airdrop_info::Clear() {
  10296. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10297. packet_id_ = 5150;
  10298. uuid_ = 0;
  10299. }
  10300. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10301. mutable_unknown_fields()->Clear();
  10302. }
  10303. bool packetc2w_get_airdrop_info::MergePartialFromCodedStream(
  10304. ::google::protobuf::io::CodedInputStream* input) {
  10305. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  10306. ::google::protobuf::uint32 tag;
  10307. while ((tag = input->ReadTag()) != 0) {
  10308. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  10309. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_airdrop_info];
  10310. case 1: {
  10311. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10312. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10313. int value;
  10314. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10315. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  10316. input, &value)));
  10317. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  10318. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  10319. } else {
  10320. mutable_unknown_fields()->AddVarint(1, value);
  10321. }
  10322. } else {
  10323. goto handle_uninterpreted;
  10324. }
  10325. if (input->ExpectTag(16)) goto parse_uuid;
  10326. break;
  10327. }
  10328. // optional int32 uuid = 2;
  10329. case 2: {
  10330. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10331. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10332. parse_uuid:
  10333. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10334. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10335. input, &uuid_)));
  10336. set_has_uuid();
  10337. } else {
  10338. goto handle_uninterpreted;
  10339. }
  10340. if (input->ExpectAtEnd()) return true;
  10341. break;
  10342. }
  10343. default: {
  10344. handle_uninterpreted:
  10345. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10346. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  10347. return true;
  10348. }
  10349. DO_(::google::protobuf::internal::WireFormat::SkipField(
  10350. input, tag, mutable_unknown_fields()));
  10351. break;
  10352. }
  10353. }
  10354. }
  10355. return true;
  10356. #undef DO_
  10357. }
  10358. void packetc2w_get_airdrop_info::SerializeWithCachedSizes(
  10359. ::google::protobuf::io::CodedOutputStream* output) const {
  10360. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_airdrop_info];
  10361. if (has_packet_id()) {
  10362. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  10363. 1, this->packet_id(), output);
  10364. }
  10365. // optional int32 uuid = 2;
  10366. if (has_uuid()) {
  10367. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->uuid(), output);
  10368. }
  10369. if (!unknown_fields().empty()) {
  10370. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  10371. unknown_fields(), output);
  10372. }
  10373. }
  10374. ::google::protobuf::uint8* packetc2w_get_airdrop_info::SerializeWithCachedSizesToArray(
  10375. ::google::protobuf::uint8* target) const {
  10376. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_airdrop_info];
  10377. if (has_packet_id()) {
  10378. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  10379. 1, this->packet_id(), target);
  10380. }
  10381. // optional int32 uuid = 2;
  10382. if (has_uuid()) {
  10383. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->uuid(), target);
  10384. }
  10385. if (!unknown_fields().empty()) {
  10386. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  10387. unknown_fields(), target);
  10388. }
  10389. return target;
  10390. }
  10391. int packetc2w_get_airdrop_info::ByteSize() const {
  10392. int total_size = 0;
  10393. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10394. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_airdrop_info];
  10395. if (has_packet_id()) {
  10396. total_size += 1 +
  10397. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  10398. }
  10399. // optional int32 uuid = 2;
  10400. if (has_uuid()) {
  10401. total_size += 1 +
  10402. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10403. this->uuid());
  10404. }
  10405. }
  10406. if (!unknown_fields().empty()) {
  10407. total_size +=
  10408. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  10409. unknown_fields());
  10410. }
  10411. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10412. _cached_size_ = total_size;
  10413. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10414. return total_size;
  10415. }
  10416. void packetc2w_get_airdrop_info::MergeFrom(const ::google::protobuf::Message& from) {
  10417. GOOGLE_CHECK_NE(&from, this);
  10418. const packetc2w_get_airdrop_info* source =
  10419. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_airdrop_info*>(
  10420. &from);
  10421. if (source == NULL) {
  10422. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  10423. } else {
  10424. MergeFrom(*source);
  10425. }
  10426. }
  10427. void packetc2w_get_airdrop_info::MergeFrom(const packetc2w_get_airdrop_info& from) {
  10428. GOOGLE_CHECK_NE(&from, this);
  10429. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10430. if (from.has_packet_id()) {
  10431. set_packet_id(from.packet_id());
  10432. }
  10433. if (from.has_uuid()) {
  10434. set_uuid(from.uuid());
  10435. }
  10436. }
  10437. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  10438. }
  10439. void packetc2w_get_airdrop_info::CopyFrom(const ::google::protobuf::Message& from) {
  10440. if (&from == this) return;
  10441. Clear();
  10442. MergeFrom(from);
  10443. }
  10444. void packetc2w_get_airdrop_info::CopyFrom(const packetc2w_get_airdrop_info& from) {
  10445. if (&from == this) return;
  10446. Clear();
  10447. MergeFrom(from);
  10448. }
  10449. bool packetc2w_get_airdrop_info::IsInitialized() const {
  10450. return true;
  10451. }
  10452. void packetc2w_get_airdrop_info::Swap(packetc2w_get_airdrop_info* other) {
  10453. if (other != this) {
  10454. std::swap(packet_id_, other->packet_id_);
  10455. std::swap(uuid_, other->uuid_);
  10456. std::swap(_has_bits_[0], other->_has_bits_[0]);
  10457. _unknown_fields_.Swap(&other->_unknown_fields_);
  10458. std::swap(_cached_size_, other->_cached_size_);
  10459. }
  10460. }
  10461. ::google::protobuf::Metadata packetc2w_get_airdrop_info::GetMetadata() const {
  10462. protobuf_AssignDescriptorsOnce();
  10463. ::google::protobuf::Metadata metadata;
  10464. metadata.descriptor = packetc2w_get_airdrop_info_descriptor_;
  10465. metadata.reflection = packetc2w_get_airdrop_info_reflection_;
  10466. return metadata;
  10467. }
  10468. // ===================================================================
  10469. #ifndef _MSC_VER
  10470. const int packetw2c_get_airdrop_info_result::kPacketIdFieldNumber;
  10471. const int packetw2c_get_airdrop_info_result::kResultFieldNumber;
  10472. const int packetw2c_get_airdrop_info_result::kItemFieldNumber;
  10473. #endif // !_MSC_VER
  10474. packetw2c_get_airdrop_info_result::packetw2c_get_airdrop_info_result()
  10475. : ::google::protobuf::Message() {
  10476. SharedCtor();
  10477. }
  10478. void packetw2c_get_airdrop_info_result::InitAsDefaultInstance() {
  10479. item_ = const_cast< ::client2world_protocols::msg_airdropitem*>(&::client2world_protocols::msg_airdropitem::default_instance());
  10480. }
  10481. packetw2c_get_airdrop_info_result::packetw2c_get_airdrop_info_result(const packetw2c_get_airdrop_info_result& from)
  10482. : ::google::protobuf::Message() {
  10483. SharedCtor();
  10484. MergeFrom(from);
  10485. }
  10486. void packetw2c_get_airdrop_info_result::SharedCtor() {
  10487. _cached_size_ = 0;
  10488. packet_id_ = 7662;
  10489. result_ = 0;
  10490. item_ = NULL;
  10491. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10492. }
  10493. packetw2c_get_airdrop_info_result::~packetw2c_get_airdrop_info_result() {
  10494. SharedDtor();
  10495. }
  10496. void packetw2c_get_airdrop_info_result::SharedDtor() {
  10497. if (this != default_instance_) {
  10498. delete item_;
  10499. }
  10500. }
  10501. void packetw2c_get_airdrop_info_result::SetCachedSize(int size) const {
  10502. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10503. _cached_size_ = size;
  10504. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10505. }
  10506. const ::google::protobuf::Descriptor* packetw2c_get_airdrop_info_result::descriptor() {
  10507. protobuf_AssignDescriptorsOnce();
  10508. return packetw2c_get_airdrop_info_result_descriptor_;
  10509. }
  10510. const packetw2c_get_airdrop_info_result& packetw2c_get_airdrop_info_result::default_instance() {
  10511. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  10512. return *default_instance_;
  10513. }
  10514. packetw2c_get_airdrop_info_result* packetw2c_get_airdrop_info_result::default_instance_ = NULL;
  10515. packetw2c_get_airdrop_info_result* packetw2c_get_airdrop_info_result::New() const {
  10516. return new packetw2c_get_airdrop_info_result;
  10517. }
  10518. void packetw2c_get_airdrop_info_result::Clear() {
  10519. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10520. packet_id_ = 7662;
  10521. result_ = 0;
  10522. if (has_item()) {
  10523. if (item_ != NULL) item_->::client2world_protocols::msg_airdropitem::Clear();
  10524. }
  10525. }
  10526. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10527. mutable_unknown_fields()->Clear();
  10528. }
  10529. bool packetw2c_get_airdrop_info_result::MergePartialFromCodedStream(
  10530. ::google::protobuf::io::CodedInputStream* input) {
  10531. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  10532. ::google::protobuf::uint32 tag;
  10533. while ((tag = input->ReadTag()) != 0) {
  10534. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  10535. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_airdrop_info_result];
  10536. case 1: {
  10537. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10538. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10539. int value;
  10540. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10541. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  10542. input, &value)));
  10543. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  10544. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  10545. } else {
  10546. mutable_unknown_fields()->AddVarint(1, value);
  10547. }
  10548. } else {
  10549. goto handle_uninterpreted;
  10550. }
  10551. if (input->ExpectTag(16)) goto parse_result;
  10552. break;
  10553. }
  10554. // optional int32 result = 2;
  10555. case 2: {
  10556. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10557. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10558. parse_result:
  10559. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10560. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10561. input, &result_)));
  10562. set_has_result();
  10563. } else {
  10564. goto handle_uninterpreted;
  10565. }
  10566. if (input->ExpectTag(26)) goto parse_item;
  10567. break;
  10568. }
  10569. // optional .client2world_protocols.msg_airdropitem item = 3;
  10570. case 3: {
  10571. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10572. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  10573. parse_item:
  10574. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  10575. input, mutable_item()));
  10576. } else {
  10577. goto handle_uninterpreted;
  10578. }
  10579. if (input->ExpectAtEnd()) return true;
  10580. break;
  10581. }
  10582. default: {
  10583. handle_uninterpreted:
  10584. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10585. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  10586. return true;
  10587. }
  10588. DO_(::google::protobuf::internal::WireFormat::SkipField(
  10589. input, tag, mutable_unknown_fields()));
  10590. break;
  10591. }
  10592. }
  10593. }
  10594. return true;
  10595. #undef DO_
  10596. }
  10597. void packetw2c_get_airdrop_info_result::SerializeWithCachedSizes(
  10598. ::google::protobuf::io::CodedOutputStream* output) const {
  10599. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_airdrop_info_result];
  10600. if (has_packet_id()) {
  10601. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  10602. 1, this->packet_id(), output);
  10603. }
  10604. // optional int32 result = 2;
  10605. if (has_result()) {
  10606. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  10607. }
  10608. // optional .client2world_protocols.msg_airdropitem item = 3;
  10609. if (has_item()) {
  10610. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  10611. 3, this->item(), output);
  10612. }
  10613. if (!unknown_fields().empty()) {
  10614. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  10615. unknown_fields(), output);
  10616. }
  10617. }
  10618. ::google::protobuf::uint8* packetw2c_get_airdrop_info_result::SerializeWithCachedSizesToArray(
  10619. ::google::protobuf::uint8* target) const {
  10620. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_airdrop_info_result];
  10621. if (has_packet_id()) {
  10622. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  10623. 1, this->packet_id(), target);
  10624. }
  10625. // optional int32 result = 2;
  10626. if (has_result()) {
  10627. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  10628. }
  10629. // optional .client2world_protocols.msg_airdropitem item = 3;
  10630. if (has_item()) {
  10631. target = ::google::protobuf::internal::WireFormatLite::
  10632. WriteMessageNoVirtualToArray(
  10633. 3, this->item(), target);
  10634. }
  10635. if (!unknown_fields().empty()) {
  10636. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  10637. unknown_fields(), target);
  10638. }
  10639. return target;
  10640. }
  10641. int packetw2c_get_airdrop_info_result::ByteSize() const {
  10642. int total_size = 0;
  10643. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10644. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_airdrop_info_result];
  10645. if (has_packet_id()) {
  10646. total_size += 1 +
  10647. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  10648. }
  10649. // optional int32 result = 2;
  10650. if (has_result()) {
  10651. total_size += 1 +
  10652. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10653. this->result());
  10654. }
  10655. // optional .client2world_protocols.msg_airdropitem item = 3;
  10656. if (has_item()) {
  10657. total_size += 1 +
  10658. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  10659. this->item());
  10660. }
  10661. }
  10662. if (!unknown_fields().empty()) {
  10663. total_size +=
  10664. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  10665. unknown_fields());
  10666. }
  10667. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10668. _cached_size_ = total_size;
  10669. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10670. return total_size;
  10671. }
  10672. void packetw2c_get_airdrop_info_result::MergeFrom(const ::google::protobuf::Message& from) {
  10673. GOOGLE_CHECK_NE(&from, this);
  10674. const packetw2c_get_airdrop_info_result* source =
  10675. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_airdrop_info_result*>(
  10676. &from);
  10677. if (source == NULL) {
  10678. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  10679. } else {
  10680. MergeFrom(*source);
  10681. }
  10682. }
  10683. void packetw2c_get_airdrop_info_result::MergeFrom(const packetw2c_get_airdrop_info_result& from) {
  10684. GOOGLE_CHECK_NE(&from, this);
  10685. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10686. if (from.has_packet_id()) {
  10687. set_packet_id(from.packet_id());
  10688. }
  10689. if (from.has_result()) {
  10690. set_result(from.result());
  10691. }
  10692. if (from.has_item()) {
  10693. mutable_item()->::client2world_protocols::msg_airdropitem::MergeFrom(from.item());
  10694. }
  10695. }
  10696. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  10697. }
  10698. void packetw2c_get_airdrop_info_result::CopyFrom(const ::google::protobuf::Message& from) {
  10699. if (&from == this) return;
  10700. Clear();
  10701. MergeFrom(from);
  10702. }
  10703. void packetw2c_get_airdrop_info_result::CopyFrom(const packetw2c_get_airdrop_info_result& from) {
  10704. if (&from == this) return;
  10705. Clear();
  10706. MergeFrom(from);
  10707. }
  10708. bool packetw2c_get_airdrop_info_result::IsInitialized() const {
  10709. return true;
  10710. }
  10711. void packetw2c_get_airdrop_info_result::Swap(packetw2c_get_airdrop_info_result* other) {
  10712. if (other != this) {
  10713. std::swap(packet_id_, other->packet_id_);
  10714. std::swap(result_, other->result_);
  10715. std::swap(item_, other->item_);
  10716. std::swap(_has_bits_[0], other->_has_bits_[0]);
  10717. _unknown_fields_.Swap(&other->_unknown_fields_);
  10718. std::swap(_cached_size_, other->_cached_size_);
  10719. }
  10720. }
  10721. ::google::protobuf::Metadata packetw2c_get_airdrop_info_result::GetMetadata() const {
  10722. protobuf_AssignDescriptorsOnce();
  10723. ::google::protobuf::Metadata metadata;
  10724. metadata.descriptor = packetw2c_get_airdrop_info_result_descriptor_;
  10725. metadata.reflection = packetw2c_get_airdrop_info_result_reflection_;
  10726. return metadata;
  10727. }
  10728. // ===================================================================
  10729. #ifndef _MSC_VER
  10730. const int packetc2w_draw_airdrop::kPacketIdFieldNumber;
  10731. const int packetc2w_draw_airdrop::kUuidFieldNumber;
  10732. const int packetc2w_draw_airdrop::kPwdFieldNumber;
  10733. #endif // !_MSC_VER
  10734. packetc2w_draw_airdrop::packetc2w_draw_airdrop()
  10735. : ::google::protobuf::Message() {
  10736. SharedCtor();
  10737. }
  10738. void packetc2w_draw_airdrop::InitAsDefaultInstance() {
  10739. }
  10740. packetc2w_draw_airdrop::packetc2w_draw_airdrop(const packetc2w_draw_airdrop& from)
  10741. : ::google::protobuf::Message() {
  10742. SharedCtor();
  10743. MergeFrom(from);
  10744. }
  10745. void packetc2w_draw_airdrop::SharedCtor() {
  10746. _cached_size_ = 0;
  10747. packet_id_ = 5151;
  10748. uuid_ = 0;
  10749. pwd_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  10750. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10751. }
  10752. packetc2w_draw_airdrop::~packetc2w_draw_airdrop() {
  10753. SharedDtor();
  10754. }
  10755. void packetc2w_draw_airdrop::SharedDtor() {
  10756. if (pwd_ != &::google::protobuf::internal::kEmptyString) {
  10757. delete pwd_;
  10758. }
  10759. if (this != default_instance_) {
  10760. }
  10761. }
  10762. void packetc2w_draw_airdrop::SetCachedSize(int size) const {
  10763. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10764. _cached_size_ = size;
  10765. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10766. }
  10767. const ::google::protobuf::Descriptor* packetc2w_draw_airdrop::descriptor() {
  10768. protobuf_AssignDescriptorsOnce();
  10769. return packetc2w_draw_airdrop_descriptor_;
  10770. }
  10771. const packetc2w_draw_airdrop& packetc2w_draw_airdrop::default_instance() {
  10772. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  10773. return *default_instance_;
  10774. }
  10775. packetc2w_draw_airdrop* packetc2w_draw_airdrop::default_instance_ = NULL;
  10776. packetc2w_draw_airdrop* packetc2w_draw_airdrop::New() const {
  10777. return new packetc2w_draw_airdrop;
  10778. }
  10779. void packetc2w_draw_airdrop::Clear() {
  10780. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10781. packet_id_ = 5151;
  10782. uuid_ = 0;
  10783. if (has_pwd()) {
  10784. if (pwd_ != &::google::protobuf::internal::kEmptyString) {
  10785. pwd_->clear();
  10786. }
  10787. }
  10788. }
  10789. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  10790. mutable_unknown_fields()->Clear();
  10791. }
  10792. bool packetc2w_draw_airdrop::MergePartialFromCodedStream(
  10793. ::google::protobuf::io::CodedInputStream* input) {
  10794. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  10795. ::google::protobuf::uint32 tag;
  10796. while ((tag = input->ReadTag()) != 0) {
  10797. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  10798. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_draw_airdrop];
  10799. case 1: {
  10800. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10801. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10802. int value;
  10803. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10804. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  10805. input, &value)));
  10806. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  10807. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  10808. } else {
  10809. mutable_unknown_fields()->AddVarint(1, value);
  10810. }
  10811. } else {
  10812. goto handle_uninterpreted;
  10813. }
  10814. if (input->ExpectTag(16)) goto parse_uuid;
  10815. break;
  10816. }
  10817. // optional int32 uuid = 2;
  10818. case 2: {
  10819. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10820. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  10821. parse_uuid:
  10822. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  10823. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  10824. input, &uuid_)));
  10825. set_has_uuid();
  10826. } else {
  10827. goto handle_uninterpreted;
  10828. }
  10829. if (input->ExpectTag(26)) goto parse_pwd;
  10830. break;
  10831. }
  10832. // optional string pwd = 3;
  10833. case 3: {
  10834. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10835. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  10836. parse_pwd:
  10837. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  10838. input, this->mutable_pwd()));
  10839. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  10840. this->pwd().data(), this->pwd().length(),
  10841. ::google::protobuf::internal::WireFormat::PARSE);
  10842. } else {
  10843. goto handle_uninterpreted;
  10844. }
  10845. if (input->ExpectAtEnd()) return true;
  10846. break;
  10847. }
  10848. default: {
  10849. handle_uninterpreted:
  10850. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  10851. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  10852. return true;
  10853. }
  10854. DO_(::google::protobuf::internal::WireFormat::SkipField(
  10855. input, tag, mutable_unknown_fields()));
  10856. break;
  10857. }
  10858. }
  10859. }
  10860. return true;
  10861. #undef DO_
  10862. }
  10863. void packetc2w_draw_airdrop::SerializeWithCachedSizes(
  10864. ::google::protobuf::io::CodedOutputStream* output) const {
  10865. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_draw_airdrop];
  10866. if (has_packet_id()) {
  10867. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  10868. 1, this->packet_id(), output);
  10869. }
  10870. // optional int32 uuid = 2;
  10871. if (has_uuid()) {
  10872. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->uuid(), output);
  10873. }
  10874. // optional string pwd = 3;
  10875. if (has_pwd()) {
  10876. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  10877. this->pwd().data(), this->pwd().length(),
  10878. ::google::protobuf::internal::WireFormat::SERIALIZE);
  10879. ::google::protobuf::internal::WireFormatLite::WriteString(
  10880. 3, this->pwd(), output);
  10881. }
  10882. if (!unknown_fields().empty()) {
  10883. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  10884. unknown_fields(), output);
  10885. }
  10886. }
  10887. ::google::protobuf::uint8* packetc2w_draw_airdrop::SerializeWithCachedSizesToArray(
  10888. ::google::protobuf::uint8* target) const {
  10889. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_draw_airdrop];
  10890. if (has_packet_id()) {
  10891. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  10892. 1, this->packet_id(), target);
  10893. }
  10894. // optional int32 uuid = 2;
  10895. if (has_uuid()) {
  10896. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->uuid(), target);
  10897. }
  10898. // optional string pwd = 3;
  10899. if (has_pwd()) {
  10900. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  10901. this->pwd().data(), this->pwd().length(),
  10902. ::google::protobuf::internal::WireFormat::SERIALIZE);
  10903. target =
  10904. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  10905. 3, this->pwd(), target);
  10906. }
  10907. if (!unknown_fields().empty()) {
  10908. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  10909. unknown_fields(), target);
  10910. }
  10911. return target;
  10912. }
  10913. int packetc2w_draw_airdrop::ByteSize() const {
  10914. int total_size = 0;
  10915. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10916. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_draw_airdrop];
  10917. if (has_packet_id()) {
  10918. total_size += 1 +
  10919. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  10920. }
  10921. // optional int32 uuid = 2;
  10922. if (has_uuid()) {
  10923. total_size += 1 +
  10924. ::google::protobuf::internal::WireFormatLite::Int32Size(
  10925. this->uuid());
  10926. }
  10927. // optional string pwd = 3;
  10928. if (has_pwd()) {
  10929. total_size += 1 +
  10930. ::google::protobuf::internal::WireFormatLite::StringSize(
  10931. this->pwd());
  10932. }
  10933. }
  10934. if (!unknown_fields().empty()) {
  10935. total_size +=
  10936. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  10937. unknown_fields());
  10938. }
  10939. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  10940. _cached_size_ = total_size;
  10941. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  10942. return total_size;
  10943. }
  10944. void packetc2w_draw_airdrop::MergeFrom(const ::google::protobuf::Message& from) {
  10945. GOOGLE_CHECK_NE(&from, this);
  10946. const packetc2w_draw_airdrop* source =
  10947. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_draw_airdrop*>(
  10948. &from);
  10949. if (source == NULL) {
  10950. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  10951. } else {
  10952. MergeFrom(*source);
  10953. }
  10954. }
  10955. void packetc2w_draw_airdrop::MergeFrom(const packetc2w_draw_airdrop& from) {
  10956. GOOGLE_CHECK_NE(&from, this);
  10957. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  10958. if (from.has_packet_id()) {
  10959. set_packet_id(from.packet_id());
  10960. }
  10961. if (from.has_uuid()) {
  10962. set_uuid(from.uuid());
  10963. }
  10964. if (from.has_pwd()) {
  10965. set_pwd(from.pwd());
  10966. }
  10967. }
  10968. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  10969. }
  10970. void packetc2w_draw_airdrop::CopyFrom(const ::google::protobuf::Message& from) {
  10971. if (&from == this) return;
  10972. Clear();
  10973. MergeFrom(from);
  10974. }
  10975. void packetc2w_draw_airdrop::CopyFrom(const packetc2w_draw_airdrop& from) {
  10976. if (&from == this) return;
  10977. Clear();
  10978. MergeFrom(from);
  10979. }
  10980. bool packetc2w_draw_airdrop::IsInitialized() const {
  10981. return true;
  10982. }
  10983. void packetc2w_draw_airdrop::Swap(packetc2w_draw_airdrop* other) {
  10984. if (other != this) {
  10985. std::swap(packet_id_, other->packet_id_);
  10986. std::swap(uuid_, other->uuid_);
  10987. std::swap(pwd_, other->pwd_);
  10988. std::swap(_has_bits_[0], other->_has_bits_[0]);
  10989. _unknown_fields_.Swap(&other->_unknown_fields_);
  10990. std::swap(_cached_size_, other->_cached_size_);
  10991. }
  10992. }
  10993. ::google::protobuf::Metadata packetc2w_draw_airdrop::GetMetadata() const {
  10994. protobuf_AssignDescriptorsOnce();
  10995. ::google::protobuf::Metadata metadata;
  10996. metadata.descriptor = packetc2w_draw_airdrop_descriptor_;
  10997. metadata.reflection = packetc2w_draw_airdrop_reflection_;
  10998. return metadata;
  10999. }
  11000. // ===================================================================
  11001. #ifndef _MSC_VER
  11002. const int packetw2c_draw_airdrop_result::kPacketIdFieldNumber;
  11003. const int packetw2c_draw_airdrop_result::kResultFieldNumber;
  11004. const int packetw2c_draw_airdrop_result::kItemFieldNumber;
  11005. #endif // !_MSC_VER
  11006. packetw2c_draw_airdrop_result::packetw2c_draw_airdrop_result()
  11007. : ::google::protobuf::Message() {
  11008. SharedCtor();
  11009. }
  11010. void packetw2c_draw_airdrop_result::InitAsDefaultInstance() {
  11011. item_ = const_cast< ::client2world_protocols::msg_airdropitem*>(&::client2world_protocols::msg_airdropitem::default_instance());
  11012. }
  11013. packetw2c_draw_airdrop_result::packetw2c_draw_airdrop_result(const packetw2c_draw_airdrop_result& from)
  11014. : ::google::protobuf::Message() {
  11015. SharedCtor();
  11016. MergeFrom(from);
  11017. }
  11018. void packetw2c_draw_airdrop_result::SharedCtor() {
  11019. _cached_size_ = 0;
  11020. packet_id_ = 7663;
  11021. result_ = 0;
  11022. item_ = NULL;
  11023. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11024. }
  11025. packetw2c_draw_airdrop_result::~packetw2c_draw_airdrop_result() {
  11026. SharedDtor();
  11027. }
  11028. void packetw2c_draw_airdrop_result::SharedDtor() {
  11029. if (this != default_instance_) {
  11030. delete item_;
  11031. }
  11032. }
  11033. void packetw2c_draw_airdrop_result::SetCachedSize(int size) const {
  11034. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11035. _cached_size_ = size;
  11036. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11037. }
  11038. const ::google::protobuf::Descriptor* packetw2c_draw_airdrop_result::descriptor() {
  11039. protobuf_AssignDescriptorsOnce();
  11040. return packetw2c_draw_airdrop_result_descriptor_;
  11041. }
  11042. const packetw2c_draw_airdrop_result& packetw2c_draw_airdrop_result::default_instance() {
  11043. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  11044. return *default_instance_;
  11045. }
  11046. packetw2c_draw_airdrop_result* packetw2c_draw_airdrop_result::default_instance_ = NULL;
  11047. packetw2c_draw_airdrop_result* packetw2c_draw_airdrop_result::New() const {
  11048. return new packetw2c_draw_airdrop_result;
  11049. }
  11050. void packetw2c_draw_airdrop_result::Clear() {
  11051. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11052. packet_id_ = 7663;
  11053. result_ = 0;
  11054. if (has_item()) {
  11055. if (item_ != NULL) item_->::client2world_protocols::msg_airdropitem::Clear();
  11056. }
  11057. }
  11058. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11059. mutable_unknown_fields()->Clear();
  11060. }
  11061. bool packetw2c_draw_airdrop_result::MergePartialFromCodedStream(
  11062. ::google::protobuf::io::CodedInputStream* input) {
  11063. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  11064. ::google::protobuf::uint32 tag;
  11065. while ((tag = input->ReadTag()) != 0) {
  11066. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  11067. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_draw_airdrop_result];
  11068. case 1: {
  11069. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11070. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11071. int value;
  11072. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11073. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  11074. input, &value)));
  11075. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  11076. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  11077. } else {
  11078. mutable_unknown_fields()->AddVarint(1, value);
  11079. }
  11080. } else {
  11081. goto handle_uninterpreted;
  11082. }
  11083. if (input->ExpectTag(16)) goto parse_result;
  11084. break;
  11085. }
  11086. // optional int32 result = 2;
  11087. case 2: {
  11088. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11089. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11090. parse_result:
  11091. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11092. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  11093. input, &result_)));
  11094. set_has_result();
  11095. } else {
  11096. goto handle_uninterpreted;
  11097. }
  11098. if (input->ExpectTag(26)) goto parse_item;
  11099. break;
  11100. }
  11101. // optional .client2world_protocols.msg_airdropitem item = 3;
  11102. case 3: {
  11103. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11104. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  11105. parse_item:
  11106. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  11107. input, mutable_item()));
  11108. } else {
  11109. goto handle_uninterpreted;
  11110. }
  11111. if (input->ExpectAtEnd()) return true;
  11112. break;
  11113. }
  11114. default: {
  11115. handle_uninterpreted:
  11116. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11117. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  11118. return true;
  11119. }
  11120. DO_(::google::protobuf::internal::WireFormat::SkipField(
  11121. input, tag, mutable_unknown_fields()));
  11122. break;
  11123. }
  11124. }
  11125. }
  11126. return true;
  11127. #undef DO_
  11128. }
  11129. void packetw2c_draw_airdrop_result::SerializeWithCachedSizes(
  11130. ::google::protobuf::io::CodedOutputStream* output) const {
  11131. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_draw_airdrop_result];
  11132. if (has_packet_id()) {
  11133. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  11134. 1, this->packet_id(), output);
  11135. }
  11136. // optional int32 result = 2;
  11137. if (has_result()) {
  11138. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  11139. }
  11140. // optional .client2world_protocols.msg_airdropitem item = 3;
  11141. if (has_item()) {
  11142. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  11143. 3, this->item(), output);
  11144. }
  11145. if (!unknown_fields().empty()) {
  11146. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  11147. unknown_fields(), output);
  11148. }
  11149. }
  11150. ::google::protobuf::uint8* packetw2c_draw_airdrop_result::SerializeWithCachedSizesToArray(
  11151. ::google::protobuf::uint8* target) const {
  11152. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_draw_airdrop_result];
  11153. if (has_packet_id()) {
  11154. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  11155. 1, this->packet_id(), target);
  11156. }
  11157. // optional int32 result = 2;
  11158. if (has_result()) {
  11159. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  11160. }
  11161. // optional .client2world_protocols.msg_airdropitem item = 3;
  11162. if (has_item()) {
  11163. target = ::google::protobuf::internal::WireFormatLite::
  11164. WriteMessageNoVirtualToArray(
  11165. 3, this->item(), target);
  11166. }
  11167. if (!unknown_fields().empty()) {
  11168. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  11169. unknown_fields(), target);
  11170. }
  11171. return target;
  11172. }
  11173. int packetw2c_draw_airdrop_result::ByteSize() const {
  11174. int total_size = 0;
  11175. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11176. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_draw_airdrop_result];
  11177. if (has_packet_id()) {
  11178. total_size += 1 +
  11179. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  11180. }
  11181. // optional int32 result = 2;
  11182. if (has_result()) {
  11183. total_size += 1 +
  11184. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11185. this->result());
  11186. }
  11187. // optional .client2world_protocols.msg_airdropitem item = 3;
  11188. if (has_item()) {
  11189. total_size += 1 +
  11190. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  11191. this->item());
  11192. }
  11193. }
  11194. if (!unknown_fields().empty()) {
  11195. total_size +=
  11196. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  11197. unknown_fields());
  11198. }
  11199. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11200. _cached_size_ = total_size;
  11201. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11202. return total_size;
  11203. }
  11204. void packetw2c_draw_airdrop_result::MergeFrom(const ::google::protobuf::Message& from) {
  11205. GOOGLE_CHECK_NE(&from, this);
  11206. const packetw2c_draw_airdrop_result* source =
  11207. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_draw_airdrop_result*>(
  11208. &from);
  11209. if (source == NULL) {
  11210. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  11211. } else {
  11212. MergeFrom(*source);
  11213. }
  11214. }
  11215. void packetw2c_draw_airdrop_result::MergeFrom(const packetw2c_draw_airdrop_result& from) {
  11216. GOOGLE_CHECK_NE(&from, this);
  11217. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11218. if (from.has_packet_id()) {
  11219. set_packet_id(from.packet_id());
  11220. }
  11221. if (from.has_result()) {
  11222. set_result(from.result());
  11223. }
  11224. if (from.has_item()) {
  11225. mutable_item()->::client2world_protocols::msg_airdropitem::MergeFrom(from.item());
  11226. }
  11227. }
  11228. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  11229. }
  11230. void packetw2c_draw_airdrop_result::CopyFrom(const ::google::protobuf::Message& from) {
  11231. if (&from == this) return;
  11232. Clear();
  11233. MergeFrom(from);
  11234. }
  11235. void packetw2c_draw_airdrop_result::CopyFrom(const packetw2c_draw_airdrop_result& from) {
  11236. if (&from == this) return;
  11237. Clear();
  11238. MergeFrom(from);
  11239. }
  11240. bool packetw2c_draw_airdrop_result::IsInitialized() const {
  11241. return true;
  11242. }
  11243. void packetw2c_draw_airdrop_result::Swap(packetw2c_draw_airdrop_result* other) {
  11244. if (other != this) {
  11245. std::swap(packet_id_, other->packet_id_);
  11246. std::swap(result_, other->result_);
  11247. std::swap(item_, other->item_);
  11248. std::swap(_has_bits_[0], other->_has_bits_[0]);
  11249. _unknown_fields_.Swap(&other->_unknown_fields_);
  11250. std::swap(_cached_size_, other->_cached_size_);
  11251. }
  11252. }
  11253. ::google::protobuf::Metadata packetw2c_draw_airdrop_result::GetMetadata() const {
  11254. protobuf_AssignDescriptorsOnce();
  11255. ::google::protobuf::Metadata metadata;
  11256. metadata.descriptor = packetw2c_draw_airdrop_result_descriptor_;
  11257. metadata.reflection = packetw2c_draw_airdrop_result_reflection_;
  11258. return metadata;
  11259. }
  11260. // ===================================================================
  11261. #ifndef _MSC_VER
  11262. const int packetc2w_receive_vip_reward::kPacketIdFieldNumber;
  11263. const int packetc2w_receive_vip_reward::kResultFieldNumber;
  11264. const int packetc2w_receive_vip_reward::kRewardidFieldNumber;
  11265. #endif // !_MSC_VER
  11266. packetc2w_receive_vip_reward::packetc2w_receive_vip_reward()
  11267. : ::google::protobuf::Message() {
  11268. SharedCtor();
  11269. }
  11270. void packetc2w_receive_vip_reward::InitAsDefaultInstance() {
  11271. }
  11272. packetc2w_receive_vip_reward::packetc2w_receive_vip_reward(const packetc2w_receive_vip_reward& from)
  11273. : ::google::protobuf::Message() {
  11274. SharedCtor();
  11275. MergeFrom(from);
  11276. }
  11277. void packetc2w_receive_vip_reward::SharedCtor() {
  11278. _cached_size_ = 0;
  11279. packet_id_ = 5165;
  11280. result_ = 0;
  11281. rewardid_ = 0;
  11282. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11283. }
  11284. packetc2w_receive_vip_reward::~packetc2w_receive_vip_reward() {
  11285. SharedDtor();
  11286. }
  11287. void packetc2w_receive_vip_reward::SharedDtor() {
  11288. if (this != default_instance_) {
  11289. }
  11290. }
  11291. void packetc2w_receive_vip_reward::SetCachedSize(int size) const {
  11292. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11293. _cached_size_ = size;
  11294. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11295. }
  11296. const ::google::protobuf::Descriptor* packetc2w_receive_vip_reward::descriptor() {
  11297. protobuf_AssignDescriptorsOnce();
  11298. return packetc2w_receive_vip_reward_descriptor_;
  11299. }
  11300. const packetc2w_receive_vip_reward& packetc2w_receive_vip_reward::default_instance() {
  11301. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  11302. return *default_instance_;
  11303. }
  11304. packetc2w_receive_vip_reward* packetc2w_receive_vip_reward::default_instance_ = NULL;
  11305. packetc2w_receive_vip_reward* packetc2w_receive_vip_reward::New() const {
  11306. return new packetc2w_receive_vip_reward;
  11307. }
  11308. void packetc2w_receive_vip_reward::Clear() {
  11309. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11310. packet_id_ = 5165;
  11311. result_ = 0;
  11312. rewardid_ = 0;
  11313. }
  11314. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11315. mutable_unknown_fields()->Clear();
  11316. }
  11317. bool packetc2w_receive_vip_reward::MergePartialFromCodedStream(
  11318. ::google::protobuf::io::CodedInputStream* input) {
  11319. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  11320. ::google::protobuf::uint32 tag;
  11321. while ((tag = input->ReadTag()) != 0) {
  11322. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  11323. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_vip_reward];
  11324. case 1: {
  11325. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11326. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11327. int value;
  11328. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11329. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  11330. input, &value)));
  11331. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  11332. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  11333. } else {
  11334. mutable_unknown_fields()->AddVarint(1, value);
  11335. }
  11336. } else {
  11337. goto handle_uninterpreted;
  11338. }
  11339. if (input->ExpectTag(16)) goto parse_result;
  11340. break;
  11341. }
  11342. // optional int32 result = 2;
  11343. case 2: {
  11344. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11345. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11346. parse_result:
  11347. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11348. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  11349. input, &result_)));
  11350. set_has_result();
  11351. } else {
  11352. goto handle_uninterpreted;
  11353. }
  11354. if (input->ExpectTag(24)) goto parse_rewardid;
  11355. break;
  11356. }
  11357. // optional int32 rewardid = 3;
  11358. case 3: {
  11359. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11360. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11361. parse_rewardid:
  11362. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11363. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  11364. input, &rewardid_)));
  11365. set_has_rewardid();
  11366. } else {
  11367. goto handle_uninterpreted;
  11368. }
  11369. if (input->ExpectAtEnd()) return true;
  11370. break;
  11371. }
  11372. default: {
  11373. handle_uninterpreted:
  11374. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11375. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  11376. return true;
  11377. }
  11378. DO_(::google::protobuf::internal::WireFormat::SkipField(
  11379. input, tag, mutable_unknown_fields()));
  11380. break;
  11381. }
  11382. }
  11383. }
  11384. return true;
  11385. #undef DO_
  11386. }
  11387. void packetc2w_receive_vip_reward::SerializeWithCachedSizes(
  11388. ::google::protobuf::io::CodedOutputStream* output) const {
  11389. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_vip_reward];
  11390. if (has_packet_id()) {
  11391. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  11392. 1, this->packet_id(), output);
  11393. }
  11394. // optional int32 result = 2;
  11395. if (has_result()) {
  11396. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  11397. }
  11398. // optional int32 rewardid = 3;
  11399. if (has_rewardid()) {
  11400. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->rewardid(), output);
  11401. }
  11402. if (!unknown_fields().empty()) {
  11403. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  11404. unknown_fields(), output);
  11405. }
  11406. }
  11407. ::google::protobuf::uint8* packetc2w_receive_vip_reward::SerializeWithCachedSizesToArray(
  11408. ::google::protobuf::uint8* target) const {
  11409. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_vip_reward];
  11410. if (has_packet_id()) {
  11411. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  11412. 1, this->packet_id(), target);
  11413. }
  11414. // optional int32 result = 2;
  11415. if (has_result()) {
  11416. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  11417. }
  11418. // optional int32 rewardid = 3;
  11419. if (has_rewardid()) {
  11420. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->rewardid(), target);
  11421. }
  11422. if (!unknown_fields().empty()) {
  11423. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  11424. unknown_fields(), target);
  11425. }
  11426. return target;
  11427. }
  11428. int packetc2w_receive_vip_reward::ByteSize() const {
  11429. int total_size = 0;
  11430. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11431. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_vip_reward];
  11432. if (has_packet_id()) {
  11433. total_size += 1 +
  11434. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  11435. }
  11436. // optional int32 result = 2;
  11437. if (has_result()) {
  11438. total_size += 1 +
  11439. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11440. this->result());
  11441. }
  11442. // optional int32 rewardid = 3;
  11443. if (has_rewardid()) {
  11444. total_size += 1 +
  11445. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11446. this->rewardid());
  11447. }
  11448. }
  11449. if (!unknown_fields().empty()) {
  11450. total_size +=
  11451. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  11452. unknown_fields());
  11453. }
  11454. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11455. _cached_size_ = total_size;
  11456. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11457. return total_size;
  11458. }
  11459. void packetc2w_receive_vip_reward::MergeFrom(const ::google::protobuf::Message& from) {
  11460. GOOGLE_CHECK_NE(&from, this);
  11461. const packetc2w_receive_vip_reward* source =
  11462. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_receive_vip_reward*>(
  11463. &from);
  11464. if (source == NULL) {
  11465. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  11466. } else {
  11467. MergeFrom(*source);
  11468. }
  11469. }
  11470. void packetc2w_receive_vip_reward::MergeFrom(const packetc2w_receive_vip_reward& from) {
  11471. GOOGLE_CHECK_NE(&from, this);
  11472. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11473. if (from.has_packet_id()) {
  11474. set_packet_id(from.packet_id());
  11475. }
  11476. if (from.has_result()) {
  11477. set_result(from.result());
  11478. }
  11479. if (from.has_rewardid()) {
  11480. set_rewardid(from.rewardid());
  11481. }
  11482. }
  11483. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  11484. }
  11485. void packetc2w_receive_vip_reward::CopyFrom(const ::google::protobuf::Message& from) {
  11486. if (&from == this) return;
  11487. Clear();
  11488. MergeFrom(from);
  11489. }
  11490. void packetc2w_receive_vip_reward::CopyFrom(const packetc2w_receive_vip_reward& from) {
  11491. if (&from == this) return;
  11492. Clear();
  11493. MergeFrom(from);
  11494. }
  11495. bool packetc2w_receive_vip_reward::IsInitialized() const {
  11496. return true;
  11497. }
  11498. void packetc2w_receive_vip_reward::Swap(packetc2w_receive_vip_reward* other) {
  11499. if (other != this) {
  11500. std::swap(packet_id_, other->packet_id_);
  11501. std::swap(result_, other->result_);
  11502. std::swap(rewardid_, other->rewardid_);
  11503. std::swap(_has_bits_[0], other->_has_bits_[0]);
  11504. _unknown_fields_.Swap(&other->_unknown_fields_);
  11505. std::swap(_cached_size_, other->_cached_size_);
  11506. }
  11507. }
  11508. ::google::protobuf::Metadata packetc2w_receive_vip_reward::GetMetadata() const {
  11509. protobuf_AssignDescriptorsOnce();
  11510. ::google::protobuf::Metadata metadata;
  11511. metadata.descriptor = packetc2w_receive_vip_reward_descriptor_;
  11512. metadata.reflection = packetc2w_receive_vip_reward_reflection_;
  11513. return metadata;
  11514. }
  11515. // ===================================================================
  11516. #ifndef _MSC_VER
  11517. const int packetw2c_receive_vip_reward_result::kPacketIdFieldNumber;
  11518. const int packetw2c_receive_vip_reward_result::kResultFieldNumber;
  11519. const int packetw2c_receive_vip_reward_result::kRewardidFieldNumber;
  11520. #endif // !_MSC_VER
  11521. packetw2c_receive_vip_reward_result::packetw2c_receive_vip_reward_result()
  11522. : ::google::protobuf::Message() {
  11523. SharedCtor();
  11524. }
  11525. void packetw2c_receive_vip_reward_result::InitAsDefaultInstance() {
  11526. }
  11527. packetw2c_receive_vip_reward_result::packetw2c_receive_vip_reward_result(const packetw2c_receive_vip_reward_result& from)
  11528. : ::google::protobuf::Message() {
  11529. SharedCtor();
  11530. MergeFrom(from);
  11531. }
  11532. void packetw2c_receive_vip_reward_result::SharedCtor() {
  11533. _cached_size_ = 0;
  11534. packet_id_ = 7679;
  11535. result_ = 0;
  11536. rewardid_ = 0;
  11537. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11538. }
  11539. packetw2c_receive_vip_reward_result::~packetw2c_receive_vip_reward_result() {
  11540. SharedDtor();
  11541. }
  11542. void packetw2c_receive_vip_reward_result::SharedDtor() {
  11543. if (this != default_instance_) {
  11544. }
  11545. }
  11546. void packetw2c_receive_vip_reward_result::SetCachedSize(int size) const {
  11547. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11548. _cached_size_ = size;
  11549. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11550. }
  11551. const ::google::protobuf::Descriptor* packetw2c_receive_vip_reward_result::descriptor() {
  11552. protobuf_AssignDescriptorsOnce();
  11553. return packetw2c_receive_vip_reward_result_descriptor_;
  11554. }
  11555. const packetw2c_receive_vip_reward_result& packetw2c_receive_vip_reward_result::default_instance() {
  11556. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  11557. return *default_instance_;
  11558. }
  11559. packetw2c_receive_vip_reward_result* packetw2c_receive_vip_reward_result::default_instance_ = NULL;
  11560. packetw2c_receive_vip_reward_result* packetw2c_receive_vip_reward_result::New() const {
  11561. return new packetw2c_receive_vip_reward_result;
  11562. }
  11563. void packetw2c_receive_vip_reward_result::Clear() {
  11564. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11565. packet_id_ = 7679;
  11566. result_ = 0;
  11567. rewardid_ = 0;
  11568. }
  11569. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11570. mutable_unknown_fields()->Clear();
  11571. }
  11572. bool packetw2c_receive_vip_reward_result::MergePartialFromCodedStream(
  11573. ::google::protobuf::io::CodedInputStream* input) {
  11574. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  11575. ::google::protobuf::uint32 tag;
  11576. while ((tag = input->ReadTag()) != 0) {
  11577. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  11578. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_vip_reward_result];
  11579. case 1: {
  11580. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11581. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11582. int value;
  11583. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11584. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  11585. input, &value)));
  11586. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  11587. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  11588. } else {
  11589. mutable_unknown_fields()->AddVarint(1, value);
  11590. }
  11591. } else {
  11592. goto handle_uninterpreted;
  11593. }
  11594. if (input->ExpectTag(16)) goto parse_result;
  11595. break;
  11596. }
  11597. // optional int32 result = 2;
  11598. case 2: {
  11599. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11600. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11601. parse_result:
  11602. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11603. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  11604. input, &result_)));
  11605. set_has_result();
  11606. } else {
  11607. goto handle_uninterpreted;
  11608. }
  11609. if (input->ExpectTag(24)) goto parse_rewardid;
  11610. break;
  11611. }
  11612. // optional int32 rewardid = 3;
  11613. case 3: {
  11614. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11615. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11616. parse_rewardid:
  11617. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11618. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  11619. input, &rewardid_)));
  11620. set_has_rewardid();
  11621. } else {
  11622. goto handle_uninterpreted;
  11623. }
  11624. if (input->ExpectAtEnd()) return true;
  11625. break;
  11626. }
  11627. default: {
  11628. handle_uninterpreted:
  11629. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11630. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  11631. return true;
  11632. }
  11633. DO_(::google::protobuf::internal::WireFormat::SkipField(
  11634. input, tag, mutable_unknown_fields()));
  11635. break;
  11636. }
  11637. }
  11638. }
  11639. return true;
  11640. #undef DO_
  11641. }
  11642. void packetw2c_receive_vip_reward_result::SerializeWithCachedSizes(
  11643. ::google::protobuf::io::CodedOutputStream* output) const {
  11644. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_vip_reward_result];
  11645. if (has_packet_id()) {
  11646. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  11647. 1, this->packet_id(), output);
  11648. }
  11649. // optional int32 result = 2;
  11650. if (has_result()) {
  11651. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  11652. }
  11653. // optional int32 rewardid = 3;
  11654. if (has_rewardid()) {
  11655. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->rewardid(), output);
  11656. }
  11657. if (!unknown_fields().empty()) {
  11658. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  11659. unknown_fields(), output);
  11660. }
  11661. }
  11662. ::google::protobuf::uint8* packetw2c_receive_vip_reward_result::SerializeWithCachedSizesToArray(
  11663. ::google::protobuf::uint8* target) const {
  11664. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_vip_reward_result];
  11665. if (has_packet_id()) {
  11666. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  11667. 1, this->packet_id(), target);
  11668. }
  11669. // optional int32 result = 2;
  11670. if (has_result()) {
  11671. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  11672. }
  11673. // optional int32 rewardid = 3;
  11674. if (has_rewardid()) {
  11675. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->rewardid(), target);
  11676. }
  11677. if (!unknown_fields().empty()) {
  11678. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  11679. unknown_fields(), target);
  11680. }
  11681. return target;
  11682. }
  11683. int packetw2c_receive_vip_reward_result::ByteSize() const {
  11684. int total_size = 0;
  11685. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11686. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_vip_reward_result];
  11687. if (has_packet_id()) {
  11688. total_size += 1 +
  11689. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  11690. }
  11691. // optional int32 result = 2;
  11692. if (has_result()) {
  11693. total_size += 1 +
  11694. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11695. this->result());
  11696. }
  11697. // optional int32 rewardid = 3;
  11698. if (has_rewardid()) {
  11699. total_size += 1 +
  11700. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11701. this->rewardid());
  11702. }
  11703. }
  11704. if (!unknown_fields().empty()) {
  11705. total_size +=
  11706. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  11707. unknown_fields());
  11708. }
  11709. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11710. _cached_size_ = total_size;
  11711. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11712. return total_size;
  11713. }
  11714. void packetw2c_receive_vip_reward_result::MergeFrom(const ::google::protobuf::Message& from) {
  11715. GOOGLE_CHECK_NE(&from, this);
  11716. const packetw2c_receive_vip_reward_result* source =
  11717. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_receive_vip_reward_result*>(
  11718. &from);
  11719. if (source == NULL) {
  11720. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  11721. } else {
  11722. MergeFrom(*source);
  11723. }
  11724. }
  11725. void packetw2c_receive_vip_reward_result::MergeFrom(const packetw2c_receive_vip_reward_result& from) {
  11726. GOOGLE_CHECK_NE(&from, this);
  11727. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11728. if (from.has_packet_id()) {
  11729. set_packet_id(from.packet_id());
  11730. }
  11731. if (from.has_result()) {
  11732. set_result(from.result());
  11733. }
  11734. if (from.has_rewardid()) {
  11735. set_rewardid(from.rewardid());
  11736. }
  11737. }
  11738. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  11739. }
  11740. void packetw2c_receive_vip_reward_result::CopyFrom(const ::google::protobuf::Message& from) {
  11741. if (&from == this) return;
  11742. Clear();
  11743. MergeFrom(from);
  11744. }
  11745. void packetw2c_receive_vip_reward_result::CopyFrom(const packetw2c_receive_vip_reward_result& from) {
  11746. if (&from == this) return;
  11747. Clear();
  11748. MergeFrom(from);
  11749. }
  11750. bool packetw2c_receive_vip_reward_result::IsInitialized() const {
  11751. return true;
  11752. }
  11753. void packetw2c_receive_vip_reward_result::Swap(packetw2c_receive_vip_reward_result* other) {
  11754. if (other != this) {
  11755. std::swap(packet_id_, other->packet_id_);
  11756. std::swap(result_, other->result_);
  11757. std::swap(rewardid_, other->rewardid_);
  11758. std::swap(_has_bits_[0], other->_has_bits_[0]);
  11759. _unknown_fields_.Swap(&other->_unknown_fields_);
  11760. std::swap(_cached_size_, other->_cached_size_);
  11761. }
  11762. }
  11763. ::google::protobuf::Metadata packetw2c_receive_vip_reward_result::GetMetadata() const {
  11764. protobuf_AssignDescriptorsOnce();
  11765. ::google::protobuf::Metadata metadata;
  11766. metadata.descriptor = packetw2c_receive_vip_reward_result_descriptor_;
  11767. metadata.reflection = packetw2c_receive_vip_reward_result_reflection_;
  11768. return metadata;
  11769. }
  11770. // ===================================================================
  11771. #ifndef _MSC_VER
  11772. const int packetw2c_check_vip_money_result::kPacketIdFieldNumber;
  11773. const int packetw2c_check_vip_money_result::kResultFieldNumber;
  11774. #endif // !_MSC_VER
  11775. packetw2c_check_vip_money_result::packetw2c_check_vip_money_result()
  11776. : ::google::protobuf::Message() {
  11777. SharedCtor();
  11778. }
  11779. void packetw2c_check_vip_money_result::InitAsDefaultInstance() {
  11780. }
  11781. packetw2c_check_vip_money_result::packetw2c_check_vip_money_result(const packetw2c_check_vip_money_result& from)
  11782. : ::google::protobuf::Message() {
  11783. SharedCtor();
  11784. MergeFrom(from);
  11785. }
  11786. void packetw2c_check_vip_money_result::SharedCtor() {
  11787. _cached_size_ = 0;
  11788. packet_id_ = 7665;
  11789. result_ = 0;
  11790. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11791. }
  11792. packetw2c_check_vip_money_result::~packetw2c_check_vip_money_result() {
  11793. SharedDtor();
  11794. }
  11795. void packetw2c_check_vip_money_result::SharedDtor() {
  11796. if (this != default_instance_) {
  11797. }
  11798. }
  11799. void packetw2c_check_vip_money_result::SetCachedSize(int size) const {
  11800. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11801. _cached_size_ = size;
  11802. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11803. }
  11804. const ::google::protobuf::Descriptor* packetw2c_check_vip_money_result::descriptor() {
  11805. protobuf_AssignDescriptorsOnce();
  11806. return packetw2c_check_vip_money_result_descriptor_;
  11807. }
  11808. const packetw2c_check_vip_money_result& packetw2c_check_vip_money_result::default_instance() {
  11809. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  11810. return *default_instance_;
  11811. }
  11812. packetw2c_check_vip_money_result* packetw2c_check_vip_money_result::default_instance_ = NULL;
  11813. packetw2c_check_vip_money_result* packetw2c_check_vip_money_result::New() const {
  11814. return new packetw2c_check_vip_money_result;
  11815. }
  11816. void packetw2c_check_vip_money_result::Clear() {
  11817. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11818. packet_id_ = 7665;
  11819. result_ = 0;
  11820. }
  11821. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  11822. mutable_unknown_fields()->Clear();
  11823. }
  11824. bool packetw2c_check_vip_money_result::MergePartialFromCodedStream(
  11825. ::google::protobuf::io::CodedInputStream* input) {
  11826. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  11827. ::google::protobuf::uint32 tag;
  11828. while ((tag = input->ReadTag()) != 0) {
  11829. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  11830. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_check_vip_money_result];
  11831. case 1: {
  11832. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11833. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11834. int value;
  11835. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11836. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  11837. input, &value)));
  11838. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  11839. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  11840. } else {
  11841. mutable_unknown_fields()->AddVarint(1, value);
  11842. }
  11843. } else {
  11844. goto handle_uninterpreted;
  11845. }
  11846. if (input->ExpectTag(16)) goto parse_result;
  11847. break;
  11848. }
  11849. // optional int32 result = 2;
  11850. case 2: {
  11851. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11852. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  11853. parse_result:
  11854. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  11855. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  11856. input, &result_)));
  11857. set_has_result();
  11858. } else {
  11859. goto handle_uninterpreted;
  11860. }
  11861. if (input->ExpectAtEnd()) return true;
  11862. break;
  11863. }
  11864. default: {
  11865. handle_uninterpreted:
  11866. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  11867. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  11868. return true;
  11869. }
  11870. DO_(::google::protobuf::internal::WireFormat::SkipField(
  11871. input, tag, mutable_unknown_fields()));
  11872. break;
  11873. }
  11874. }
  11875. }
  11876. return true;
  11877. #undef DO_
  11878. }
  11879. void packetw2c_check_vip_money_result::SerializeWithCachedSizes(
  11880. ::google::protobuf::io::CodedOutputStream* output) const {
  11881. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_check_vip_money_result];
  11882. if (has_packet_id()) {
  11883. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  11884. 1, this->packet_id(), output);
  11885. }
  11886. // optional int32 result = 2;
  11887. if (has_result()) {
  11888. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  11889. }
  11890. if (!unknown_fields().empty()) {
  11891. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  11892. unknown_fields(), output);
  11893. }
  11894. }
  11895. ::google::protobuf::uint8* packetw2c_check_vip_money_result::SerializeWithCachedSizesToArray(
  11896. ::google::protobuf::uint8* target) const {
  11897. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_check_vip_money_result];
  11898. if (has_packet_id()) {
  11899. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  11900. 1, this->packet_id(), target);
  11901. }
  11902. // optional int32 result = 2;
  11903. if (has_result()) {
  11904. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  11905. }
  11906. if (!unknown_fields().empty()) {
  11907. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  11908. unknown_fields(), target);
  11909. }
  11910. return target;
  11911. }
  11912. int packetw2c_check_vip_money_result::ByteSize() const {
  11913. int total_size = 0;
  11914. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11915. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_check_vip_money_result];
  11916. if (has_packet_id()) {
  11917. total_size += 1 +
  11918. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  11919. }
  11920. // optional int32 result = 2;
  11921. if (has_result()) {
  11922. total_size += 1 +
  11923. ::google::protobuf::internal::WireFormatLite::Int32Size(
  11924. this->result());
  11925. }
  11926. }
  11927. if (!unknown_fields().empty()) {
  11928. total_size +=
  11929. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  11930. unknown_fields());
  11931. }
  11932. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  11933. _cached_size_ = total_size;
  11934. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  11935. return total_size;
  11936. }
  11937. void packetw2c_check_vip_money_result::MergeFrom(const ::google::protobuf::Message& from) {
  11938. GOOGLE_CHECK_NE(&from, this);
  11939. const packetw2c_check_vip_money_result* source =
  11940. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_check_vip_money_result*>(
  11941. &from);
  11942. if (source == NULL) {
  11943. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  11944. } else {
  11945. MergeFrom(*source);
  11946. }
  11947. }
  11948. void packetw2c_check_vip_money_result::MergeFrom(const packetw2c_check_vip_money_result& from) {
  11949. GOOGLE_CHECK_NE(&from, this);
  11950. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  11951. if (from.has_packet_id()) {
  11952. set_packet_id(from.packet_id());
  11953. }
  11954. if (from.has_result()) {
  11955. set_result(from.result());
  11956. }
  11957. }
  11958. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  11959. }
  11960. void packetw2c_check_vip_money_result::CopyFrom(const ::google::protobuf::Message& from) {
  11961. if (&from == this) return;
  11962. Clear();
  11963. MergeFrom(from);
  11964. }
  11965. void packetw2c_check_vip_money_result::CopyFrom(const packetw2c_check_vip_money_result& from) {
  11966. if (&from == this) return;
  11967. Clear();
  11968. MergeFrom(from);
  11969. }
  11970. bool packetw2c_check_vip_money_result::IsInitialized() const {
  11971. return true;
  11972. }
  11973. void packetw2c_check_vip_money_result::Swap(packetw2c_check_vip_money_result* other) {
  11974. if (other != this) {
  11975. std::swap(packet_id_, other->packet_id_);
  11976. std::swap(result_, other->result_);
  11977. std::swap(_has_bits_[0], other->_has_bits_[0]);
  11978. _unknown_fields_.Swap(&other->_unknown_fields_);
  11979. std::swap(_cached_size_, other->_cached_size_);
  11980. }
  11981. }
  11982. ::google::protobuf::Metadata packetw2c_check_vip_money_result::GetMetadata() const {
  11983. protobuf_AssignDescriptorsOnce();
  11984. ::google::protobuf::Metadata metadata;
  11985. metadata.descriptor = packetw2c_check_vip_money_result_descriptor_;
  11986. metadata.reflection = packetw2c_check_vip_money_result_reflection_;
  11987. return metadata;
  11988. }
  11989. // ===================================================================
  11990. #ifndef _MSC_VER
  11991. const int packetw2c_timer_update::kPacketIdFieldNumber;
  11992. #endif // !_MSC_VER
  11993. packetw2c_timer_update::packetw2c_timer_update()
  11994. : ::google::protobuf::Message() {
  11995. SharedCtor();
  11996. }
  11997. void packetw2c_timer_update::InitAsDefaultInstance() {
  11998. }
  11999. packetw2c_timer_update::packetw2c_timer_update(const packetw2c_timer_update& from)
  12000. : ::google::protobuf::Message() {
  12001. SharedCtor();
  12002. MergeFrom(from);
  12003. }
  12004. void packetw2c_timer_update::SharedCtor() {
  12005. _cached_size_ = 0;
  12006. packet_id_ = 7664;
  12007. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12008. }
  12009. packetw2c_timer_update::~packetw2c_timer_update() {
  12010. SharedDtor();
  12011. }
  12012. void packetw2c_timer_update::SharedDtor() {
  12013. if (this != default_instance_) {
  12014. }
  12015. }
  12016. void packetw2c_timer_update::SetCachedSize(int size) const {
  12017. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12018. _cached_size_ = size;
  12019. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12020. }
  12021. const ::google::protobuf::Descriptor* packetw2c_timer_update::descriptor() {
  12022. protobuf_AssignDescriptorsOnce();
  12023. return packetw2c_timer_update_descriptor_;
  12024. }
  12025. const packetw2c_timer_update& packetw2c_timer_update::default_instance() {
  12026. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  12027. return *default_instance_;
  12028. }
  12029. packetw2c_timer_update* packetw2c_timer_update::default_instance_ = NULL;
  12030. packetw2c_timer_update* packetw2c_timer_update::New() const {
  12031. return new packetw2c_timer_update;
  12032. }
  12033. void packetw2c_timer_update::Clear() {
  12034. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12035. packet_id_ = 7664;
  12036. }
  12037. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12038. mutable_unknown_fields()->Clear();
  12039. }
  12040. bool packetw2c_timer_update::MergePartialFromCodedStream(
  12041. ::google::protobuf::io::CodedInputStream* input) {
  12042. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  12043. ::google::protobuf::uint32 tag;
  12044. while ((tag = input->ReadTag()) != 0) {
  12045. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  12046. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_timer_update];
  12047. case 1: {
  12048. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12049. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12050. int value;
  12051. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12052. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  12053. input, &value)));
  12054. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  12055. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  12056. } else {
  12057. mutable_unknown_fields()->AddVarint(1, value);
  12058. }
  12059. } else {
  12060. goto handle_uninterpreted;
  12061. }
  12062. if (input->ExpectAtEnd()) return true;
  12063. break;
  12064. }
  12065. default: {
  12066. handle_uninterpreted:
  12067. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12068. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  12069. return true;
  12070. }
  12071. DO_(::google::protobuf::internal::WireFormat::SkipField(
  12072. input, tag, mutable_unknown_fields()));
  12073. break;
  12074. }
  12075. }
  12076. }
  12077. return true;
  12078. #undef DO_
  12079. }
  12080. void packetw2c_timer_update::SerializeWithCachedSizes(
  12081. ::google::protobuf::io::CodedOutputStream* output) const {
  12082. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_timer_update];
  12083. if (has_packet_id()) {
  12084. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  12085. 1, this->packet_id(), output);
  12086. }
  12087. if (!unknown_fields().empty()) {
  12088. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  12089. unknown_fields(), output);
  12090. }
  12091. }
  12092. ::google::protobuf::uint8* packetw2c_timer_update::SerializeWithCachedSizesToArray(
  12093. ::google::protobuf::uint8* target) const {
  12094. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_timer_update];
  12095. if (has_packet_id()) {
  12096. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  12097. 1, this->packet_id(), target);
  12098. }
  12099. if (!unknown_fields().empty()) {
  12100. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  12101. unknown_fields(), target);
  12102. }
  12103. return target;
  12104. }
  12105. int packetw2c_timer_update::ByteSize() const {
  12106. int total_size = 0;
  12107. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12108. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_timer_update];
  12109. if (has_packet_id()) {
  12110. total_size += 1 +
  12111. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  12112. }
  12113. }
  12114. if (!unknown_fields().empty()) {
  12115. total_size +=
  12116. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  12117. unknown_fields());
  12118. }
  12119. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12120. _cached_size_ = total_size;
  12121. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12122. return total_size;
  12123. }
  12124. void packetw2c_timer_update::MergeFrom(const ::google::protobuf::Message& from) {
  12125. GOOGLE_CHECK_NE(&from, this);
  12126. const packetw2c_timer_update* source =
  12127. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_timer_update*>(
  12128. &from);
  12129. if (source == NULL) {
  12130. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  12131. } else {
  12132. MergeFrom(*source);
  12133. }
  12134. }
  12135. void packetw2c_timer_update::MergeFrom(const packetw2c_timer_update& from) {
  12136. GOOGLE_CHECK_NE(&from, this);
  12137. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12138. if (from.has_packet_id()) {
  12139. set_packet_id(from.packet_id());
  12140. }
  12141. }
  12142. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  12143. }
  12144. void packetw2c_timer_update::CopyFrom(const ::google::protobuf::Message& from) {
  12145. if (&from == this) return;
  12146. Clear();
  12147. MergeFrom(from);
  12148. }
  12149. void packetw2c_timer_update::CopyFrom(const packetw2c_timer_update& from) {
  12150. if (&from == this) return;
  12151. Clear();
  12152. MergeFrom(from);
  12153. }
  12154. bool packetw2c_timer_update::IsInitialized() const {
  12155. return true;
  12156. }
  12157. void packetw2c_timer_update::Swap(packetw2c_timer_update* other) {
  12158. if (other != this) {
  12159. std::swap(packet_id_, other->packet_id_);
  12160. std::swap(_has_bits_[0], other->_has_bits_[0]);
  12161. _unknown_fields_.Swap(&other->_unknown_fields_);
  12162. std::swap(_cached_size_, other->_cached_size_);
  12163. }
  12164. }
  12165. ::google::protobuf::Metadata packetw2c_timer_update::GetMetadata() const {
  12166. protobuf_AssignDescriptorsOnce();
  12167. ::google::protobuf::Metadata metadata;
  12168. metadata.descriptor = packetw2c_timer_update_descriptor_;
  12169. metadata.reflection = packetw2c_timer_update_reflection_;
  12170. return metadata;
  12171. }
  12172. // ===================================================================
  12173. #ifndef _MSC_VER
  12174. const int recordInfo::kTypeFieldNumber;
  12175. const int recordInfo::kParamFieldNumber;
  12176. const int recordInfo::kCountFieldNumber;
  12177. #endif // !_MSC_VER
  12178. recordInfo::recordInfo()
  12179. : ::google::protobuf::Message() {
  12180. SharedCtor();
  12181. }
  12182. void recordInfo::InitAsDefaultInstance() {
  12183. }
  12184. recordInfo::recordInfo(const recordInfo& from)
  12185. : ::google::protobuf::Message() {
  12186. SharedCtor();
  12187. MergeFrom(from);
  12188. }
  12189. void recordInfo::SharedCtor() {
  12190. _cached_size_ = 0;
  12191. type_ = 0;
  12192. param_ = 0;
  12193. count_ = 0;
  12194. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12195. }
  12196. recordInfo::~recordInfo() {
  12197. SharedDtor();
  12198. }
  12199. void recordInfo::SharedDtor() {
  12200. if (this != default_instance_) {
  12201. }
  12202. }
  12203. void recordInfo::SetCachedSize(int size) const {
  12204. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12205. _cached_size_ = size;
  12206. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12207. }
  12208. const ::google::protobuf::Descriptor* recordInfo::descriptor() {
  12209. protobuf_AssignDescriptorsOnce();
  12210. return recordInfo_descriptor_;
  12211. }
  12212. const recordInfo& recordInfo::default_instance() {
  12213. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  12214. return *default_instance_;
  12215. }
  12216. recordInfo* recordInfo::default_instance_ = NULL;
  12217. recordInfo* recordInfo::New() const {
  12218. return new recordInfo;
  12219. }
  12220. void recordInfo::Clear() {
  12221. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12222. type_ = 0;
  12223. param_ = 0;
  12224. count_ = 0;
  12225. }
  12226. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12227. mutable_unknown_fields()->Clear();
  12228. }
  12229. bool recordInfo::MergePartialFromCodedStream(
  12230. ::google::protobuf::io::CodedInputStream* input) {
  12231. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  12232. ::google::protobuf::uint32 tag;
  12233. while ((tag = input->ReadTag()) != 0) {
  12234. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  12235. // optional int32 type = 1;
  12236. case 1: {
  12237. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12238. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12239. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12240. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  12241. input, &type_)));
  12242. set_has_type();
  12243. } else {
  12244. goto handle_uninterpreted;
  12245. }
  12246. if (input->ExpectTag(16)) goto parse_param;
  12247. break;
  12248. }
  12249. // optional int32 param = 2;
  12250. case 2: {
  12251. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12252. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12253. parse_param:
  12254. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12255. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  12256. input, &param_)));
  12257. set_has_param();
  12258. } else {
  12259. goto handle_uninterpreted;
  12260. }
  12261. if (input->ExpectTag(24)) goto parse_count;
  12262. break;
  12263. }
  12264. // optional int32 count = 3;
  12265. case 3: {
  12266. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12267. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12268. parse_count:
  12269. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12270. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  12271. input, &count_)));
  12272. set_has_count();
  12273. } else {
  12274. goto handle_uninterpreted;
  12275. }
  12276. if (input->ExpectAtEnd()) return true;
  12277. break;
  12278. }
  12279. default: {
  12280. handle_uninterpreted:
  12281. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12282. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  12283. return true;
  12284. }
  12285. DO_(::google::protobuf::internal::WireFormat::SkipField(
  12286. input, tag, mutable_unknown_fields()));
  12287. break;
  12288. }
  12289. }
  12290. }
  12291. return true;
  12292. #undef DO_
  12293. }
  12294. void recordInfo::SerializeWithCachedSizes(
  12295. ::google::protobuf::io::CodedOutputStream* output) const {
  12296. // optional int32 type = 1;
  12297. if (has_type()) {
  12298. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->type(), output);
  12299. }
  12300. // optional int32 param = 2;
  12301. if (has_param()) {
  12302. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->param(), output);
  12303. }
  12304. // optional int32 count = 3;
  12305. if (has_count()) {
  12306. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->count(), output);
  12307. }
  12308. if (!unknown_fields().empty()) {
  12309. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  12310. unknown_fields(), output);
  12311. }
  12312. }
  12313. ::google::protobuf::uint8* recordInfo::SerializeWithCachedSizesToArray(
  12314. ::google::protobuf::uint8* target) const {
  12315. // optional int32 type = 1;
  12316. if (has_type()) {
  12317. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->type(), target);
  12318. }
  12319. // optional int32 param = 2;
  12320. if (has_param()) {
  12321. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->param(), target);
  12322. }
  12323. // optional int32 count = 3;
  12324. if (has_count()) {
  12325. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->count(), target);
  12326. }
  12327. if (!unknown_fields().empty()) {
  12328. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  12329. unknown_fields(), target);
  12330. }
  12331. return target;
  12332. }
  12333. int recordInfo::ByteSize() const {
  12334. int total_size = 0;
  12335. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12336. // optional int32 type = 1;
  12337. if (has_type()) {
  12338. total_size += 1 +
  12339. ::google::protobuf::internal::WireFormatLite::Int32Size(
  12340. this->type());
  12341. }
  12342. // optional int32 param = 2;
  12343. if (has_param()) {
  12344. total_size += 1 +
  12345. ::google::protobuf::internal::WireFormatLite::Int32Size(
  12346. this->param());
  12347. }
  12348. // optional int32 count = 3;
  12349. if (has_count()) {
  12350. total_size += 1 +
  12351. ::google::protobuf::internal::WireFormatLite::Int32Size(
  12352. this->count());
  12353. }
  12354. }
  12355. if (!unknown_fields().empty()) {
  12356. total_size +=
  12357. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  12358. unknown_fields());
  12359. }
  12360. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12361. _cached_size_ = total_size;
  12362. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12363. return total_size;
  12364. }
  12365. void recordInfo::MergeFrom(const ::google::protobuf::Message& from) {
  12366. GOOGLE_CHECK_NE(&from, this);
  12367. const recordInfo* source =
  12368. ::google::protobuf::internal::dynamic_cast_if_available<const recordInfo*>(
  12369. &from);
  12370. if (source == NULL) {
  12371. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  12372. } else {
  12373. MergeFrom(*source);
  12374. }
  12375. }
  12376. void recordInfo::MergeFrom(const recordInfo& from) {
  12377. GOOGLE_CHECK_NE(&from, this);
  12378. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12379. if (from.has_type()) {
  12380. set_type(from.type());
  12381. }
  12382. if (from.has_param()) {
  12383. set_param(from.param());
  12384. }
  12385. if (from.has_count()) {
  12386. set_count(from.count());
  12387. }
  12388. }
  12389. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  12390. }
  12391. void recordInfo::CopyFrom(const ::google::protobuf::Message& from) {
  12392. if (&from == this) return;
  12393. Clear();
  12394. MergeFrom(from);
  12395. }
  12396. void recordInfo::CopyFrom(const recordInfo& from) {
  12397. if (&from == this) return;
  12398. Clear();
  12399. MergeFrom(from);
  12400. }
  12401. bool recordInfo::IsInitialized() const {
  12402. return true;
  12403. }
  12404. void recordInfo::Swap(recordInfo* other) {
  12405. if (other != this) {
  12406. std::swap(type_, other->type_);
  12407. std::swap(param_, other->param_);
  12408. std::swap(count_, other->count_);
  12409. std::swap(_has_bits_[0], other->_has_bits_[0]);
  12410. _unknown_fields_.Swap(&other->_unknown_fields_);
  12411. std::swap(_cached_size_, other->_cached_size_);
  12412. }
  12413. }
  12414. ::google::protobuf::Metadata recordInfo::GetMetadata() const {
  12415. protobuf_AssignDescriptorsOnce();
  12416. ::google::protobuf::Metadata metadata;
  12417. metadata.descriptor = recordInfo_descriptor_;
  12418. metadata.reflection = recordInfo_reflection_;
  12419. return metadata;
  12420. }
  12421. // ===================================================================
  12422. #ifndef _MSC_VER
  12423. const int packetc2w_syn_record_info::kPacketIdFieldNumber;
  12424. const int packetc2w_syn_record_info::kRecordListFieldNumber;
  12425. #endif // !_MSC_VER
  12426. packetc2w_syn_record_info::packetc2w_syn_record_info()
  12427. : ::google::protobuf::Message() {
  12428. SharedCtor();
  12429. }
  12430. void packetc2w_syn_record_info::InitAsDefaultInstance() {
  12431. }
  12432. packetc2w_syn_record_info::packetc2w_syn_record_info(const packetc2w_syn_record_info& from)
  12433. : ::google::protobuf::Message() {
  12434. SharedCtor();
  12435. MergeFrom(from);
  12436. }
  12437. void packetc2w_syn_record_info::SharedCtor() {
  12438. _cached_size_ = 0;
  12439. packet_id_ = 5157;
  12440. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12441. }
  12442. packetc2w_syn_record_info::~packetc2w_syn_record_info() {
  12443. SharedDtor();
  12444. }
  12445. void packetc2w_syn_record_info::SharedDtor() {
  12446. if (this != default_instance_) {
  12447. }
  12448. }
  12449. void packetc2w_syn_record_info::SetCachedSize(int size) const {
  12450. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12451. _cached_size_ = size;
  12452. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12453. }
  12454. const ::google::protobuf::Descriptor* packetc2w_syn_record_info::descriptor() {
  12455. protobuf_AssignDescriptorsOnce();
  12456. return packetc2w_syn_record_info_descriptor_;
  12457. }
  12458. const packetc2w_syn_record_info& packetc2w_syn_record_info::default_instance() {
  12459. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  12460. return *default_instance_;
  12461. }
  12462. packetc2w_syn_record_info* packetc2w_syn_record_info::default_instance_ = NULL;
  12463. packetc2w_syn_record_info* packetc2w_syn_record_info::New() const {
  12464. return new packetc2w_syn_record_info;
  12465. }
  12466. void packetc2w_syn_record_info::Clear() {
  12467. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12468. packet_id_ = 5157;
  12469. }
  12470. recordlist_.Clear();
  12471. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12472. mutable_unknown_fields()->Clear();
  12473. }
  12474. bool packetc2w_syn_record_info::MergePartialFromCodedStream(
  12475. ::google::protobuf::io::CodedInputStream* input) {
  12476. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  12477. ::google::protobuf::uint32 tag;
  12478. while ((tag = input->ReadTag()) != 0) {
  12479. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  12480. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_syn_record_info];
  12481. case 1: {
  12482. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12483. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12484. int value;
  12485. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12486. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  12487. input, &value)));
  12488. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  12489. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  12490. } else {
  12491. mutable_unknown_fields()->AddVarint(1, value);
  12492. }
  12493. } else {
  12494. goto handle_uninterpreted;
  12495. }
  12496. if (input->ExpectTag(18)) goto parse_recordList;
  12497. break;
  12498. }
  12499. // repeated .client2world_protocols.recordInfo recordList = 2;
  12500. case 2: {
  12501. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12502. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  12503. parse_recordList:
  12504. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  12505. input, add_recordlist()));
  12506. } else {
  12507. goto handle_uninterpreted;
  12508. }
  12509. if (input->ExpectTag(18)) goto parse_recordList;
  12510. if (input->ExpectAtEnd()) return true;
  12511. break;
  12512. }
  12513. default: {
  12514. handle_uninterpreted:
  12515. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12516. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  12517. return true;
  12518. }
  12519. DO_(::google::protobuf::internal::WireFormat::SkipField(
  12520. input, tag, mutable_unknown_fields()));
  12521. break;
  12522. }
  12523. }
  12524. }
  12525. return true;
  12526. #undef DO_
  12527. }
  12528. void packetc2w_syn_record_info::SerializeWithCachedSizes(
  12529. ::google::protobuf::io::CodedOutputStream* output) const {
  12530. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_syn_record_info];
  12531. if (has_packet_id()) {
  12532. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  12533. 1, this->packet_id(), output);
  12534. }
  12535. // repeated .client2world_protocols.recordInfo recordList = 2;
  12536. for (int i = 0; i < this->recordlist_size(); i++) {
  12537. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  12538. 2, this->recordlist(i), output);
  12539. }
  12540. if (!unknown_fields().empty()) {
  12541. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  12542. unknown_fields(), output);
  12543. }
  12544. }
  12545. ::google::protobuf::uint8* packetc2w_syn_record_info::SerializeWithCachedSizesToArray(
  12546. ::google::protobuf::uint8* target) const {
  12547. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_syn_record_info];
  12548. if (has_packet_id()) {
  12549. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  12550. 1, this->packet_id(), target);
  12551. }
  12552. // repeated .client2world_protocols.recordInfo recordList = 2;
  12553. for (int i = 0; i < this->recordlist_size(); i++) {
  12554. target = ::google::protobuf::internal::WireFormatLite::
  12555. WriteMessageNoVirtualToArray(
  12556. 2, this->recordlist(i), target);
  12557. }
  12558. if (!unknown_fields().empty()) {
  12559. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  12560. unknown_fields(), target);
  12561. }
  12562. return target;
  12563. }
  12564. int packetc2w_syn_record_info::ByteSize() const {
  12565. int total_size = 0;
  12566. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12567. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_syn_record_info];
  12568. if (has_packet_id()) {
  12569. total_size += 1 +
  12570. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  12571. }
  12572. }
  12573. // repeated .client2world_protocols.recordInfo recordList = 2;
  12574. total_size += 1 * this->recordlist_size();
  12575. for (int i = 0; i < this->recordlist_size(); i++) {
  12576. total_size +=
  12577. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  12578. this->recordlist(i));
  12579. }
  12580. if (!unknown_fields().empty()) {
  12581. total_size +=
  12582. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  12583. unknown_fields());
  12584. }
  12585. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12586. _cached_size_ = total_size;
  12587. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12588. return total_size;
  12589. }
  12590. void packetc2w_syn_record_info::MergeFrom(const ::google::protobuf::Message& from) {
  12591. GOOGLE_CHECK_NE(&from, this);
  12592. const packetc2w_syn_record_info* source =
  12593. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_syn_record_info*>(
  12594. &from);
  12595. if (source == NULL) {
  12596. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  12597. } else {
  12598. MergeFrom(*source);
  12599. }
  12600. }
  12601. void packetc2w_syn_record_info::MergeFrom(const packetc2w_syn_record_info& from) {
  12602. GOOGLE_CHECK_NE(&from, this);
  12603. recordlist_.MergeFrom(from.recordlist_);
  12604. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12605. if (from.has_packet_id()) {
  12606. set_packet_id(from.packet_id());
  12607. }
  12608. }
  12609. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  12610. }
  12611. void packetc2w_syn_record_info::CopyFrom(const ::google::protobuf::Message& from) {
  12612. if (&from == this) return;
  12613. Clear();
  12614. MergeFrom(from);
  12615. }
  12616. void packetc2w_syn_record_info::CopyFrom(const packetc2w_syn_record_info& from) {
  12617. if (&from == this) return;
  12618. Clear();
  12619. MergeFrom(from);
  12620. }
  12621. bool packetc2w_syn_record_info::IsInitialized() const {
  12622. return true;
  12623. }
  12624. void packetc2w_syn_record_info::Swap(packetc2w_syn_record_info* other) {
  12625. if (other != this) {
  12626. std::swap(packet_id_, other->packet_id_);
  12627. recordlist_.Swap(&other->recordlist_);
  12628. std::swap(_has_bits_[0], other->_has_bits_[0]);
  12629. _unknown_fields_.Swap(&other->_unknown_fields_);
  12630. std::swap(_cached_size_, other->_cached_size_);
  12631. }
  12632. }
  12633. ::google::protobuf::Metadata packetc2w_syn_record_info::GetMetadata() const {
  12634. protobuf_AssignDescriptorsOnce();
  12635. ::google::protobuf::Metadata metadata;
  12636. metadata.descriptor = packetc2w_syn_record_info_descriptor_;
  12637. metadata.reflection = packetc2w_syn_record_info_reflection_;
  12638. return metadata;
  12639. }
  12640. // ===================================================================
  12641. #ifndef _MSC_VER
  12642. const int packetc2w_pay_by_diamond::kPacketIdFieldNumber;
  12643. const int packetc2w_pay_by_diamond::kPayidFieldNumber;
  12644. #endif // !_MSC_VER
  12645. packetc2w_pay_by_diamond::packetc2w_pay_by_diamond()
  12646. : ::google::protobuf::Message() {
  12647. SharedCtor();
  12648. }
  12649. void packetc2w_pay_by_diamond::InitAsDefaultInstance() {
  12650. }
  12651. packetc2w_pay_by_diamond::packetc2w_pay_by_diamond(const packetc2w_pay_by_diamond& from)
  12652. : ::google::protobuf::Message() {
  12653. SharedCtor();
  12654. MergeFrom(from);
  12655. }
  12656. void packetc2w_pay_by_diamond::SharedCtor() {
  12657. _cached_size_ = 0;
  12658. packet_id_ = 5171;
  12659. payid_ = 0;
  12660. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12661. }
  12662. packetc2w_pay_by_diamond::~packetc2w_pay_by_diamond() {
  12663. SharedDtor();
  12664. }
  12665. void packetc2w_pay_by_diamond::SharedDtor() {
  12666. if (this != default_instance_) {
  12667. }
  12668. }
  12669. void packetc2w_pay_by_diamond::SetCachedSize(int size) const {
  12670. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12671. _cached_size_ = size;
  12672. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12673. }
  12674. const ::google::protobuf::Descriptor* packetc2w_pay_by_diamond::descriptor() {
  12675. protobuf_AssignDescriptorsOnce();
  12676. return packetc2w_pay_by_diamond_descriptor_;
  12677. }
  12678. const packetc2w_pay_by_diamond& packetc2w_pay_by_diamond::default_instance() {
  12679. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  12680. return *default_instance_;
  12681. }
  12682. packetc2w_pay_by_diamond* packetc2w_pay_by_diamond::default_instance_ = NULL;
  12683. packetc2w_pay_by_diamond* packetc2w_pay_by_diamond::New() const {
  12684. return new packetc2w_pay_by_diamond;
  12685. }
  12686. void packetc2w_pay_by_diamond::Clear() {
  12687. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12688. packet_id_ = 5171;
  12689. payid_ = 0;
  12690. }
  12691. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12692. mutable_unknown_fields()->Clear();
  12693. }
  12694. bool packetc2w_pay_by_diamond::MergePartialFromCodedStream(
  12695. ::google::protobuf::io::CodedInputStream* input) {
  12696. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  12697. ::google::protobuf::uint32 tag;
  12698. while ((tag = input->ReadTag()) != 0) {
  12699. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  12700. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_pay_by_diamond];
  12701. case 1: {
  12702. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12703. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12704. int value;
  12705. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12706. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  12707. input, &value)));
  12708. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  12709. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  12710. } else {
  12711. mutable_unknown_fields()->AddVarint(1, value);
  12712. }
  12713. } else {
  12714. goto handle_uninterpreted;
  12715. }
  12716. if (input->ExpectTag(16)) goto parse_payid;
  12717. break;
  12718. }
  12719. // optional int32 payid = 2;
  12720. case 2: {
  12721. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12722. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12723. parse_payid:
  12724. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12725. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  12726. input, &payid_)));
  12727. set_has_payid();
  12728. } else {
  12729. goto handle_uninterpreted;
  12730. }
  12731. if (input->ExpectAtEnd()) return true;
  12732. break;
  12733. }
  12734. default: {
  12735. handle_uninterpreted:
  12736. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12737. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  12738. return true;
  12739. }
  12740. DO_(::google::protobuf::internal::WireFormat::SkipField(
  12741. input, tag, mutable_unknown_fields()));
  12742. break;
  12743. }
  12744. }
  12745. }
  12746. return true;
  12747. #undef DO_
  12748. }
  12749. void packetc2w_pay_by_diamond::SerializeWithCachedSizes(
  12750. ::google::protobuf::io::CodedOutputStream* output) const {
  12751. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_pay_by_diamond];
  12752. if (has_packet_id()) {
  12753. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  12754. 1, this->packet_id(), output);
  12755. }
  12756. // optional int32 payid = 2;
  12757. if (has_payid()) {
  12758. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->payid(), output);
  12759. }
  12760. if (!unknown_fields().empty()) {
  12761. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  12762. unknown_fields(), output);
  12763. }
  12764. }
  12765. ::google::protobuf::uint8* packetc2w_pay_by_diamond::SerializeWithCachedSizesToArray(
  12766. ::google::protobuf::uint8* target) const {
  12767. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_pay_by_diamond];
  12768. if (has_packet_id()) {
  12769. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  12770. 1, this->packet_id(), target);
  12771. }
  12772. // optional int32 payid = 2;
  12773. if (has_payid()) {
  12774. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->payid(), target);
  12775. }
  12776. if (!unknown_fields().empty()) {
  12777. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  12778. unknown_fields(), target);
  12779. }
  12780. return target;
  12781. }
  12782. int packetc2w_pay_by_diamond::ByteSize() const {
  12783. int total_size = 0;
  12784. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12785. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_pay_by_diamond];
  12786. if (has_packet_id()) {
  12787. total_size += 1 +
  12788. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  12789. }
  12790. // optional int32 payid = 2;
  12791. if (has_payid()) {
  12792. total_size += 1 +
  12793. ::google::protobuf::internal::WireFormatLite::Int32Size(
  12794. this->payid());
  12795. }
  12796. }
  12797. if (!unknown_fields().empty()) {
  12798. total_size +=
  12799. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  12800. unknown_fields());
  12801. }
  12802. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12803. _cached_size_ = total_size;
  12804. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12805. return total_size;
  12806. }
  12807. void packetc2w_pay_by_diamond::MergeFrom(const ::google::protobuf::Message& from) {
  12808. GOOGLE_CHECK_NE(&from, this);
  12809. const packetc2w_pay_by_diamond* source =
  12810. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_pay_by_diamond*>(
  12811. &from);
  12812. if (source == NULL) {
  12813. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  12814. } else {
  12815. MergeFrom(*source);
  12816. }
  12817. }
  12818. void packetc2w_pay_by_diamond::MergeFrom(const packetc2w_pay_by_diamond& from) {
  12819. GOOGLE_CHECK_NE(&from, this);
  12820. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12821. if (from.has_packet_id()) {
  12822. set_packet_id(from.packet_id());
  12823. }
  12824. if (from.has_payid()) {
  12825. set_payid(from.payid());
  12826. }
  12827. }
  12828. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  12829. }
  12830. void packetc2w_pay_by_diamond::CopyFrom(const ::google::protobuf::Message& from) {
  12831. if (&from == this) return;
  12832. Clear();
  12833. MergeFrom(from);
  12834. }
  12835. void packetc2w_pay_by_diamond::CopyFrom(const packetc2w_pay_by_diamond& from) {
  12836. if (&from == this) return;
  12837. Clear();
  12838. MergeFrom(from);
  12839. }
  12840. bool packetc2w_pay_by_diamond::IsInitialized() const {
  12841. return true;
  12842. }
  12843. void packetc2w_pay_by_diamond::Swap(packetc2w_pay_by_diamond* other) {
  12844. if (other != this) {
  12845. std::swap(packet_id_, other->packet_id_);
  12846. std::swap(payid_, other->payid_);
  12847. std::swap(_has_bits_[0], other->_has_bits_[0]);
  12848. _unknown_fields_.Swap(&other->_unknown_fields_);
  12849. std::swap(_cached_size_, other->_cached_size_);
  12850. }
  12851. }
  12852. ::google::protobuf::Metadata packetc2w_pay_by_diamond::GetMetadata() const {
  12853. protobuf_AssignDescriptorsOnce();
  12854. ::google::protobuf::Metadata metadata;
  12855. metadata.descriptor = packetc2w_pay_by_diamond_descriptor_;
  12856. metadata.reflection = packetc2w_pay_by_diamond_reflection_;
  12857. return metadata;
  12858. }
  12859. // ===================================================================
  12860. #ifndef _MSC_VER
  12861. const int packetw2c_pay_by_diamond_result::kPacketIdFieldNumber;
  12862. const int packetw2c_pay_by_diamond_result::kResultFieldNumber;
  12863. const int packetw2c_pay_by_diamond_result::kPayidFieldNumber;
  12864. #endif // !_MSC_VER
  12865. packetw2c_pay_by_diamond_result::packetw2c_pay_by_diamond_result()
  12866. : ::google::protobuf::Message() {
  12867. SharedCtor();
  12868. }
  12869. void packetw2c_pay_by_diamond_result::InitAsDefaultInstance() {
  12870. }
  12871. packetw2c_pay_by_diamond_result::packetw2c_pay_by_diamond_result(const packetw2c_pay_by_diamond_result& from)
  12872. : ::google::protobuf::Message() {
  12873. SharedCtor();
  12874. MergeFrom(from);
  12875. }
  12876. void packetw2c_pay_by_diamond_result::SharedCtor() {
  12877. _cached_size_ = 0;
  12878. packet_id_ = 7689;
  12879. result_ = 0;
  12880. payid_ = 0;
  12881. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12882. }
  12883. packetw2c_pay_by_diamond_result::~packetw2c_pay_by_diamond_result() {
  12884. SharedDtor();
  12885. }
  12886. void packetw2c_pay_by_diamond_result::SharedDtor() {
  12887. if (this != default_instance_) {
  12888. }
  12889. }
  12890. void packetw2c_pay_by_diamond_result::SetCachedSize(int size) const {
  12891. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  12892. _cached_size_ = size;
  12893. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  12894. }
  12895. const ::google::protobuf::Descriptor* packetw2c_pay_by_diamond_result::descriptor() {
  12896. protobuf_AssignDescriptorsOnce();
  12897. return packetw2c_pay_by_diamond_result_descriptor_;
  12898. }
  12899. const packetw2c_pay_by_diamond_result& packetw2c_pay_by_diamond_result::default_instance() {
  12900. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  12901. return *default_instance_;
  12902. }
  12903. packetw2c_pay_by_diamond_result* packetw2c_pay_by_diamond_result::default_instance_ = NULL;
  12904. packetw2c_pay_by_diamond_result* packetw2c_pay_by_diamond_result::New() const {
  12905. return new packetw2c_pay_by_diamond_result;
  12906. }
  12907. void packetw2c_pay_by_diamond_result::Clear() {
  12908. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  12909. packet_id_ = 7689;
  12910. result_ = 0;
  12911. payid_ = 0;
  12912. }
  12913. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  12914. mutable_unknown_fields()->Clear();
  12915. }
  12916. bool packetw2c_pay_by_diamond_result::MergePartialFromCodedStream(
  12917. ::google::protobuf::io::CodedInputStream* input) {
  12918. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  12919. ::google::protobuf::uint32 tag;
  12920. while ((tag = input->ReadTag()) != 0) {
  12921. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  12922. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_pay_by_diamond_result];
  12923. case 1: {
  12924. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12925. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12926. int value;
  12927. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12928. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  12929. input, &value)));
  12930. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  12931. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  12932. } else {
  12933. mutable_unknown_fields()->AddVarint(1, value);
  12934. }
  12935. } else {
  12936. goto handle_uninterpreted;
  12937. }
  12938. if (input->ExpectTag(16)) goto parse_result;
  12939. break;
  12940. }
  12941. // optional int32 result = 2;
  12942. case 2: {
  12943. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12944. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12945. parse_result:
  12946. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12947. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  12948. input, &result_)));
  12949. set_has_result();
  12950. } else {
  12951. goto handle_uninterpreted;
  12952. }
  12953. if (input->ExpectTag(24)) goto parse_payid;
  12954. break;
  12955. }
  12956. // optional int32 payid = 3;
  12957. case 3: {
  12958. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12959. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  12960. parse_payid:
  12961. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  12962. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  12963. input, &payid_)));
  12964. set_has_payid();
  12965. } else {
  12966. goto handle_uninterpreted;
  12967. }
  12968. if (input->ExpectAtEnd()) return true;
  12969. break;
  12970. }
  12971. default: {
  12972. handle_uninterpreted:
  12973. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  12974. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  12975. return true;
  12976. }
  12977. DO_(::google::protobuf::internal::WireFormat::SkipField(
  12978. input, tag, mutable_unknown_fields()));
  12979. break;
  12980. }
  12981. }
  12982. }
  12983. return true;
  12984. #undef DO_
  12985. }
  12986. void packetw2c_pay_by_diamond_result::SerializeWithCachedSizes(
  12987. ::google::protobuf::io::CodedOutputStream* output) const {
  12988. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_pay_by_diamond_result];
  12989. if (has_packet_id()) {
  12990. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  12991. 1, this->packet_id(), output);
  12992. }
  12993. // optional int32 result = 2;
  12994. if (has_result()) {
  12995. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  12996. }
  12997. // optional int32 payid = 3;
  12998. if (has_payid()) {
  12999. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->payid(), output);
  13000. }
  13001. if (!unknown_fields().empty()) {
  13002. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  13003. unknown_fields(), output);
  13004. }
  13005. }
  13006. ::google::protobuf::uint8* packetw2c_pay_by_diamond_result::SerializeWithCachedSizesToArray(
  13007. ::google::protobuf::uint8* target) const {
  13008. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_pay_by_diamond_result];
  13009. if (has_packet_id()) {
  13010. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  13011. 1, this->packet_id(), target);
  13012. }
  13013. // optional int32 result = 2;
  13014. if (has_result()) {
  13015. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  13016. }
  13017. // optional int32 payid = 3;
  13018. if (has_payid()) {
  13019. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->payid(), target);
  13020. }
  13021. if (!unknown_fields().empty()) {
  13022. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  13023. unknown_fields(), target);
  13024. }
  13025. return target;
  13026. }
  13027. int packetw2c_pay_by_diamond_result::ByteSize() const {
  13028. int total_size = 0;
  13029. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13030. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_pay_by_diamond_result];
  13031. if (has_packet_id()) {
  13032. total_size += 1 +
  13033. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  13034. }
  13035. // optional int32 result = 2;
  13036. if (has_result()) {
  13037. total_size += 1 +
  13038. ::google::protobuf::internal::WireFormatLite::Int32Size(
  13039. this->result());
  13040. }
  13041. // optional int32 payid = 3;
  13042. if (has_payid()) {
  13043. total_size += 1 +
  13044. ::google::protobuf::internal::WireFormatLite::Int32Size(
  13045. this->payid());
  13046. }
  13047. }
  13048. if (!unknown_fields().empty()) {
  13049. total_size +=
  13050. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  13051. unknown_fields());
  13052. }
  13053. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13054. _cached_size_ = total_size;
  13055. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13056. return total_size;
  13057. }
  13058. void packetw2c_pay_by_diamond_result::MergeFrom(const ::google::protobuf::Message& from) {
  13059. GOOGLE_CHECK_NE(&from, this);
  13060. const packetw2c_pay_by_diamond_result* source =
  13061. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_pay_by_diamond_result*>(
  13062. &from);
  13063. if (source == NULL) {
  13064. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  13065. } else {
  13066. MergeFrom(*source);
  13067. }
  13068. }
  13069. void packetw2c_pay_by_diamond_result::MergeFrom(const packetw2c_pay_by_diamond_result& from) {
  13070. GOOGLE_CHECK_NE(&from, this);
  13071. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13072. if (from.has_packet_id()) {
  13073. set_packet_id(from.packet_id());
  13074. }
  13075. if (from.has_result()) {
  13076. set_result(from.result());
  13077. }
  13078. if (from.has_payid()) {
  13079. set_payid(from.payid());
  13080. }
  13081. }
  13082. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  13083. }
  13084. void packetw2c_pay_by_diamond_result::CopyFrom(const ::google::protobuf::Message& from) {
  13085. if (&from == this) return;
  13086. Clear();
  13087. MergeFrom(from);
  13088. }
  13089. void packetw2c_pay_by_diamond_result::CopyFrom(const packetw2c_pay_by_diamond_result& from) {
  13090. if (&from == this) return;
  13091. Clear();
  13092. MergeFrom(from);
  13093. }
  13094. bool packetw2c_pay_by_diamond_result::IsInitialized() const {
  13095. return true;
  13096. }
  13097. void packetw2c_pay_by_diamond_result::Swap(packetw2c_pay_by_diamond_result* other) {
  13098. if (other != this) {
  13099. std::swap(packet_id_, other->packet_id_);
  13100. std::swap(result_, other->result_);
  13101. std::swap(payid_, other->payid_);
  13102. std::swap(_has_bits_[0], other->_has_bits_[0]);
  13103. _unknown_fields_.Swap(&other->_unknown_fields_);
  13104. std::swap(_cached_size_, other->_cached_size_);
  13105. }
  13106. }
  13107. ::google::protobuf::Metadata packetw2c_pay_by_diamond_result::GetMetadata() const {
  13108. protobuf_AssignDescriptorsOnce();
  13109. ::google::protobuf::Metadata metadata;
  13110. metadata.descriptor = packetw2c_pay_by_diamond_result_descriptor_;
  13111. metadata.reflection = packetw2c_pay_by_diamond_result_reflection_;
  13112. return metadata;
  13113. }
  13114. // ===================================================================
  13115. #ifndef _MSC_VER
  13116. const int packetc2w_exchange_vip_item::kPacketIdFieldNumber;
  13117. const int packetc2w_exchange_vip_item::kIndexFieldNumber;
  13118. #endif // !_MSC_VER
  13119. packetc2w_exchange_vip_item::packetc2w_exchange_vip_item()
  13120. : ::google::protobuf::Message() {
  13121. SharedCtor();
  13122. }
  13123. void packetc2w_exchange_vip_item::InitAsDefaultInstance() {
  13124. }
  13125. packetc2w_exchange_vip_item::packetc2w_exchange_vip_item(const packetc2w_exchange_vip_item& from)
  13126. : ::google::protobuf::Message() {
  13127. SharedCtor();
  13128. MergeFrom(from);
  13129. }
  13130. void packetc2w_exchange_vip_item::SharedCtor() {
  13131. _cached_size_ = 0;
  13132. packet_id_ = 5172;
  13133. index_ = 0;
  13134. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13135. }
  13136. packetc2w_exchange_vip_item::~packetc2w_exchange_vip_item() {
  13137. SharedDtor();
  13138. }
  13139. void packetc2w_exchange_vip_item::SharedDtor() {
  13140. if (this != default_instance_) {
  13141. }
  13142. }
  13143. void packetc2w_exchange_vip_item::SetCachedSize(int size) const {
  13144. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13145. _cached_size_ = size;
  13146. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13147. }
  13148. const ::google::protobuf::Descriptor* packetc2w_exchange_vip_item::descriptor() {
  13149. protobuf_AssignDescriptorsOnce();
  13150. return packetc2w_exchange_vip_item_descriptor_;
  13151. }
  13152. const packetc2w_exchange_vip_item& packetc2w_exchange_vip_item::default_instance() {
  13153. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  13154. return *default_instance_;
  13155. }
  13156. packetc2w_exchange_vip_item* packetc2w_exchange_vip_item::default_instance_ = NULL;
  13157. packetc2w_exchange_vip_item* packetc2w_exchange_vip_item::New() const {
  13158. return new packetc2w_exchange_vip_item;
  13159. }
  13160. void packetc2w_exchange_vip_item::Clear() {
  13161. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13162. packet_id_ = 5172;
  13163. index_ = 0;
  13164. }
  13165. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13166. mutable_unknown_fields()->Clear();
  13167. }
  13168. bool packetc2w_exchange_vip_item::MergePartialFromCodedStream(
  13169. ::google::protobuf::io::CodedInputStream* input) {
  13170. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  13171. ::google::protobuf::uint32 tag;
  13172. while ((tag = input->ReadTag()) != 0) {
  13173. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  13174. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_exchange_vip_item];
  13175. case 1: {
  13176. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13177. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13178. int value;
  13179. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13180. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  13181. input, &value)));
  13182. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  13183. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  13184. } else {
  13185. mutable_unknown_fields()->AddVarint(1, value);
  13186. }
  13187. } else {
  13188. goto handle_uninterpreted;
  13189. }
  13190. if (input->ExpectTag(16)) goto parse_index;
  13191. break;
  13192. }
  13193. // optional int32 index = 2;
  13194. case 2: {
  13195. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13196. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13197. parse_index:
  13198. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13199. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  13200. input, &index_)));
  13201. set_has_index();
  13202. } else {
  13203. goto handle_uninterpreted;
  13204. }
  13205. if (input->ExpectAtEnd()) return true;
  13206. break;
  13207. }
  13208. default: {
  13209. handle_uninterpreted:
  13210. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13211. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  13212. return true;
  13213. }
  13214. DO_(::google::protobuf::internal::WireFormat::SkipField(
  13215. input, tag, mutable_unknown_fields()));
  13216. break;
  13217. }
  13218. }
  13219. }
  13220. return true;
  13221. #undef DO_
  13222. }
  13223. void packetc2w_exchange_vip_item::SerializeWithCachedSizes(
  13224. ::google::protobuf::io::CodedOutputStream* output) const {
  13225. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_exchange_vip_item];
  13226. if (has_packet_id()) {
  13227. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  13228. 1, this->packet_id(), output);
  13229. }
  13230. // optional int32 index = 2;
  13231. if (has_index()) {
  13232. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->index(), output);
  13233. }
  13234. if (!unknown_fields().empty()) {
  13235. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  13236. unknown_fields(), output);
  13237. }
  13238. }
  13239. ::google::protobuf::uint8* packetc2w_exchange_vip_item::SerializeWithCachedSizesToArray(
  13240. ::google::protobuf::uint8* target) const {
  13241. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_exchange_vip_item];
  13242. if (has_packet_id()) {
  13243. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  13244. 1, this->packet_id(), target);
  13245. }
  13246. // optional int32 index = 2;
  13247. if (has_index()) {
  13248. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->index(), target);
  13249. }
  13250. if (!unknown_fields().empty()) {
  13251. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  13252. unknown_fields(), target);
  13253. }
  13254. return target;
  13255. }
  13256. int packetc2w_exchange_vip_item::ByteSize() const {
  13257. int total_size = 0;
  13258. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13259. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_exchange_vip_item];
  13260. if (has_packet_id()) {
  13261. total_size += 1 +
  13262. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  13263. }
  13264. // optional int32 index = 2;
  13265. if (has_index()) {
  13266. total_size += 1 +
  13267. ::google::protobuf::internal::WireFormatLite::Int32Size(
  13268. this->index());
  13269. }
  13270. }
  13271. if (!unknown_fields().empty()) {
  13272. total_size +=
  13273. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  13274. unknown_fields());
  13275. }
  13276. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13277. _cached_size_ = total_size;
  13278. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13279. return total_size;
  13280. }
  13281. void packetc2w_exchange_vip_item::MergeFrom(const ::google::protobuf::Message& from) {
  13282. GOOGLE_CHECK_NE(&from, this);
  13283. const packetc2w_exchange_vip_item* source =
  13284. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_exchange_vip_item*>(
  13285. &from);
  13286. if (source == NULL) {
  13287. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  13288. } else {
  13289. MergeFrom(*source);
  13290. }
  13291. }
  13292. void packetc2w_exchange_vip_item::MergeFrom(const packetc2w_exchange_vip_item& from) {
  13293. GOOGLE_CHECK_NE(&from, this);
  13294. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13295. if (from.has_packet_id()) {
  13296. set_packet_id(from.packet_id());
  13297. }
  13298. if (from.has_index()) {
  13299. set_index(from.index());
  13300. }
  13301. }
  13302. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  13303. }
  13304. void packetc2w_exchange_vip_item::CopyFrom(const ::google::protobuf::Message& from) {
  13305. if (&from == this) return;
  13306. Clear();
  13307. MergeFrom(from);
  13308. }
  13309. void packetc2w_exchange_vip_item::CopyFrom(const packetc2w_exchange_vip_item& from) {
  13310. if (&from == this) return;
  13311. Clear();
  13312. MergeFrom(from);
  13313. }
  13314. bool packetc2w_exchange_vip_item::IsInitialized() const {
  13315. return true;
  13316. }
  13317. void packetc2w_exchange_vip_item::Swap(packetc2w_exchange_vip_item* other) {
  13318. if (other != this) {
  13319. std::swap(packet_id_, other->packet_id_);
  13320. std::swap(index_, other->index_);
  13321. std::swap(_has_bits_[0], other->_has_bits_[0]);
  13322. _unknown_fields_.Swap(&other->_unknown_fields_);
  13323. std::swap(_cached_size_, other->_cached_size_);
  13324. }
  13325. }
  13326. ::google::protobuf::Metadata packetc2w_exchange_vip_item::GetMetadata() const {
  13327. protobuf_AssignDescriptorsOnce();
  13328. ::google::protobuf::Metadata metadata;
  13329. metadata.descriptor = packetc2w_exchange_vip_item_descriptor_;
  13330. metadata.reflection = packetc2w_exchange_vip_item_reflection_;
  13331. return metadata;
  13332. }
  13333. // ===================================================================
  13334. #ifndef _MSC_VER
  13335. const int packetw2c_exchange_vip_item_result::kPacketIdFieldNumber;
  13336. const int packetw2c_exchange_vip_item_result::kResultFieldNumber;
  13337. const int packetw2c_exchange_vip_item_result::kIndexFieldNumber;
  13338. #endif // !_MSC_VER
  13339. packetw2c_exchange_vip_item_result::packetw2c_exchange_vip_item_result()
  13340. : ::google::protobuf::Message() {
  13341. SharedCtor();
  13342. }
  13343. void packetw2c_exchange_vip_item_result::InitAsDefaultInstance() {
  13344. }
  13345. packetw2c_exchange_vip_item_result::packetw2c_exchange_vip_item_result(const packetw2c_exchange_vip_item_result& from)
  13346. : ::google::protobuf::Message() {
  13347. SharedCtor();
  13348. MergeFrom(from);
  13349. }
  13350. void packetw2c_exchange_vip_item_result::SharedCtor() {
  13351. _cached_size_ = 0;
  13352. packet_id_ = 7690;
  13353. result_ = 0;
  13354. index_ = 0;
  13355. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13356. }
  13357. packetw2c_exchange_vip_item_result::~packetw2c_exchange_vip_item_result() {
  13358. SharedDtor();
  13359. }
  13360. void packetw2c_exchange_vip_item_result::SharedDtor() {
  13361. if (this != default_instance_) {
  13362. }
  13363. }
  13364. void packetw2c_exchange_vip_item_result::SetCachedSize(int size) const {
  13365. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13366. _cached_size_ = size;
  13367. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13368. }
  13369. const ::google::protobuf::Descriptor* packetw2c_exchange_vip_item_result::descriptor() {
  13370. protobuf_AssignDescriptorsOnce();
  13371. return packetw2c_exchange_vip_item_result_descriptor_;
  13372. }
  13373. const packetw2c_exchange_vip_item_result& packetw2c_exchange_vip_item_result::default_instance() {
  13374. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  13375. return *default_instance_;
  13376. }
  13377. packetw2c_exchange_vip_item_result* packetw2c_exchange_vip_item_result::default_instance_ = NULL;
  13378. packetw2c_exchange_vip_item_result* packetw2c_exchange_vip_item_result::New() const {
  13379. return new packetw2c_exchange_vip_item_result;
  13380. }
  13381. void packetw2c_exchange_vip_item_result::Clear() {
  13382. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13383. packet_id_ = 7690;
  13384. result_ = 0;
  13385. index_ = 0;
  13386. }
  13387. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13388. mutable_unknown_fields()->Clear();
  13389. }
  13390. bool packetw2c_exchange_vip_item_result::MergePartialFromCodedStream(
  13391. ::google::protobuf::io::CodedInputStream* input) {
  13392. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  13393. ::google::protobuf::uint32 tag;
  13394. while ((tag = input->ReadTag()) != 0) {
  13395. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  13396. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_exchange_vip_item_result];
  13397. case 1: {
  13398. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13399. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13400. int value;
  13401. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13402. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  13403. input, &value)));
  13404. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  13405. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  13406. } else {
  13407. mutable_unknown_fields()->AddVarint(1, value);
  13408. }
  13409. } else {
  13410. goto handle_uninterpreted;
  13411. }
  13412. if (input->ExpectTag(16)) goto parse_result;
  13413. break;
  13414. }
  13415. // optional int32 result = 2;
  13416. case 2: {
  13417. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13418. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13419. parse_result:
  13420. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13421. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  13422. input, &result_)));
  13423. set_has_result();
  13424. } else {
  13425. goto handle_uninterpreted;
  13426. }
  13427. if (input->ExpectTag(24)) goto parse_index;
  13428. break;
  13429. }
  13430. // optional int32 index = 3;
  13431. case 3: {
  13432. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13433. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13434. parse_index:
  13435. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13436. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  13437. input, &index_)));
  13438. set_has_index();
  13439. } else {
  13440. goto handle_uninterpreted;
  13441. }
  13442. if (input->ExpectAtEnd()) return true;
  13443. break;
  13444. }
  13445. default: {
  13446. handle_uninterpreted:
  13447. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13448. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  13449. return true;
  13450. }
  13451. DO_(::google::protobuf::internal::WireFormat::SkipField(
  13452. input, tag, mutable_unknown_fields()));
  13453. break;
  13454. }
  13455. }
  13456. }
  13457. return true;
  13458. #undef DO_
  13459. }
  13460. void packetw2c_exchange_vip_item_result::SerializeWithCachedSizes(
  13461. ::google::protobuf::io::CodedOutputStream* output) const {
  13462. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_exchange_vip_item_result];
  13463. if (has_packet_id()) {
  13464. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  13465. 1, this->packet_id(), output);
  13466. }
  13467. // optional int32 result = 2;
  13468. if (has_result()) {
  13469. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  13470. }
  13471. // optional int32 index = 3;
  13472. if (has_index()) {
  13473. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->index(), output);
  13474. }
  13475. if (!unknown_fields().empty()) {
  13476. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  13477. unknown_fields(), output);
  13478. }
  13479. }
  13480. ::google::protobuf::uint8* packetw2c_exchange_vip_item_result::SerializeWithCachedSizesToArray(
  13481. ::google::protobuf::uint8* target) const {
  13482. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_exchange_vip_item_result];
  13483. if (has_packet_id()) {
  13484. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  13485. 1, this->packet_id(), target);
  13486. }
  13487. // optional int32 result = 2;
  13488. if (has_result()) {
  13489. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  13490. }
  13491. // optional int32 index = 3;
  13492. if (has_index()) {
  13493. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->index(), target);
  13494. }
  13495. if (!unknown_fields().empty()) {
  13496. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  13497. unknown_fields(), target);
  13498. }
  13499. return target;
  13500. }
  13501. int packetw2c_exchange_vip_item_result::ByteSize() const {
  13502. int total_size = 0;
  13503. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13504. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_exchange_vip_item_result];
  13505. if (has_packet_id()) {
  13506. total_size += 1 +
  13507. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  13508. }
  13509. // optional int32 result = 2;
  13510. if (has_result()) {
  13511. total_size += 1 +
  13512. ::google::protobuf::internal::WireFormatLite::Int32Size(
  13513. this->result());
  13514. }
  13515. // optional int32 index = 3;
  13516. if (has_index()) {
  13517. total_size += 1 +
  13518. ::google::protobuf::internal::WireFormatLite::Int32Size(
  13519. this->index());
  13520. }
  13521. }
  13522. if (!unknown_fields().empty()) {
  13523. total_size +=
  13524. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  13525. unknown_fields());
  13526. }
  13527. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13528. _cached_size_ = total_size;
  13529. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13530. return total_size;
  13531. }
  13532. void packetw2c_exchange_vip_item_result::MergeFrom(const ::google::protobuf::Message& from) {
  13533. GOOGLE_CHECK_NE(&from, this);
  13534. const packetw2c_exchange_vip_item_result* source =
  13535. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_exchange_vip_item_result*>(
  13536. &from);
  13537. if (source == NULL) {
  13538. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  13539. } else {
  13540. MergeFrom(*source);
  13541. }
  13542. }
  13543. void packetw2c_exchange_vip_item_result::MergeFrom(const packetw2c_exchange_vip_item_result& from) {
  13544. GOOGLE_CHECK_NE(&from, this);
  13545. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13546. if (from.has_packet_id()) {
  13547. set_packet_id(from.packet_id());
  13548. }
  13549. if (from.has_result()) {
  13550. set_result(from.result());
  13551. }
  13552. if (from.has_index()) {
  13553. set_index(from.index());
  13554. }
  13555. }
  13556. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  13557. }
  13558. void packetw2c_exchange_vip_item_result::CopyFrom(const ::google::protobuf::Message& from) {
  13559. if (&from == this) return;
  13560. Clear();
  13561. MergeFrom(from);
  13562. }
  13563. void packetw2c_exchange_vip_item_result::CopyFrom(const packetw2c_exchange_vip_item_result& from) {
  13564. if (&from == this) return;
  13565. Clear();
  13566. MergeFrom(from);
  13567. }
  13568. bool packetw2c_exchange_vip_item_result::IsInitialized() const {
  13569. return true;
  13570. }
  13571. void packetw2c_exchange_vip_item_result::Swap(packetw2c_exchange_vip_item_result* other) {
  13572. if (other != this) {
  13573. std::swap(packet_id_, other->packet_id_);
  13574. std::swap(result_, other->result_);
  13575. std::swap(index_, other->index_);
  13576. std::swap(_has_bits_[0], other->_has_bits_[0]);
  13577. _unknown_fields_.Swap(&other->_unknown_fields_);
  13578. std::swap(_cached_size_, other->_cached_size_);
  13579. }
  13580. }
  13581. ::google::protobuf::Metadata packetw2c_exchange_vip_item_result::GetMetadata() const {
  13582. protobuf_AssignDescriptorsOnce();
  13583. ::google::protobuf::Metadata metadata;
  13584. metadata.descriptor = packetw2c_exchange_vip_item_result_descriptor_;
  13585. metadata.reflection = packetw2c_exchange_vip_item_result_reflection_;
  13586. return metadata;
  13587. }
  13588. // ===================================================================
  13589. #ifndef _MSC_VER
  13590. const int storeInfo::kIdFieldNumber;
  13591. const int storeInfo::kStoreFieldNumber;
  13592. #endif // !_MSC_VER
  13593. storeInfo::storeInfo()
  13594. : ::google::protobuf::Message() {
  13595. SharedCtor();
  13596. }
  13597. void storeInfo::InitAsDefaultInstance() {
  13598. }
  13599. storeInfo::storeInfo(const storeInfo& from)
  13600. : ::google::protobuf::Message() {
  13601. SharedCtor();
  13602. MergeFrom(from);
  13603. }
  13604. void storeInfo::SharedCtor() {
  13605. _cached_size_ = 0;
  13606. id_ = 0;
  13607. store_ = 0;
  13608. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13609. }
  13610. storeInfo::~storeInfo() {
  13611. SharedDtor();
  13612. }
  13613. void storeInfo::SharedDtor() {
  13614. if (this != default_instance_) {
  13615. }
  13616. }
  13617. void storeInfo::SetCachedSize(int size) const {
  13618. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13619. _cached_size_ = size;
  13620. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13621. }
  13622. const ::google::protobuf::Descriptor* storeInfo::descriptor() {
  13623. protobuf_AssignDescriptorsOnce();
  13624. return storeInfo_descriptor_;
  13625. }
  13626. const storeInfo& storeInfo::default_instance() {
  13627. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  13628. return *default_instance_;
  13629. }
  13630. storeInfo* storeInfo::default_instance_ = NULL;
  13631. storeInfo* storeInfo::New() const {
  13632. return new storeInfo;
  13633. }
  13634. void storeInfo::Clear() {
  13635. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13636. id_ = 0;
  13637. store_ = 0;
  13638. }
  13639. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13640. mutable_unknown_fields()->Clear();
  13641. }
  13642. bool storeInfo::MergePartialFromCodedStream(
  13643. ::google::protobuf::io::CodedInputStream* input) {
  13644. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  13645. ::google::protobuf::uint32 tag;
  13646. while ((tag = input->ReadTag()) != 0) {
  13647. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  13648. // optional int32 id = 1;
  13649. case 1: {
  13650. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13651. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13652. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13653. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  13654. input, &id_)));
  13655. set_has_id();
  13656. } else {
  13657. goto handle_uninterpreted;
  13658. }
  13659. if (input->ExpectTag(16)) goto parse_store;
  13660. break;
  13661. }
  13662. // optional int32 store = 2;
  13663. case 2: {
  13664. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13665. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13666. parse_store:
  13667. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13668. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  13669. input, &store_)));
  13670. set_has_store();
  13671. } else {
  13672. goto handle_uninterpreted;
  13673. }
  13674. if (input->ExpectAtEnd()) return true;
  13675. break;
  13676. }
  13677. default: {
  13678. handle_uninterpreted:
  13679. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13680. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  13681. return true;
  13682. }
  13683. DO_(::google::protobuf::internal::WireFormat::SkipField(
  13684. input, tag, mutable_unknown_fields()));
  13685. break;
  13686. }
  13687. }
  13688. }
  13689. return true;
  13690. #undef DO_
  13691. }
  13692. void storeInfo::SerializeWithCachedSizes(
  13693. ::google::protobuf::io::CodedOutputStream* output) const {
  13694. // optional int32 id = 1;
  13695. if (has_id()) {
  13696. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->id(), output);
  13697. }
  13698. // optional int32 store = 2;
  13699. if (has_store()) {
  13700. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->store(), output);
  13701. }
  13702. if (!unknown_fields().empty()) {
  13703. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  13704. unknown_fields(), output);
  13705. }
  13706. }
  13707. ::google::protobuf::uint8* storeInfo::SerializeWithCachedSizesToArray(
  13708. ::google::protobuf::uint8* target) const {
  13709. // optional int32 id = 1;
  13710. if (has_id()) {
  13711. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->id(), target);
  13712. }
  13713. // optional int32 store = 2;
  13714. if (has_store()) {
  13715. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->store(), target);
  13716. }
  13717. if (!unknown_fields().empty()) {
  13718. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  13719. unknown_fields(), target);
  13720. }
  13721. return target;
  13722. }
  13723. int storeInfo::ByteSize() const {
  13724. int total_size = 0;
  13725. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13726. // optional int32 id = 1;
  13727. if (has_id()) {
  13728. total_size += 1 +
  13729. ::google::protobuf::internal::WireFormatLite::Int32Size(
  13730. this->id());
  13731. }
  13732. // optional int32 store = 2;
  13733. if (has_store()) {
  13734. total_size += 1 +
  13735. ::google::protobuf::internal::WireFormatLite::Int32Size(
  13736. this->store());
  13737. }
  13738. }
  13739. if (!unknown_fields().empty()) {
  13740. total_size +=
  13741. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  13742. unknown_fields());
  13743. }
  13744. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13745. _cached_size_ = total_size;
  13746. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13747. return total_size;
  13748. }
  13749. void storeInfo::MergeFrom(const ::google::protobuf::Message& from) {
  13750. GOOGLE_CHECK_NE(&from, this);
  13751. const storeInfo* source =
  13752. ::google::protobuf::internal::dynamic_cast_if_available<const storeInfo*>(
  13753. &from);
  13754. if (source == NULL) {
  13755. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  13756. } else {
  13757. MergeFrom(*source);
  13758. }
  13759. }
  13760. void storeInfo::MergeFrom(const storeInfo& from) {
  13761. GOOGLE_CHECK_NE(&from, this);
  13762. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13763. if (from.has_id()) {
  13764. set_id(from.id());
  13765. }
  13766. if (from.has_store()) {
  13767. set_store(from.store());
  13768. }
  13769. }
  13770. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  13771. }
  13772. void storeInfo::CopyFrom(const ::google::protobuf::Message& from) {
  13773. if (&from == this) return;
  13774. Clear();
  13775. MergeFrom(from);
  13776. }
  13777. void storeInfo::CopyFrom(const storeInfo& from) {
  13778. if (&from == this) return;
  13779. Clear();
  13780. MergeFrom(from);
  13781. }
  13782. bool storeInfo::IsInitialized() const {
  13783. return true;
  13784. }
  13785. void storeInfo::Swap(storeInfo* other) {
  13786. if (other != this) {
  13787. std::swap(id_, other->id_);
  13788. std::swap(store_, other->store_);
  13789. std::swap(_has_bits_[0], other->_has_bits_[0]);
  13790. _unknown_fields_.Swap(&other->_unknown_fields_);
  13791. std::swap(_cached_size_, other->_cached_size_);
  13792. }
  13793. }
  13794. ::google::protobuf::Metadata storeInfo::GetMetadata() const {
  13795. protobuf_AssignDescriptorsOnce();
  13796. ::google::protobuf::Metadata metadata;
  13797. metadata.descriptor = storeInfo_descriptor_;
  13798. metadata.reflection = storeInfo_reflection_;
  13799. return metadata;
  13800. }
  13801. // ===================================================================
  13802. #ifndef _MSC_VER
  13803. const int packet_c2w_sync_global_data::kPacketIdFieldNumber;
  13804. #endif // !_MSC_VER
  13805. packet_c2w_sync_global_data::packet_c2w_sync_global_data()
  13806. : ::google::protobuf::Message() {
  13807. SharedCtor();
  13808. }
  13809. void packet_c2w_sync_global_data::InitAsDefaultInstance() {
  13810. }
  13811. packet_c2w_sync_global_data::packet_c2w_sync_global_data(const packet_c2w_sync_global_data& from)
  13812. : ::google::protobuf::Message() {
  13813. SharedCtor();
  13814. MergeFrom(from);
  13815. }
  13816. void packet_c2w_sync_global_data::SharedCtor() {
  13817. _cached_size_ = 0;
  13818. packet_id_ = 5174;
  13819. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13820. }
  13821. packet_c2w_sync_global_data::~packet_c2w_sync_global_data() {
  13822. SharedDtor();
  13823. }
  13824. void packet_c2w_sync_global_data::SharedDtor() {
  13825. if (this != default_instance_) {
  13826. }
  13827. }
  13828. void packet_c2w_sync_global_data::SetCachedSize(int size) const {
  13829. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13830. _cached_size_ = size;
  13831. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13832. }
  13833. const ::google::protobuf::Descriptor* packet_c2w_sync_global_data::descriptor() {
  13834. protobuf_AssignDescriptorsOnce();
  13835. return packet_c2w_sync_global_data_descriptor_;
  13836. }
  13837. const packet_c2w_sync_global_data& packet_c2w_sync_global_data::default_instance() {
  13838. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  13839. return *default_instance_;
  13840. }
  13841. packet_c2w_sync_global_data* packet_c2w_sync_global_data::default_instance_ = NULL;
  13842. packet_c2w_sync_global_data* packet_c2w_sync_global_data::New() const {
  13843. return new packet_c2w_sync_global_data;
  13844. }
  13845. void packet_c2w_sync_global_data::Clear() {
  13846. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13847. packet_id_ = 5174;
  13848. }
  13849. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  13850. mutable_unknown_fields()->Clear();
  13851. }
  13852. bool packet_c2w_sync_global_data::MergePartialFromCodedStream(
  13853. ::google::protobuf::io::CodedInputStream* input) {
  13854. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  13855. ::google::protobuf::uint32 tag;
  13856. while ((tag = input->ReadTag()) != 0) {
  13857. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  13858. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_sync_global_data];
  13859. case 1: {
  13860. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13861. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  13862. int value;
  13863. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  13864. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  13865. input, &value)));
  13866. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  13867. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  13868. } else {
  13869. mutable_unknown_fields()->AddVarint(1, value);
  13870. }
  13871. } else {
  13872. goto handle_uninterpreted;
  13873. }
  13874. if (input->ExpectAtEnd()) return true;
  13875. break;
  13876. }
  13877. default: {
  13878. handle_uninterpreted:
  13879. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  13880. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  13881. return true;
  13882. }
  13883. DO_(::google::protobuf::internal::WireFormat::SkipField(
  13884. input, tag, mutable_unknown_fields()));
  13885. break;
  13886. }
  13887. }
  13888. }
  13889. return true;
  13890. #undef DO_
  13891. }
  13892. void packet_c2w_sync_global_data::SerializeWithCachedSizes(
  13893. ::google::protobuf::io::CodedOutputStream* output) const {
  13894. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_sync_global_data];
  13895. if (has_packet_id()) {
  13896. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  13897. 1, this->packet_id(), output);
  13898. }
  13899. if (!unknown_fields().empty()) {
  13900. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  13901. unknown_fields(), output);
  13902. }
  13903. }
  13904. ::google::protobuf::uint8* packet_c2w_sync_global_data::SerializeWithCachedSizesToArray(
  13905. ::google::protobuf::uint8* target) const {
  13906. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_sync_global_data];
  13907. if (has_packet_id()) {
  13908. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  13909. 1, this->packet_id(), target);
  13910. }
  13911. if (!unknown_fields().empty()) {
  13912. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  13913. unknown_fields(), target);
  13914. }
  13915. return target;
  13916. }
  13917. int packet_c2w_sync_global_data::ByteSize() const {
  13918. int total_size = 0;
  13919. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13920. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_sync_global_data];
  13921. if (has_packet_id()) {
  13922. total_size += 1 +
  13923. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  13924. }
  13925. }
  13926. if (!unknown_fields().empty()) {
  13927. total_size +=
  13928. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  13929. unknown_fields());
  13930. }
  13931. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  13932. _cached_size_ = total_size;
  13933. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  13934. return total_size;
  13935. }
  13936. void packet_c2w_sync_global_data::MergeFrom(const ::google::protobuf::Message& from) {
  13937. GOOGLE_CHECK_NE(&from, this);
  13938. const packet_c2w_sync_global_data* source =
  13939. ::google::protobuf::internal::dynamic_cast_if_available<const packet_c2w_sync_global_data*>(
  13940. &from);
  13941. if (source == NULL) {
  13942. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  13943. } else {
  13944. MergeFrom(*source);
  13945. }
  13946. }
  13947. void packet_c2w_sync_global_data::MergeFrom(const packet_c2w_sync_global_data& from) {
  13948. GOOGLE_CHECK_NE(&from, this);
  13949. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  13950. if (from.has_packet_id()) {
  13951. set_packet_id(from.packet_id());
  13952. }
  13953. }
  13954. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  13955. }
  13956. void packet_c2w_sync_global_data::CopyFrom(const ::google::protobuf::Message& from) {
  13957. if (&from == this) return;
  13958. Clear();
  13959. MergeFrom(from);
  13960. }
  13961. void packet_c2w_sync_global_data::CopyFrom(const packet_c2w_sync_global_data& from) {
  13962. if (&from == this) return;
  13963. Clear();
  13964. MergeFrom(from);
  13965. }
  13966. bool packet_c2w_sync_global_data::IsInitialized() const {
  13967. return true;
  13968. }
  13969. void packet_c2w_sync_global_data::Swap(packet_c2w_sync_global_data* other) {
  13970. if (other != this) {
  13971. std::swap(packet_id_, other->packet_id_);
  13972. std::swap(_has_bits_[0], other->_has_bits_[0]);
  13973. _unknown_fields_.Swap(&other->_unknown_fields_);
  13974. std::swap(_cached_size_, other->_cached_size_);
  13975. }
  13976. }
  13977. ::google::protobuf::Metadata packet_c2w_sync_global_data::GetMetadata() const {
  13978. protobuf_AssignDescriptorsOnce();
  13979. ::google::protobuf::Metadata metadata;
  13980. metadata.descriptor = packet_c2w_sync_global_data_descriptor_;
  13981. metadata.reflection = packet_c2w_sync_global_data_reflection_;
  13982. return metadata;
  13983. }
  13984. // ===================================================================
  13985. #ifndef _MSC_VER
  13986. const int packet_w2c_sync_global_data_result::kPacketIdFieldNumber;
  13987. const int packet_w2c_sync_global_data_result::kVipExchangeStoreFieldNumber;
  13988. const int packet_w2c_sync_global_data_result::kFirstRechargeGiftPayCountFieldNumber;
  13989. #endif // !_MSC_VER
  13990. packet_w2c_sync_global_data_result::packet_w2c_sync_global_data_result()
  13991. : ::google::protobuf::Message() {
  13992. SharedCtor();
  13993. }
  13994. void packet_w2c_sync_global_data_result::InitAsDefaultInstance() {
  13995. }
  13996. packet_w2c_sync_global_data_result::packet_w2c_sync_global_data_result(const packet_w2c_sync_global_data_result& from)
  13997. : ::google::protobuf::Message() {
  13998. SharedCtor();
  13999. MergeFrom(from);
  14000. }
  14001. void packet_w2c_sync_global_data_result::SharedCtor() {
  14002. _cached_size_ = 0;
  14003. packet_id_ = 7693;
  14004. firstrechargegiftpaycount_ = 0;
  14005. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14006. }
  14007. packet_w2c_sync_global_data_result::~packet_w2c_sync_global_data_result() {
  14008. SharedDtor();
  14009. }
  14010. void packet_w2c_sync_global_data_result::SharedDtor() {
  14011. if (this != default_instance_) {
  14012. }
  14013. }
  14014. void packet_w2c_sync_global_data_result::SetCachedSize(int size) const {
  14015. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14016. _cached_size_ = size;
  14017. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14018. }
  14019. const ::google::protobuf::Descriptor* packet_w2c_sync_global_data_result::descriptor() {
  14020. protobuf_AssignDescriptorsOnce();
  14021. return packet_w2c_sync_global_data_result_descriptor_;
  14022. }
  14023. const packet_w2c_sync_global_data_result& packet_w2c_sync_global_data_result::default_instance() {
  14024. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  14025. return *default_instance_;
  14026. }
  14027. packet_w2c_sync_global_data_result* packet_w2c_sync_global_data_result::default_instance_ = NULL;
  14028. packet_w2c_sync_global_data_result* packet_w2c_sync_global_data_result::New() const {
  14029. return new packet_w2c_sync_global_data_result;
  14030. }
  14031. void packet_w2c_sync_global_data_result::Clear() {
  14032. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14033. packet_id_ = 7693;
  14034. firstrechargegiftpaycount_ = 0;
  14035. }
  14036. vipexchangestore_.Clear();
  14037. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14038. mutable_unknown_fields()->Clear();
  14039. }
  14040. bool packet_w2c_sync_global_data_result::MergePartialFromCodedStream(
  14041. ::google::protobuf::io::CodedInputStream* input) {
  14042. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  14043. ::google::protobuf::uint32 tag;
  14044. while ((tag = input->ReadTag()) != 0) {
  14045. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  14046. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_sync_global_data_result];
  14047. case 1: {
  14048. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14049. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14050. int value;
  14051. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14052. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  14053. input, &value)));
  14054. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  14055. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  14056. } else {
  14057. mutable_unknown_fields()->AddVarint(1, value);
  14058. }
  14059. } else {
  14060. goto handle_uninterpreted;
  14061. }
  14062. if (input->ExpectTag(18)) goto parse_vipExchangeStore;
  14063. break;
  14064. }
  14065. // repeated .client2world_protocols.storeInfo vipExchangeStore = 2;
  14066. case 2: {
  14067. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14068. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  14069. parse_vipExchangeStore:
  14070. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  14071. input, add_vipexchangestore()));
  14072. } else {
  14073. goto handle_uninterpreted;
  14074. }
  14075. if (input->ExpectTag(18)) goto parse_vipExchangeStore;
  14076. if (input->ExpectTag(24)) goto parse_firstRechargeGiftPayCount;
  14077. break;
  14078. }
  14079. // optional int32 firstRechargeGiftPayCount = 3;
  14080. case 3: {
  14081. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14082. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14083. parse_firstRechargeGiftPayCount:
  14084. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14085. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14086. input, &firstrechargegiftpaycount_)));
  14087. set_has_firstrechargegiftpaycount();
  14088. } else {
  14089. goto handle_uninterpreted;
  14090. }
  14091. if (input->ExpectAtEnd()) return true;
  14092. break;
  14093. }
  14094. default: {
  14095. handle_uninterpreted:
  14096. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14097. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  14098. return true;
  14099. }
  14100. DO_(::google::protobuf::internal::WireFormat::SkipField(
  14101. input, tag, mutable_unknown_fields()));
  14102. break;
  14103. }
  14104. }
  14105. }
  14106. return true;
  14107. #undef DO_
  14108. }
  14109. void packet_w2c_sync_global_data_result::SerializeWithCachedSizes(
  14110. ::google::protobuf::io::CodedOutputStream* output) const {
  14111. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_sync_global_data_result];
  14112. if (has_packet_id()) {
  14113. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  14114. 1, this->packet_id(), output);
  14115. }
  14116. // repeated .client2world_protocols.storeInfo vipExchangeStore = 2;
  14117. for (int i = 0; i < this->vipexchangestore_size(); i++) {
  14118. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  14119. 2, this->vipexchangestore(i), output);
  14120. }
  14121. // optional int32 firstRechargeGiftPayCount = 3;
  14122. if (has_firstrechargegiftpaycount()) {
  14123. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->firstrechargegiftpaycount(), output);
  14124. }
  14125. if (!unknown_fields().empty()) {
  14126. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  14127. unknown_fields(), output);
  14128. }
  14129. }
  14130. ::google::protobuf::uint8* packet_w2c_sync_global_data_result::SerializeWithCachedSizesToArray(
  14131. ::google::protobuf::uint8* target) const {
  14132. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_sync_global_data_result];
  14133. if (has_packet_id()) {
  14134. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  14135. 1, this->packet_id(), target);
  14136. }
  14137. // repeated .client2world_protocols.storeInfo vipExchangeStore = 2;
  14138. for (int i = 0; i < this->vipexchangestore_size(); i++) {
  14139. target = ::google::protobuf::internal::WireFormatLite::
  14140. WriteMessageNoVirtualToArray(
  14141. 2, this->vipexchangestore(i), target);
  14142. }
  14143. // optional int32 firstRechargeGiftPayCount = 3;
  14144. if (has_firstrechargegiftpaycount()) {
  14145. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->firstrechargegiftpaycount(), target);
  14146. }
  14147. if (!unknown_fields().empty()) {
  14148. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  14149. unknown_fields(), target);
  14150. }
  14151. return target;
  14152. }
  14153. int packet_w2c_sync_global_data_result::ByteSize() const {
  14154. int total_size = 0;
  14155. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14156. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_sync_global_data_result];
  14157. if (has_packet_id()) {
  14158. total_size += 1 +
  14159. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  14160. }
  14161. // optional int32 firstRechargeGiftPayCount = 3;
  14162. if (has_firstrechargegiftpaycount()) {
  14163. total_size += 1 +
  14164. ::google::protobuf::internal::WireFormatLite::Int32Size(
  14165. this->firstrechargegiftpaycount());
  14166. }
  14167. }
  14168. // repeated .client2world_protocols.storeInfo vipExchangeStore = 2;
  14169. total_size += 1 * this->vipexchangestore_size();
  14170. for (int i = 0; i < this->vipexchangestore_size(); i++) {
  14171. total_size +=
  14172. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  14173. this->vipexchangestore(i));
  14174. }
  14175. if (!unknown_fields().empty()) {
  14176. total_size +=
  14177. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  14178. unknown_fields());
  14179. }
  14180. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14181. _cached_size_ = total_size;
  14182. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14183. return total_size;
  14184. }
  14185. void packet_w2c_sync_global_data_result::MergeFrom(const ::google::protobuf::Message& from) {
  14186. GOOGLE_CHECK_NE(&from, this);
  14187. const packet_w2c_sync_global_data_result* source =
  14188. ::google::protobuf::internal::dynamic_cast_if_available<const packet_w2c_sync_global_data_result*>(
  14189. &from);
  14190. if (source == NULL) {
  14191. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  14192. } else {
  14193. MergeFrom(*source);
  14194. }
  14195. }
  14196. void packet_w2c_sync_global_data_result::MergeFrom(const packet_w2c_sync_global_data_result& from) {
  14197. GOOGLE_CHECK_NE(&from, this);
  14198. vipexchangestore_.MergeFrom(from.vipexchangestore_);
  14199. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14200. if (from.has_packet_id()) {
  14201. set_packet_id(from.packet_id());
  14202. }
  14203. if (from.has_firstrechargegiftpaycount()) {
  14204. set_firstrechargegiftpaycount(from.firstrechargegiftpaycount());
  14205. }
  14206. }
  14207. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  14208. }
  14209. void packet_w2c_sync_global_data_result::CopyFrom(const ::google::protobuf::Message& from) {
  14210. if (&from == this) return;
  14211. Clear();
  14212. MergeFrom(from);
  14213. }
  14214. void packet_w2c_sync_global_data_result::CopyFrom(const packet_w2c_sync_global_data_result& from) {
  14215. if (&from == this) return;
  14216. Clear();
  14217. MergeFrom(from);
  14218. }
  14219. bool packet_w2c_sync_global_data_result::IsInitialized() const {
  14220. return true;
  14221. }
  14222. void packet_w2c_sync_global_data_result::Swap(packet_w2c_sync_global_data_result* other) {
  14223. if (other != this) {
  14224. std::swap(packet_id_, other->packet_id_);
  14225. vipexchangestore_.Swap(&other->vipexchangestore_);
  14226. std::swap(firstrechargegiftpaycount_, other->firstrechargegiftpaycount_);
  14227. std::swap(_has_bits_[0], other->_has_bits_[0]);
  14228. _unknown_fields_.Swap(&other->_unknown_fields_);
  14229. std::swap(_cached_size_, other->_cached_size_);
  14230. }
  14231. }
  14232. ::google::protobuf::Metadata packet_w2c_sync_global_data_result::GetMetadata() const {
  14233. protobuf_AssignDescriptorsOnce();
  14234. ::google::protobuf::Metadata metadata;
  14235. metadata.descriptor = packet_w2c_sync_global_data_result_descriptor_;
  14236. metadata.reflection = packet_w2c_sync_global_data_result_reflection_;
  14237. return metadata;
  14238. }
  14239. // ===================================================================
  14240. #ifndef _MSC_VER
  14241. const int packet_w2c_trigger_seven_day_rechage::kPacketIdFieldNumber;
  14242. const int packet_w2c_trigger_seven_day_rechage::kEndTimeFieldNumber;
  14243. const int packet_w2c_trigger_seven_day_rechage::kLeftsecondFieldNumber;
  14244. #endif // !_MSC_VER
  14245. packet_w2c_trigger_seven_day_rechage::packet_w2c_trigger_seven_day_rechage()
  14246. : ::google::protobuf::Message() {
  14247. SharedCtor();
  14248. }
  14249. void packet_w2c_trigger_seven_day_rechage::InitAsDefaultInstance() {
  14250. }
  14251. packet_w2c_trigger_seven_day_rechage::packet_w2c_trigger_seven_day_rechage(const packet_w2c_trigger_seven_day_rechage& from)
  14252. : ::google::protobuf::Message() {
  14253. SharedCtor();
  14254. MergeFrom(from);
  14255. }
  14256. void packet_w2c_trigger_seven_day_rechage::SharedCtor() {
  14257. _cached_size_ = 0;
  14258. packet_id_ = 7704;
  14259. endtime_ = 0;
  14260. leftsecond_ = 0;
  14261. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14262. }
  14263. packet_w2c_trigger_seven_day_rechage::~packet_w2c_trigger_seven_day_rechage() {
  14264. SharedDtor();
  14265. }
  14266. void packet_w2c_trigger_seven_day_rechage::SharedDtor() {
  14267. if (this != default_instance_) {
  14268. }
  14269. }
  14270. void packet_w2c_trigger_seven_day_rechage::SetCachedSize(int size) const {
  14271. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14272. _cached_size_ = size;
  14273. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14274. }
  14275. const ::google::protobuf::Descriptor* packet_w2c_trigger_seven_day_rechage::descriptor() {
  14276. protobuf_AssignDescriptorsOnce();
  14277. return packet_w2c_trigger_seven_day_rechage_descriptor_;
  14278. }
  14279. const packet_w2c_trigger_seven_day_rechage& packet_w2c_trigger_seven_day_rechage::default_instance() {
  14280. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  14281. return *default_instance_;
  14282. }
  14283. packet_w2c_trigger_seven_day_rechage* packet_w2c_trigger_seven_day_rechage::default_instance_ = NULL;
  14284. packet_w2c_trigger_seven_day_rechage* packet_w2c_trigger_seven_day_rechage::New() const {
  14285. return new packet_w2c_trigger_seven_day_rechage;
  14286. }
  14287. void packet_w2c_trigger_seven_day_rechage::Clear() {
  14288. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14289. packet_id_ = 7704;
  14290. endtime_ = 0;
  14291. leftsecond_ = 0;
  14292. }
  14293. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14294. mutable_unknown_fields()->Clear();
  14295. }
  14296. bool packet_w2c_trigger_seven_day_rechage::MergePartialFromCodedStream(
  14297. ::google::protobuf::io::CodedInputStream* input) {
  14298. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  14299. ::google::protobuf::uint32 tag;
  14300. while ((tag = input->ReadTag()) != 0) {
  14301. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  14302. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_trigger_seven_day_rechage];
  14303. case 1: {
  14304. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14305. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14306. int value;
  14307. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14308. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  14309. input, &value)));
  14310. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  14311. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  14312. } else {
  14313. mutable_unknown_fields()->AddVarint(1, value);
  14314. }
  14315. } else {
  14316. goto handle_uninterpreted;
  14317. }
  14318. if (input->ExpectTag(16)) goto parse_endTime;
  14319. break;
  14320. }
  14321. // optional int32 endTime = 2;
  14322. case 2: {
  14323. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14324. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14325. parse_endTime:
  14326. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14327. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14328. input, &endtime_)));
  14329. set_has_endtime();
  14330. } else {
  14331. goto handle_uninterpreted;
  14332. }
  14333. if (input->ExpectTag(24)) goto parse_leftsecond;
  14334. break;
  14335. }
  14336. // optional int32 leftsecond = 3;
  14337. case 3: {
  14338. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14339. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14340. parse_leftsecond:
  14341. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14342. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14343. input, &leftsecond_)));
  14344. set_has_leftsecond();
  14345. } else {
  14346. goto handle_uninterpreted;
  14347. }
  14348. if (input->ExpectAtEnd()) return true;
  14349. break;
  14350. }
  14351. default: {
  14352. handle_uninterpreted:
  14353. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14354. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  14355. return true;
  14356. }
  14357. DO_(::google::protobuf::internal::WireFormat::SkipField(
  14358. input, tag, mutable_unknown_fields()));
  14359. break;
  14360. }
  14361. }
  14362. }
  14363. return true;
  14364. #undef DO_
  14365. }
  14366. void packet_w2c_trigger_seven_day_rechage::SerializeWithCachedSizes(
  14367. ::google::protobuf::io::CodedOutputStream* output) const {
  14368. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_trigger_seven_day_rechage];
  14369. if (has_packet_id()) {
  14370. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  14371. 1, this->packet_id(), output);
  14372. }
  14373. // optional int32 endTime = 2;
  14374. if (has_endtime()) {
  14375. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->endtime(), output);
  14376. }
  14377. // optional int32 leftsecond = 3;
  14378. if (has_leftsecond()) {
  14379. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->leftsecond(), output);
  14380. }
  14381. if (!unknown_fields().empty()) {
  14382. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  14383. unknown_fields(), output);
  14384. }
  14385. }
  14386. ::google::protobuf::uint8* packet_w2c_trigger_seven_day_rechage::SerializeWithCachedSizesToArray(
  14387. ::google::protobuf::uint8* target) const {
  14388. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_trigger_seven_day_rechage];
  14389. if (has_packet_id()) {
  14390. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  14391. 1, this->packet_id(), target);
  14392. }
  14393. // optional int32 endTime = 2;
  14394. if (has_endtime()) {
  14395. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->endtime(), target);
  14396. }
  14397. // optional int32 leftsecond = 3;
  14398. if (has_leftsecond()) {
  14399. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->leftsecond(), target);
  14400. }
  14401. if (!unknown_fields().empty()) {
  14402. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  14403. unknown_fields(), target);
  14404. }
  14405. return target;
  14406. }
  14407. int packet_w2c_trigger_seven_day_rechage::ByteSize() const {
  14408. int total_size = 0;
  14409. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14410. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_trigger_seven_day_rechage];
  14411. if (has_packet_id()) {
  14412. total_size += 1 +
  14413. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  14414. }
  14415. // optional int32 endTime = 2;
  14416. if (has_endtime()) {
  14417. total_size += 1 +
  14418. ::google::protobuf::internal::WireFormatLite::Int32Size(
  14419. this->endtime());
  14420. }
  14421. // optional int32 leftsecond = 3;
  14422. if (has_leftsecond()) {
  14423. total_size += 1 +
  14424. ::google::protobuf::internal::WireFormatLite::Int32Size(
  14425. this->leftsecond());
  14426. }
  14427. }
  14428. if (!unknown_fields().empty()) {
  14429. total_size +=
  14430. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  14431. unknown_fields());
  14432. }
  14433. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14434. _cached_size_ = total_size;
  14435. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14436. return total_size;
  14437. }
  14438. void packet_w2c_trigger_seven_day_rechage::MergeFrom(const ::google::protobuf::Message& from) {
  14439. GOOGLE_CHECK_NE(&from, this);
  14440. const packet_w2c_trigger_seven_day_rechage* source =
  14441. ::google::protobuf::internal::dynamic_cast_if_available<const packet_w2c_trigger_seven_day_rechage*>(
  14442. &from);
  14443. if (source == NULL) {
  14444. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  14445. } else {
  14446. MergeFrom(*source);
  14447. }
  14448. }
  14449. void packet_w2c_trigger_seven_day_rechage::MergeFrom(const packet_w2c_trigger_seven_day_rechage& from) {
  14450. GOOGLE_CHECK_NE(&from, this);
  14451. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14452. if (from.has_packet_id()) {
  14453. set_packet_id(from.packet_id());
  14454. }
  14455. if (from.has_endtime()) {
  14456. set_endtime(from.endtime());
  14457. }
  14458. if (from.has_leftsecond()) {
  14459. set_leftsecond(from.leftsecond());
  14460. }
  14461. }
  14462. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  14463. }
  14464. void packet_w2c_trigger_seven_day_rechage::CopyFrom(const ::google::protobuf::Message& from) {
  14465. if (&from == this) return;
  14466. Clear();
  14467. MergeFrom(from);
  14468. }
  14469. void packet_w2c_trigger_seven_day_rechage::CopyFrom(const packet_w2c_trigger_seven_day_rechage& from) {
  14470. if (&from == this) return;
  14471. Clear();
  14472. MergeFrom(from);
  14473. }
  14474. bool packet_w2c_trigger_seven_day_rechage::IsInitialized() const {
  14475. return true;
  14476. }
  14477. void packet_w2c_trigger_seven_day_rechage::Swap(packet_w2c_trigger_seven_day_rechage* other) {
  14478. if (other != this) {
  14479. std::swap(packet_id_, other->packet_id_);
  14480. std::swap(endtime_, other->endtime_);
  14481. std::swap(leftsecond_, other->leftsecond_);
  14482. std::swap(_has_bits_[0], other->_has_bits_[0]);
  14483. _unknown_fields_.Swap(&other->_unknown_fields_);
  14484. std::swap(_cached_size_, other->_cached_size_);
  14485. }
  14486. }
  14487. ::google::protobuf::Metadata packet_w2c_trigger_seven_day_rechage::GetMetadata() const {
  14488. protobuf_AssignDescriptorsOnce();
  14489. ::google::protobuf::Metadata metadata;
  14490. metadata.descriptor = packet_w2c_trigger_seven_day_rechage_descriptor_;
  14491. metadata.reflection = packet_w2c_trigger_seven_day_rechage_reflection_;
  14492. return metadata;
  14493. }
  14494. // ===================================================================
  14495. #ifndef _MSC_VER
  14496. const int treasureItem::kIndexFieldNumber;
  14497. const int treasureItem::kItemIdFieldNumber;
  14498. const int treasureItem::kItemCountFieldNumber;
  14499. #endif // !_MSC_VER
  14500. treasureItem::treasureItem()
  14501. : ::google::protobuf::Message() {
  14502. SharedCtor();
  14503. }
  14504. void treasureItem::InitAsDefaultInstance() {
  14505. }
  14506. treasureItem::treasureItem(const treasureItem& from)
  14507. : ::google::protobuf::Message() {
  14508. SharedCtor();
  14509. MergeFrom(from);
  14510. }
  14511. void treasureItem::SharedCtor() {
  14512. _cached_size_ = 0;
  14513. index_ = 0;
  14514. itemid_ = 0;
  14515. itemcount_ = 0;
  14516. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14517. }
  14518. treasureItem::~treasureItem() {
  14519. SharedDtor();
  14520. }
  14521. void treasureItem::SharedDtor() {
  14522. if (this != default_instance_) {
  14523. }
  14524. }
  14525. void treasureItem::SetCachedSize(int size) const {
  14526. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14527. _cached_size_ = size;
  14528. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14529. }
  14530. const ::google::protobuf::Descriptor* treasureItem::descriptor() {
  14531. protobuf_AssignDescriptorsOnce();
  14532. return treasureItem_descriptor_;
  14533. }
  14534. const treasureItem& treasureItem::default_instance() {
  14535. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  14536. return *default_instance_;
  14537. }
  14538. treasureItem* treasureItem::default_instance_ = NULL;
  14539. treasureItem* treasureItem::New() const {
  14540. return new treasureItem;
  14541. }
  14542. void treasureItem::Clear() {
  14543. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14544. index_ = 0;
  14545. itemid_ = 0;
  14546. itemcount_ = 0;
  14547. }
  14548. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14549. mutable_unknown_fields()->Clear();
  14550. }
  14551. bool treasureItem::MergePartialFromCodedStream(
  14552. ::google::protobuf::io::CodedInputStream* input) {
  14553. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  14554. ::google::protobuf::uint32 tag;
  14555. while ((tag = input->ReadTag()) != 0) {
  14556. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  14557. // optional int32 index = 1;
  14558. case 1: {
  14559. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14560. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14561. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14562. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14563. input, &index_)));
  14564. set_has_index();
  14565. } else {
  14566. goto handle_uninterpreted;
  14567. }
  14568. if (input->ExpectTag(16)) goto parse_itemId;
  14569. break;
  14570. }
  14571. // optional int32 itemId = 2;
  14572. case 2: {
  14573. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14574. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14575. parse_itemId:
  14576. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14577. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14578. input, &itemid_)));
  14579. set_has_itemid();
  14580. } else {
  14581. goto handle_uninterpreted;
  14582. }
  14583. if (input->ExpectTag(24)) goto parse_itemCount;
  14584. break;
  14585. }
  14586. // optional int32 itemCount = 3;
  14587. case 3: {
  14588. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14589. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14590. parse_itemCount:
  14591. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14592. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14593. input, &itemcount_)));
  14594. set_has_itemcount();
  14595. } else {
  14596. goto handle_uninterpreted;
  14597. }
  14598. if (input->ExpectAtEnd()) return true;
  14599. break;
  14600. }
  14601. default: {
  14602. handle_uninterpreted:
  14603. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14604. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  14605. return true;
  14606. }
  14607. DO_(::google::protobuf::internal::WireFormat::SkipField(
  14608. input, tag, mutable_unknown_fields()));
  14609. break;
  14610. }
  14611. }
  14612. }
  14613. return true;
  14614. #undef DO_
  14615. }
  14616. void treasureItem::SerializeWithCachedSizes(
  14617. ::google::protobuf::io::CodedOutputStream* output) const {
  14618. // optional int32 index = 1;
  14619. if (has_index()) {
  14620. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->index(), output);
  14621. }
  14622. // optional int32 itemId = 2;
  14623. if (has_itemid()) {
  14624. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->itemid(), output);
  14625. }
  14626. // optional int32 itemCount = 3;
  14627. if (has_itemcount()) {
  14628. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->itemcount(), output);
  14629. }
  14630. if (!unknown_fields().empty()) {
  14631. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  14632. unknown_fields(), output);
  14633. }
  14634. }
  14635. ::google::protobuf::uint8* treasureItem::SerializeWithCachedSizesToArray(
  14636. ::google::protobuf::uint8* target) const {
  14637. // optional int32 index = 1;
  14638. if (has_index()) {
  14639. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->index(), target);
  14640. }
  14641. // optional int32 itemId = 2;
  14642. if (has_itemid()) {
  14643. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->itemid(), target);
  14644. }
  14645. // optional int32 itemCount = 3;
  14646. if (has_itemcount()) {
  14647. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->itemcount(), target);
  14648. }
  14649. if (!unknown_fields().empty()) {
  14650. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  14651. unknown_fields(), target);
  14652. }
  14653. return target;
  14654. }
  14655. int treasureItem::ByteSize() const {
  14656. int total_size = 0;
  14657. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14658. // optional int32 index = 1;
  14659. if (has_index()) {
  14660. total_size += 1 +
  14661. ::google::protobuf::internal::WireFormatLite::Int32Size(
  14662. this->index());
  14663. }
  14664. // optional int32 itemId = 2;
  14665. if (has_itemid()) {
  14666. total_size += 1 +
  14667. ::google::protobuf::internal::WireFormatLite::Int32Size(
  14668. this->itemid());
  14669. }
  14670. // optional int32 itemCount = 3;
  14671. if (has_itemcount()) {
  14672. total_size += 1 +
  14673. ::google::protobuf::internal::WireFormatLite::Int32Size(
  14674. this->itemcount());
  14675. }
  14676. }
  14677. if (!unknown_fields().empty()) {
  14678. total_size +=
  14679. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  14680. unknown_fields());
  14681. }
  14682. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14683. _cached_size_ = total_size;
  14684. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14685. return total_size;
  14686. }
  14687. void treasureItem::MergeFrom(const ::google::protobuf::Message& from) {
  14688. GOOGLE_CHECK_NE(&from, this);
  14689. const treasureItem* source =
  14690. ::google::protobuf::internal::dynamic_cast_if_available<const treasureItem*>(
  14691. &from);
  14692. if (source == NULL) {
  14693. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  14694. } else {
  14695. MergeFrom(*source);
  14696. }
  14697. }
  14698. void treasureItem::MergeFrom(const treasureItem& from) {
  14699. GOOGLE_CHECK_NE(&from, this);
  14700. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14701. if (from.has_index()) {
  14702. set_index(from.index());
  14703. }
  14704. if (from.has_itemid()) {
  14705. set_itemid(from.itemid());
  14706. }
  14707. if (from.has_itemcount()) {
  14708. set_itemcount(from.itemcount());
  14709. }
  14710. }
  14711. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  14712. }
  14713. void treasureItem::CopyFrom(const ::google::protobuf::Message& from) {
  14714. if (&from == this) return;
  14715. Clear();
  14716. MergeFrom(from);
  14717. }
  14718. void treasureItem::CopyFrom(const treasureItem& from) {
  14719. if (&from == this) return;
  14720. Clear();
  14721. MergeFrom(from);
  14722. }
  14723. bool treasureItem::IsInitialized() const {
  14724. return true;
  14725. }
  14726. void treasureItem::Swap(treasureItem* other) {
  14727. if (other != this) {
  14728. std::swap(index_, other->index_);
  14729. std::swap(itemid_, other->itemid_);
  14730. std::swap(itemcount_, other->itemcount_);
  14731. std::swap(_has_bits_[0], other->_has_bits_[0]);
  14732. _unknown_fields_.Swap(&other->_unknown_fields_);
  14733. std::swap(_cached_size_, other->_cached_size_);
  14734. }
  14735. }
  14736. ::google::protobuf::Metadata treasureItem::GetMetadata() const {
  14737. protobuf_AssignDescriptorsOnce();
  14738. ::google::protobuf::Metadata metadata;
  14739. metadata.descriptor = treasureItem_descriptor_;
  14740. metadata.reflection = treasureItem_reflection_;
  14741. return metadata;
  14742. }
  14743. // ===================================================================
  14744. #ifndef _MSC_VER
  14745. const int packetw2c_trigger_daily_treasure::kPacketIdFieldNumber;
  14746. const int packetw2c_trigger_daily_treasure::kGiftIdFieldNumber;
  14747. const int packetw2c_trigger_daily_treasure::kResetCardFieldNumber;
  14748. const int packetw2c_trigger_daily_treasure::kTreasureListFieldNumber;
  14749. #endif // !_MSC_VER
  14750. packetw2c_trigger_daily_treasure::packetw2c_trigger_daily_treasure()
  14751. : ::google::protobuf::Message() {
  14752. SharedCtor();
  14753. }
  14754. void packetw2c_trigger_daily_treasure::InitAsDefaultInstance() {
  14755. }
  14756. packetw2c_trigger_daily_treasure::packetw2c_trigger_daily_treasure(const packetw2c_trigger_daily_treasure& from)
  14757. : ::google::protobuf::Message() {
  14758. SharedCtor();
  14759. MergeFrom(from);
  14760. }
  14761. void packetw2c_trigger_daily_treasure::SharedCtor() {
  14762. _cached_size_ = 0;
  14763. packet_id_ = 7727;
  14764. giftid_ = 0;
  14765. resetcard_ = 0;
  14766. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14767. }
  14768. packetw2c_trigger_daily_treasure::~packetw2c_trigger_daily_treasure() {
  14769. SharedDtor();
  14770. }
  14771. void packetw2c_trigger_daily_treasure::SharedDtor() {
  14772. if (this != default_instance_) {
  14773. }
  14774. }
  14775. void packetw2c_trigger_daily_treasure::SetCachedSize(int size) const {
  14776. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14777. _cached_size_ = size;
  14778. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14779. }
  14780. const ::google::protobuf::Descriptor* packetw2c_trigger_daily_treasure::descriptor() {
  14781. protobuf_AssignDescriptorsOnce();
  14782. return packetw2c_trigger_daily_treasure_descriptor_;
  14783. }
  14784. const packetw2c_trigger_daily_treasure& packetw2c_trigger_daily_treasure::default_instance() {
  14785. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  14786. return *default_instance_;
  14787. }
  14788. packetw2c_trigger_daily_treasure* packetw2c_trigger_daily_treasure::default_instance_ = NULL;
  14789. packetw2c_trigger_daily_treasure* packetw2c_trigger_daily_treasure::New() const {
  14790. return new packetw2c_trigger_daily_treasure;
  14791. }
  14792. void packetw2c_trigger_daily_treasure::Clear() {
  14793. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14794. packet_id_ = 7727;
  14795. giftid_ = 0;
  14796. resetcard_ = 0;
  14797. }
  14798. treasurelist_.Clear();
  14799. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  14800. mutable_unknown_fields()->Clear();
  14801. }
  14802. bool packetw2c_trigger_daily_treasure::MergePartialFromCodedStream(
  14803. ::google::protobuf::io::CodedInputStream* input) {
  14804. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  14805. ::google::protobuf::uint32 tag;
  14806. while ((tag = input->ReadTag()) != 0) {
  14807. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  14808. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_trigger_daily_treasure];
  14809. case 1: {
  14810. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14811. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14812. int value;
  14813. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14814. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  14815. input, &value)));
  14816. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  14817. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  14818. } else {
  14819. mutable_unknown_fields()->AddVarint(1, value);
  14820. }
  14821. } else {
  14822. goto handle_uninterpreted;
  14823. }
  14824. if (input->ExpectTag(16)) goto parse_giftId;
  14825. break;
  14826. }
  14827. // optional int32 giftId = 2;
  14828. case 2: {
  14829. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14830. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14831. parse_giftId:
  14832. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14833. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14834. input, &giftid_)));
  14835. set_has_giftid();
  14836. } else {
  14837. goto handle_uninterpreted;
  14838. }
  14839. if (input->ExpectTag(24)) goto parse_resetCard;
  14840. break;
  14841. }
  14842. // optional int32 resetCard = 3;
  14843. case 3: {
  14844. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14845. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  14846. parse_resetCard:
  14847. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  14848. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  14849. input, &resetcard_)));
  14850. set_has_resetcard();
  14851. } else {
  14852. goto handle_uninterpreted;
  14853. }
  14854. if (input->ExpectTag(34)) goto parse_treasureList;
  14855. break;
  14856. }
  14857. // repeated .client2world_protocols.treasureItem treasureList = 4;
  14858. case 4: {
  14859. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14860. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  14861. parse_treasureList:
  14862. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  14863. input, add_treasurelist()));
  14864. } else {
  14865. goto handle_uninterpreted;
  14866. }
  14867. if (input->ExpectTag(34)) goto parse_treasureList;
  14868. if (input->ExpectAtEnd()) return true;
  14869. break;
  14870. }
  14871. default: {
  14872. handle_uninterpreted:
  14873. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  14874. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  14875. return true;
  14876. }
  14877. DO_(::google::protobuf::internal::WireFormat::SkipField(
  14878. input, tag, mutable_unknown_fields()));
  14879. break;
  14880. }
  14881. }
  14882. }
  14883. return true;
  14884. #undef DO_
  14885. }
  14886. void packetw2c_trigger_daily_treasure::SerializeWithCachedSizes(
  14887. ::google::protobuf::io::CodedOutputStream* output) const {
  14888. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_trigger_daily_treasure];
  14889. if (has_packet_id()) {
  14890. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  14891. 1, this->packet_id(), output);
  14892. }
  14893. // optional int32 giftId = 2;
  14894. if (has_giftid()) {
  14895. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->giftid(), output);
  14896. }
  14897. // optional int32 resetCard = 3;
  14898. if (has_resetcard()) {
  14899. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->resetcard(), output);
  14900. }
  14901. // repeated .client2world_protocols.treasureItem treasureList = 4;
  14902. for (int i = 0; i < this->treasurelist_size(); i++) {
  14903. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  14904. 4, this->treasurelist(i), output);
  14905. }
  14906. if (!unknown_fields().empty()) {
  14907. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  14908. unknown_fields(), output);
  14909. }
  14910. }
  14911. ::google::protobuf::uint8* packetw2c_trigger_daily_treasure::SerializeWithCachedSizesToArray(
  14912. ::google::protobuf::uint8* target) const {
  14913. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_trigger_daily_treasure];
  14914. if (has_packet_id()) {
  14915. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  14916. 1, this->packet_id(), target);
  14917. }
  14918. // optional int32 giftId = 2;
  14919. if (has_giftid()) {
  14920. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->giftid(), target);
  14921. }
  14922. // optional int32 resetCard = 3;
  14923. if (has_resetcard()) {
  14924. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->resetcard(), target);
  14925. }
  14926. // repeated .client2world_protocols.treasureItem treasureList = 4;
  14927. for (int i = 0; i < this->treasurelist_size(); i++) {
  14928. target = ::google::protobuf::internal::WireFormatLite::
  14929. WriteMessageNoVirtualToArray(
  14930. 4, this->treasurelist(i), target);
  14931. }
  14932. if (!unknown_fields().empty()) {
  14933. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  14934. unknown_fields(), target);
  14935. }
  14936. return target;
  14937. }
  14938. int packetw2c_trigger_daily_treasure::ByteSize() const {
  14939. int total_size = 0;
  14940. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14941. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_trigger_daily_treasure];
  14942. if (has_packet_id()) {
  14943. total_size += 1 +
  14944. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  14945. }
  14946. // optional int32 giftId = 2;
  14947. if (has_giftid()) {
  14948. total_size += 1 +
  14949. ::google::protobuf::internal::WireFormatLite::Int32Size(
  14950. this->giftid());
  14951. }
  14952. // optional int32 resetCard = 3;
  14953. if (has_resetcard()) {
  14954. total_size += 1 +
  14955. ::google::protobuf::internal::WireFormatLite::Int32Size(
  14956. this->resetcard());
  14957. }
  14958. }
  14959. // repeated .client2world_protocols.treasureItem treasureList = 4;
  14960. total_size += 1 * this->treasurelist_size();
  14961. for (int i = 0; i < this->treasurelist_size(); i++) {
  14962. total_size +=
  14963. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  14964. this->treasurelist(i));
  14965. }
  14966. if (!unknown_fields().empty()) {
  14967. total_size +=
  14968. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  14969. unknown_fields());
  14970. }
  14971. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  14972. _cached_size_ = total_size;
  14973. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  14974. return total_size;
  14975. }
  14976. void packetw2c_trigger_daily_treasure::MergeFrom(const ::google::protobuf::Message& from) {
  14977. GOOGLE_CHECK_NE(&from, this);
  14978. const packetw2c_trigger_daily_treasure* source =
  14979. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_trigger_daily_treasure*>(
  14980. &from);
  14981. if (source == NULL) {
  14982. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  14983. } else {
  14984. MergeFrom(*source);
  14985. }
  14986. }
  14987. void packetw2c_trigger_daily_treasure::MergeFrom(const packetw2c_trigger_daily_treasure& from) {
  14988. GOOGLE_CHECK_NE(&from, this);
  14989. treasurelist_.MergeFrom(from.treasurelist_);
  14990. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  14991. if (from.has_packet_id()) {
  14992. set_packet_id(from.packet_id());
  14993. }
  14994. if (from.has_giftid()) {
  14995. set_giftid(from.giftid());
  14996. }
  14997. if (from.has_resetcard()) {
  14998. set_resetcard(from.resetcard());
  14999. }
  15000. }
  15001. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  15002. }
  15003. void packetw2c_trigger_daily_treasure::CopyFrom(const ::google::protobuf::Message& from) {
  15004. if (&from == this) return;
  15005. Clear();
  15006. MergeFrom(from);
  15007. }
  15008. void packetw2c_trigger_daily_treasure::CopyFrom(const packetw2c_trigger_daily_treasure& from) {
  15009. if (&from == this) return;
  15010. Clear();
  15011. MergeFrom(from);
  15012. }
  15013. bool packetw2c_trigger_daily_treasure::IsInitialized() const {
  15014. return true;
  15015. }
  15016. void packetw2c_trigger_daily_treasure::Swap(packetw2c_trigger_daily_treasure* other) {
  15017. if (other != this) {
  15018. std::swap(packet_id_, other->packet_id_);
  15019. std::swap(giftid_, other->giftid_);
  15020. std::swap(resetcard_, other->resetcard_);
  15021. treasurelist_.Swap(&other->treasurelist_);
  15022. std::swap(_has_bits_[0], other->_has_bits_[0]);
  15023. _unknown_fields_.Swap(&other->_unknown_fields_);
  15024. std::swap(_cached_size_, other->_cached_size_);
  15025. }
  15026. }
  15027. ::google::protobuf::Metadata packetw2c_trigger_daily_treasure::GetMetadata() const {
  15028. protobuf_AssignDescriptorsOnce();
  15029. ::google::protobuf::Metadata metadata;
  15030. metadata.descriptor = packetw2c_trigger_daily_treasure_descriptor_;
  15031. metadata.reflection = packetw2c_trigger_daily_treasure_reflection_;
  15032. return metadata;
  15033. }
  15034. // ===================================================================
  15035. #ifndef _MSC_VER
  15036. const int packetc2w_daily_treasure_lottery::kPacketIdFieldNumber;
  15037. const int packetc2w_daily_treasure_lottery::kIndexFieldNumber;
  15038. #endif // !_MSC_VER
  15039. packetc2w_daily_treasure_lottery::packetc2w_daily_treasure_lottery()
  15040. : ::google::protobuf::Message() {
  15041. SharedCtor();
  15042. }
  15043. void packetc2w_daily_treasure_lottery::InitAsDefaultInstance() {
  15044. }
  15045. packetc2w_daily_treasure_lottery::packetc2w_daily_treasure_lottery(const packetc2w_daily_treasure_lottery& from)
  15046. : ::google::protobuf::Message() {
  15047. SharedCtor();
  15048. MergeFrom(from);
  15049. }
  15050. void packetc2w_daily_treasure_lottery::SharedCtor() {
  15051. _cached_size_ = 0;
  15052. packet_id_ = 5198;
  15053. index_ = 0;
  15054. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15055. }
  15056. packetc2w_daily_treasure_lottery::~packetc2w_daily_treasure_lottery() {
  15057. SharedDtor();
  15058. }
  15059. void packetc2w_daily_treasure_lottery::SharedDtor() {
  15060. if (this != default_instance_) {
  15061. }
  15062. }
  15063. void packetc2w_daily_treasure_lottery::SetCachedSize(int size) const {
  15064. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15065. _cached_size_ = size;
  15066. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15067. }
  15068. const ::google::protobuf::Descriptor* packetc2w_daily_treasure_lottery::descriptor() {
  15069. protobuf_AssignDescriptorsOnce();
  15070. return packetc2w_daily_treasure_lottery_descriptor_;
  15071. }
  15072. const packetc2w_daily_treasure_lottery& packetc2w_daily_treasure_lottery::default_instance() {
  15073. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  15074. return *default_instance_;
  15075. }
  15076. packetc2w_daily_treasure_lottery* packetc2w_daily_treasure_lottery::default_instance_ = NULL;
  15077. packetc2w_daily_treasure_lottery* packetc2w_daily_treasure_lottery::New() const {
  15078. return new packetc2w_daily_treasure_lottery;
  15079. }
  15080. void packetc2w_daily_treasure_lottery::Clear() {
  15081. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15082. packet_id_ = 5198;
  15083. index_ = 0;
  15084. }
  15085. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15086. mutable_unknown_fields()->Clear();
  15087. }
  15088. bool packetc2w_daily_treasure_lottery::MergePartialFromCodedStream(
  15089. ::google::protobuf::io::CodedInputStream* input) {
  15090. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  15091. ::google::protobuf::uint32 tag;
  15092. while ((tag = input->ReadTag()) != 0) {
  15093. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  15094. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_daily_treasure_lottery];
  15095. case 1: {
  15096. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15097. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15098. int value;
  15099. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15100. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  15101. input, &value)));
  15102. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  15103. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  15104. } else {
  15105. mutable_unknown_fields()->AddVarint(1, value);
  15106. }
  15107. } else {
  15108. goto handle_uninterpreted;
  15109. }
  15110. if (input->ExpectTag(16)) goto parse_index;
  15111. break;
  15112. }
  15113. // optional int32 index = 2;
  15114. case 2: {
  15115. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15116. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15117. parse_index:
  15118. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15119. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  15120. input, &index_)));
  15121. set_has_index();
  15122. } else {
  15123. goto handle_uninterpreted;
  15124. }
  15125. if (input->ExpectAtEnd()) return true;
  15126. break;
  15127. }
  15128. default: {
  15129. handle_uninterpreted:
  15130. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15131. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  15132. return true;
  15133. }
  15134. DO_(::google::protobuf::internal::WireFormat::SkipField(
  15135. input, tag, mutable_unknown_fields()));
  15136. break;
  15137. }
  15138. }
  15139. }
  15140. return true;
  15141. #undef DO_
  15142. }
  15143. void packetc2w_daily_treasure_lottery::SerializeWithCachedSizes(
  15144. ::google::protobuf::io::CodedOutputStream* output) const {
  15145. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_daily_treasure_lottery];
  15146. if (has_packet_id()) {
  15147. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  15148. 1, this->packet_id(), output);
  15149. }
  15150. // optional int32 index = 2;
  15151. if (has_index()) {
  15152. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->index(), output);
  15153. }
  15154. if (!unknown_fields().empty()) {
  15155. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  15156. unknown_fields(), output);
  15157. }
  15158. }
  15159. ::google::protobuf::uint8* packetc2w_daily_treasure_lottery::SerializeWithCachedSizesToArray(
  15160. ::google::protobuf::uint8* target) const {
  15161. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_daily_treasure_lottery];
  15162. if (has_packet_id()) {
  15163. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  15164. 1, this->packet_id(), target);
  15165. }
  15166. // optional int32 index = 2;
  15167. if (has_index()) {
  15168. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->index(), target);
  15169. }
  15170. if (!unknown_fields().empty()) {
  15171. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  15172. unknown_fields(), target);
  15173. }
  15174. return target;
  15175. }
  15176. int packetc2w_daily_treasure_lottery::ByteSize() const {
  15177. int total_size = 0;
  15178. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15179. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_daily_treasure_lottery];
  15180. if (has_packet_id()) {
  15181. total_size += 1 +
  15182. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  15183. }
  15184. // optional int32 index = 2;
  15185. if (has_index()) {
  15186. total_size += 1 +
  15187. ::google::protobuf::internal::WireFormatLite::Int32Size(
  15188. this->index());
  15189. }
  15190. }
  15191. if (!unknown_fields().empty()) {
  15192. total_size +=
  15193. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  15194. unknown_fields());
  15195. }
  15196. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15197. _cached_size_ = total_size;
  15198. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15199. return total_size;
  15200. }
  15201. void packetc2w_daily_treasure_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  15202. GOOGLE_CHECK_NE(&from, this);
  15203. const packetc2w_daily_treasure_lottery* source =
  15204. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_daily_treasure_lottery*>(
  15205. &from);
  15206. if (source == NULL) {
  15207. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  15208. } else {
  15209. MergeFrom(*source);
  15210. }
  15211. }
  15212. void packetc2w_daily_treasure_lottery::MergeFrom(const packetc2w_daily_treasure_lottery& from) {
  15213. GOOGLE_CHECK_NE(&from, this);
  15214. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15215. if (from.has_packet_id()) {
  15216. set_packet_id(from.packet_id());
  15217. }
  15218. if (from.has_index()) {
  15219. set_index(from.index());
  15220. }
  15221. }
  15222. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  15223. }
  15224. void packetc2w_daily_treasure_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  15225. if (&from == this) return;
  15226. Clear();
  15227. MergeFrom(from);
  15228. }
  15229. void packetc2w_daily_treasure_lottery::CopyFrom(const packetc2w_daily_treasure_lottery& from) {
  15230. if (&from == this) return;
  15231. Clear();
  15232. MergeFrom(from);
  15233. }
  15234. bool packetc2w_daily_treasure_lottery::IsInitialized() const {
  15235. return true;
  15236. }
  15237. void packetc2w_daily_treasure_lottery::Swap(packetc2w_daily_treasure_lottery* other) {
  15238. if (other != this) {
  15239. std::swap(packet_id_, other->packet_id_);
  15240. std::swap(index_, other->index_);
  15241. std::swap(_has_bits_[0], other->_has_bits_[0]);
  15242. _unknown_fields_.Swap(&other->_unknown_fields_);
  15243. std::swap(_cached_size_, other->_cached_size_);
  15244. }
  15245. }
  15246. ::google::protobuf::Metadata packetc2w_daily_treasure_lottery::GetMetadata() const {
  15247. protobuf_AssignDescriptorsOnce();
  15248. ::google::protobuf::Metadata metadata;
  15249. metadata.descriptor = packetc2w_daily_treasure_lottery_descriptor_;
  15250. metadata.reflection = packetc2w_daily_treasure_lottery_reflection_;
  15251. return metadata;
  15252. }
  15253. // ===================================================================
  15254. #ifndef _MSC_VER
  15255. const int packetw2c_daily_treasure_lottery_result::kPacketIdFieldNumber;
  15256. const int packetw2c_daily_treasure_lottery_result::kResultFieldNumber;
  15257. const int packetw2c_daily_treasure_lottery_result::kIndexFieldNumber;
  15258. const int packetw2c_daily_treasure_lottery_result::kRandCountFieldNumber;
  15259. #endif // !_MSC_VER
  15260. packetw2c_daily_treasure_lottery_result::packetw2c_daily_treasure_lottery_result()
  15261. : ::google::protobuf::Message() {
  15262. SharedCtor();
  15263. }
  15264. void packetw2c_daily_treasure_lottery_result::InitAsDefaultInstance() {
  15265. }
  15266. packetw2c_daily_treasure_lottery_result::packetw2c_daily_treasure_lottery_result(const packetw2c_daily_treasure_lottery_result& from)
  15267. : ::google::protobuf::Message() {
  15268. SharedCtor();
  15269. MergeFrom(from);
  15270. }
  15271. void packetw2c_daily_treasure_lottery_result::SharedCtor() {
  15272. _cached_size_ = 0;
  15273. packet_id_ = 7728;
  15274. result_ = 0;
  15275. index_ = 0;
  15276. randcount_ = 0;
  15277. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15278. }
  15279. packetw2c_daily_treasure_lottery_result::~packetw2c_daily_treasure_lottery_result() {
  15280. SharedDtor();
  15281. }
  15282. void packetw2c_daily_treasure_lottery_result::SharedDtor() {
  15283. if (this != default_instance_) {
  15284. }
  15285. }
  15286. void packetw2c_daily_treasure_lottery_result::SetCachedSize(int size) const {
  15287. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15288. _cached_size_ = size;
  15289. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15290. }
  15291. const ::google::protobuf::Descriptor* packetw2c_daily_treasure_lottery_result::descriptor() {
  15292. protobuf_AssignDescriptorsOnce();
  15293. return packetw2c_daily_treasure_lottery_result_descriptor_;
  15294. }
  15295. const packetw2c_daily_treasure_lottery_result& packetw2c_daily_treasure_lottery_result::default_instance() {
  15296. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  15297. return *default_instance_;
  15298. }
  15299. packetw2c_daily_treasure_lottery_result* packetw2c_daily_treasure_lottery_result::default_instance_ = NULL;
  15300. packetw2c_daily_treasure_lottery_result* packetw2c_daily_treasure_lottery_result::New() const {
  15301. return new packetw2c_daily_treasure_lottery_result;
  15302. }
  15303. void packetw2c_daily_treasure_lottery_result::Clear() {
  15304. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15305. packet_id_ = 7728;
  15306. result_ = 0;
  15307. index_ = 0;
  15308. randcount_ = 0;
  15309. }
  15310. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15311. mutable_unknown_fields()->Clear();
  15312. }
  15313. bool packetw2c_daily_treasure_lottery_result::MergePartialFromCodedStream(
  15314. ::google::protobuf::io::CodedInputStream* input) {
  15315. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  15316. ::google::protobuf::uint32 tag;
  15317. while ((tag = input->ReadTag()) != 0) {
  15318. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  15319. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_daily_treasure_lottery_result];
  15320. case 1: {
  15321. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15322. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15323. int value;
  15324. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15325. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  15326. input, &value)));
  15327. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  15328. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  15329. } else {
  15330. mutable_unknown_fields()->AddVarint(1, value);
  15331. }
  15332. } else {
  15333. goto handle_uninterpreted;
  15334. }
  15335. if (input->ExpectTag(16)) goto parse_result;
  15336. break;
  15337. }
  15338. // optional int32 result = 2;
  15339. case 2: {
  15340. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15341. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15342. parse_result:
  15343. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15344. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  15345. input, &result_)));
  15346. set_has_result();
  15347. } else {
  15348. goto handle_uninterpreted;
  15349. }
  15350. if (input->ExpectTag(24)) goto parse_index;
  15351. break;
  15352. }
  15353. // optional int32 index = 3;
  15354. case 3: {
  15355. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15356. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15357. parse_index:
  15358. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15359. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  15360. input, &index_)));
  15361. set_has_index();
  15362. } else {
  15363. goto handle_uninterpreted;
  15364. }
  15365. if (input->ExpectTag(32)) goto parse_randCount;
  15366. break;
  15367. }
  15368. // optional int32 randCount = 4;
  15369. case 4: {
  15370. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15371. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15372. parse_randCount:
  15373. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15374. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  15375. input, &randcount_)));
  15376. set_has_randcount();
  15377. } else {
  15378. goto handle_uninterpreted;
  15379. }
  15380. if (input->ExpectAtEnd()) return true;
  15381. break;
  15382. }
  15383. default: {
  15384. handle_uninterpreted:
  15385. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15386. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  15387. return true;
  15388. }
  15389. DO_(::google::protobuf::internal::WireFormat::SkipField(
  15390. input, tag, mutable_unknown_fields()));
  15391. break;
  15392. }
  15393. }
  15394. }
  15395. return true;
  15396. #undef DO_
  15397. }
  15398. void packetw2c_daily_treasure_lottery_result::SerializeWithCachedSizes(
  15399. ::google::protobuf::io::CodedOutputStream* output) const {
  15400. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_daily_treasure_lottery_result];
  15401. if (has_packet_id()) {
  15402. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  15403. 1, this->packet_id(), output);
  15404. }
  15405. // optional int32 result = 2;
  15406. if (has_result()) {
  15407. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  15408. }
  15409. // optional int32 index = 3;
  15410. if (has_index()) {
  15411. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->index(), output);
  15412. }
  15413. // optional int32 randCount = 4;
  15414. if (has_randcount()) {
  15415. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->randcount(), output);
  15416. }
  15417. if (!unknown_fields().empty()) {
  15418. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  15419. unknown_fields(), output);
  15420. }
  15421. }
  15422. ::google::protobuf::uint8* packetw2c_daily_treasure_lottery_result::SerializeWithCachedSizesToArray(
  15423. ::google::protobuf::uint8* target) const {
  15424. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_daily_treasure_lottery_result];
  15425. if (has_packet_id()) {
  15426. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  15427. 1, this->packet_id(), target);
  15428. }
  15429. // optional int32 result = 2;
  15430. if (has_result()) {
  15431. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  15432. }
  15433. // optional int32 index = 3;
  15434. if (has_index()) {
  15435. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->index(), target);
  15436. }
  15437. // optional int32 randCount = 4;
  15438. if (has_randcount()) {
  15439. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->randcount(), target);
  15440. }
  15441. if (!unknown_fields().empty()) {
  15442. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  15443. unknown_fields(), target);
  15444. }
  15445. return target;
  15446. }
  15447. int packetw2c_daily_treasure_lottery_result::ByteSize() const {
  15448. int total_size = 0;
  15449. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15450. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_daily_treasure_lottery_result];
  15451. if (has_packet_id()) {
  15452. total_size += 1 +
  15453. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  15454. }
  15455. // optional int32 result = 2;
  15456. if (has_result()) {
  15457. total_size += 1 +
  15458. ::google::protobuf::internal::WireFormatLite::Int32Size(
  15459. this->result());
  15460. }
  15461. // optional int32 index = 3;
  15462. if (has_index()) {
  15463. total_size += 1 +
  15464. ::google::protobuf::internal::WireFormatLite::Int32Size(
  15465. this->index());
  15466. }
  15467. // optional int32 randCount = 4;
  15468. if (has_randcount()) {
  15469. total_size += 1 +
  15470. ::google::protobuf::internal::WireFormatLite::Int32Size(
  15471. this->randcount());
  15472. }
  15473. }
  15474. if (!unknown_fields().empty()) {
  15475. total_size +=
  15476. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  15477. unknown_fields());
  15478. }
  15479. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15480. _cached_size_ = total_size;
  15481. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15482. return total_size;
  15483. }
  15484. void packetw2c_daily_treasure_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  15485. GOOGLE_CHECK_NE(&from, this);
  15486. const packetw2c_daily_treasure_lottery_result* source =
  15487. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_daily_treasure_lottery_result*>(
  15488. &from);
  15489. if (source == NULL) {
  15490. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  15491. } else {
  15492. MergeFrom(*source);
  15493. }
  15494. }
  15495. void packetw2c_daily_treasure_lottery_result::MergeFrom(const packetw2c_daily_treasure_lottery_result& from) {
  15496. GOOGLE_CHECK_NE(&from, this);
  15497. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15498. if (from.has_packet_id()) {
  15499. set_packet_id(from.packet_id());
  15500. }
  15501. if (from.has_result()) {
  15502. set_result(from.result());
  15503. }
  15504. if (from.has_index()) {
  15505. set_index(from.index());
  15506. }
  15507. if (from.has_randcount()) {
  15508. set_randcount(from.randcount());
  15509. }
  15510. }
  15511. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  15512. }
  15513. void packetw2c_daily_treasure_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  15514. if (&from == this) return;
  15515. Clear();
  15516. MergeFrom(from);
  15517. }
  15518. void packetw2c_daily_treasure_lottery_result::CopyFrom(const packetw2c_daily_treasure_lottery_result& from) {
  15519. if (&from == this) return;
  15520. Clear();
  15521. MergeFrom(from);
  15522. }
  15523. bool packetw2c_daily_treasure_lottery_result::IsInitialized() const {
  15524. return true;
  15525. }
  15526. void packetw2c_daily_treasure_lottery_result::Swap(packetw2c_daily_treasure_lottery_result* other) {
  15527. if (other != this) {
  15528. std::swap(packet_id_, other->packet_id_);
  15529. std::swap(result_, other->result_);
  15530. std::swap(index_, other->index_);
  15531. std::swap(randcount_, other->randcount_);
  15532. std::swap(_has_bits_[0], other->_has_bits_[0]);
  15533. _unknown_fields_.Swap(&other->_unknown_fields_);
  15534. std::swap(_cached_size_, other->_cached_size_);
  15535. }
  15536. }
  15537. ::google::protobuf::Metadata packetw2c_daily_treasure_lottery_result::GetMetadata() const {
  15538. protobuf_AssignDescriptorsOnce();
  15539. ::google::protobuf::Metadata metadata;
  15540. metadata.descriptor = packetw2c_daily_treasure_lottery_result_descriptor_;
  15541. metadata.reflection = packetw2c_daily_treasure_lottery_result_reflection_;
  15542. return metadata;
  15543. }
  15544. // ===================================================================
  15545. #ifndef _MSC_VER
  15546. const int packetc2w_receive_treasure_lottery::kPacketIdFieldNumber;
  15547. #endif // !_MSC_VER
  15548. packetc2w_receive_treasure_lottery::packetc2w_receive_treasure_lottery()
  15549. : ::google::protobuf::Message() {
  15550. SharedCtor();
  15551. }
  15552. void packetc2w_receive_treasure_lottery::InitAsDefaultInstance() {
  15553. }
  15554. packetc2w_receive_treasure_lottery::packetc2w_receive_treasure_lottery(const packetc2w_receive_treasure_lottery& from)
  15555. : ::google::protobuf::Message() {
  15556. SharedCtor();
  15557. MergeFrom(from);
  15558. }
  15559. void packetc2w_receive_treasure_lottery::SharedCtor() {
  15560. _cached_size_ = 0;
  15561. packet_id_ = 5199;
  15562. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15563. }
  15564. packetc2w_receive_treasure_lottery::~packetc2w_receive_treasure_lottery() {
  15565. SharedDtor();
  15566. }
  15567. void packetc2w_receive_treasure_lottery::SharedDtor() {
  15568. if (this != default_instance_) {
  15569. }
  15570. }
  15571. void packetc2w_receive_treasure_lottery::SetCachedSize(int size) const {
  15572. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15573. _cached_size_ = size;
  15574. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15575. }
  15576. const ::google::protobuf::Descriptor* packetc2w_receive_treasure_lottery::descriptor() {
  15577. protobuf_AssignDescriptorsOnce();
  15578. return packetc2w_receive_treasure_lottery_descriptor_;
  15579. }
  15580. const packetc2w_receive_treasure_lottery& packetc2w_receive_treasure_lottery::default_instance() {
  15581. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  15582. return *default_instance_;
  15583. }
  15584. packetc2w_receive_treasure_lottery* packetc2w_receive_treasure_lottery::default_instance_ = NULL;
  15585. packetc2w_receive_treasure_lottery* packetc2w_receive_treasure_lottery::New() const {
  15586. return new packetc2w_receive_treasure_lottery;
  15587. }
  15588. void packetc2w_receive_treasure_lottery::Clear() {
  15589. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15590. packet_id_ = 5199;
  15591. }
  15592. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15593. mutable_unknown_fields()->Clear();
  15594. }
  15595. bool packetc2w_receive_treasure_lottery::MergePartialFromCodedStream(
  15596. ::google::protobuf::io::CodedInputStream* input) {
  15597. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  15598. ::google::protobuf::uint32 tag;
  15599. while ((tag = input->ReadTag()) != 0) {
  15600. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  15601. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_treasure_lottery];
  15602. case 1: {
  15603. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15604. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15605. int value;
  15606. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15607. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  15608. input, &value)));
  15609. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  15610. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  15611. } else {
  15612. mutable_unknown_fields()->AddVarint(1, value);
  15613. }
  15614. } else {
  15615. goto handle_uninterpreted;
  15616. }
  15617. if (input->ExpectAtEnd()) return true;
  15618. break;
  15619. }
  15620. default: {
  15621. handle_uninterpreted:
  15622. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15623. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  15624. return true;
  15625. }
  15626. DO_(::google::protobuf::internal::WireFormat::SkipField(
  15627. input, tag, mutable_unknown_fields()));
  15628. break;
  15629. }
  15630. }
  15631. }
  15632. return true;
  15633. #undef DO_
  15634. }
  15635. void packetc2w_receive_treasure_lottery::SerializeWithCachedSizes(
  15636. ::google::protobuf::io::CodedOutputStream* output) const {
  15637. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_treasure_lottery];
  15638. if (has_packet_id()) {
  15639. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  15640. 1, this->packet_id(), output);
  15641. }
  15642. if (!unknown_fields().empty()) {
  15643. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  15644. unknown_fields(), output);
  15645. }
  15646. }
  15647. ::google::protobuf::uint8* packetc2w_receive_treasure_lottery::SerializeWithCachedSizesToArray(
  15648. ::google::protobuf::uint8* target) const {
  15649. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_treasure_lottery];
  15650. if (has_packet_id()) {
  15651. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  15652. 1, this->packet_id(), target);
  15653. }
  15654. if (!unknown_fields().empty()) {
  15655. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  15656. unknown_fields(), target);
  15657. }
  15658. return target;
  15659. }
  15660. int packetc2w_receive_treasure_lottery::ByteSize() const {
  15661. int total_size = 0;
  15662. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15663. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_treasure_lottery];
  15664. if (has_packet_id()) {
  15665. total_size += 1 +
  15666. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  15667. }
  15668. }
  15669. if (!unknown_fields().empty()) {
  15670. total_size +=
  15671. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  15672. unknown_fields());
  15673. }
  15674. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15675. _cached_size_ = total_size;
  15676. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15677. return total_size;
  15678. }
  15679. void packetc2w_receive_treasure_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  15680. GOOGLE_CHECK_NE(&from, this);
  15681. const packetc2w_receive_treasure_lottery* source =
  15682. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_receive_treasure_lottery*>(
  15683. &from);
  15684. if (source == NULL) {
  15685. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  15686. } else {
  15687. MergeFrom(*source);
  15688. }
  15689. }
  15690. void packetc2w_receive_treasure_lottery::MergeFrom(const packetc2w_receive_treasure_lottery& from) {
  15691. GOOGLE_CHECK_NE(&from, this);
  15692. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15693. if (from.has_packet_id()) {
  15694. set_packet_id(from.packet_id());
  15695. }
  15696. }
  15697. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  15698. }
  15699. void packetc2w_receive_treasure_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  15700. if (&from == this) return;
  15701. Clear();
  15702. MergeFrom(from);
  15703. }
  15704. void packetc2w_receive_treasure_lottery::CopyFrom(const packetc2w_receive_treasure_lottery& from) {
  15705. if (&from == this) return;
  15706. Clear();
  15707. MergeFrom(from);
  15708. }
  15709. bool packetc2w_receive_treasure_lottery::IsInitialized() const {
  15710. return true;
  15711. }
  15712. void packetc2w_receive_treasure_lottery::Swap(packetc2w_receive_treasure_lottery* other) {
  15713. if (other != this) {
  15714. std::swap(packet_id_, other->packet_id_);
  15715. std::swap(_has_bits_[0], other->_has_bits_[0]);
  15716. _unknown_fields_.Swap(&other->_unknown_fields_);
  15717. std::swap(_cached_size_, other->_cached_size_);
  15718. }
  15719. }
  15720. ::google::protobuf::Metadata packetc2w_receive_treasure_lottery::GetMetadata() const {
  15721. protobuf_AssignDescriptorsOnce();
  15722. ::google::protobuf::Metadata metadata;
  15723. metadata.descriptor = packetc2w_receive_treasure_lottery_descriptor_;
  15724. metadata.reflection = packetc2w_receive_treasure_lottery_reflection_;
  15725. return metadata;
  15726. }
  15727. // ===================================================================
  15728. #ifndef _MSC_VER
  15729. const int packetw2c_receive_treasure_lottery_result::kPacketIdFieldNumber;
  15730. const int packetw2c_receive_treasure_lottery_result::kResultFieldNumber;
  15731. const int packetw2c_receive_treasure_lottery_result::kGiftIdFieldNumber;
  15732. const int packetw2c_receive_treasure_lottery_result::kTreasureListFieldNumber;
  15733. #endif // !_MSC_VER
  15734. packetw2c_receive_treasure_lottery_result::packetw2c_receive_treasure_lottery_result()
  15735. : ::google::protobuf::Message() {
  15736. SharedCtor();
  15737. }
  15738. void packetw2c_receive_treasure_lottery_result::InitAsDefaultInstance() {
  15739. }
  15740. packetw2c_receive_treasure_lottery_result::packetw2c_receive_treasure_lottery_result(const packetw2c_receive_treasure_lottery_result& from)
  15741. : ::google::protobuf::Message() {
  15742. SharedCtor();
  15743. MergeFrom(from);
  15744. }
  15745. void packetw2c_receive_treasure_lottery_result::SharedCtor() {
  15746. _cached_size_ = 0;
  15747. packet_id_ = 7729;
  15748. result_ = 0;
  15749. giftid_ = 0;
  15750. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15751. }
  15752. packetw2c_receive_treasure_lottery_result::~packetw2c_receive_treasure_lottery_result() {
  15753. SharedDtor();
  15754. }
  15755. void packetw2c_receive_treasure_lottery_result::SharedDtor() {
  15756. if (this != default_instance_) {
  15757. }
  15758. }
  15759. void packetw2c_receive_treasure_lottery_result::SetCachedSize(int size) const {
  15760. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15761. _cached_size_ = size;
  15762. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15763. }
  15764. const ::google::protobuf::Descriptor* packetw2c_receive_treasure_lottery_result::descriptor() {
  15765. protobuf_AssignDescriptorsOnce();
  15766. return packetw2c_receive_treasure_lottery_result_descriptor_;
  15767. }
  15768. const packetw2c_receive_treasure_lottery_result& packetw2c_receive_treasure_lottery_result::default_instance() {
  15769. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  15770. return *default_instance_;
  15771. }
  15772. packetw2c_receive_treasure_lottery_result* packetw2c_receive_treasure_lottery_result::default_instance_ = NULL;
  15773. packetw2c_receive_treasure_lottery_result* packetw2c_receive_treasure_lottery_result::New() const {
  15774. return new packetw2c_receive_treasure_lottery_result;
  15775. }
  15776. void packetw2c_receive_treasure_lottery_result::Clear() {
  15777. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15778. packet_id_ = 7729;
  15779. result_ = 0;
  15780. giftid_ = 0;
  15781. }
  15782. treasurelist_.Clear();
  15783. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  15784. mutable_unknown_fields()->Clear();
  15785. }
  15786. bool packetw2c_receive_treasure_lottery_result::MergePartialFromCodedStream(
  15787. ::google::protobuf::io::CodedInputStream* input) {
  15788. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  15789. ::google::protobuf::uint32 tag;
  15790. while ((tag = input->ReadTag()) != 0) {
  15791. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  15792. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_treasure_lottery_result];
  15793. case 1: {
  15794. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15795. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15796. int value;
  15797. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15798. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  15799. input, &value)));
  15800. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  15801. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  15802. } else {
  15803. mutable_unknown_fields()->AddVarint(1, value);
  15804. }
  15805. } else {
  15806. goto handle_uninterpreted;
  15807. }
  15808. if (input->ExpectTag(16)) goto parse_result;
  15809. break;
  15810. }
  15811. // optional int32 result = 2;
  15812. case 2: {
  15813. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15814. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15815. parse_result:
  15816. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15817. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  15818. input, &result_)));
  15819. set_has_result();
  15820. } else {
  15821. goto handle_uninterpreted;
  15822. }
  15823. if (input->ExpectTag(24)) goto parse_giftId;
  15824. break;
  15825. }
  15826. // optional int32 giftId = 3;
  15827. case 3: {
  15828. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15829. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  15830. parse_giftId:
  15831. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  15832. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  15833. input, &giftid_)));
  15834. set_has_giftid();
  15835. } else {
  15836. goto handle_uninterpreted;
  15837. }
  15838. if (input->ExpectTag(34)) goto parse_treasureList;
  15839. break;
  15840. }
  15841. // repeated .client2world_protocols.treasureItem treasureList = 4;
  15842. case 4: {
  15843. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15844. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  15845. parse_treasureList:
  15846. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  15847. input, add_treasurelist()));
  15848. } else {
  15849. goto handle_uninterpreted;
  15850. }
  15851. if (input->ExpectTag(34)) goto parse_treasureList;
  15852. if (input->ExpectAtEnd()) return true;
  15853. break;
  15854. }
  15855. default: {
  15856. handle_uninterpreted:
  15857. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  15858. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  15859. return true;
  15860. }
  15861. DO_(::google::protobuf::internal::WireFormat::SkipField(
  15862. input, tag, mutable_unknown_fields()));
  15863. break;
  15864. }
  15865. }
  15866. }
  15867. return true;
  15868. #undef DO_
  15869. }
  15870. void packetw2c_receive_treasure_lottery_result::SerializeWithCachedSizes(
  15871. ::google::protobuf::io::CodedOutputStream* output) const {
  15872. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_treasure_lottery_result];
  15873. if (has_packet_id()) {
  15874. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  15875. 1, this->packet_id(), output);
  15876. }
  15877. // optional int32 result = 2;
  15878. if (has_result()) {
  15879. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  15880. }
  15881. // optional int32 giftId = 3;
  15882. if (has_giftid()) {
  15883. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->giftid(), output);
  15884. }
  15885. // repeated .client2world_protocols.treasureItem treasureList = 4;
  15886. for (int i = 0; i < this->treasurelist_size(); i++) {
  15887. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  15888. 4, this->treasurelist(i), output);
  15889. }
  15890. if (!unknown_fields().empty()) {
  15891. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  15892. unknown_fields(), output);
  15893. }
  15894. }
  15895. ::google::protobuf::uint8* packetw2c_receive_treasure_lottery_result::SerializeWithCachedSizesToArray(
  15896. ::google::protobuf::uint8* target) const {
  15897. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_treasure_lottery_result];
  15898. if (has_packet_id()) {
  15899. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  15900. 1, this->packet_id(), target);
  15901. }
  15902. // optional int32 result = 2;
  15903. if (has_result()) {
  15904. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  15905. }
  15906. // optional int32 giftId = 3;
  15907. if (has_giftid()) {
  15908. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->giftid(), target);
  15909. }
  15910. // repeated .client2world_protocols.treasureItem treasureList = 4;
  15911. for (int i = 0; i < this->treasurelist_size(); i++) {
  15912. target = ::google::protobuf::internal::WireFormatLite::
  15913. WriteMessageNoVirtualToArray(
  15914. 4, this->treasurelist(i), target);
  15915. }
  15916. if (!unknown_fields().empty()) {
  15917. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  15918. unknown_fields(), target);
  15919. }
  15920. return target;
  15921. }
  15922. int packetw2c_receive_treasure_lottery_result::ByteSize() const {
  15923. int total_size = 0;
  15924. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15925. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_treasure_lottery_result];
  15926. if (has_packet_id()) {
  15927. total_size += 1 +
  15928. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  15929. }
  15930. // optional int32 result = 2;
  15931. if (has_result()) {
  15932. total_size += 1 +
  15933. ::google::protobuf::internal::WireFormatLite::Int32Size(
  15934. this->result());
  15935. }
  15936. // optional int32 giftId = 3;
  15937. if (has_giftid()) {
  15938. total_size += 1 +
  15939. ::google::protobuf::internal::WireFormatLite::Int32Size(
  15940. this->giftid());
  15941. }
  15942. }
  15943. // repeated .client2world_protocols.treasureItem treasureList = 4;
  15944. total_size += 1 * this->treasurelist_size();
  15945. for (int i = 0; i < this->treasurelist_size(); i++) {
  15946. total_size +=
  15947. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  15948. this->treasurelist(i));
  15949. }
  15950. if (!unknown_fields().empty()) {
  15951. total_size +=
  15952. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  15953. unknown_fields());
  15954. }
  15955. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  15956. _cached_size_ = total_size;
  15957. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  15958. return total_size;
  15959. }
  15960. void packetw2c_receive_treasure_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  15961. GOOGLE_CHECK_NE(&from, this);
  15962. const packetw2c_receive_treasure_lottery_result* source =
  15963. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_receive_treasure_lottery_result*>(
  15964. &from);
  15965. if (source == NULL) {
  15966. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  15967. } else {
  15968. MergeFrom(*source);
  15969. }
  15970. }
  15971. void packetw2c_receive_treasure_lottery_result::MergeFrom(const packetw2c_receive_treasure_lottery_result& from) {
  15972. GOOGLE_CHECK_NE(&from, this);
  15973. treasurelist_.MergeFrom(from.treasurelist_);
  15974. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  15975. if (from.has_packet_id()) {
  15976. set_packet_id(from.packet_id());
  15977. }
  15978. if (from.has_result()) {
  15979. set_result(from.result());
  15980. }
  15981. if (from.has_giftid()) {
  15982. set_giftid(from.giftid());
  15983. }
  15984. }
  15985. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  15986. }
  15987. void packetw2c_receive_treasure_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  15988. if (&from == this) return;
  15989. Clear();
  15990. MergeFrom(from);
  15991. }
  15992. void packetw2c_receive_treasure_lottery_result::CopyFrom(const packetw2c_receive_treasure_lottery_result& from) {
  15993. if (&from == this) return;
  15994. Clear();
  15995. MergeFrom(from);
  15996. }
  15997. bool packetw2c_receive_treasure_lottery_result::IsInitialized() const {
  15998. return true;
  15999. }
  16000. void packetw2c_receive_treasure_lottery_result::Swap(packetw2c_receive_treasure_lottery_result* other) {
  16001. if (other != this) {
  16002. std::swap(packet_id_, other->packet_id_);
  16003. std::swap(result_, other->result_);
  16004. std::swap(giftid_, other->giftid_);
  16005. treasurelist_.Swap(&other->treasurelist_);
  16006. std::swap(_has_bits_[0], other->_has_bits_[0]);
  16007. _unknown_fields_.Swap(&other->_unknown_fields_);
  16008. std::swap(_cached_size_, other->_cached_size_);
  16009. }
  16010. }
  16011. ::google::protobuf::Metadata packetw2c_receive_treasure_lottery_result::GetMetadata() const {
  16012. protobuf_AssignDescriptorsOnce();
  16013. ::google::protobuf::Metadata metadata;
  16014. metadata.descriptor = packetw2c_receive_treasure_lottery_result_descriptor_;
  16015. metadata.reflection = packetw2c_receive_treasure_lottery_result_reflection_;
  16016. return metadata;
  16017. }
  16018. // ===================================================================
  16019. #ifndef _MSC_VER
  16020. const int packetc2w_receive_sail_reward::kPacketIdFieldNumber;
  16021. const int packetc2w_receive_sail_reward::kTypeFieldNumber;
  16022. const int packetc2w_receive_sail_reward::kIndexFieldNumber;
  16023. #endif // !_MSC_VER
  16024. packetc2w_receive_sail_reward::packetc2w_receive_sail_reward()
  16025. : ::google::protobuf::Message() {
  16026. SharedCtor();
  16027. }
  16028. void packetc2w_receive_sail_reward::InitAsDefaultInstance() {
  16029. }
  16030. packetc2w_receive_sail_reward::packetc2w_receive_sail_reward(const packetc2w_receive_sail_reward& from)
  16031. : ::google::protobuf::Message() {
  16032. SharedCtor();
  16033. MergeFrom(from);
  16034. }
  16035. void packetc2w_receive_sail_reward::SharedCtor() {
  16036. _cached_size_ = 0;
  16037. packet_id_ = 5218;
  16038. type_ = 0;
  16039. index_ = 0;
  16040. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16041. }
  16042. packetc2w_receive_sail_reward::~packetc2w_receive_sail_reward() {
  16043. SharedDtor();
  16044. }
  16045. void packetc2w_receive_sail_reward::SharedDtor() {
  16046. if (this != default_instance_) {
  16047. }
  16048. }
  16049. void packetc2w_receive_sail_reward::SetCachedSize(int size) const {
  16050. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16051. _cached_size_ = size;
  16052. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16053. }
  16054. const ::google::protobuf::Descriptor* packetc2w_receive_sail_reward::descriptor() {
  16055. protobuf_AssignDescriptorsOnce();
  16056. return packetc2w_receive_sail_reward_descriptor_;
  16057. }
  16058. const packetc2w_receive_sail_reward& packetc2w_receive_sail_reward::default_instance() {
  16059. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  16060. return *default_instance_;
  16061. }
  16062. packetc2w_receive_sail_reward* packetc2w_receive_sail_reward::default_instance_ = NULL;
  16063. packetc2w_receive_sail_reward* packetc2w_receive_sail_reward::New() const {
  16064. return new packetc2w_receive_sail_reward;
  16065. }
  16066. void packetc2w_receive_sail_reward::Clear() {
  16067. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16068. packet_id_ = 5218;
  16069. type_ = 0;
  16070. index_ = 0;
  16071. }
  16072. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16073. mutable_unknown_fields()->Clear();
  16074. }
  16075. bool packetc2w_receive_sail_reward::MergePartialFromCodedStream(
  16076. ::google::protobuf::io::CodedInputStream* input) {
  16077. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  16078. ::google::protobuf::uint32 tag;
  16079. while ((tag = input->ReadTag()) != 0) {
  16080. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  16081. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_sail_reward];
  16082. case 1: {
  16083. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16084. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16085. int value;
  16086. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16087. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  16088. input, &value)));
  16089. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  16090. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  16091. } else {
  16092. mutable_unknown_fields()->AddVarint(1, value);
  16093. }
  16094. } else {
  16095. goto handle_uninterpreted;
  16096. }
  16097. if (input->ExpectTag(16)) goto parse_type;
  16098. break;
  16099. }
  16100. // optional int32 type = 2;
  16101. case 2: {
  16102. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16103. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16104. parse_type:
  16105. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16106. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  16107. input, &type_)));
  16108. set_has_type();
  16109. } else {
  16110. goto handle_uninterpreted;
  16111. }
  16112. if (input->ExpectTag(24)) goto parse_index;
  16113. break;
  16114. }
  16115. // optional int32 index = 3;
  16116. case 3: {
  16117. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16118. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16119. parse_index:
  16120. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16121. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  16122. input, &index_)));
  16123. set_has_index();
  16124. } else {
  16125. goto handle_uninterpreted;
  16126. }
  16127. if (input->ExpectAtEnd()) return true;
  16128. break;
  16129. }
  16130. default: {
  16131. handle_uninterpreted:
  16132. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16133. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  16134. return true;
  16135. }
  16136. DO_(::google::protobuf::internal::WireFormat::SkipField(
  16137. input, tag, mutable_unknown_fields()));
  16138. break;
  16139. }
  16140. }
  16141. }
  16142. return true;
  16143. #undef DO_
  16144. }
  16145. void packetc2w_receive_sail_reward::SerializeWithCachedSizes(
  16146. ::google::protobuf::io::CodedOutputStream* output) const {
  16147. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_sail_reward];
  16148. if (has_packet_id()) {
  16149. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  16150. 1, this->packet_id(), output);
  16151. }
  16152. // optional int32 type = 2;
  16153. if (has_type()) {
  16154. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->type(), output);
  16155. }
  16156. // optional int32 index = 3;
  16157. if (has_index()) {
  16158. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->index(), output);
  16159. }
  16160. if (!unknown_fields().empty()) {
  16161. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  16162. unknown_fields(), output);
  16163. }
  16164. }
  16165. ::google::protobuf::uint8* packetc2w_receive_sail_reward::SerializeWithCachedSizesToArray(
  16166. ::google::protobuf::uint8* target) const {
  16167. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_sail_reward];
  16168. if (has_packet_id()) {
  16169. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  16170. 1, this->packet_id(), target);
  16171. }
  16172. // optional int32 type = 2;
  16173. if (has_type()) {
  16174. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->type(), target);
  16175. }
  16176. // optional int32 index = 3;
  16177. if (has_index()) {
  16178. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->index(), target);
  16179. }
  16180. if (!unknown_fields().empty()) {
  16181. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  16182. unknown_fields(), target);
  16183. }
  16184. return target;
  16185. }
  16186. int packetc2w_receive_sail_reward::ByteSize() const {
  16187. int total_size = 0;
  16188. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16189. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_sail_reward];
  16190. if (has_packet_id()) {
  16191. total_size += 1 +
  16192. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  16193. }
  16194. // optional int32 type = 2;
  16195. if (has_type()) {
  16196. total_size += 1 +
  16197. ::google::protobuf::internal::WireFormatLite::Int32Size(
  16198. this->type());
  16199. }
  16200. // optional int32 index = 3;
  16201. if (has_index()) {
  16202. total_size += 1 +
  16203. ::google::protobuf::internal::WireFormatLite::Int32Size(
  16204. this->index());
  16205. }
  16206. }
  16207. if (!unknown_fields().empty()) {
  16208. total_size +=
  16209. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  16210. unknown_fields());
  16211. }
  16212. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16213. _cached_size_ = total_size;
  16214. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16215. return total_size;
  16216. }
  16217. void packetc2w_receive_sail_reward::MergeFrom(const ::google::protobuf::Message& from) {
  16218. GOOGLE_CHECK_NE(&from, this);
  16219. const packetc2w_receive_sail_reward* source =
  16220. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_receive_sail_reward*>(
  16221. &from);
  16222. if (source == NULL) {
  16223. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  16224. } else {
  16225. MergeFrom(*source);
  16226. }
  16227. }
  16228. void packetc2w_receive_sail_reward::MergeFrom(const packetc2w_receive_sail_reward& from) {
  16229. GOOGLE_CHECK_NE(&from, this);
  16230. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16231. if (from.has_packet_id()) {
  16232. set_packet_id(from.packet_id());
  16233. }
  16234. if (from.has_type()) {
  16235. set_type(from.type());
  16236. }
  16237. if (from.has_index()) {
  16238. set_index(from.index());
  16239. }
  16240. }
  16241. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  16242. }
  16243. void packetc2w_receive_sail_reward::CopyFrom(const ::google::protobuf::Message& from) {
  16244. if (&from == this) return;
  16245. Clear();
  16246. MergeFrom(from);
  16247. }
  16248. void packetc2w_receive_sail_reward::CopyFrom(const packetc2w_receive_sail_reward& from) {
  16249. if (&from == this) return;
  16250. Clear();
  16251. MergeFrom(from);
  16252. }
  16253. bool packetc2w_receive_sail_reward::IsInitialized() const {
  16254. return true;
  16255. }
  16256. void packetc2w_receive_sail_reward::Swap(packetc2w_receive_sail_reward* other) {
  16257. if (other != this) {
  16258. std::swap(packet_id_, other->packet_id_);
  16259. std::swap(type_, other->type_);
  16260. std::swap(index_, other->index_);
  16261. std::swap(_has_bits_[0], other->_has_bits_[0]);
  16262. _unknown_fields_.Swap(&other->_unknown_fields_);
  16263. std::swap(_cached_size_, other->_cached_size_);
  16264. }
  16265. }
  16266. ::google::protobuf::Metadata packetc2w_receive_sail_reward::GetMetadata() const {
  16267. protobuf_AssignDescriptorsOnce();
  16268. ::google::protobuf::Metadata metadata;
  16269. metadata.descriptor = packetc2w_receive_sail_reward_descriptor_;
  16270. metadata.reflection = packetc2w_receive_sail_reward_reflection_;
  16271. return metadata;
  16272. }
  16273. // ===================================================================
  16274. #ifndef _MSC_VER
  16275. const int packetw2c_receive_sail_result::kPacketIdFieldNumber;
  16276. const int packetw2c_receive_sail_result::kTypeFieldNumber;
  16277. const int packetw2c_receive_sail_result::kIndexFieldNumber;
  16278. const int packetw2c_receive_sail_result::kResultFieldNumber;
  16279. const int packetw2c_receive_sail_result::kResultParamFieldNumber;
  16280. #endif // !_MSC_VER
  16281. packetw2c_receive_sail_result::packetw2c_receive_sail_result()
  16282. : ::google::protobuf::Message() {
  16283. SharedCtor();
  16284. }
  16285. void packetw2c_receive_sail_result::InitAsDefaultInstance() {
  16286. }
  16287. packetw2c_receive_sail_result::packetw2c_receive_sail_result(const packetw2c_receive_sail_result& from)
  16288. : ::google::protobuf::Message() {
  16289. SharedCtor();
  16290. MergeFrom(from);
  16291. }
  16292. void packetw2c_receive_sail_result::SharedCtor() {
  16293. _cached_size_ = 0;
  16294. packet_id_ = 7752;
  16295. type_ = 0;
  16296. index_ = 0;
  16297. result_ = 0;
  16298. resultparam_ = 0;
  16299. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16300. }
  16301. packetw2c_receive_sail_result::~packetw2c_receive_sail_result() {
  16302. SharedDtor();
  16303. }
  16304. void packetw2c_receive_sail_result::SharedDtor() {
  16305. if (this != default_instance_) {
  16306. }
  16307. }
  16308. void packetw2c_receive_sail_result::SetCachedSize(int size) const {
  16309. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16310. _cached_size_ = size;
  16311. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16312. }
  16313. const ::google::protobuf::Descriptor* packetw2c_receive_sail_result::descriptor() {
  16314. protobuf_AssignDescriptorsOnce();
  16315. return packetw2c_receive_sail_result_descriptor_;
  16316. }
  16317. const packetw2c_receive_sail_result& packetw2c_receive_sail_result::default_instance() {
  16318. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  16319. return *default_instance_;
  16320. }
  16321. packetw2c_receive_sail_result* packetw2c_receive_sail_result::default_instance_ = NULL;
  16322. packetw2c_receive_sail_result* packetw2c_receive_sail_result::New() const {
  16323. return new packetw2c_receive_sail_result;
  16324. }
  16325. void packetw2c_receive_sail_result::Clear() {
  16326. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16327. packet_id_ = 7752;
  16328. type_ = 0;
  16329. index_ = 0;
  16330. result_ = 0;
  16331. resultparam_ = 0;
  16332. }
  16333. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16334. mutable_unknown_fields()->Clear();
  16335. }
  16336. bool packetw2c_receive_sail_result::MergePartialFromCodedStream(
  16337. ::google::protobuf::io::CodedInputStream* input) {
  16338. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  16339. ::google::protobuf::uint32 tag;
  16340. while ((tag = input->ReadTag()) != 0) {
  16341. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  16342. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_sail_result];
  16343. case 1: {
  16344. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16345. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16346. int value;
  16347. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16348. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  16349. input, &value)));
  16350. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  16351. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  16352. } else {
  16353. mutable_unknown_fields()->AddVarint(1, value);
  16354. }
  16355. } else {
  16356. goto handle_uninterpreted;
  16357. }
  16358. if (input->ExpectTag(16)) goto parse_type;
  16359. break;
  16360. }
  16361. // optional int32 type = 2;
  16362. case 2: {
  16363. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16364. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16365. parse_type:
  16366. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16367. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  16368. input, &type_)));
  16369. set_has_type();
  16370. } else {
  16371. goto handle_uninterpreted;
  16372. }
  16373. if (input->ExpectTag(24)) goto parse_index;
  16374. break;
  16375. }
  16376. // optional int32 index = 3;
  16377. case 3: {
  16378. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16379. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16380. parse_index:
  16381. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16382. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  16383. input, &index_)));
  16384. set_has_index();
  16385. } else {
  16386. goto handle_uninterpreted;
  16387. }
  16388. if (input->ExpectTag(32)) goto parse_result;
  16389. break;
  16390. }
  16391. // optional int32 result = 4;
  16392. case 4: {
  16393. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16394. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16395. parse_result:
  16396. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16397. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  16398. input, &result_)));
  16399. set_has_result();
  16400. } else {
  16401. goto handle_uninterpreted;
  16402. }
  16403. if (input->ExpectTag(40)) goto parse_resultParam;
  16404. break;
  16405. }
  16406. // optional int32 resultParam = 5;
  16407. case 5: {
  16408. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16409. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16410. parse_resultParam:
  16411. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16412. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  16413. input, &resultparam_)));
  16414. set_has_resultparam();
  16415. } else {
  16416. goto handle_uninterpreted;
  16417. }
  16418. if (input->ExpectAtEnd()) return true;
  16419. break;
  16420. }
  16421. default: {
  16422. handle_uninterpreted:
  16423. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16424. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  16425. return true;
  16426. }
  16427. DO_(::google::protobuf::internal::WireFormat::SkipField(
  16428. input, tag, mutable_unknown_fields()));
  16429. break;
  16430. }
  16431. }
  16432. }
  16433. return true;
  16434. #undef DO_
  16435. }
  16436. void packetw2c_receive_sail_result::SerializeWithCachedSizes(
  16437. ::google::protobuf::io::CodedOutputStream* output) const {
  16438. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_sail_result];
  16439. if (has_packet_id()) {
  16440. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  16441. 1, this->packet_id(), output);
  16442. }
  16443. // optional int32 type = 2;
  16444. if (has_type()) {
  16445. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->type(), output);
  16446. }
  16447. // optional int32 index = 3;
  16448. if (has_index()) {
  16449. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->index(), output);
  16450. }
  16451. // optional int32 result = 4;
  16452. if (has_result()) {
  16453. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->result(), output);
  16454. }
  16455. // optional int32 resultParam = 5;
  16456. if (has_resultparam()) {
  16457. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->resultparam(), output);
  16458. }
  16459. if (!unknown_fields().empty()) {
  16460. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  16461. unknown_fields(), output);
  16462. }
  16463. }
  16464. ::google::protobuf::uint8* packetw2c_receive_sail_result::SerializeWithCachedSizesToArray(
  16465. ::google::protobuf::uint8* target) const {
  16466. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_sail_result];
  16467. if (has_packet_id()) {
  16468. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  16469. 1, this->packet_id(), target);
  16470. }
  16471. // optional int32 type = 2;
  16472. if (has_type()) {
  16473. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->type(), target);
  16474. }
  16475. // optional int32 index = 3;
  16476. if (has_index()) {
  16477. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->index(), target);
  16478. }
  16479. // optional int32 result = 4;
  16480. if (has_result()) {
  16481. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->result(), target);
  16482. }
  16483. // optional int32 resultParam = 5;
  16484. if (has_resultparam()) {
  16485. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->resultparam(), target);
  16486. }
  16487. if (!unknown_fields().empty()) {
  16488. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  16489. unknown_fields(), target);
  16490. }
  16491. return target;
  16492. }
  16493. int packetw2c_receive_sail_result::ByteSize() const {
  16494. int total_size = 0;
  16495. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16496. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_sail_result];
  16497. if (has_packet_id()) {
  16498. total_size += 1 +
  16499. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  16500. }
  16501. // optional int32 type = 2;
  16502. if (has_type()) {
  16503. total_size += 1 +
  16504. ::google::protobuf::internal::WireFormatLite::Int32Size(
  16505. this->type());
  16506. }
  16507. // optional int32 index = 3;
  16508. if (has_index()) {
  16509. total_size += 1 +
  16510. ::google::protobuf::internal::WireFormatLite::Int32Size(
  16511. this->index());
  16512. }
  16513. // optional int32 result = 4;
  16514. if (has_result()) {
  16515. total_size += 1 +
  16516. ::google::protobuf::internal::WireFormatLite::Int32Size(
  16517. this->result());
  16518. }
  16519. // optional int32 resultParam = 5;
  16520. if (has_resultparam()) {
  16521. total_size += 1 +
  16522. ::google::protobuf::internal::WireFormatLite::Int32Size(
  16523. this->resultparam());
  16524. }
  16525. }
  16526. if (!unknown_fields().empty()) {
  16527. total_size +=
  16528. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  16529. unknown_fields());
  16530. }
  16531. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16532. _cached_size_ = total_size;
  16533. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16534. return total_size;
  16535. }
  16536. void packetw2c_receive_sail_result::MergeFrom(const ::google::protobuf::Message& from) {
  16537. GOOGLE_CHECK_NE(&from, this);
  16538. const packetw2c_receive_sail_result* source =
  16539. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_receive_sail_result*>(
  16540. &from);
  16541. if (source == NULL) {
  16542. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  16543. } else {
  16544. MergeFrom(*source);
  16545. }
  16546. }
  16547. void packetw2c_receive_sail_result::MergeFrom(const packetw2c_receive_sail_result& from) {
  16548. GOOGLE_CHECK_NE(&from, this);
  16549. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16550. if (from.has_packet_id()) {
  16551. set_packet_id(from.packet_id());
  16552. }
  16553. if (from.has_type()) {
  16554. set_type(from.type());
  16555. }
  16556. if (from.has_index()) {
  16557. set_index(from.index());
  16558. }
  16559. if (from.has_result()) {
  16560. set_result(from.result());
  16561. }
  16562. if (from.has_resultparam()) {
  16563. set_resultparam(from.resultparam());
  16564. }
  16565. }
  16566. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  16567. }
  16568. void packetw2c_receive_sail_result::CopyFrom(const ::google::protobuf::Message& from) {
  16569. if (&from == this) return;
  16570. Clear();
  16571. MergeFrom(from);
  16572. }
  16573. void packetw2c_receive_sail_result::CopyFrom(const packetw2c_receive_sail_result& from) {
  16574. if (&from == this) return;
  16575. Clear();
  16576. MergeFrom(from);
  16577. }
  16578. bool packetw2c_receive_sail_result::IsInitialized() const {
  16579. return true;
  16580. }
  16581. void packetw2c_receive_sail_result::Swap(packetw2c_receive_sail_result* other) {
  16582. if (other != this) {
  16583. std::swap(packet_id_, other->packet_id_);
  16584. std::swap(type_, other->type_);
  16585. std::swap(index_, other->index_);
  16586. std::swap(result_, other->result_);
  16587. std::swap(resultparam_, other->resultparam_);
  16588. std::swap(_has_bits_[0], other->_has_bits_[0]);
  16589. _unknown_fields_.Swap(&other->_unknown_fields_);
  16590. std::swap(_cached_size_, other->_cached_size_);
  16591. }
  16592. }
  16593. ::google::protobuf::Metadata packetw2c_receive_sail_result::GetMetadata() const {
  16594. protobuf_AssignDescriptorsOnce();
  16595. ::google::protobuf::Metadata metadata;
  16596. metadata.descriptor = packetw2c_receive_sail_result_descriptor_;
  16597. metadata.reflection = packetw2c_receive_sail_result_reflection_;
  16598. return metadata;
  16599. }
  16600. // ===================================================================
  16601. #ifndef _MSC_VER
  16602. const int packetc2w_syn_sail_piggy_gold::kPacketIdFieldNumber;
  16603. #endif // !_MSC_VER
  16604. packetc2w_syn_sail_piggy_gold::packetc2w_syn_sail_piggy_gold()
  16605. : ::google::protobuf::Message() {
  16606. SharedCtor();
  16607. }
  16608. void packetc2w_syn_sail_piggy_gold::InitAsDefaultInstance() {
  16609. }
  16610. packetc2w_syn_sail_piggy_gold::packetc2w_syn_sail_piggy_gold(const packetc2w_syn_sail_piggy_gold& from)
  16611. : ::google::protobuf::Message() {
  16612. SharedCtor();
  16613. MergeFrom(from);
  16614. }
  16615. void packetc2w_syn_sail_piggy_gold::SharedCtor() {
  16616. _cached_size_ = 0;
  16617. packet_id_ = 5221;
  16618. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16619. }
  16620. packetc2w_syn_sail_piggy_gold::~packetc2w_syn_sail_piggy_gold() {
  16621. SharedDtor();
  16622. }
  16623. void packetc2w_syn_sail_piggy_gold::SharedDtor() {
  16624. if (this != default_instance_) {
  16625. }
  16626. }
  16627. void packetc2w_syn_sail_piggy_gold::SetCachedSize(int size) const {
  16628. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16629. _cached_size_ = size;
  16630. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16631. }
  16632. const ::google::protobuf::Descriptor* packetc2w_syn_sail_piggy_gold::descriptor() {
  16633. protobuf_AssignDescriptorsOnce();
  16634. return packetc2w_syn_sail_piggy_gold_descriptor_;
  16635. }
  16636. const packetc2w_syn_sail_piggy_gold& packetc2w_syn_sail_piggy_gold::default_instance() {
  16637. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  16638. return *default_instance_;
  16639. }
  16640. packetc2w_syn_sail_piggy_gold* packetc2w_syn_sail_piggy_gold::default_instance_ = NULL;
  16641. packetc2w_syn_sail_piggy_gold* packetc2w_syn_sail_piggy_gold::New() const {
  16642. return new packetc2w_syn_sail_piggy_gold;
  16643. }
  16644. void packetc2w_syn_sail_piggy_gold::Clear() {
  16645. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16646. packet_id_ = 5221;
  16647. }
  16648. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16649. mutable_unknown_fields()->Clear();
  16650. }
  16651. bool packetc2w_syn_sail_piggy_gold::MergePartialFromCodedStream(
  16652. ::google::protobuf::io::CodedInputStream* input) {
  16653. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  16654. ::google::protobuf::uint32 tag;
  16655. while ((tag = input->ReadTag()) != 0) {
  16656. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  16657. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_syn_sail_piggy_gold];
  16658. case 1: {
  16659. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16660. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16661. int value;
  16662. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16663. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  16664. input, &value)));
  16665. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  16666. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  16667. } else {
  16668. mutable_unknown_fields()->AddVarint(1, value);
  16669. }
  16670. } else {
  16671. goto handle_uninterpreted;
  16672. }
  16673. if (input->ExpectAtEnd()) return true;
  16674. break;
  16675. }
  16676. default: {
  16677. handle_uninterpreted:
  16678. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16679. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  16680. return true;
  16681. }
  16682. DO_(::google::protobuf::internal::WireFormat::SkipField(
  16683. input, tag, mutable_unknown_fields()));
  16684. break;
  16685. }
  16686. }
  16687. }
  16688. return true;
  16689. #undef DO_
  16690. }
  16691. void packetc2w_syn_sail_piggy_gold::SerializeWithCachedSizes(
  16692. ::google::protobuf::io::CodedOutputStream* output) const {
  16693. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_syn_sail_piggy_gold];
  16694. if (has_packet_id()) {
  16695. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  16696. 1, this->packet_id(), output);
  16697. }
  16698. if (!unknown_fields().empty()) {
  16699. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  16700. unknown_fields(), output);
  16701. }
  16702. }
  16703. ::google::protobuf::uint8* packetc2w_syn_sail_piggy_gold::SerializeWithCachedSizesToArray(
  16704. ::google::protobuf::uint8* target) const {
  16705. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_syn_sail_piggy_gold];
  16706. if (has_packet_id()) {
  16707. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  16708. 1, this->packet_id(), target);
  16709. }
  16710. if (!unknown_fields().empty()) {
  16711. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  16712. unknown_fields(), target);
  16713. }
  16714. return target;
  16715. }
  16716. int packetc2w_syn_sail_piggy_gold::ByteSize() const {
  16717. int total_size = 0;
  16718. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16719. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_syn_sail_piggy_gold];
  16720. if (has_packet_id()) {
  16721. total_size += 1 +
  16722. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  16723. }
  16724. }
  16725. if (!unknown_fields().empty()) {
  16726. total_size +=
  16727. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  16728. unknown_fields());
  16729. }
  16730. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16731. _cached_size_ = total_size;
  16732. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16733. return total_size;
  16734. }
  16735. void packetc2w_syn_sail_piggy_gold::MergeFrom(const ::google::protobuf::Message& from) {
  16736. GOOGLE_CHECK_NE(&from, this);
  16737. const packetc2w_syn_sail_piggy_gold* source =
  16738. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_syn_sail_piggy_gold*>(
  16739. &from);
  16740. if (source == NULL) {
  16741. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  16742. } else {
  16743. MergeFrom(*source);
  16744. }
  16745. }
  16746. void packetc2w_syn_sail_piggy_gold::MergeFrom(const packetc2w_syn_sail_piggy_gold& from) {
  16747. GOOGLE_CHECK_NE(&from, this);
  16748. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16749. if (from.has_packet_id()) {
  16750. set_packet_id(from.packet_id());
  16751. }
  16752. }
  16753. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  16754. }
  16755. void packetc2w_syn_sail_piggy_gold::CopyFrom(const ::google::protobuf::Message& from) {
  16756. if (&from == this) return;
  16757. Clear();
  16758. MergeFrom(from);
  16759. }
  16760. void packetc2w_syn_sail_piggy_gold::CopyFrom(const packetc2w_syn_sail_piggy_gold& from) {
  16761. if (&from == this) return;
  16762. Clear();
  16763. MergeFrom(from);
  16764. }
  16765. bool packetc2w_syn_sail_piggy_gold::IsInitialized() const {
  16766. return true;
  16767. }
  16768. void packetc2w_syn_sail_piggy_gold::Swap(packetc2w_syn_sail_piggy_gold* other) {
  16769. if (other != this) {
  16770. std::swap(packet_id_, other->packet_id_);
  16771. std::swap(_has_bits_[0], other->_has_bits_[0]);
  16772. _unknown_fields_.Swap(&other->_unknown_fields_);
  16773. std::swap(_cached_size_, other->_cached_size_);
  16774. }
  16775. }
  16776. ::google::protobuf::Metadata packetc2w_syn_sail_piggy_gold::GetMetadata() const {
  16777. protobuf_AssignDescriptorsOnce();
  16778. ::google::protobuf::Metadata metadata;
  16779. metadata.descriptor = packetc2w_syn_sail_piggy_gold_descriptor_;
  16780. metadata.reflection = packetc2w_syn_sail_piggy_gold_reflection_;
  16781. return metadata;
  16782. }
  16783. // ===================================================================
  16784. #ifndef _MSC_VER
  16785. const int packetw2c_syn_sail_piggy_gold_result::kPacketIdFieldNumber;
  16786. const int packetw2c_syn_sail_piggy_gold_result::kPiggyGoldFieldNumber;
  16787. const int packetw2c_syn_sail_piggy_gold_result::kFishGoldFieldNumber;
  16788. const int packetw2c_syn_sail_piggy_gold_result::kOnlineGoldFieldNumber;
  16789. #endif // !_MSC_VER
  16790. packetw2c_syn_sail_piggy_gold_result::packetw2c_syn_sail_piggy_gold_result()
  16791. : ::google::protobuf::Message() {
  16792. SharedCtor();
  16793. }
  16794. void packetw2c_syn_sail_piggy_gold_result::InitAsDefaultInstance() {
  16795. }
  16796. packetw2c_syn_sail_piggy_gold_result::packetw2c_syn_sail_piggy_gold_result(const packetw2c_syn_sail_piggy_gold_result& from)
  16797. : ::google::protobuf::Message() {
  16798. SharedCtor();
  16799. MergeFrom(from);
  16800. }
  16801. void packetw2c_syn_sail_piggy_gold_result::SharedCtor() {
  16802. _cached_size_ = 0;
  16803. packet_id_ = 7759;
  16804. piggygold_ = 0;
  16805. fishgold_ = 0;
  16806. onlinegold_ = 0;
  16807. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16808. }
  16809. packetw2c_syn_sail_piggy_gold_result::~packetw2c_syn_sail_piggy_gold_result() {
  16810. SharedDtor();
  16811. }
  16812. void packetw2c_syn_sail_piggy_gold_result::SharedDtor() {
  16813. if (this != default_instance_) {
  16814. }
  16815. }
  16816. void packetw2c_syn_sail_piggy_gold_result::SetCachedSize(int size) const {
  16817. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  16818. _cached_size_ = size;
  16819. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  16820. }
  16821. const ::google::protobuf::Descriptor* packetw2c_syn_sail_piggy_gold_result::descriptor() {
  16822. protobuf_AssignDescriptorsOnce();
  16823. return packetw2c_syn_sail_piggy_gold_result_descriptor_;
  16824. }
  16825. const packetw2c_syn_sail_piggy_gold_result& packetw2c_syn_sail_piggy_gold_result::default_instance() {
  16826. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  16827. return *default_instance_;
  16828. }
  16829. packetw2c_syn_sail_piggy_gold_result* packetw2c_syn_sail_piggy_gold_result::default_instance_ = NULL;
  16830. packetw2c_syn_sail_piggy_gold_result* packetw2c_syn_sail_piggy_gold_result::New() const {
  16831. return new packetw2c_syn_sail_piggy_gold_result;
  16832. }
  16833. void packetw2c_syn_sail_piggy_gold_result::Clear() {
  16834. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16835. packet_id_ = 7759;
  16836. piggygold_ = 0;
  16837. fishgold_ = 0;
  16838. onlinegold_ = 0;
  16839. }
  16840. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  16841. mutable_unknown_fields()->Clear();
  16842. }
  16843. bool packetw2c_syn_sail_piggy_gold_result::MergePartialFromCodedStream(
  16844. ::google::protobuf::io::CodedInputStream* input) {
  16845. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  16846. ::google::protobuf::uint32 tag;
  16847. while ((tag = input->ReadTag()) != 0) {
  16848. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  16849. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_sail_piggy_gold_result];
  16850. case 1: {
  16851. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16852. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16853. int value;
  16854. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16855. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  16856. input, &value)));
  16857. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  16858. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  16859. } else {
  16860. mutable_unknown_fields()->AddVarint(1, value);
  16861. }
  16862. } else {
  16863. goto handle_uninterpreted;
  16864. }
  16865. if (input->ExpectTag(16)) goto parse_piggyGold;
  16866. break;
  16867. }
  16868. // optional int32 piggyGold = 2;
  16869. case 2: {
  16870. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16871. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16872. parse_piggyGold:
  16873. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16874. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  16875. input, &piggygold_)));
  16876. set_has_piggygold();
  16877. } else {
  16878. goto handle_uninterpreted;
  16879. }
  16880. if (input->ExpectTag(24)) goto parse_fishGold;
  16881. break;
  16882. }
  16883. // optional int32 fishGold = 3;
  16884. case 3: {
  16885. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16886. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16887. parse_fishGold:
  16888. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16889. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  16890. input, &fishgold_)));
  16891. set_has_fishgold();
  16892. } else {
  16893. goto handle_uninterpreted;
  16894. }
  16895. if (input->ExpectTag(32)) goto parse_onlineGold;
  16896. break;
  16897. }
  16898. // optional int32 onlineGold = 4;
  16899. case 4: {
  16900. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16901. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  16902. parse_onlineGold:
  16903. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  16904. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  16905. input, &onlinegold_)));
  16906. set_has_onlinegold();
  16907. } else {
  16908. goto handle_uninterpreted;
  16909. }
  16910. if (input->ExpectAtEnd()) return true;
  16911. break;
  16912. }
  16913. default: {
  16914. handle_uninterpreted:
  16915. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  16916. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  16917. return true;
  16918. }
  16919. DO_(::google::protobuf::internal::WireFormat::SkipField(
  16920. input, tag, mutable_unknown_fields()));
  16921. break;
  16922. }
  16923. }
  16924. }
  16925. return true;
  16926. #undef DO_
  16927. }
  16928. void packetw2c_syn_sail_piggy_gold_result::SerializeWithCachedSizes(
  16929. ::google::protobuf::io::CodedOutputStream* output) const {
  16930. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_sail_piggy_gold_result];
  16931. if (has_packet_id()) {
  16932. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  16933. 1, this->packet_id(), output);
  16934. }
  16935. // optional int32 piggyGold = 2;
  16936. if (has_piggygold()) {
  16937. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->piggygold(), output);
  16938. }
  16939. // optional int32 fishGold = 3;
  16940. if (has_fishgold()) {
  16941. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->fishgold(), output);
  16942. }
  16943. // optional int32 onlineGold = 4;
  16944. if (has_onlinegold()) {
  16945. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->onlinegold(), output);
  16946. }
  16947. if (!unknown_fields().empty()) {
  16948. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  16949. unknown_fields(), output);
  16950. }
  16951. }
  16952. ::google::protobuf::uint8* packetw2c_syn_sail_piggy_gold_result::SerializeWithCachedSizesToArray(
  16953. ::google::protobuf::uint8* target) const {
  16954. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_sail_piggy_gold_result];
  16955. if (has_packet_id()) {
  16956. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  16957. 1, this->packet_id(), target);
  16958. }
  16959. // optional int32 piggyGold = 2;
  16960. if (has_piggygold()) {
  16961. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->piggygold(), target);
  16962. }
  16963. // optional int32 fishGold = 3;
  16964. if (has_fishgold()) {
  16965. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->fishgold(), target);
  16966. }
  16967. // optional int32 onlineGold = 4;
  16968. if (has_onlinegold()) {
  16969. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->onlinegold(), target);
  16970. }
  16971. if (!unknown_fields().empty()) {
  16972. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  16973. unknown_fields(), target);
  16974. }
  16975. return target;
  16976. }
  16977. int packetw2c_syn_sail_piggy_gold_result::ByteSize() const {
  16978. int total_size = 0;
  16979. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  16980. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_syn_sail_piggy_gold_result];
  16981. if (has_packet_id()) {
  16982. total_size += 1 +
  16983. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  16984. }
  16985. // optional int32 piggyGold = 2;
  16986. if (has_piggygold()) {
  16987. total_size += 1 +
  16988. ::google::protobuf::internal::WireFormatLite::Int32Size(
  16989. this->piggygold());
  16990. }
  16991. // optional int32 fishGold = 3;
  16992. if (has_fishgold()) {
  16993. total_size += 1 +
  16994. ::google::protobuf::internal::WireFormatLite::Int32Size(
  16995. this->fishgold());
  16996. }
  16997. // optional int32 onlineGold = 4;
  16998. if (has_onlinegold()) {
  16999. total_size += 1 +
  17000. ::google::protobuf::internal::WireFormatLite::Int32Size(
  17001. this->onlinegold());
  17002. }
  17003. }
  17004. if (!unknown_fields().empty()) {
  17005. total_size +=
  17006. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  17007. unknown_fields());
  17008. }
  17009. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17010. _cached_size_ = total_size;
  17011. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17012. return total_size;
  17013. }
  17014. void packetw2c_syn_sail_piggy_gold_result::MergeFrom(const ::google::protobuf::Message& from) {
  17015. GOOGLE_CHECK_NE(&from, this);
  17016. const packetw2c_syn_sail_piggy_gold_result* source =
  17017. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_syn_sail_piggy_gold_result*>(
  17018. &from);
  17019. if (source == NULL) {
  17020. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  17021. } else {
  17022. MergeFrom(*source);
  17023. }
  17024. }
  17025. void packetw2c_syn_sail_piggy_gold_result::MergeFrom(const packetw2c_syn_sail_piggy_gold_result& from) {
  17026. GOOGLE_CHECK_NE(&from, this);
  17027. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17028. if (from.has_packet_id()) {
  17029. set_packet_id(from.packet_id());
  17030. }
  17031. if (from.has_piggygold()) {
  17032. set_piggygold(from.piggygold());
  17033. }
  17034. if (from.has_fishgold()) {
  17035. set_fishgold(from.fishgold());
  17036. }
  17037. if (from.has_onlinegold()) {
  17038. set_onlinegold(from.onlinegold());
  17039. }
  17040. }
  17041. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  17042. }
  17043. void packetw2c_syn_sail_piggy_gold_result::CopyFrom(const ::google::protobuf::Message& from) {
  17044. if (&from == this) return;
  17045. Clear();
  17046. MergeFrom(from);
  17047. }
  17048. void packetw2c_syn_sail_piggy_gold_result::CopyFrom(const packetw2c_syn_sail_piggy_gold_result& from) {
  17049. if (&from == this) return;
  17050. Clear();
  17051. MergeFrom(from);
  17052. }
  17053. bool packetw2c_syn_sail_piggy_gold_result::IsInitialized() const {
  17054. return true;
  17055. }
  17056. void packetw2c_syn_sail_piggy_gold_result::Swap(packetw2c_syn_sail_piggy_gold_result* other) {
  17057. if (other != this) {
  17058. std::swap(packet_id_, other->packet_id_);
  17059. std::swap(piggygold_, other->piggygold_);
  17060. std::swap(fishgold_, other->fishgold_);
  17061. std::swap(onlinegold_, other->onlinegold_);
  17062. std::swap(_has_bits_[0], other->_has_bits_[0]);
  17063. _unknown_fields_.Swap(&other->_unknown_fields_);
  17064. std::swap(_cached_size_, other->_cached_size_);
  17065. }
  17066. }
  17067. ::google::protobuf::Metadata packetw2c_syn_sail_piggy_gold_result::GetMetadata() const {
  17068. protobuf_AssignDescriptorsOnce();
  17069. ::google::protobuf::Metadata metadata;
  17070. metadata.descriptor = packetw2c_syn_sail_piggy_gold_result_descriptor_;
  17071. metadata.reflection = packetw2c_syn_sail_piggy_gold_result_reflection_;
  17072. return metadata;
  17073. }
  17074. // ===================================================================
  17075. #ifndef _MSC_VER
  17076. const int packetc2w_sail_achieve_lottery::kPacketIdFieldNumber;
  17077. const int packetc2w_sail_achieve_lottery::kCountFieldNumber;
  17078. #endif // !_MSC_VER
  17079. packetc2w_sail_achieve_lottery::packetc2w_sail_achieve_lottery()
  17080. : ::google::protobuf::Message() {
  17081. SharedCtor();
  17082. }
  17083. void packetc2w_sail_achieve_lottery::InitAsDefaultInstance() {
  17084. }
  17085. packetc2w_sail_achieve_lottery::packetc2w_sail_achieve_lottery(const packetc2w_sail_achieve_lottery& from)
  17086. : ::google::protobuf::Message() {
  17087. SharedCtor();
  17088. MergeFrom(from);
  17089. }
  17090. void packetc2w_sail_achieve_lottery::SharedCtor() {
  17091. _cached_size_ = 0;
  17092. packet_id_ = 5219;
  17093. count_ = 0;
  17094. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17095. }
  17096. packetc2w_sail_achieve_lottery::~packetc2w_sail_achieve_lottery() {
  17097. SharedDtor();
  17098. }
  17099. void packetc2w_sail_achieve_lottery::SharedDtor() {
  17100. if (this != default_instance_) {
  17101. }
  17102. }
  17103. void packetc2w_sail_achieve_lottery::SetCachedSize(int size) const {
  17104. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17105. _cached_size_ = size;
  17106. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17107. }
  17108. const ::google::protobuf::Descriptor* packetc2w_sail_achieve_lottery::descriptor() {
  17109. protobuf_AssignDescriptorsOnce();
  17110. return packetc2w_sail_achieve_lottery_descriptor_;
  17111. }
  17112. const packetc2w_sail_achieve_lottery& packetc2w_sail_achieve_lottery::default_instance() {
  17113. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  17114. return *default_instance_;
  17115. }
  17116. packetc2w_sail_achieve_lottery* packetc2w_sail_achieve_lottery::default_instance_ = NULL;
  17117. packetc2w_sail_achieve_lottery* packetc2w_sail_achieve_lottery::New() const {
  17118. return new packetc2w_sail_achieve_lottery;
  17119. }
  17120. void packetc2w_sail_achieve_lottery::Clear() {
  17121. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17122. packet_id_ = 5219;
  17123. count_ = 0;
  17124. }
  17125. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17126. mutable_unknown_fields()->Clear();
  17127. }
  17128. bool packetc2w_sail_achieve_lottery::MergePartialFromCodedStream(
  17129. ::google::protobuf::io::CodedInputStream* input) {
  17130. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  17131. ::google::protobuf::uint32 tag;
  17132. while ((tag = input->ReadTag()) != 0) {
  17133. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  17134. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_sail_achieve_lottery];
  17135. case 1: {
  17136. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17137. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17138. int value;
  17139. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17140. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  17141. input, &value)));
  17142. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  17143. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  17144. } else {
  17145. mutable_unknown_fields()->AddVarint(1, value);
  17146. }
  17147. } else {
  17148. goto handle_uninterpreted;
  17149. }
  17150. if (input->ExpectTag(16)) goto parse_count;
  17151. break;
  17152. }
  17153. // optional int32 count = 2;
  17154. case 2: {
  17155. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17156. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17157. parse_count:
  17158. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17159. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  17160. input, &count_)));
  17161. set_has_count();
  17162. } else {
  17163. goto handle_uninterpreted;
  17164. }
  17165. if (input->ExpectAtEnd()) return true;
  17166. break;
  17167. }
  17168. default: {
  17169. handle_uninterpreted:
  17170. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17171. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  17172. return true;
  17173. }
  17174. DO_(::google::protobuf::internal::WireFormat::SkipField(
  17175. input, tag, mutable_unknown_fields()));
  17176. break;
  17177. }
  17178. }
  17179. }
  17180. return true;
  17181. #undef DO_
  17182. }
  17183. void packetc2w_sail_achieve_lottery::SerializeWithCachedSizes(
  17184. ::google::protobuf::io::CodedOutputStream* output) const {
  17185. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_sail_achieve_lottery];
  17186. if (has_packet_id()) {
  17187. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  17188. 1, this->packet_id(), output);
  17189. }
  17190. // optional int32 count = 2;
  17191. if (has_count()) {
  17192. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->count(), output);
  17193. }
  17194. if (!unknown_fields().empty()) {
  17195. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  17196. unknown_fields(), output);
  17197. }
  17198. }
  17199. ::google::protobuf::uint8* packetc2w_sail_achieve_lottery::SerializeWithCachedSizesToArray(
  17200. ::google::protobuf::uint8* target) const {
  17201. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_sail_achieve_lottery];
  17202. if (has_packet_id()) {
  17203. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  17204. 1, this->packet_id(), target);
  17205. }
  17206. // optional int32 count = 2;
  17207. if (has_count()) {
  17208. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->count(), target);
  17209. }
  17210. if (!unknown_fields().empty()) {
  17211. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  17212. unknown_fields(), target);
  17213. }
  17214. return target;
  17215. }
  17216. int packetc2w_sail_achieve_lottery::ByteSize() const {
  17217. int total_size = 0;
  17218. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17219. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_sail_achieve_lottery];
  17220. if (has_packet_id()) {
  17221. total_size += 1 +
  17222. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  17223. }
  17224. // optional int32 count = 2;
  17225. if (has_count()) {
  17226. total_size += 1 +
  17227. ::google::protobuf::internal::WireFormatLite::Int32Size(
  17228. this->count());
  17229. }
  17230. }
  17231. if (!unknown_fields().empty()) {
  17232. total_size +=
  17233. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  17234. unknown_fields());
  17235. }
  17236. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17237. _cached_size_ = total_size;
  17238. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17239. return total_size;
  17240. }
  17241. void packetc2w_sail_achieve_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  17242. GOOGLE_CHECK_NE(&from, this);
  17243. const packetc2w_sail_achieve_lottery* source =
  17244. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_sail_achieve_lottery*>(
  17245. &from);
  17246. if (source == NULL) {
  17247. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  17248. } else {
  17249. MergeFrom(*source);
  17250. }
  17251. }
  17252. void packetc2w_sail_achieve_lottery::MergeFrom(const packetc2w_sail_achieve_lottery& from) {
  17253. GOOGLE_CHECK_NE(&from, this);
  17254. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17255. if (from.has_packet_id()) {
  17256. set_packet_id(from.packet_id());
  17257. }
  17258. if (from.has_count()) {
  17259. set_count(from.count());
  17260. }
  17261. }
  17262. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  17263. }
  17264. void packetc2w_sail_achieve_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  17265. if (&from == this) return;
  17266. Clear();
  17267. MergeFrom(from);
  17268. }
  17269. void packetc2w_sail_achieve_lottery::CopyFrom(const packetc2w_sail_achieve_lottery& from) {
  17270. if (&from == this) return;
  17271. Clear();
  17272. MergeFrom(from);
  17273. }
  17274. bool packetc2w_sail_achieve_lottery::IsInitialized() const {
  17275. return true;
  17276. }
  17277. void packetc2w_sail_achieve_lottery::Swap(packetc2w_sail_achieve_lottery* other) {
  17278. if (other != this) {
  17279. std::swap(packet_id_, other->packet_id_);
  17280. std::swap(count_, other->count_);
  17281. std::swap(_has_bits_[0], other->_has_bits_[0]);
  17282. _unknown_fields_.Swap(&other->_unknown_fields_);
  17283. std::swap(_cached_size_, other->_cached_size_);
  17284. }
  17285. }
  17286. ::google::protobuf::Metadata packetc2w_sail_achieve_lottery::GetMetadata() const {
  17287. protobuf_AssignDescriptorsOnce();
  17288. ::google::protobuf::Metadata metadata;
  17289. metadata.descriptor = packetc2w_sail_achieve_lottery_descriptor_;
  17290. metadata.reflection = packetc2w_sail_achieve_lottery_reflection_;
  17291. return metadata;
  17292. }
  17293. // ===================================================================
  17294. #ifndef _MSC_VER
  17295. const int packetw2c_sail_achieve_lottery_result::kPacketIdFieldNumber;
  17296. const int packetw2c_sail_achieve_lottery_result::kCountFieldNumber;
  17297. const int packetw2c_sail_achieve_lottery_result::kResultFieldNumber;
  17298. const int packetw2c_sail_achieve_lottery_result::kRewardListFieldNumber;
  17299. #endif // !_MSC_VER
  17300. packetw2c_sail_achieve_lottery_result::packetw2c_sail_achieve_lottery_result()
  17301. : ::google::protobuf::Message() {
  17302. SharedCtor();
  17303. }
  17304. void packetw2c_sail_achieve_lottery_result::InitAsDefaultInstance() {
  17305. }
  17306. packetw2c_sail_achieve_lottery_result::packetw2c_sail_achieve_lottery_result(const packetw2c_sail_achieve_lottery_result& from)
  17307. : ::google::protobuf::Message() {
  17308. SharedCtor();
  17309. MergeFrom(from);
  17310. }
  17311. void packetw2c_sail_achieve_lottery_result::SharedCtor() {
  17312. _cached_size_ = 0;
  17313. packet_id_ = 7753;
  17314. count_ = 0;
  17315. result_ = 0;
  17316. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17317. }
  17318. packetw2c_sail_achieve_lottery_result::~packetw2c_sail_achieve_lottery_result() {
  17319. SharedDtor();
  17320. }
  17321. void packetw2c_sail_achieve_lottery_result::SharedDtor() {
  17322. if (this != default_instance_) {
  17323. }
  17324. }
  17325. void packetw2c_sail_achieve_lottery_result::SetCachedSize(int size) const {
  17326. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17327. _cached_size_ = size;
  17328. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17329. }
  17330. const ::google::protobuf::Descriptor* packetw2c_sail_achieve_lottery_result::descriptor() {
  17331. protobuf_AssignDescriptorsOnce();
  17332. return packetw2c_sail_achieve_lottery_result_descriptor_;
  17333. }
  17334. const packetw2c_sail_achieve_lottery_result& packetw2c_sail_achieve_lottery_result::default_instance() {
  17335. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  17336. return *default_instance_;
  17337. }
  17338. packetw2c_sail_achieve_lottery_result* packetw2c_sail_achieve_lottery_result::default_instance_ = NULL;
  17339. packetw2c_sail_achieve_lottery_result* packetw2c_sail_achieve_lottery_result::New() const {
  17340. return new packetw2c_sail_achieve_lottery_result;
  17341. }
  17342. void packetw2c_sail_achieve_lottery_result::Clear() {
  17343. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17344. packet_id_ = 7753;
  17345. count_ = 0;
  17346. result_ = 0;
  17347. }
  17348. rewardlist_.Clear();
  17349. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17350. mutable_unknown_fields()->Clear();
  17351. }
  17352. bool packetw2c_sail_achieve_lottery_result::MergePartialFromCodedStream(
  17353. ::google::protobuf::io::CodedInputStream* input) {
  17354. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  17355. ::google::protobuf::uint32 tag;
  17356. while ((tag = input->ReadTag()) != 0) {
  17357. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  17358. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_sail_achieve_lottery_result];
  17359. case 1: {
  17360. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17361. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17362. int value;
  17363. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17364. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  17365. input, &value)));
  17366. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  17367. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  17368. } else {
  17369. mutable_unknown_fields()->AddVarint(1, value);
  17370. }
  17371. } else {
  17372. goto handle_uninterpreted;
  17373. }
  17374. if (input->ExpectTag(16)) goto parse_count;
  17375. break;
  17376. }
  17377. // optional int32 count = 2;
  17378. case 2: {
  17379. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17380. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17381. parse_count:
  17382. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17383. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  17384. input, &count_)));
  17385. set_has_count();
  17386. } else {
  17387. goto handle_uninterpreted;
  17388. }
  17389. if (input->ExpectTag(24)) goto parse_result;
  17390. break;
  17391. }
  17392. // optional int32 result = 3;
  17393. case 3: {
  17394. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17395. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17396. parse_result:
  17397. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17398. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  17399. input, &result_)));
  17400. set_has_result();
  17401. } else {
  17402. goto handle_uninterpreted;
  17403. }
  17404. if (input->ExpectTag(32)) goto parse_rewardList;
  17405. break;
  17406. }
  17407. // repeated int32 rewardList = 4;
  17408. case 4: {
  17409. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17410. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17411. parse_rewardList:
  17412. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  17413. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  17414. 1, 32, input, this->mutable_rewardlist())));
  17415. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  17416. == ::google::protobuf::internal::WireFormatLite::
  17417. WIRETYPE_LENGTH_DELIMITED) {
  17418. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  17419. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  17420. input, this->mutable_rewardlist())));
  17421. } else {
  17422. goto handle_uninterpreted;
  17423. }
  17424. if (input->ExpectTag(32)) goto parse_rewardList;
  17425. if (input->ExpectAtEnd()) return true;
  17426. break;
  17427. }
  17428. default: {
  17429. handle_uninterpreted:
  17430. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17431. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  17432. return true;
  17433. }
  17434. DO_(::google::protobuf::internal::WireFormat::SkipField(
  17435. input, tag, mutable_unknown_fields()));
  17436. break;
  17437. }
  17438. }
  17439. }
  17440. return true;
  17441. #undef DO_
  17442. }
  17443. void packetw2c_sail_achieve_lottery_result::SerializeWithCachedSizes(
  17444. ::google::protobuf::io::CodedOutputStream* output) const {
  17445. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_sail_achieve_lottery_result];
  17446. if (has_packet_id()) {
  17447. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  17448. 1, this->packet_id(), output);
  17449. }
  17450. // optional int32 count = 2;
  17451. if (has_count()) {
  17452. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->count(), output);
  17453. }
  17454. // optional int32 result = 3;
  17455. if (has_result()) {
  17456. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output);
  17457. }
  17458. // repeated int32 rewardList = 4;
  17459. for (int i = 0; i < this->rewardlist_size(); i++) {
  17460. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  17461. 4, this->rewardlist(i), output);
  17462. }
  17463. if (!unknown_fields().empty()) {
  17464. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  17465. unknown_fields(), output);
  17466. }
  17467. }
  17468. ::google::protobuf::uint8* packetw2c_sail_achieve_lottery_result::SerializeWithCachedSizesToArray(
  17469. ::google::protobuf::uint8* target) const {
  17470. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_sail_achieve_lottery_result];
  17471. if (has_packet_id()) {
  17472. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  17473. 1, this->packet_id(), target);
  17474. }
  17475. // optional int32 count = 2;
  17476. if (has_count()) {
  17477. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->count(), target);
  17478. }
  17479. // optional int32 result = 3;
  17480. if (has_result()) {
  17481. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target);
  17482. }
  17483. // repeated int32 rewardList = 4;
  17484. for (int i = 0; i < this->rewardlist_size(); i++) {
  17485. target = ::google::protobuf::internal::WireFormatLite::
  17486. WriteInt32ToArray(4, this->rewardlist(i), target);
  17487. }
  17488. if (!unknown_fields().empty()) {
  17489. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  17490. unknown_fields(), target);
  17491. }
  17492. return target;
  17493. }
  17494. int packetw2c_sail_achieve_lottery_result::ByteSize() const {
  17495. int total_size = 0;
  17496. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17497. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_sail_achieve_lottery_result];
  17498. if (has_packet_id()) {
  17499. total_size += 1 +
  17500. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  17501. }
  17502. // optional int32 count = 2;
  17503. if (has_count()) {
  17504. total_size += 1 +
  17505. ::google::protobuf::internal::WireFormatLite::Int32Size(
  17506. this->count());
  17507. }
  17508. // optional int32 result = 3;
  17509. if (has_result()) {
  17510. total_size += 1 +
  17511. ::google::protobuf::internal::WireFormatLite::Int32Size(
  17512. this->result());
  17513. }
  17514. }
  17515. // repeated int32 rewardList = 4;
  17516. {
  17517. int data_size = 0;
  17518. for (int i = 0; i < this->rewardlist_size(); i++) {
  17519. data_size += ::google::protobuf::internal::WireFormatLite::
  17520. Int32Size(this->rewardlist(i));
  17521. }
  17522. total_size += 1 * this->rewardlist_size() + data_size;
  17523. }
  17524. if (!unknown_fields().empty()) {
  17525. total_size +=
  17526. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  17527. unknown_fields());
  17528. }
  17529. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17530. _cached_size_ = total_size;
  17531. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17532. return total_size;
  17533. }
  17534. void packetw2c_sail_achieve_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  17535. GOOGLE_CHECK_NE(&from, this);
  17536. const packetw2c_sail_achieve_lottery_result* source =
  17537. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_sail_achieve_lottery_result*>(
  17538. &from);
  17539. if (source == NULL) {
  17540. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  17541. } else {
  17542. MergeFrom(*source);
  17543. }
  17544. }
  17545. void packetw2c_sail_achieve_lottery_result::MergeFrom(const packetw2c_sail_achieve_lottery_result& from) {
  17546. GOOGLE_CHECK_NE(&from, this);
  17547. rewardlist_.MergeFrom(from.rewardlist_);
  17548. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17549. if (from.has_packet_id()) {
  17550. set_packet_id(from.packet_id());
  17551. }
  17552. if (from.has_count()) {
  17553. set_count(from.count());
  17554. }
  17555. if (from.has_result()) {
  17556. set_result(from.result());
  17557. }
  17558. }
  17559. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  17560. }
  17561. void packetw2c_sail_achieve_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  17562. if (&from == this) return;
  17563. Clear();
  17564. MergeFrom(from);
  17565. }
  17566. void packetw2c_sail_achieve_lottery_result::CopyFrom(const packetw2c_sail_achieve_lottery_result& from) {
  17567. if (&from == this) return;
  17568. Clear();
  17569. MergeFrom(from);
  17570. }
  17571. bool packetw2c_sail_achieve_lottery_result::IsInitialized() const {
  17572. return true;
  17573. }
  17574. void packetw2c_sail_achieve_lottery_result::Swap(packetw2c_sail_achieve_lottery_result* other) {
  17575. if (other != this) {
  17576. std::swap(packet_id_, other->packet_id_);
  17577. std::swap(count_, other->count_);
  17578. std::swap(result_, other->result_);
  17579. rewardlist_.Swap(&other->rewardlist_);
  17580. std::swap(_has_bits_[0], other->_has_bits_[0]);
  17581. _unknown_fields_.Swap(&other->_unknown_fields_);
  17582. std::swap(_cached_size_, other->_cached_size_);
  17583. }
  17584. }
  17585. ::google::protobuf::Metadata packetw2c_sail_achieve_lottery_result::GetMetadata() const {
  17586. protobuf_AssignDescriptorsOnce();
  17587. ::google::protobuf::Metadata metadata;
  17588. metadata.descriptor = packetw2c_sail_achieve_lottery_result_descriptor_;
  17589. metadata.reflection = packetw2c_sail_achieve_lottery_result_reflection_;
  17590. return metadata;
  17591. }
  17592. // ===================================================================
  17593. #ifndef _MSC_VER
  17594. const int packetw2c_trigger_sail_achieve::kPacketIdFieldNumber;
  17595. const int packetw2c_trigger_sail_achieve::kSailInfoFieldNumber;
  17596. #endif // !_MSC_VER
  17597. packetw2c_trigger_sail_achieve::packetw2c_trigger_sail_achieve()
  17598. : ::google::protobuf::Message() {
  17599. SharedCtor();
  17600. }
  17601. void packetw2c_trigger_sail_achieve::InitAsDefaultInstance() {
  17602. sailinfo_ = const_cast< ::msg_info_def::SailCeremonyInfo*>(&::msg_info_def::SailCeremonyInfo::default_instance());
  17603. }
  17604. packetw2c_trigger_sail_achieve::packetw2c_trigger_sail_achieve(const packetw2c_trigger_sail_achieve& from)
  17605. : ::google::protobuf::Message() {
  17606. SharedCtor();
  17607. MergeFrom(from);
  17608. }
  17609. void packetw2c_trigger_sail_achieve::SharedCtor() {
  17610. _cached_size_ = 0;
  17611. packet_id_ = 7756;
  17612. sailinfo_ = NULL;
  17613. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17614. }
  17615. packetw2c_trigger_sail_achieve::~packetw2c_trigger_sail_achieve() {
  17616. SharedDtor();
  17617. }
  17618. void packetw2c_trigger_sail_achieve::SharedDtor() {
  17619. if (this != default_instance_) {
  17620. delete sailinfo_;
  17621. }
  17622. }
  17623. void packetw2c_trigger_sail_achieve::SetCachedSize(int size) const {
  17624. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17625. _cached_size_ = size;
  17626. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17627. }
  17628. const ::google::protobuf::Descriptor* packetw2c_trigger_sail_achieve::descriptor() {
  17629. protobuf_AssignDescriptorsOnce();
  17630. return packetw2c_trigger_sail_achieve_descriptor_;
  17631. }
  17632. const packetw2c_trigger_sail_achieve& packetw2c_trigger_sail_achieve::default_instance() {
  17633. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  17634. return *default_instance_;
  17635. }
  17636. packetw2c_trigger_sail_achieve* packetw2c_trigger_sail_achieve::default_instance_ = NULL;
  17637. packetw2c_trigger_sail_achieve* packetw2c_trigger_sail_achieve::New() const {
  17638. return new packetw2c_trigger_sail_achieve;
  17639. }
  17640. void packetw2c_trigger_sail_achieve::Clear() {
  17641. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17642. packet_id_ = 7756;
  17643. if (has_sailinfo()) {
  17644. if (sailinfo_ != NULL) sailinfo_->::msg_info_def::SailCeremonyInfo::Clear();
  17645. }
  17646. }
  17647. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17648. mutable_unknown_fields()->Clear();
  17649. }
  17650. bool packetw2c_trigger_sail_achieve::MergePartialFromCodedStream(
  17651. ::google::protobuf::io::CodedInputStream* input) {
  17652. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  17653. ::google::protobuf::uint32 tag;
  17654. while ((tag = input->ReadTag()) != 0) {
  17655. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  17656. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_trigger_sail_achieve];
  17657. case 1: {
  17658. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17659. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17660. int value;
  17661. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17662. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  17663. input, &value)));
  17664. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  17665. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  17666. } else {
  17667. mutable_unknown_fields()->AddVarint(1, value);
  17668. }
  17669. } else {
  17670. goto handle_uninterpreted;
  17671. }
  17672. if (input->ExpectTag(18)) goto parse_sailInfo;
  17673. break;
  17674. }
  17675. // optional .msg_info_def.SailCeremonyInfo sailInfo = 2;
  17676. case 2: {
  17677. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17678. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  17679. parse_sailInfo:
  17680. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  17681. input, mutable_sailinfo()));
  17682. } else {
  17683. goto handle_uninterpreted;
  17684. }
  17685. if (input->ExpectAtEnd()) return true;
  17686. break;
  17687. }
  17688. default: {
  17689. handle_uninterpreted:
  17690. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17691. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  17692. return true;
  17693. }
  17694. DO_(::google::protobuf::internal::WireFormat::SkipField(
  17695. input, tag, mutable_unknown_fields()));
  17696. break;
  17697. }
  17698. }
  17699. }
  17700. return true;
  17701. #undef DO_
  17702. }
  17703. void packetw2c_trigger_sail_achieve::SerializeWithCachedSizes(
  17704. ::google::protobuf::io::CodedOutputStream* output) const {
  17705. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_trigger_sail_achieve];
  17706. if (has_packet_id()) {
  17707. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  17708. 1, this->packet_id(), output);
  17709. }
  17710. // optional .msg_info_def.SailCeremonyInfo sailInfo = 2;
  17711. if (has_sailinfo()) {
  17712. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  17713. 2, this->sailinfo(), output);
  17714. }
  17715. if (!unknown_fields().empty()) {
  17716. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  17717. unknown_fields(), output);
  17718. }
  17719. }
  17720. ::google::protobuf::uint8* packetw2c_trigger_sail_achieve::SerializeWithCachedSizesToArray(
  17721. ::google::protobuf::uint8* target) const {
  17722. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_trigger_sail_achieve];
  17723. if (has_packet_id()) {
  17724. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  17725. 1, this->packet_id(), target);
  17726. }
  17727. // optional .msg_info_def.SailCeremonyInfo sailInfo = 2;
  17728. if (has_sailinfo()) {
  17729. target = ::google::protobuf::internal::WireFormatLite::
  17730. WriteMessageNoVirtualToArray(
  17731. 2, this->sailinfo(), target);
  17732. }
  17733. if (!unknown_fields().empty()) {
  17734. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  17735. unknown_fields(), target);
  17736. }
  17737. return target;
  17738. }
  17739. int packetw2c_trigger_sail_achieve::ByteSize() const {
  17740. int total_size = 0;
  17741. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17742. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_trigger_sail_achieve];
  17743. if (has_packet_id()) {
  17744. total_size += 1 +
  17745. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  17746. }
  17747. // optional .msg_info_def.SailCeremonyInfo sailInfo = 2;
  17748. if (has_sailinfo()) {
  17749. total_size += 1 +
  17750. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  17751. this->sailinfo());
  17752. }
  17753. }
  17754. if (!unknown_fields().empty()) {
  17755. total_size +=
  17756. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  17757. unknown_fields());
  17758. }
  17759. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17760. _cached_size_ = total_size;
  17761. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17762. return total_size;
  17763. }
  17764. void packetw2c_trigger_sail_achieve::MergeFrom(const ::google::protobuf::Message& from) {
  17765. GOOGLE_CHECK_NE(&from, this);
  17766. const packetw2c_trigger_sail_achieve* source =
  17767. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_trigger_sail_achieve*>(
  17768. &from);
  17769. if (source == NULL) {
  17770. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  17771. } else {
  17772. MergeFrom(*source);
  17773. }
  17774. }
  17775. void packetw2c_trigger_sail_achieve::MergeFrom(const packetw2c_trigger_sail_achieve& from) {
  17776. GOOGLE_CHECK_NE(&from, this);
  17777. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17778. if (from.has_packet_id()) {
  17779. set_packet_id(from.packet_id());
  17780. }
  17781. if (from.has_sailinfo()) {
  17782. mutable_sailinfo()->::msg_info_def::SailCeremonyInfo::MergeFrom(from.sailinfo());
  17783. }
  17784. }
  17785. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  17786. }
  17787. void packetw2c_trigger_sail_achieve::CopyFrom(const ::google::protobuf::Message& from) {
  17788. if (&from == this) return;
  17789. Clear();
  17790. MergeFrom(from);
  17791. }
  17792. void packetw2c_trigger_sail_achieve::CopyFrom(const packetw2c_trigger_sail_achieve& from) {
  17793. if (&from == this) return;
  17794. Clear();
  17795. MergeFrom(from);
  17796. }
  17797. bool packetw2c_trigger_sail_achieve::IsInitialized() const {
  17798. return true;
  17799. }
  17800. void packetw2c_trigger_sail_achieve::Swap(packetw2c_trigger_sail_achieve* other) {
  17801. if (other != this) {
  17802. std::swap(packet_id_, other->packet_id_);
  17803. std::swap(sailinfo_, other->sailinfo_);
  17804. std::swap(_has_bits_[0], other->_has_bits_[0]);
  17805. _unknown_fields_.Swap(&other->_unknown_fields_);
  17806. std::swap(_cached_size_, other->_cached_size_);
  17807. }
  17808. }
  17809. ::google::protobuf::Metadata packetw2c_trigger_sail_achieve::GetMetadata() const {
  17810. protobuf_AssignDescriptorsOnce();
  17811. ::google::protobuf::Metadata metadata;
  17812. metadata.descriptor = packetw2c_trigger_sail_achieve_descriptor_;
  17813. metadata.reflection = packetw2c_trigger_sail_achieve_reflection_;
  17814. return metadata;
  17815. }
  17816. // ===================================================================
  17817. #ifndef _MSC_VER
  17818. const int sailLotteryInfo::kNicknameFieldNumber;
  17819. const int sailLotteryInfo::kItemIDFieldNumber;
  17820. const int sailLotteryInfo::kItemCountFieldNumber;
  17821. const int sailLotteryInfo::kTimeFieldNumber;
  17822. #endif // !_MSC_VER
  17823. sailLotteryInfo::sailLotteryInfo()
  17824. : ::google::protobuf::Message() {
  17825. SharedCtor();
  17826. }
  17827. void sailLotteryInfo::InitAsDefaultInstance() {
  17828. }
  17829. sailLotteryInfo::sailLotteryInfo(const sailLotteryInfo& from)
  17830. : ::google::protobuf::Message() {
  17831. SharedCtor();
  17832. MergeFrom(from);
  17833. }
  17834. void sailLotteryInfo::SharedCtor() {
  17835. _cached_size_ = 0;
  17836. nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  17837. itemid_ = 0;
  17838. itemcount_ = 0;
  17839. time_ = 0;
  17840. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17841. }
  17842. sailLotteryInfo::~sailLotteryInfo() {
  17843. SharedDtor();
  17844. }
  17845. void sailLotteryInfo::SharedDtor() {
  17846. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  17847. delete nickname_;
  17848. }
  17849. if (this != default_instance_) {
  17850. }
  17851. }
  17852. void sailLotteryInfo::SetCachedSize(int size) const {
  17853. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  17854. _cached_size_ = size;
  17855. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  17856. }
  17857. const ::google::protobuf::Descriptor* sailLotteryInfo::descriptor() {
  17858. protobuf_AssignDescriptorsOnce();
  17859. return sailLotteryInfo_descriptor_;
  17860. }
  17861. const sailLotteryInfo& sailLotteryInfo::default_instance() {
  17862. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  17863. return *default_instance_;
  17864. }
  17865. sailLotteryInfo* sailLotteryInfo::default_instance_ = NULL;
  17866. sailLotteryInfo* sailLotteryInfo::New() const {
  17867. return new sailLotteryInfo;
  17868. }
  17869. void sailLotteryInfo::Clear() {
  17870. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  17871. if (has_nickname()) {
  17872. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  17873. nickname_->clear();
  17874. }
  17875. }
  17876. itemid_ = 0;
  17877. itemcount_ = 0;
  17878. time_ = 0;
  17879. }
  17880. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  17881. mutable_unknown_fields()->Clear();
  17882. }
  17883. bool sailLotteryInfo::MergePartialFromCodedStream(
  17884. ::google::protobuf::io::CodedInputStream* input) {
  17885. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  17886. ::google::protobuf::uint32 tag;
  17887. while ((tag = input->ReadTag()) != 0) {
  17888. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  17889. // optional string nickname = 1;
  17890. case 1: {
  17891. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17892. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  17893. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  17894. input, this->mutable_nickname()));
  17895. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  17896. this->nickname().data(), this->nickname().length(),
  17897. ::google::protobuf::internal::WireFormat::PARSE);
  17898. } else {
  17899. goto handle_uninterpreted;
  17900. }
  17901. if (input->ExpectTag(16)) goto parse_itemID;
  17902. break;
  17903. }
  17904. // optional int32 itemID = 2;
  17905. case 2: {
  17906. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17907. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17908. parse_itemID:
  17909. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17910. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  17911. input, &itemid_)));
  17912. set_has_itemid();
  17913. } else {
  17914. goto handle_uninterpreted;
  17915. }
  17916. if (input->ExpectTag(24)) goto parse_itemCount;
  17917. break;
  17918. }
  17919. // optional int32 itemCount = 3;
  17920. case 3: {
  17921. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17922. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17923. parse_itemCount:
  17924. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17925. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  17926. input, &itemcount_)));
  17927. set_has_itemcount();
  17928. } else {
  17929. goto handle_uninterpreted;
  17930. }
  17931. if (input->ExpectTag(32)) goto parse_time;
  17932. break;
  17933. }
  17934. // optional int32 time = 4;
  17935. case 4: {
  17936. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17937. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  17938. parse_time:
  17939. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  17940. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  17941. input, &time_)));
  17942. set_has_time();
  17943. } else {
  17944. goto handle_uninterpreted;
  17945. }
  17946. if (input->ExpectAtEnd()) return true;
  17947. break;
  17948. }
  17949. default: {
  17950. handle_uninterpreted:
  17951. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  17952. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  17953. return true;
  17954. }
  17955. DO_(::google::protobuf::internal::WireFormat::SkipField(
  17956. input, tag, mutable_unknown_fields()));
  17957. break;
  17958. }
  17959. }
  17960. }
  17961. return true;
  17962. #undef DO_
  17963. }
  17964. void sailLotteryInfo::SerializeWithCachedSizes(
  17965. ::google::protobuf::io::CodedOutputStream* output) const {
  17966. // optional string nickname = 1;
  17967. if (has_nickname()) {
  17968. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  17969. this->nickname().data(), this->nickname().length(),
  17970. ::google::protobuf::internal::WireFormat::SERIALIZE);
  17971. ::google::protobuf::internal::WireFormatLite::WriteString(
  17972. 1, this->nickname(), output);
  17973. }
  17974. // optional int32 itemID = 2;
  17975. if (has_itemid()) {
  17976. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->itemid(), output);
  17977. }
  17978. // optional int32 itemCount = 3;
  17979. if (has_itemcount()) {
  17980. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->itemcount(), output);
  17981. }
  17982. // optional int32 time = 4;
  17983. if (has_time()) {
  17984. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->time(), output);
  17985. }
  17986. if (!unknown_fields().empty()) {
  17987. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  17988. unknown_fields(), output);
  17989. }
  17990. }
  17991. ::google::protobuf::uint8* sailLotteryInfo::SerializeWithCachedSizesToArray(
  17992. ::google::protobuf::uint8* target) const {
  17993. // optional string nickname = 1;
  17994. if (has_nickname()) {
  17995. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  17996. this->nickname().data(), this->nickname().length(),
  17997. ::google::protobuf::internal::WireFormat::SERIALIZE);
  17998. target =
  17999. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  18000. 1, this->nickname(), target);
  18001. }
  18002. // optional int32 itemID = 2;
  18003. if (has_itemid()) {
  18004. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->itemid(), target);
  18005. }
  18006. // optional int32 itemCount = 3;
  18007. if (has_itemcount()) {
  18008. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->itemcount(), target);
  18009. }
  18010. // optional int32 time = 4;
  18011. if (has_time()) {
  18012. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->time(), target);
  18013. }
  18014. if (!unknown_fields().empty()) {
  18015. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  18016. unknown_fields(), target);
  18017. }
  18018. return target;
  18019. }
  18020. int sailLotteryInfo::ByteSize() const {
  18021. int total_size = 0;
  18022. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18023. // optional string nickname = 1;
  18024. if (has_nickname()) {
  18025. total_size += 1 +
  18026. ::google::protobuf::internal::WireFormatLite::StringSize(
  18027. this->nickname());
  18028. }
  18029. // optional int32 itemID = 2;
  18030. if (has_itemid()) {
  18031. total_size += 1 +
  18032. ::google::protobuf::internal::WireFormatLite::Int32Size(
  18033. this->itemid());
  18034. }
  18035. // optional int32 itemCount = 3;
  18036. if (has_itemcount()) {
  18037. total_size += 1 +
  18038. ::google::protobuf::internal::WireFormatLite::Int32Size(
  18039. this->itemcount());
  18040. }
  18041. // optional int32 time = 4;
  18042. if (has_time()) {
  18043. total_size += 1 +
  18044. ::google::protobuf::internal::WireFormatLite::Int32Size(
  18045. this->time());
  18046. }
  18047. }
  18048. if (!unknown_fields().empty()) {
  18049. total_size +=
  18050. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  18051. unknown_fields());
  18052. }
  18053. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18054. _cached_size_ = total_size;
  18055. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18056. return total_size;
  18057. }
  18058. void sailLotteryInfo::MergeFrom(const ::google::protobuf::Message& from) {
  18059. GOOGLE_CHECK_NE(&from, this);
  18060. const sailLotteryInfo* source =
  18061. ::google::protobuf::internal::dynamic_cast_if_available<const sailLotteryInfo*>(
  18062. &from);
  18063. if (source == NULL) {
  18064. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  18065. } else {
  18066. MergeFrom(*source);
  18067. }
  18068. }
  18069. void sailLotteryInfo::MergeFrom(const sailLotteryInfo& from) {
  18070. GOOGLE_CHECK_NE(&from, this);
  18071. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18072. if (from.has_nickname()) {
  18073. set_nickname(from.nickname());
  18074. }
  18075. if (from.has_itemid()) {
  18076. set_itemid(from.itemid());
  18077. }
  18078. if (from.has_itemcount()) {
  18079. set_itemcount(from.itemcount());
  18080. }
  18081. if (from.has_time()) {
  18082. set_time(from.time());
  18083. }
  18084. }
  18085. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  18086. }
  18087. void sailLotteryInfo::CopyFrom(const ::google::protobuf::Message& from) {
  18088. if (&from == this) return;
  18089. Clear();
  18090. MergeFrom(from);
  18091. }
  18092. void sailLotteryInfo::CopyFrom(const sailLotteryInfo& from) {
  18093. if (&from == this) return;
  18094. Clear();
  18095. MergeFrom(from);
  18096. }
  18097. bool sailLotteryInfo::IsInitialized() const {
  18098. return true;
  18099. }
  18100. void sailLotteryInfo::Swap(sailLotteryInfo* other) {
  18101. if (other != this) {
  18102. std::swap(nickname_, other->nickname_);
  18103. std::swap(itemid_, other->itemid_);
  18104. std::swap(itemcount_, other->itemcount_);
  18105. std::swap(time_, other->time_);
  18106. std::swap(_has_bits_[0], other->_has_bits_[0]);
  18107. _unknown_fields_.Swap(&other->_unknown_fields_);
  18108. std::swap(_cached_size_, other->_cached_size_);
  18109. }
  18110. }
  18111. ::google::protobuf::Metadata sailLotteryInfo::GetMetadata() const {
  18112. protobuf_AssignDescriptorsOnce();
  18113. ::google::protobuf::Metadata metadata;
  18114. metadata.descriptor = sailLotteryInfo_descriptor_;
  18115. metadata.reflection = sailLotteryInfo_reflection_;
  18116. return metadata;
  18117. }
  18118. // ===================================================================
  18119. #ifndef _MSC_VER
  18120. const int packetc2w_sail_get_lottery_history::kPacketIdFieldNumber;
  18121. #endif // !_MSC_VER
  18122. packetc2w_sail_get_lottery_history::packetc2w_sail_get_lottery_history()
  18123. : ::google::protobuf::Message() {
  18124. SharedCtor();
  18125. }
  18126. void packetc2w_sail_get_lottery_history::InitAsDefaultInstance() {
  18127. }
  18128. packetc2w_sail_get_lottery_history::packetc2w_sail_get_lottery_history(const packetc2w_sail_get_lottery_history& from)
  18129. : ::google::protobuf::Message() {
  18130. SharedCtor();
  18131. MergeFrom(from);
  18132. }
  18133. void packetc2w_sail_get_lottery_history::SharedCtor() {
  18134. _cached_size_ = 0;
  18135. packet_id_ = 5222;
  18136. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18137. }
  18138. packetc2w_sail_get_lottery_history::~packetc2w_sail_get_lottery_history() {
  18139. SharedDtor();
  18140. }
  18141. void packetc2w_sail_get_lottery_history::SharedDtor() {
  18142. if (this != default_instance_) {
  18143. }
  18144. }
  18145. void packetc2w_sail_get_lottery_history::SetCachedSize(int size) const {
  18146. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18147. _cached_size_ = size;
  18148. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18149. }
  18150. const ::google::protobuf::Descriptor* packetc2w_sail_get_lottery_history::descriptor() {
  18151. protobuf_AssignDescriptorsOnce();
  18152. return packetc2w_sail_get_lottery_history_descriptor_;
  18153. }
  18154. const packetc2w_sail_get_lottery_history& packetc2w_sail_get_lottery_history::default_instance() {
  18155. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  18156. return *default_instance_;
  18157. }
  18158. packetc2w_sail_get_lottery_history* packetc2w_sail_get_lottery_history::default_instance_ = NULL;
  18159. packetc2w_sail_get_lottery_history* packetc2w_sail_get_lottery_history::New() const {
  18160. return new packetc2w_sail_get_lottery_history;
  18161. }
  18162. void packetc2w_sail_get_lottery_history::Clear() {
  18163. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18164. packet_id_ = 5222;
  18165. }
  18166. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18167. mutable_unknown_fields()->Clear();
  18168. }
  18169. bool packetc2w_sail_get_lottery_history::MergePartialFromCodedStream(
  18170. ::google::protobuf::io::CodedInputStream* input) {
  18171. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  18172. ::google::protobuf::uint32 tag;
  18173. while ((tag = input->ReadTag()) != 0) {
  18174. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  18175. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_sail_get_lottery_history];
  18176. case 1: {
  18177. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18178. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18179. int value;
  18180. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18181. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  18182. input, &value)));
  18183. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  18184. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  18185. } else {
  18186. mutable_unknown_fields()->AddVarint(1, value);
  18187. }
  18188. } else {
  18189. goto handle_uninterpreted;
  18190. }
  18191. if (input->ExpectAtEnd()) return true;
  18192. break;
  18193. }
  18194. default: {
  18195. handle_uninterpreted:
  18196. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18197. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  18198. return true;
  18199. }
  18200. DO_(::google::protobuf::internal::WireFormat::SkipField(
  18201. input, tag, mutable_unknown_fields()));
  18202. break;
  18203. }
  18204. }
  18205. }
  18206. return true;
  18207. #undef DO_
  18208. }
  18209. void packetc2w_sail_get_lottery_history::SerializeWithCachedSizes(
  18210. ::google::protobuf::io::CodedOutputStream* output) const {
  18211. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_sail_get_lottery_history];
  18212. if (has_packet_id()) {
  18213. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  18214. 1, this->packet_id(), output);
  18215. }
  18216. if (!unknown_fields().empty()) {
  18217. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  18218. unknown_fields(), output);
  18219. }
  18220. }
  18221. ::google::protobuf::uint8* packetc2w_sail_get_lottery_history::SerializeWithCachedSizesToArray(
  18222. ::google::protobuf::uint8* target) const {
  18223. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_sail_get_lottery_history];
  18224. if (has_packet_id()) {
  18225. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  18226. 1, this->packet_id(), target);
  18227. }
  18228. if (!unknown_fields().empty()) {
  18229. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  18230. unknown_fields(), target);
  18231. }
  18232. return target;
  18233. }
  18234. int packetc2w_sail_get_lottery_history::ByteSize() const {
  18235. int total_size = 0;
  18236. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18237. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_sail_get_lottery_history];
  18238. if (has_packet_id()) {
  18239. total_size += 1 +
  18240. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  18241. }
  18242. }
  18243. if (!unknown_fields().empty()) {
  18244. total_size +=
  18245. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  18246. unknown_fields());
  18247. }
  18248. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18249. _cached_size_ = total_size;
  18250. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18251. return total_size;
  18252. }
  18253. void packetc2w_sail_get_lottery_history::MergeFrom(const ::google::protobuf::Message& from) {
  18254. GOOGLE_CHECK_NE(&from, this);
  18255. const packetc2w_sail_get_lottery_history* source =
  18256. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_sail_get_lottery_history*>(
  18257. &from);
  18258. if (source == NULL) {
  18259. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  18260. } else {
  18261. MergeFrom(*source);
  18262. }
  18263. }
  18264. void packetc2w_sail_get_lottery_history::MergeFrom(const packetc2w_sail_get_lottery_history& from) {
  18265. GOOGLE_CHECK_NE(&from, this);
  18266. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18267. if (from.has_packet_id()) {
  18268. set_packet_id(from.packet_id());
  18269. }
  18270. }
  18271. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  18272. }
  18273. void packetc2w_sail_get_lottery_history::CopyFrom(const ::google::protobuf::Message& from) {
  18274. if (&from == this) return;
  18275. Clear();
  18276. MergeFrom(from);
  18277. }
  18278. void packetc2w_sail_get_lottery_history::CopyFrom(const packetc2w_sail_get_lottery_history& from) {
  18279. if (&from == this) return;
  18280. Clear();
  18281. MergeFrom(from);
  18282. }
  18283. bool packetc2w_sail_get_lottery_history::IsInitialized() const {
  18284. return true;
  18285. }
  18286. void packetc2w_sail_get_lottery_history::Swap(packetc2w_sail_get_lottery_history* other) {
  18287. if (other != this) {
  18288. std::swap(packet_id_, other->packet_id_);
  18289. std::swap(_has_bits_[0], other->_has_bits_[0]);
  18290. _unknown_fields_.Swap(&other->_unknown_fields_);
  18291. std::swap(_cached_size_, other->_cached_size_);
  18292. }
  18293. }
  18294. ::google::protobuf::Metadata packetc2w_sail_get_lottery_history::GetMetadata() const {
  18295. protobuf_AssignDescriptorsOnce();
  18296. ::google::protobuf::Metadata metadata;
  18297. metadata.descriptor = packetc2w_sail_get_lottery_history_descriptor_;
  18298. metadata.reflection = packetc2w_sail_get_lottery_history_reflection_;
  18299. return metadata;
  18300. }
  18301. // ===================================================================
  18302. #ifndef _MSC_VER
  18303. const int packetw2c_sail_get_lottery_history_result::kPacketIdFieldNumber;
  18304. const int packetw2c_sail_get_lottery_history_result::kHisFieldNumber;
  18305. #endif // !_MSC_VER
  18306. packetw2c_sail_get_lottery_history_result::packetw2c_sail_get_lottery_history_result()
  18307. : ::google::protobuf::Message() {
  18308. SharedCtor();
  18309. }
  18310. void packetw2c_sail_get_lottery_history_result::InitAsDefaultInstance() {
  18311. }
  18312. packetw2c_sail_get_lottery_history_result::packetw2c_sail_get_lottery_history_result(const packetw2c_sail_get_lottery_history_result& from)
  18313. : ::google::protobuf::Message() {
  18314. SharedCtor();
  18315. MergeFrom(from);
  18316. }
  18317. void packetw2c_sail_get_lottery_history_result::SharedCtor() {
  18318. _cached_size_ = 0;
  18319. packet_id_ = 7760;
  18320. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18321. }
  18322. packetw2c_sail_get_lottery_history_result::~packetw2c_sail_get_lottery_history_result() {
  18323. SharedDtor();
  18324. }
  18325. void packetw2c_sail_get_lottery_history_result::SharedDtor() {
  18326. if (this != default_instance_) {
  18327. }
  18328. }
  18329. void packetw2c_sail_get_lottery_history_result::SetCachedSize(int size) const {
  18330. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18331. _cached_size_ = size;
  18332. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18333. }
  18334. const ::google::protobuf::Descriptor* packetw2c_sail_get_lottery_history_result::descriptor() {
  18335. protobuf_AssignDescriptorsOnce();
  18336. return packetw2c_sail_get_lottery_history_result_descriptor_;
  18337. }
  18338. const packetw2c_sail_get_lottery_history_result& packetw2c_sail_get_lottery_history_result::default_instance() {
  18339. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  18340. return *default_instance_;
  18341. }
  18342. packetw2c_sail_get_lottery_history_result* packetw2c_sail_get_lottery_history_result::default_instance_ = NULL;
  18343. packetw2c_sail_get_lottery_history_result* packetw2c_sail_get_lottery_history_result::New() const {
  18344. return new packetw2c_sail_get_lottery_history_result;
  18345. }
  18346. void packetw2c_sail_get_lottery_history_result::Clear() {
  18347. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18348. packet_id_ = 7760;
  18349. }
  18350. his_.Clear();
  18351. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18352. mutable_unknown_fields()->Clear();
  18353. }
  18354. bool packetw2c_sail_get_lottery_history_result::MergePartialFromCodedStream(
  18355. ::google::protobuf::io::CodedInputStream* input) {
  18356. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  18357. ::google::protobuf::uint32 tag;
  18358. while ((tag = input->ReadTag()) != 0) {
  18359. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  18360. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_sail_get_lottery_history_result];
  18361. case 1: {
  18362. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18363. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18364. int value;
  18365. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18366. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  18367. input, &value)));
  18368. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  18369. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  18370. } else {
  18371. mutable_unknown_fields()->AddVarint(1, value);
  18372. }
  18373. } else {
  18374. goto handle_uninterpreted;
  18375. }
  18376. if (input->ExpectTag(18)) goto parse_his;
  18377. break;
  18378. }
  18379. // repeated .client2world_protocols.sailLotteryInfo his = 2;
  18380. case 2: {
  18381. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18382. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  18383. parse_his:
  18384. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  18385. input, add_his()));
  18386. } else {
  18387. goto handle_uninterpreted;
  18388. }
  18389. if (input->ExpectTag(18)) goto parse_his;
  18390. if (input->ExpectAtEnd()) return true;
  18391. break;
  18392. }
  18393. default: {
  18394. handle_uninterpreted:
  18395. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18396. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  18397. return true;
  18398. }
  18399. DO_(::google::protobuf::internal::WireFormat::SkipField(
  18400. input, tag, mutable_unknown_fields()));
  18401. break;
  18402. }
  18403. }
  18404. }
  18405. return true;
  18406. #undef DO_
  18407. }
  18408. void packetw2c_sail_get_lottery_history_result::SerializeWithCachedSizes(
  18409. ::google::protobuf::io::CodedOutputStream* output) const {
  18410. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_sail_get_lottery_history_result];
  18411. if (has_packet_id()) {
  18412. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  18413. 1, this->packet_id(), output);
  18414. }
  18415. // repeated .client2world_protocols.sailLotteryInfo his = 2;
  18416. for (int i = 0; i < this->his_size(); i++) {
  18417. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  18418. 2, this->his(i), output);
  18419. }
  18420. if (!unknown_fields().empty()) {
  18421. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  18422. unknown_fields(), output);
  18423. }
  18424. }
  18425. ::google::protobuf::uint8* packetw2c_sail_get_lottery_history_result::SerializeWithCachedSizesToArray(
  18426. ::google::protobuf::uint8* target) const {
  18427. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_sail_get_lottery_history_result];
  18428. if (has_packet_id()) {
  18429. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  18430. 1, this->packet_id(), target);
  18431. }
  18432. // repeated .client2world_protocols.sailLotteryInfo his = 2;
  18433. for (int i = 0; i < this->his_size(); i++) {
  18434. target = ::google::protobuf::internal::WireFormatLite::
  18435. WriteMessageNoVirtualToArray(
  18436. 2, this->his(i), target);
  18437. }
  18438. if (!unknown_fields().empty()) {
  18439. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  18440. unknown_fields(), target);
  18441. }
  18442. return target;
  18443. }
  18444. int packetw2c_sail_get_lottery_history_result::ByteSize() const {
  18445. int total_size = 0;
  18446. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18447. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_sail_get_lottery_history_result];
  18448. if (has_packet_id()) {
  18449. total_size += 1 +
  18450. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  18451. }
  18452. }
  18453. // repeated .client2world_protocols.sailLotteryInfo his = 2;
  18454. total_size += 1 * this->his_size();
  18455. for (int i = 0; i < this->his_size(); i++) {
  18456. total_size +=
  18457. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  18458. this->his(i));
  18459. }
  18460. if (!unknown_fields().empty()) {
  18461. total_size +=
  18462. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  18463. unknown_fields());
  18464. }
  18465. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18466. _cached_size_ = total_size;
  18467. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18468. return total_size;
  18469. }
  18470. void packetw2c_sail_get_lottery_history_result::MergeFrom(const ::google::protobuf::Message& from) {
  18471. GOOGLE_CHECK_NE(&from, this);
  18472. const packetw2c_sail_get_lottery_history_result* source =
  18473. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_sail_get_lottery_history_result*>(
  18474. &from);
  18475. if (source == NULL) {
  18476. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  18477. } else {
  18478. MergeFrom(*source);
  18479. }
  18480. }
  18481. void packetw2c_sail_get_lottery_history_result::MergeFrom(const packetw2c_sail_get_lottery_history_result& from) {
  18482. GOOGLE_CHECK_NE(&from, this);
  18483. his_.MergeFrom(from.his_);
  18484. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18485. if (from.has_packet_id()) {
  18486. set_packet_id(from.packet_id());
  18487. }
  18488. }
  18489. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  18490. }
  18491. void packetw2c_sail_get_lottery_history_result::CopyFrom(const ::google::protobuf::Message& from) {
  18492. if (&from == this) return;
  18493. Clear();
  18494. MergeFrom(from);
  18495. }
  18496. void packetw2c_sail_get_lottery_history_result::CopyFrom(const packetw2c_sail_get_lottery_history_result& from) {
  18497. if (&from == this) return;
  18498. Clear();
  18499. MergeFrom(from);
  18500. }
  18501. bool packetw2c_sail_get_lottery_history_result::IsInitialized() const {
  18502. return true;
  18503. }
  18504. void packetw2c_sail_get_lottery_history_result::Swap(packetw2c_sail_get_lottery_history_result* other) {
  18505. if (other != this) {
  18506. std::swap(packet_id_, other->packet_id_);
  18507. his_.Swap(&other->his_);
  18508. std::swap(_has_bits_[0], other->_has_bits_[0]);
  18509. _unknown_fields_.Swap(&other->_unknown_fields_);
  18510. std::swap(_cached_size_, other->_cached_size_);
  18511. }
  18512. }
  18513. ::google::protobuf::Metadata packetw2c_sail_get_lottery_history_result::GetMetadata() const {
  18514. protobuf_AssignDescriptorsOnce();
  18515. ::google::protobuf::Metadata metadata;
  18516. metadata.descriptor = packetw2c_sail_get_lottery_history_result_descriptor_;
  18517. metadata.reflection = packetw2c_sail_get_lottery_history_result_reflection_;
  18518. return metadata;
  18519. }
  18520. // ===================================================================
  18521. #ifndef _MSC_VER
  18522. const int packetc2w_recv_return_login_reward::kPacketIdFieldNumber;
  18523. const int packetc2w_recv_return_login_reward::kIndexFieldNumber;
  18524. #endif // !_MSC_VER
  18525. packetc2w_recv_return_login_reward::packetc2w_recv_return_login_reward()
  18526. : ::google::protobuf::Message() {
  18527. SharedCtor();
  18528. }
  18529. void packetc2w_recv_return_login_reward::InitAsDefaultInstance() {
  18530. }
  18531. packetc2w_recv_return_login_reward::packetc2w_recv_return_login_reward(const packetc2w_recv_return_login_reward& from)
  18532. : ::google::protobuf::Message() {
  18533. SharedCtor();
  18534. MergeFrom(from);
  18535. }
  18536. void packetc2w_recv_return_login_reward::SharedCtor() {
  18537. _cached_size_ = 0;
  18538. packet_id_ = 5257;
  18539. index_ = 0;
  18540. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18541. }
  18542. packetc2w_recv_return_login_reward::~packetc2w_recv_return_login_reward() {
  18543. SharedDtor();
  18544. }
  18545. void packetc2w_recv_return_login_reward::SharedDtor() {
  18546. if (this != default_instance_) {
  18547. }
  18548. }
  18549. void packetc2w_recv_return_login_reward::SetCachedSize(int size) const {
  18550. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18551. _cached_size_ = size;
  18552. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18553. }
  18554. const ::google::protobuf::Descriptor* packetc2w_recv_return_login_reward::descriptor() {
  18555. protobuf_AssignDescriptorsOnce();
  18556. return packetc2w_recv_return_login_reward_descriptor_;
  18557. }
  18558. const packetc2w_recv_return_login_reward& packetc2w_recv_return_login_reward::default_instance() {
  18559. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  18560. return *default_instance_;
  18561. }
  18562. packetc2w_recv_return_login_reward* packetc2w_recv_return_login_reward::default_instance_ = NULL;
  18563. packetc2w_recv_return_login_reward* packetc2w_recv_return_login_reward::New() const {
  18564. return new packetc2w_recv_return_login_reward;
  18565. }
  18566. void packetc2w_recv_return_login_reward::Clear() {
  18567. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18568. packet_id_ = 5257;
  18569. index_ = 0;
  18570. }
  18571. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18572. mutable_unknown_fields()->Clear();
  18573. }
  18574. bool packetc2w_recv_return_login_reward::MergePartialFromCodedStream(
  18575. ::google::protobuf::io::CodedInputStream* input) {
  18576. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  18577. ::google::protobuf::uint32 tag;
  18578. while ((tag = input->ReadTag()) != 0) {
  18579. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  18580. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_return_login_reward];
  18581. case 1: {
  18582. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18583. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18584. int value;
  18585. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18586. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  18587. input, &value)));
  18588. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  18589. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  18590. } else {
  18591. mutable_unknown_fields()->AddVarint(1, value);
  18592. }
  18593. } else {
  18594. goto handle_uninterpreted;
  18595. }
  18596. if (input->ExpectTag(16)) goto parse_index;
  18597. break;
  18598. }
  18599. // optional int32 index = 2;
  18600. case 2: {
  18601. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18602. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18603. parse_index:
  18604. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18605. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  18606. input, &index_)));
  18607. set_has_index();
  18608. } else {
  18609. goto handle_uninterpreted;
  18610. }
  18611. if (input->ExpectAtEnd()) return true;
  18612. break;
  18613. }
  18614. default: {
  18615. handle_uninterpreted:
  18616. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18617. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  18618. return true;
  18619. }
  18620. DO_(::google::protobuf::internal::WireFormat::SkipField(
  18621. input, tag, mutable_unknown_fields()));
  18622. break;
  18623. }
  18624. }
  18625. }
  18626. return true;
  18627. #undef DO_
  18628. }
  18629. void packetc2w_recv_return_login_reward::SerializeWithCachedSizes(
  18630. ::google::protobuf::io::CodedOutputStream* output) const {
  18631. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_return_login_reward];
  18632. if (has_packet_id()) {
  18633. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  18634. 1, this->packet_id(), output);
  18635. }
  18636. // optional int32 index = 2;
  18637. if (has_index()) {
  18638. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->index(), output);
  18639. }
  18640. if (!unknown_fields().empty()) {
  18641. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  18642. unknown_fields(), output);
  18643. }
  18644. }
  18645. ::google::protobuf::uint8* packetc2w_recv_return_login_reward::SerializeWithCachedSizesToArray(
  18646. ::google::protobuf::uint8* target) const {
  18647. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_return_login_reward];
  18648. if (has_packet_id()) {
  18649. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  18650. 1, this->packet_id(), target);
  18651. }
  18652. // optional int32 index = 2;
  18653. if (has_index()) {
  18654. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->index(), target);
  18655. }
  18656. if (!unknown_fields().empty()) {
  18657. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  18658. unknown_fields(), target);
  18659. }
  18660. return target;
  18661. }
  18662. int packetc2w_recv_return_login_reward::ByteSize() const {
  18663. int total_size = 0;
  18664. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18665. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_return_login_reward];
  18666. if (has_packet_id()) {
  18667. total_size += 1 +
  18668. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  18669. }
  18670. // optional int32 index = 2;
  18671. if (has_index()) {
  18672. total_size += 1 +
  18673. ::google::protobuf::internal::WireFormatLite::Int32Size(
  18674. this->index());
  18675. }
  18676. }
  18677. if (!unknown_fields().empty()) {
  18678. total_size +=
  18679. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  18680. unknown_fields());
  18681. }
  18682. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18683. _cached_size_ = total_size;
  18684. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18685. return total_size;
  18686. }
  18687. void packetc2w_recv_return_login_reward::MergeFrom(const ::google::protobuf::Message& from) {
  18688. GOOGLE_CHECK_NE(&from, this);
  18689. const packetc2w_recv_return_login_reward* source =
  18690. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_return_login_reward*>(
  18691. &from);
  18692. if (source == NULL) {
  18693. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  18694. } else {
  18695. MergeFrom(*source);
  18696. }
  18697. }
  18698. void packetc2w_recv_return_login_reward::MergeFrom(const packetc2w_recv_return_login_reward& from) {
  18699. GOOGLE_CHECK_NE(&from, this);
  18700. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18701. if (from.has_packet_id()) {
  18702. set_packet_id(from.packet_id());
  18703. }
  18704. if (from.has_index()) {
  18705. set_index(from.index());
  18706. }
  18707. }
  18708. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  18709. }
  18710. void packetc2w_recv_return_login_reward::CopyFrom(const ::google::protobuf::Message& from) {
  18711. if (&from == this) return;
  18712. Clear();
  18713. MergeFrom(from);
  18714. }
  18715. void packetc2w_recv_return_login_reward::CopyFrom(const packetc2w_recv_return_login_reward& from) {
  18716. if (&from == this) return;
  18717. Clear();
  18718. MergeFrom(from);
  18719. }
  18720. bool packetc2w_recv_return_login_reward::IsInitialized() const {
  18721. return true;
  18722. }
  18723. void packetc2w_recv_return_login_reward::Swap(packetc2w_recv_return_login_reward* other) {
  18724. if (other != this) {
  18725. std::swap(packet_id_, other->packet_id_);
  18726. std::swap(index_, other->index_);
  18727. std::swap(_has_bits_[0], other->_has_bits_[0]);
  18728. _unknown_fields_.Swap(&other->_unknown_fields_);
  18729. std::swap(_cached_size_, other->_cached_size_);
  18730. }
  18731. }
  18732. ::google::protobuf::Metadata packetc2w_recv_return_login_reward::GetMetadata() const {
  18733. protobuf_AssignDescriptorsOnce();
  18734. ::google::protobuf::Metadata metadata;
  18735. metadata.descriptor = packetc2w_recv_return_login_reward_descriptor_;
  18736. metadata.reflection = packetc2w_recv_return_login_reward_reflection_;
  18737. return metadata;
  18738. }
  18739. // ===================================================================
  18740. #ifndef _MSC_VER
  18741. const int packetw2c_recv_return_login_reward_result::kPacketIdFieldNumber;
  18742. const int packetw2c_recv_return_login_reward_result::kResultFieldNumber;
  18743. const int packetw2c_recv_return_login_reward_result::kIndexFieldNumber;
  18744. #endif // !_MSC_VER
  18745. packetw2c_recv_return_login_reward_result::packetw2c_recv_return_login_reward_result()
  18746. : ::google::protobuf::Message() {
  18747. SharedCtor();
  18748. }
  18749. void packetw2c_recv_return_login_reward_result::InitAsDefaultInstance() {
  18750. }
  18751. packetw2c_recv_return_login_reward_result::packetw2c_recv_return_login_reward_result(const packetw2c_recv_return_login_reward_result& from)
  18752. : ::google::protobuf::Message() {
  18753. SharedCtor();
  18754. MergeFrom(from);
  18755. }
  18756. void packetw2c_recv_return_login_reward_result::SharedCtor() {
  18757. _cached_size_ = 0;
  18758. packet_id_ = 7805;
  18759. result_ = 0;
  18760. index_ = 0;
  18761. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18762. }
  18763. packetw2c_recv_return_login_reward_result::~packetw2c_recv_return_login_reward_result() {
  18764. SharedDtor();
  18765. }
  18766. void packetw2c_recv_return_login_reward_result::SharedDtor() {
  18767. if (this != default_instance_) {
  18768. }
  18769. }
  18770. void packetw2c_recv_return_login_reward_result::SetCachedSize(int size) const {
  18771. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18772. _cached_size_ = size;
  18773. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18774. }
  18775. const ::google::protobuf::Descriptor* packetw2c_recv_return_login_reward_result::descriptor() {
  18776. protobuf_AssignDescriptorsOnce();
  18777. return packetw2c_recv_return_login_reward_result_descriptor_;
  18778. }
  18779. const packetw2c_recv_return_login_reward_result& packetw2c_recv_return_login_reward_result::default_instance() {
  18780. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  18781. return *default_instance_;
  18782. }
  18783. packetw2c_recv_return_login_reward_result* packetw2c_recv_return_login_reward_result::default_instance_ = NULL;
  18784. packetw2c_recv_return_login_reward_result* packetw2c_recv_return_login_reward_result::New() const {
  18785. return new packetw2c_recv_return_login_reward_result;
  18786. }
  18787. void packetw2c_recv_return_login_reward_result::Clear() {
  18788. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18789. packet_id_ = 7805;
  18790. result_ = 0;
  18791. index_ = 0;
  18792. }
  18793. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  18794. mutable_unknown_fields()->Clear();
  18795. }
  18796. bool packetw2c_recv_return_login_reward_result::MergePartialFromCodedStream(
  18797. ::google::protobuf::io::CodedInputStream* input) {
  18798. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  18799. ::google::protobuf::uint32 tag;
  18800. while ((tag = input->ReadTag()) != 0) {
  18801. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  18802. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_return_login_reward_result];
  18803. case 1: {
  18804. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18805. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18806. int value;
  18807. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18808. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  18809. input, &value)));
  18810. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  18811. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  18812. } else {
  18813. mutable_unknown_fields()->AddVarint(1, value);
  18814. }
  18815. } else {
  18816. goto handle_uninterpreted;
  18817. }
  18818. if (input->ExpectTag(16)) goto parse_result;
  18819. break;
  18820. }
  18821. // optional int32 result = 2;
  18822. case 2: {
  18823. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18824. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18825. parse_result:
  18826. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18827. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  18828. input, &result_)));
  18829. set_has_result();
  18830. } else {
  18831. goto handle_uninterpreted;
  18832. }
  18833. if (input->ExpectTag(24)) goto parse_index;
  18834. break;
  18835. }
  18836. // optional int32 index = 3;
  18837. case 3: {
  18838. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18839. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  18840. parse_index:
  18841. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  18842. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  18843. input, &index_)));
  18844. set_has_index();
  18845. } else {
  18846. goto handle_uninterpreted;
  18847. }
  18848. if (input->ExpectAtEnd()) return true;
  18849. break;
  18850. }
  18851. default: {
  18852. handle_uninterpreted:
  18853. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  18854. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  18855. return true;
  18856. }
  18857. DO_(::google::protobuf::internal::WireFormat::SkipField(
  18858. input, tag, mutable_unknown_fields()));
  18859. break;
  18860. }
  18861. }
  18862. }
  18863. return true;
  18864. #undef DO_
  18865. }
  18866. void packetw2c_recv_return_login_reward_result::SerializeWithCachedSizes(
  18867. ::google::protobuf::io::CodedOutputStream* output) const {
  18868. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_return_login_reward_result];
  18869. if (has_packet_id()) {
  18870. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  18871. 1, this->packet_id(), output);
  18872. }
  18873. // optional int32 result = 2;
  18874. if (has_result()) {
  18875. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  18876. }
  18877. // optional int32 index = 3;
  18878. if (has_index()) {
  18879. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->index(), output);
  18880. }
  18881. if (!unknown_fields().empty()) {
  18882. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  18883. unknown_fields(), output);
  18884. }
  18885. }
  18886. ::google::protobuf::uint8* packetw2c_recv_return_login_reward_result::SerializeWithCachedSizesToArray(
  18887. ::google::protobuf::uint8* target) const {
  18888. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_return_login_reward_result];
  18889. if (has_packet_id()) {
  18890. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  18891. 1, this->packet_id(), target);
  18892. }
  18893. // optional int32 result = 2;
  18894. if (has_result()) {
  18895. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  18896. }
  18897. // optional int32 index = 3;
  18898. if (has_index()) {
  18899. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->index(), target);
  18900. }
  18901. if (!unknown_fields().empty()) {
  18902. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  18903. unknown_fields(), target);
  18904. }
  18905. return target;
  18906. }
  18907. int packetw2c_recv_return_login_reward_result::ByteSize() const {
  18908. int total_size = 0;
  18909. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18910. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_return_login_reward_result];
  18911. if (has_packet_id()) {
  18912. total_size += 1 +
  18913. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  18914. }
  18915. // optional int32 result = 2;
  18916. if (has_result()) {
  18917. total_size += 1 +
  18918. ::google::protobuf::internal::WireFormatLite::Int32Size(
  18919. this->result());
  18920. }
  18921. // optional int32 index = 3;
  18922. if (has_index()) {
  18923. total_size += 1 +
  18924. ::google::protobuf::internal::WireFormatLite::Int32Size(
  18925. this->index());
  18926. }
  18927. }
  18928. if (!unknown_fields().empty()) {
  18929. total_size +=
  18930. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  18931. unknown_fields());
  18932. }
  18933. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  18934. _cached_size_ = total_size;
  18935. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  18936. return total_size;
  18937. }
  18938. void packetw2c_recv_return_login_reward_result::MergeFrom(const ::google::protobuf::Message& from) {
  18939. GOOGLE_CHECK_NE(&from, this);
  18940. const packetw2c_recv_return_login_reward_result* source =
  18941. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_return_login_reward_result*>(
  18942. &from);
  18943. if (source == NULL) {
  18944. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  18945. } else {
  18946. MergeFrom(*source);
  18947. }
  18948. }
  18949. void packetw2c_recv_return_login_reward_result::MergeFrom(const packetw2c_recv_return_login_reward_result& from) {
  18950. GOOGLE_CHECK_NE(&from, this);
  18951. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  18952. if (from.has_packet_id()) {
  18953. set_packet_id(from.packet_id());
  18954. }
  18955. if (from.has_result()) {
  18956. set_result(from.result());
  18957. }
  18958. if (from.has_index()) {
  18959. set_index(from.index());
  18960. }
  18961. }
  18962. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  18963. }
  18964. void packetw2c_recv_return_login_reward_result::CopyFrom(const ::google::protobuf::Message& from) {
  18965. if (&from == this) return;
  18966. Clear();
  18967. MergeFrom(from);
  18968. }
  18969. void packetw2c_recv_return_login_reward_result::CopyFrom(const packetw2c_recv_return_login_reward_result& from) {
  18970. if (&from == this) return;
  18971. Clear();
  18972. MergeFrom(from);
  18973. }
  18974. bool packetw2c_recv_return_login_reward_result::IsInitialized() const {
  18975. return true;
  18976. }
  18977. void packetw2c_recv_return_login_reward_result::Swap(packetw2c_recv_return_login_reward_result* other) {
  18978. if (other != this) {
  18979. std::swap(packet_id_, other->packet_id_);
  18980. std::swap(result_, other->result_);
  18981. std::swap(index_, other->index_);
  18982. std::swap(_has_bits_[0], other->_has_bits_[0]);
  18983. _unknown_fields_.Swap(&other->_unknown_fields_);
  18984. std::swap(_cached_size_, other->_cached_size_);
  18985. }
  18986. }
  18987. ::google::protobuf::Metadata packetw2c_recv_return_login_reward_result::GetMetadata() const {
  18988. protobuf_AssignDescriptorsOnce();
  18989. ::google::protobuf::Metadata metadata;
  18990. metadata.descriptor = packetw2c_recv_return_login_reward_result_descriptor_;
  18991. metadata.reflection = packetw2c_recv_return_login_reward_result_reflection_;
  18992. return metadata;
  18993. }
  18994. // ===================================================================
  18995. #ifndef _MSC_VER
  18996. const int packetc2w_recv_return_recharge_reward::kPacketIdFieldNumber;
  18997. const int packetc2w_recv_return_recharge_reward::kIndexFieldNumber;
  18998. #endif // !_MSC_VER
  18999. packetc2w_recv_return_recharge_reward::packetc2w_recv_return_recharge_reward()
  19000. : ::google::protobuf::Message() {
  19001. SharedCtor();
  19002. }
  19003. void packetc2w_recv_return_recharge_reward::InitAsDefaultInstance() {
  19004. }
  19005. packetc2w_recv_return_recharge_reward::packetc2w_recv_return_recharge_reward(const packetc2w_recv_return_recharge_reward& from)
  19006. : ::google::protobuf::Message() {
  19007. SharedCtor();
  19008. MergeFrom(from);
  19009. }
  19010. void packetc2w_recv_return_recharge_reward::SharedCtor() {
  19011. _cached_size_ = 0;
  19012. packet_id_ = 5258;
  19013. index_ = 0;
  19014. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  19015. }
  19016. packetc2w_recv_return_recharge_reward::~packetc2w_recv_return_recharge_reward() {
  19017. SharedDtor();
  19018. }
  19019. void packetc2w_recv_return_recharge_reward::SharedDtor() {
  19020. if (this != default_instance_) {
  19021. }
  19022. }
  19023. void packetc2w_recv_return_recharge_reward::SetCachedSize(int size) const {
  19024. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19025. _cached_size_ = size;
  19026. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19027. }
  19028. const ::google::protobuf::Descriptor* packetc2w_recv_return_recharge_reward::descriptor() {
  19029. protobuf_AssignDescriptorsOnce();
  19030. return packetc2w_recv_return_recharge_reward_descriptor_;
  19031. }
  19032. const packetc2w_recv_return_recharge_reward& packetc2w_recv_return_recharge_reward::default_instance() {
  19033. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  19034. return *default_instance_;
  19035. }
  19036. packetc2w_recv_return_recharge_reward* packetc2w_recv_return_recharge_reward::default_instance_ = NULL;
  19037. packetc2w_recv_return_recharge_reward* packetc2w_recv_return_recharge_reward::New() const {
  19038. return new packetc2w_recv_return_recharge_reward;
  19039. }
  19040. void packetc2w_recv_return_recharge_reward::Clear() {
  19041. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19042. packet_id_ = 5258;
  19043. index_ = 0;
  19044. }
  19045. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  19046. mutable_unknown_fields()->Clear();
  19047. }
  19048. bool packetc2w_recv_return_recharge_reward::MergePartialFromCodedStream(
  19049. ::google::protobuf::io::CodedInputStream* input) {
  19050. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  19051. ::google::protobuf::uint32 tag;
  19052. while ((tag = input->ReadTag()) != 0) {
  19053. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  19054. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_return_recharge_reward];
  19055. case 1: {
  19056. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19057. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19058. int value;
  19059. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19060. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  19061. input, &value)));
  19062. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  19063. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  19064. } else {
  19065. mutable_unknown_fields()->AddVarint(1, value);
  19066. }
  19067. } else {
  19068. goto handle_uninterpreted;
  19069. }
  19070. if (input->ExpectTag(16)) goto parse_index;
  19071. break;
  19072. }
  19073. // optional int32 index = 2;
  19074. case 2: {
  19075. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19076. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19077. parse_index:
  19078. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19079. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  19080. input, &index_)));
  19081. set_has_index();
  19082. } else {
  19083. goto handle_uninterpreted;
  19084. }
  19085. if (input->ExpectAtEnd()) return true;
  19086. break;
  19087. }
  19088. default: {
  19089. handle_uninterpreted:
  19090. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19091. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  19092. return true;
  19093. }
  19094. DO_(::google::protobuf::internal::WireFormat::SkipField(
  19095. input, tag, mutable_unknown_fields()));
  19096. break;
  19097. }
  19098. }
  19099. }
  19100. return true;
  19101. #undef DO_
  19102. }
  19103. void packetc2w_recv_return_recharge_reward::SerializeWithCachedSizes(
  19104. ::google::protobuf::io::CodedOutputStream* output) const {
  19105. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_return_recharge_reward];
  19106. if (has_packet_id()) {
  19107. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  19108. 1, this->packet_id(), output);
  19109. }
  19110. // optional int32 index = 2;
  19111. if (has_index()) {
  19112. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->index(), output);
  19113. }
  19114. if (!unknown_fields().empty()) {
  19115. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  19116. unknown_fields(), output);
  19117. }
  19118. }
  19119. ::google::protobuf::uint8* packetc2w_recv_return_recharge_reward::SerializeWithCachedSizesToArray(
  19120. ::google::protobuf::uint8* target) const {
  19121. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_return_recharge_reward];
  19122. if (has_packet_id()) {
  19123. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  19124. 1, this->packet_id(), target);
  19125. }
  19126. // optional int32 index = 2;
  19127. if (has_index()) {
  19128. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->index(), target);
  19129. }
  19130. if (!unknown_fields().empty()) {
  19131. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  19132. unknown_fields(), target);
  19133. }
  19134. return target;
  19135. }
  19136. int packetc2w_recv_return_recharge_reward::ByteSize() const {
  19137. int total_size = 0;
  19138. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19139. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_recv_return_recharge_reward];
  19140. if (has_packet_id()) {
  19141. total_size += 1 +
  19142. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  19143. }
  19144. // optional int32 index = 2;
  19145. if (has_index()) {
  19146. total_size += 1 +
  19147. ::google::protobuf::internal::WireFormatLite::Int32Size(
  19148. this->index());
  19149. }
  19150. }
  19151. if (!unknown_fields().empty()) {
  19152. total_size +=
  19153. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  19154. unknown_fields());
  19155. }
  19156. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19157. _cached_size_ = total_size;
  19158. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19159. return total_size;
  19160. }
  19161. void packetc2w_recv_return_recharge_reward::MergeFrom(const ::google::protobuf::Message& from) {
  19162. GOOGLE_CHECK_NE(&from, this);
  19163. const packetc2w_recv_return_recharge_reward* source =
  19164. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_recv_return_recharge_reward*>(
  19165. &from);
  19166. if (source == NULL) {
  19167. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  19168. } else {
  19169. MergeFrom(*source);
  19170. }
  19171. }
  19172. void packetc2w_recv_return_recharge_reward::MergeFrom(const packetc2w_recv_return_recharge_reward& from) {
  19173. GOOGLE_CHECK_NE(&from, this);
  19174. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19175. if (from.has_packet_id()) {
  19176. set_packet_id(from.packet_id());
  19177. }
  19178. if (from.has_index()) {
  19179. set_index(from.index());
  19180. }
  19181. }
  19182. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  19183. }
  19184. void packetc2w_recv_return_recharge_reward::CopyFrom(const ::google::protobuf::Message& from) {
  19185. if (&from == this) return;
  19186. Clear();
  19187. MergeFrom(from);
  19188. }
  19189. void packetc2w_recv_return_recharge_reward::CopyFrom(const packetc2w_recv_return_recharge_reward& from) {
  19190. if (&from == this) return;
  19191. Clear();
  19192. MergeFrom(from);
  19193. }
  19194. bool packetc2w_recv_return_recharge_reward::IsInitialized() const {
  19195. return true;
  19196. }
  19197. void packetc2w_recv_return_recharge_reward::Swap(packetc2w_recv_return_recharge_reward* other) {
  19198. if (other != this) {
  19199. std::swap(packet_id_, other->packet_id_);
  19200. std::swap(index_, other->index_);
  19201. std::swap(_has_bits_[0], other->_has_bits_[0]);
  19202. _unknown_fields_.Swap(&other->_unknown_fields_);
  19203. std::swap(_cached_size_, other->_cached_size_);
  19204. }
  19205. }
  19206. ::google::protobuf::Metadata packetc2w_recv_return_recharge_reward::GetMetadata() const {
  19207. protobuf_AssignDescriptorsOnce();
  19208. ::google::protobuf::Metadata metadata;
  19209. metadata.descriptor = packetc2w_recv_return_recharge_reward_descriptor_;
  19210. metadata.reflection = packetc2w_recv_return_recharge_reward_reflection_;
  19211. return metadata;
  19212. }
  19213. // ===================================================================
  19214. #ifndef _MSC_VER
  19215. const int packetw2c_recv_return_recharge_reward_result::kPacketIdFieldNumber;
  19216. const int packetw2c_recv_return_recharge_reward_result::kResultFieldNumber;
  19217. const int packetw2c_recv_return_recharge_reward_result::kIndexFieldNumber;
  19218. #endif // !_MSC_VER
  19219. packetw2c_recv_return_recharge_reward_result::packetw2c_recv_return_recharge_reward_result()
  19220. : ::google::protobuf::Message() {
  19221. SharedCtor();
  19222. }
  19223. void packetw2c_recv_return_recharge_reward_result::InitAsDefaultInstance() {
  19224. }
  19225. packetw2c_recv_return_recharge_reward_result::packetw2c_recv_return_recharge_reward_result(const packetw2c_recv_return_recharge_reward_result& from)
  19226. : ::google::protobuf::Message() {
  19227. SharedCtor();
  19228. MergeFrom(from);
  19229. }
  19230. void packetw2c_recv_return_recharge_reward_result::SharedCtor() {
  19231. _cached_size_ = 0;
  19232. packet_id_ = 7806;
  19233. result_ = 0;
  19234. index_ = 0;
  19235. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  19236. }
  19237. packetw2c_recv_return_recharge_reward_result::~packetw2c_recv_return_recharge_reward_result() {
  19238. SharedDtor();
  19239. }
  19240. void packetw2c_recv_return_recharge_reward_result::SharedDtor() {
  19241. if (this != default_instance_) {
  19242. }
  19243. }
  19244. void packetw2c_recv_return_recharge_reward_result::SetCachedSize(int size) const {
  19245. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19246. _cached_size_ = size;
  19247. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19248. }
  19249. const ::google::protobuf::Descriptor* packetw2c_recv_return_recharge_reward_result::descriptor() {
  19250. protobuf_AssignDescriptorsOnce();
  19251. return packetw2c_recv_return_recharge_reward_result_descriptor_;
  19252. }
  19253. const packetw2c_recv_return_recharge_reward_result& packetw2c_recv_return_recharge_reward_result::default_instance() {
  19254. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  19255. return *default_instance_;
  19256. }
  19257. packetw2c_recv_return_recharge_reward_result* packetw2c_recv_return_recharge_reward_result::default_instance_ = NULL;
  19258. packetw2c_recv_return_recharge_reward_result* packetw2c_recv_return_recharge_reward_result::New() const {
  19259. return new packetw2c_recv_return_recharge_reward_result;
  19260. }
  19261. void packetw2c_recv_return_recharge_reward_result::Clear() {
  19262. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19263. packet_id_ = 7806;
  19264. result_ = 0;
  19265. index_ = 0;
  19266. }
  19267. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  19268. mutable_unknown_fields()->Clear();
  19269. }
  19270. bool packetw2c_recv_return_recharge_reward_result::MergePartialFromCodedStream(
  19271. ::google::protobuf::io::CodedInputStream* input) {
  19272. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  19273. ::google::protobuf::uint32 tag;
  19274. while ((tag = input->ReadTag()) != 0) {
  19275. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  19276. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_return_recharge_reward_result];
  19277. case 1: {
  19278. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19279. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19280. int value;
  19281. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19282. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  19283. input, &value)));
  19284. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  19285. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  19286. } else {
  19287. mutable_unknown_fields()->AddVarint(1, value);
  19288. }
  19289. } else {
  19290. goto handle_uninterpreted;
  19291. }
  19292. if (input->ExpectTag(16)) goto parse_result;
  19293. break;
  19294. }
  19295. // optional int32 result = 2;
  19296. case 2: {
  19297. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19298. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19299. parse_result:
  19300. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19301. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  19302. input, &result_)));
  19303. set_has_result();
  19304. } else {
  19305. goto handle_uninterpreted;
  19306. }
  19307. if (input->ExpectTag(24)) goto parse_index;
  19308. break;
  19309. }
  19310. // optional int32 index = 3;
  19311. case 3: {
  19312. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19313. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19314. parse_index:
  19315. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19316. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  19317. input, &index_)));
  19318. set_has_index();
  19319. } else {
  19320. goto handle_uninterpreted;
  19321. }
  19322. if (input->ExpectAtEnd()) return true;
  19323. break;
  19324. }
  19325. default: {
  19326. handle_uninterpreted:
  19327. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19328. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  19329. return true;
  19330. }
  19331. DO_(::google::protobuf::internal::WireFormat::SkipField(
  19332. input, tag, mutable_unknown_fields()));
  19333. break;
  19334. }
  19335. }
  19336. }
  19337. return true;
  19338. #undef DO_
  19339. }
  19340. void packetw2c_recv_return_recharge_reward_result::SerializeWithCachedSizes(
  19341. ::google::protobuf::io::CodedOutputStream* output) const {
  19342. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_return_recharge_reward_result];
  19343. if (has_packet_id()) {
  19344. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  19345. 1, this->packet_id(), output);
  19346. }
  19347. // optional int32 result = 2;
  19348. if (has_result()) {
  19349. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  19350. }
  19351. // optional int32 index = 3;
  19352. if (has_index()) {
  19353. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->index(), output);
  19354. }
  19355. if (!unknown_fields().empty()) {
  19356. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  19357. unknown_fields(), output);
  19358. }
  19359. }
  19360. ::google::protobuf::uint8* packetw2c_recv_return_recharge_reward_result::SerializeWithCachedSizesToArray(
  19361. ::google::protobuf::uint8* target) const {
  19362. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_return_recharge_reward_result];
  19363. if (has_packet_id()) {
  19364. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  19365. 1, this->packet_id(), target);
  19366. }
  19367. // optional int32 result = 2;
  19368. if (has_result()) {
  19369. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  19370. }
  19371. // optional int32 index = 3;
  19372. if (has_index()) {
  19373. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->index(), target);
  19374. }
  19375. if (!unknown_fields().empty()) {
  19376. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  19377. unknown_fields(), target);
  19378. }
  19379. return target;
  19380. }
  19381. int packetw2c_recv_return_recharge_reward_result::ByteSize() const {
  19382. int total_size = 0;
  19383. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19384. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_recv_return_recharge_reward_result];
  19385. if (has_packet_id()) {
  19386. total_size += 1 +
  19387. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  19388. }
  19389. // optional int32 result = 2;
  19390. if (has_result()) {
  19391. total_size += 1 +
  19392. ::google::protobuf::internal::WireFormatLite::Int32Size(
  19393. this->result());
  19394. }
  19395. // optional int32 index = 3;
  19396. if (has_index()) {
  19397. total_size += 1 +
  19398. ::google::protobuf::internal::WireFormatLite::Int32Size(
  19399. this->index());
  19400. }
  19401. }
  19402. if (!unknown_fields().empty()) {
  19403. total_size +=
  19404. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  19405. unknown_fields());
  19406. }
  19407. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19408. _cached_size_ = total_size;
  19409. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19410. return total_size;
  19411. }
  19412. void packetw2c_recv_return_recharge_reward_result::MergeFrom(const ::google::protobuf::Message& from) {
  19413. GOOGLE_CHECK_NE(&from, this);
  19414. const packetw2c_recv_return_recharge_reward_result* source =
  19415. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_recv_return_recharge_reward_result*>(
  19416. &from);
  19417. if (source == NULL) {
  19418. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  19419. } else {
  19420. MergeFrom(*source);
  19421. }
  19422. }
  19423. void packetw2c_recv_return_recharge_reward_result::MergeFrom(const packetw2c_recv_return_recharge_reward_result& from) {
  19424. GOOGLE_CHECK_NE(&from, this);
  19425. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19426. if (from.has_packet_id()) {
  19427. set_packet_id(from.packet_id());
  19428. }
  19429. if (from.has_result()) {
  19430. set_result(from.result());
  19431. }
  19432. if (from.has_index()) {
  19433. set_index(from.index());
  19434. }
  19435. }
  19436. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  19437. }
  19438. void packetw2c_recv_return_recharge_reward_result::CopyFrom(const ::google::protobuf::Message& from) {
  19439. if (&from == this) return;
  19440. Clear();
  19441. MergeFrom(from);
  19442. }
  19443. void packetw2c_recv_return_recharge_reward_result::CopyFrom(const packetw2c_recv_return_recharge_reward_result& from) {
  19444. if (&from == this) return;
  19445. Clear();
  19446. MergeFrom(from);
  19447. }
  19448. bool packetw2c_recv_return_recharge_reward_result::IsInitialized() const {
  19449. return true;
  19450. }
  19451. void packetw2c_recv_return_recharge_reward_result::Swap(packetw2c_recv_return_recharge_reward_result* other) {
  19452. if (other != this) {
  19453. std::swap(packet_id_, other->packet_id_);
  19454. std::swap(result_, other->result_);
  19455. std::swap(index_, other->index_);
  19456. std::swap(_has_bits_[0], other->_has_bits_[0]);
  19457. _unknown_fields_.Swap(&other->_unknown_fields_);
  19458. std::swap(_cached_size_, other->_cached_size_);
  19459. }
  19460. }
  19461. ::google::protobuf::Metadata packetw2c_recv_return_recharge_reward_result::GetMetadata() const {
  19462. protobuf_AssignDescriptorsOnce();
  19463. ::google::protobuf::Metadata metadata;
  19464. metadata.descriptor = packetw2c_recv_return_recharge_reward_result_descriptor_;
  19465. metadata.reflection = packetw2c_recv_return_recharge_reward_result_reflection_;
  19466. return metadata;
  19467. }
  19468. // ===================================================================
  19469. #ifndef _MSC_VER
  19470. const int packetc2w_abysm_sign::kPacketIdFieldNumber;
  19471. const int packetc2w_abysm_sign::kIndexFieldNumber;
  19472. #endif // !_MSC_VER
  19473. packetc2w_abysm_sign::packetc2w_abysm_sign()
  19474. : ::google::protobuf::Message() {
  19475. SharedCtor();
  19476. }
  19477. void packetc2w_abysm_sign::InitAsDefaultInstance() {
  19478. }
  19479. packetc2w_abysm_sign::packetc2w_abysm_sign(const packetc2w_abysm_sign& from)
  19480. : ::google::protobuf::Message() {
  19481. SharedCtor();
  19482. MergeFrom(from);
  19483. }
  19484. void packetc2w_abysm_sign::SharedCtor() {
  19485. _cached_size_ = 0;
  19486. packet_id_ = 5261;
  19487. index_ = 0;
  19488. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  19489. }
  19490. packetc2w_abysm_sign::~packetc2w_abysm_sign() {
  19491. SharedDtor();
  19492. }
  19493. void packetc2w_abysm_sign::SharedDtor() {
  19494. if (this != default_instance_) {
  19495. }
  19496. }
  19497. void packetc2w_abysm_sign::SetCachedSize(int size) const {
  19498. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19499. _cached_size_ = size;
  19500. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19501. }
  19502. const ::google::protobuf::Descriptor* packetc2w_abysm_sign::descriptor() {
  19503. protobuf_AssignDescriptorsOnce();
  19504. return packetc2w_abysm_sign_descriptor_;
  19505. }
  19506. const packetc2w_abysm_sign& packetc2w_abysm_sign::default_instance() {
  19507. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  19508. return *default_instance_;
  19509. }
  19510. packetc2w_abysm_sign* packetc2w_abysm_sign::default_instance_ = NULL;
  19511. packetc2w_abysm_sign* packetc2w_abysm_sign::New() const {
  19512. return new packetc2w_abysm_sign;
  19513. }
  19514. void packetc2w_abysm_sign::Clear() {
  19515. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19516. packet_id_ = 5261;
  19517. index_ = 0;
  19518. }
  19519. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  19520. mutable_unknown_fields()->Clear();
  19521. }
  19522. bool packetc2w_abysm_sign::MergePartialFromCodedStream(
  19523. ::google::protobuf::io::CodedInputStream* input) {
  19524. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  19525. ::google::protobuf::uint32 tag;
  19526. while ((tag = input->ReadTag()) != 0) {
  19527. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  19528. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_abysm_sign];
  19529. case 1: {
  19530. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19531. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19532. int value;
  19533. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19534. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  19535. input, &value)));
  19536. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  19537. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  19538. } else {
  19539. mutable_unknown_fields()->AddVarint(1, value);
  19540. }
  19541. } else {
  19542. goto handle_uninterpreted;
  19543. }
  19544. if (input->ExpectTag(16)) goto parse_index;
  19545. break;
  19546. }
  19547. // optional int32 index = 2;
  19548. case 2: {
  19549. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19550. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19551. parse_index:
  19552. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19553. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  19554. input, &index_)));
  19555. set_has_index();
  19556. } else {
  19557. goto handle_uninterpreted;
  19558. }
  19559. if (input->ExpectAtEnd()) return true;
  19560. break;
  19561. }
  19562. default: {
  19563. handle_uninterpreted:
  19564. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19565. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  19566. return true;
  19567. }
  19568. DO_(::google::protobuf::internal::WireFormat::SkipField(
  19569. input, tag, mutable_unknown_fields()));
  19570. break;
  19571. }
  19572. }
  19573. }
  19574. return true;
  19575. #undef DO_
  19576. }
  19577. void packetc2w_abysm_sign::SerializeWithCachedSizes(
  19578. ::google::protobuf::io::CodedOutputStream* output) const {
  19579. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_abysm_sign];
  19580. if (has_packet_id()) {
  19581. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  19582. 1, this->packet_id(), output);
  19583. }
  19584. // optional int32 index = 2;
  19585. if (has_index()) {
  19586. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->index(), output);
  19587. }
  19588. if (!unknown_fields().empty()) {
  19589. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  19590. unknown_fields(), output);
  19591. }
  19592. }
  19593. ::google::protobuf::uint8* packetc2w_abysm_sign::SerializeWithCachedSizesToArray(
  19594. ::google::protobuf::uint8* target) const {
  19595. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_abysm_sign];
  19596. if (has_packet_id()) {
  19597. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  19598. 1, this->packet_id(), target);
  19599. }
  19600. // optional int32 index = 2;
  19601. if (has_index()) {
  19602. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->index(), target);
  19603. }
  19604. if (!unknown_fields().empty()) {
  19605. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  19606. unknown_fields(), target);
  19607. }
  19608. return target;
  19609. }
  19610. int packetc2w_abysm_sign::ByteSize() const {
  19611. int total_size = 0;
  19612. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19613. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_abysm_sign];
  19614. if (has_packet_id()) {
  19615. total_size += 1 +
  19616. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  19617. }
  19618. // optional int32 index = 2;
  19619. if (has_index()) {
  19620. total_size += 1 +
  19621. ::google::protobuf::internal::WireFormatLite::Int32Size(
  19622. this->index());
  19623. }
  19624. }
  19625. if (!unknown_fields().empty()) {
  19626. total_size +=
  19627. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  19628. unknown_fields());
  19629. }
  19630. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19631. _cached_size_ = total_size;
  19632. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19633. return total_size;
  19634. }
  19635. void packetc2w_abysm_sign::MergeFrom(const ::google::protobuf::Message& from) {
  19636. GOOGLE_CHECK_NE(&from, this);
  19637. const packetc2w_abysm_sign* source =
  19638. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_abysm_sign*>(
  19639. &from);
  19640. if (source == NULL) {
  19641. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  19642. } else {
  19643. MergeFrom(*source);
  19644. }
  19645. }
  19646. void packetc2w_abysm_sign::MergeFrom(const packetc2w_abysm_sign& from) {
  19647. GOOGLE_CHECK_NE(&from, this);
  19648. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19649. if (from.has_packet_id()) {
  19650. set_packet_id(from.packet_id());
  19651. }
  19652. if (from.has_index()) {
  19653. set_index(from.index());
  19654. }
  19655. }
  19656. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  19657. }
  19658. void packetc2w_abysm_sign::CopyFrom(const ::google::protobuf::Message& from) {
  19659. if (&from == this) return;
  19660. Clear();
  19661. MergeFrom(from);
  19662. }
  19663. void packetc2w_abysm_sign::CopyFrom(const packetc2w_abysm_sign& from) {
  19664. if (&from == this) return;
  19665. Clear();
  19666. MergeFrom(from);
  19667. }
  19668. bool packetc2w_abysm_sign::IsInitialized() const {
  19669. return true;
  19670. }
  19671. void packetc2w_abysm_sign::Swap(packetc2w_abysm_sign* other) {
  19672. if (other != this) {
  19673. std::swap(packet_id_, other->packet_id_);
  19674. std::swap(index_, other->index_);
  19675. std::swap(_has_bits_[0], other->_has_bits_[0]);
  19676. _unknown_fields_.Swap(&other->_unknown_fields_);
  19677. std::swap(_cached_size_, other->_cached_size_);
  19678. }
  19679. }
  19680. ::google::protobuf::Metadata packetc2w_abysm_sign::GetMetadata() const {
  19681. protobuf_AssignDescriptorsOnce();
  19682. ::google::protobuf::Metadata metadata;
  19683. metadata.descriptor = packetc2w_abysm_sign_descriptor_;
  19684. metadata.reflection = packetc2w_abysm_sign_reflection_;
  19685. return metadata;
  19686. }
  19687. // ===================================================================
  19688. #ifndef _MSC_VER
  19689. const int packetw2c_abysm_sign_result::kPacketIdFieldNumber;
  19690. const int packetw2c_abysm_sign_result::kResultFieldNumber;
  19691. const int packetw2c_abysm_sign_result::kIndexFieldNumber;
  19692. const int packetw2c_abysm_sign_result::kRewardItemFieldNumber;
  19693. #endif // !_MSC_VER
  19694. packetw2c_abysm_sign_result::packetw2c_abysm_sign_result()
  19695. : ::google::protobuf::Message() {
  19696. SharedCtor();
  19697. }
  19698. void packetw2c_abysm_sign_result::InitAsDefaultInstance() {
  19699. }
  19700. packetw2c_abysm_sign_result::packetw2c_abysm_sign_result(const packetw2c_abysm_sign_result& from)
  19701. : ::google::protobuf::Message() {
  19702. SharedCtor();
  19703. MergeFrom(from);
  19704. }
  19705. void packetw2c_abysm_sign_result::SharedCtor() {
  19706. _cached_size_ = 0;
  19707. packet_id_ = 7810;
  19708. result_ = 0;
  19709. index_ = 0;
  19710. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  19711. }
  19712. packetw2c_abysm_sign_result::~packetw2c_abysm_sign_result() {
  19713. SharedDtor();
  19714. }
  19715. void packetw2c_abysm_sign_result::SharedDtor() {
  19716. if (this != default_instance_) {
  19717. }
  19718. }
  19719. void packetw2c_abysm_sign_result::SetCachedSize(int size) const {
  19720. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19721. _cached_size_ = size;
  19722. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19723. }
  19724. const ::google::protobuf::Descriptor* packetw2c_abysm_sign_result::descriptor() {
  19725. protobuf_AssignDescriptorsOnce();
  19726. return packetw2c_abysm_sign_result_descriptor_;
  19727. }
  19728. const packetw2c_abysm_sign_result& packetw2c_abysm_sign_result::default_instance() {
  19729. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  19730. return *default_instance_;
  19731. }
  19732. packetw2c_abysm_sign_result* packetw2c_abysm_sign_result::default_instance_ = NULL;
  19733. packetw2c_abysm_sign_result* packetw2c_abysm_sign_result::New() const {
  19734. return new packetw2c_abysm_sign_result;
  19735. }
  19736. void packetw2c_abysm_sign_result::Clear() {
  19737. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19738. packet_id_ = 7810;
  19739. result_ = 0;
  19740. index_ = 0;
  19741. }
  19742. rewarditem_.Clear();
  19743. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  19744. mutable_unknown_fields()->Clear();
  19745. }
  19746. bool packetw2c_abysm_sign_result::MergePartialFromCodedStream(
  19747. ::google::protobuf::io::CodedInputStream* input) {
  19748. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  19749. ::google::protobuf::uint32 tag;
  19750. while ((tag = input->ReadTag()) != 0) {
  19751. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  19752. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_abysm_sign_result];
  19753. case 1: {
  19754. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19755. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19756. int value;
  19757. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19758. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  19759. input, &value)));
  19760. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  19761. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  19762. } else {
  19763. mutable_unknown_fields()->AddVarint(1, value);
  19764. }
  19765. } else {
  19766. goto handle_uninterpreted;
  19767. }
  19768. if (input->ExpectTag(16)) goto parse_result;
  19769. break;
  19770. }
  19771. // optional int32 result = 2;
  19772. case 2: {
  19773. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19774. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19775. parse_result:
  19776. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19777. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  19778. input, &result_)));
  19779. set_has_result();
  19780. } else {
  19781. goto handle_uninterpreted;
  19782. }
  19783. if (input->ExpectTag(24)) goto parse_index;
  19784. break;
  19785. }
  19786. // optional int32 index = 3;
  19787. case 3: {
  19788. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19789. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  19790. parse_index:
  19791. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  19792. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  19793. input, &index_)));
  19794. set_has_index();
  19795. } else {
  19796. goto handle_uninterpreted;
  19797. }
  19798. if (input->ExpectTag(34)) goto parse_rewardItem;
  19799. break;
  19800. }
  19801. // repeated .msg_info_def.ItemInfo rewardItem = 4;
  19802. case 4: {
  19803. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19804. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  19805. parse_rewardItem:
  19806. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  19807. input, add_rewarditem()));
  19808. } else {
  19809. goto handle_uninterpreted;
  19810. }
  19811. if (input->ExpectTag(34)) goto parse_rewardItem;
  19812. if (input->ExpectAtEnd()) return true;
  19813. break;
  19814. }
  19815. default: {
  19816. handle_uninterpreted:
  19817. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  19818. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  19819. return true;
  19820. }
  19821. DO_(::google::protobuf::internal::WireFormat::SkipField(
  19822. input, tag, mutable_unknown_fields()));
  19823. break;
  19824. }
  19825. }
  19826. }
  19827. return true;
  19828. #undef DO_
  19829. }
  19830. void packetw2c_abysm_sign_result::SerializeWithCachedSizes(
  19831. ::google::protobuf::io::CodedOutputStream* output) const {
  19832. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_abysm_sign_result];
  19833. if (has_packet_id()) {
  19834. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  19835. 1, this->packet_id(), output);
  19836. }
  19837. // optional int32 result = 2;
  19838. if (has_result()) {
  19839. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  19840. }
  19841. // optional int32 index = 3;
  19842. if (has_index()) {
  19843. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->index(), output);
  19844. }
  19845. // repeated .msg_info_def.ItemInfo rewardItem = 4;
  19846. for (int i = 0; i < this->rewarditem_size(); i++) {
  19847. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  19848. 4, this->rewarditem(i), output);
  19849. }
  19850. if (!unknown_fields().empty()) {
  19851. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  19852. unknown_fields(), output);
  19853. }
  19854. }
  19855. ::google::protobuf::uint8* packetw2c_abysm_sign_result::SerializeWithCachedSizesToArray(
  19856. ::google::protobuf::uint8* target) const {
  19857. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_abysm_sign_result];
  19858. if (has_packet_id()) {
  19859. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  19860. 1, this->packet_id(), target);
  19861. }
  19862. // optional int32 result = 2;
  19863. if (has_result()) {
  19864. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  19865. }
  19866. // optional int32 index = 3;
  19867. if (has_index()) {
  19868. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->index(), target);
  19869. }
  19870. // repeated .msg_info_def.ItemInfo rewardItem = 4;
  19871. for (int i = 0; i < this->rewarditem_size(); i++) {
  19872. target = ::google::protobuf::internal::WireFormatLite::
  19873. WriteMessageNoVirtualToArray(
  19874. 4, this->rewarditem(i), target);
  19875. }
  19876. if (!unknown_fields().empty()) {
  19877. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  19878. unknown_fields(), target);
  19879. }
  19880. return target;
  19881. }
  19882. int packetw2c_abysm_sign_result::ByteSize() const {
  19883. int total_size = 0;
  19884. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19885. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_abysm_sign_result];
  19886. if (has_packet_id()) {
  19887. total_size += 1 +
  19888. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  19889. }
  19890. // optional int32 result = 2;
  19891. if (has_result()) {
  19892. total_size += 1 +
  19893. ::google::protobuf::internal::WireFormatLite::Int32Size(
  19894. this->result());
  19895. }
  19896. // optional int32 index = 3;
  19897. if (has_index()) {
  19898. total_size += 1 +
  19899. ::google::protobuf::internal::WireFormatLite::Int32Size(
  19900. this->index());
  19901. }
  19902. }
  19903. // repeated .msg_info_def.ItemInfo rewardItem = 4;
  19904. total_size += 1 * this->rewarditem_size();
  19905. for (int i = 0; i < this->rewarditem_size(); i++) {
  19906. total_size +=
  19907. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  19908. this->rewarditem(i));
  19909. }
  19910. if (!unknown_fields().empty()) {
  19911. total_size +=
  19912. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  19913. unknown_fields());
  19914. }
  19915. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  19916. _cached_size_ = total_size;
  19917. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  19918. return total_size;
  19919. }
  19920. void packetw2c_abysm_sign_result::MergeFrom(const ::google::protobuf::Message& from) {
  19921. GOOGLE_CHECK_NE(&from, this);
  19922. const packetw2c_abysm_sign_result* source =
  19923. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_abysm_sign_result*>(
  19924. &from);
  19925. if (source == NULL) {
  19926. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  19927. } else {
  19928. MergeFrom(*source);
  19929. }
  19930. }
  19931. void packetw2c_abysm_sign_result::MergeFrom(const packetw2c_abysm_sign_result& from) {
  19932. GOOGLE_CHECK_NE(&from, this);
  19933. rewarditem_.MergeFrom(from.rewarditem_);
  19934. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  19935. if (from.has_packet_id()) {
  19936. set_packet_id(from.packet_id());
  19937. }
  19938. if (from.has_result()) {
  19939. set_result(from.result());
  19940. }
  19941. if (from.has_index()) {
  19942. set_index(from.index());
  19943. }
  19944. }
  19945. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  19946. }
  19947. void packetw2c_abysm_sign_result::CopyFrom(const ::google::protobuf::Message& from) {
  19948. if (&from == this) return;
  19949. Clear();
  19950. MergeFrom(from);
  19951. }
  19952. void packetw2c_abysm_sign_result::CopyFrom(const packetw2c_abysm_sign_result& from) {
  19953. if (&from == this) return;
  19954. Clear();
  19955. MergeFrom(from);
  19956. }
  19957. bool packetw2c_abysm_sign_result::IsInitialized() const {
  19958. return true;
  19959. }
  19960. void packetw2c_abysm_sign_result::Swap(packetw2c_abysm_sign_result* other) {
  19961. if (other != this) {
  19962. std::swap(packet_id_, other->packet_id_);
  19963. std::swap(result_, other->result_);
  19964. std::swap(index_, other->index_);
  19965. rewarditem_.Swap(&other->rewarditem_);
  19966. std::swap(_has_bits_[0], other->_has_bits_[0]);
  19967. _unknown_fields_.Swap(&other->_unknown_fields_);
  19968. std::swap(_cached_size_, other->_cached_size_);
  19969. }
  19970. }
  19971. ::google::protobuf::Metadata packetw2c_abysm_sign_result::GetMetadata() const {
  19972. protobuf_AssignDescriptorsOnce();
  19973. ::google::protobuf::Metadata metadata;
  19974. metadata.descriptor = packetw2c_abysm_sign_result_descriptor_;
  19975. metadata.reflection = packetw2c_abysm_sign_result_reflection_;
  19976. return metadata;
  19977. }
  19978. // ===================================================================
  19979. #ifndef _MSC_VER
  19980. const int packetc2w_dragonball_lottery::kPacketIdFieldNumber;
  19981. const int packetc2w_dragonball_lottery::kCountFieldNumber;
  19982. #endif // !_MSC_VER
  19983. packetc2w_dragonball_lottery::packetc2w_dragonball_lottery()
  19984. : ::google::protobuf::Message() {
  19985. SharedCtor();
  19986. }
  19987. void packetc2w_dragonball_lottery::InitAsDefaultInstance() {
  19988. }
  19989. packetc2w_dragonball_lottery::packetc2w_dragonball_lottery(const packetc2w_dragonball_lottery& from)
  19990. : ::google::protobuf::Message() {
  19991. SharedCtor();
  19992. MergeFrom(from);
  19993. }
  19994. void packetc2w_dragonball_lottery::SharedCtor() {
  19995. _cached_size_ = 0;
  19996. packet_id_ = 5276;
  19997. count_ = 0;
  19998. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  19999. }
  20000. packetc2w_dragonball_lottery::~packetc2w_dragonball_lottery() {
  20001. SharedDtor();
  20002. }
  20003. void packetc2w_dragonball_lottery::SharedDtor() {
  20004. if (this != default_instance_) {
  20005. }
  20006. }
  20007. void packetc2w_dragonball_lottery::SetCachedSize(int size) const {
  20008. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  20009. _cached_size_ = size;
  20010. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  20011. }
  20012. const ::google::protobuf::Descriptor* packetc2w_dragonball_lottery::descriptor() {
  20013. protobuf_AssignDescriptorsOnce();
  20014. return packetc2w_dragonball_lottery_descriptor_;
  20015. }
  20016. const packetc2w_dragonball_lottery& packetc2w_dragonball_lottery::default_instance() {
  20017. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  20018. return *default_instance_;
  20019. }
  20020. packetc2w_dragonball_lottery* packetc2w_dragonball_lottery::default_instance_ = NULL;
  20021. packetc2w_dragonball_lottery* packetc2w_dragonball_lottery::New() const {
  20022. return new packetc2w_dragonball_lottery;
  20023. }
  20024. void packetc2w_dragonball_lottery::Clear() {
  20025. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20026. packet_id_ = 5276;
  20027. count_ = 0;
  20028. }
  20029. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  20030. mutable_unknown_fields()->Clear();
  20031. }
  20032. bool packetc2w_dragonball_lottery::MergePartialFromCodedStream(
  20033. ::google::protobuf::io::CodedInputStream* input) {
  20034. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  20035. ::google::protobuf::uint32 tag;
  20036. while ((tag = input->ReadTag()) != 0) {
  20037. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  20038. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_dragonball_lottery];
  20039. case 1: {
  20040. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20041. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  20042. int value;
  20043. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  20044. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  20045. input, &value)));
  20046. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  20047. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  20048. } else {
  20049. mutable_unknown_fields()->AddVarint(1, value);
  20050. }
  20051. } else {
  20052. goto handle_uninterpreted;
  20053. }
  20054. if (input->ExpectTag(16)) goto parse_count;
  20055. break;
  20056. }
  20057. // optional int32 count = 2;
  20058. case 2: {
  20059. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20060. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  20061. parse_count:
  20062. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  20063. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  20064. input, &count_)));
  20065. set_has_count();
  20066. } else {
  20067. goto handle_uninterpreted;
  20068. }
  20069. if (input->ExpectAtEnd()) return true;
  20070. break;
  20071. }
  20072. default: {
  20073. handle_uninterpreted:
  20074. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20075. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  20076. return true;
  20077. }
  20078. DO_(::google::protobuf::internal::WireFormat::SkipField(
  20079. input, tag, mutable_unknown_fields()));
  20080. break;
  20081. }
  20082. }
  20083. }
  20084. return true;
  20085. #undef DO_
  20086. }
  20087. void packetc2w_dragonball_lottery::SerializeWithCachedSizes(
  20088. ::google::protobuf::io::CodedOutputStream* output) const {
  20089. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_dragonball_lottery];
  20090. if (has_packet_id()) {
  20091. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  20092. 1, this->packet_id(), output);
  20093. }
  20094. // optional int32 count = 2;
  20095. if (has_count()) {
  20096. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->count(), output);
  20097. }
  20098. if (!unknown_fields().empty()) {
  20099. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  20100. unknown_fields(), output);
  20101. }
  20102. }
  20103. ::google::protobuf::uint8* packetc2w_dragonball_lottery::SerializeWithCachedSizesToArray(
  20104. ::google::protobuf::uint8* target) const {
  20105. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_dragonball_lottery];
  20106. if (has_packet_id()) {
  20107. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  20108. 1, this->packet_id(), target);
  20109. }
  20110. // optional int32 count = 2;
  20111. if (has_count()) {
  20112. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->count(), target);
  20113. }
  20114. if (!unknown_fields().empty()) {
  20115. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  20116. unknown_fields(), target);
  20117. }
  20118. return target;
  20119. }
  20120. int packetc2w_dragonball_lottery::ByteSize() const {
  20121. int total_size = 0;
  20122. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20123. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_dragonball_lottery];
  20124. if (has_packet_id()) {
  20125. total_size += 1 +
  20126. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  20127. }
  20128. // optional int32 count = 2;
  20129. if (has_count()) {
  20130. total_size += 1 +
  20131. ::google::protobuf::internal::WireFormatLite::Int32Size(
  20132. this->count());
  20133. }
  20134. }
  20135. if (!unknown_fields().empty()) {
  20136. total_size +=
  20137. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  20138. unknown_fields());
  20139. }
  20140. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  20141. _cached_size_ = total_size;
  20142. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  20143. return total_size;
  20144. }
  20145. void packetc2w_dragonball_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  20146. GOOGLE_CHECK_NE(&from, this);
  20147. const packetc2w_dragonball_lottery* source =
  20148. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_dragonball_lottery*>(
  20149. &from);
  20150. if (source == NULL) {
  20151. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  20152. } else {
  20153. MergeFrom(*source);
  20154. }
  20155. }
  20156. void packetc2w_dragonball_lottery::MergeFrom(const packetc2w_dragonball_lottery& from) {
  20157. GOOGLE_CHECK_NE(&from, this);
  20158. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20159. if (from.has_packet_id()) {
  20160. set_packet_id(from.packet_id());
  20161. }
  20162. if (from.has_count()) {
  20163. set_count(from.count());
  20164. }
  20165. }
  20166. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  20167. }
  20168. void packetc2w_dragonball_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  20169. if (&from == this) return;
  20170. Clear();
  20171. MergeFrom(from);
  20172. }
  20173. void packetc2w_dragonball_lottery::CopyFrom(const packetc2w_dragonball_lottery& from) {
  20174. if (&from == this) return;
  20175. Clear();
  20176. MergeFrom(from);
  20177. }
  20178. bool packetc2w_dragonball_lottery::IsInitialized() const {
  20179. return true;
  20180. }
  20181. void packetc2w_dragonball_lottery::Swap(packetc2w_dragonball_lottery* other) {
  20182. if (other != this) {
  20183. std::swap(packet_id_, other->packet_id_);
  20184. std::swap(count_, other->count_);
  20185. std::swap(_has_bits_[0], other->_has_bits_[0]);
  20186. _unknown_fields_.Swap(&other->_unknown_fields_);
  20187. std::swap(_cached_size_, other->_cached_size_);
  20188. }
  20189. }
  20190. ::google::protobuf::Metadata packetc2w_dragonball_lottery::GetMetadata() const {
  20191. protobuf_AssignDescriptorsOnce();
  20192. ::google::protobuf::Metadata metadata;
  20193. metadata.descriptor = packetc2w_dragonball_lottery_descriptor_;
  20194. metadata.reflection = packetc2w_dragonball_lottery_reflection_;
  20195. return metadata;
  20196. }
  20197. // ===================================================================
  20198. #ifndef _MSC_VER
  20199. const int packetw2c_dragonball_lottery_result::kPacketIdFieldNumber;
  20200. const int packetw2c_dragonball_lottery_result::kResultFieldNumber;
  20201. const int packetw2c_dragonball_lottery_result::kCountFieldNumber;
  20202. const int packetw2c_dragonball_lottery_result::kCurluckyFieldNumber;
  20203. const int packetw2c_dragonball_lottery_result::kDragonballFieldNumber;
  20204. const int packetw2c_dragonball_lottery_result::kRewardsFieldNumber;
  20205. #endif // !_MSC_VER
  20206. packetw2c_dragonball_lottery_result::packetw2c_dragonball_lottery_result()
  20207. : ::google::protobuf::Message() {
  20208. SharedCtor();
  20209. }
  20210. void packetw2c_dragonball_lottery_result::InitAsDefaultInstance() {
  20211. }
  20212. packetw2c_dragonball_lottery_result::packetw2c_dragonball_lottery_result(const packetw2c_dragonball_lottery_result& from)
  20213. : ::google::protobuf::Message() {
  20214. SharedCtor();
  20215. MergeFrom(from);
  20216. }
  20217. void packetw2c_dragonball_lottery_result::SharedCtor() {
  20218. _cached_size_ = 0;
  20219. packet_id_ = 7828;
  20220. result_ = 0;
  20221. count_ = 0;
  20222. curlucky_ = 0;
  20223. dragonball_ = 0;
  20224. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  20225. }
  20226. packetw2c_dragonball_lottery_result::~packetw2c_dragonball_lottery_result() {
  20227. SharedDtor();
  20228. }
  20229. void packetw2c_dragonball_lottery_result::SharedDtor() {
  20230. if (this != default_instance_) {
  20231. }
  20232. }
  20233. void packetw2c_dragonball_lottery_result::SetCachedSize(int size) const {
  20234. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  20235. _cached_size_ = size;
  20236. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  20237. }
  20238. const ::google::protobuf::Descriptor* packetw2c_dragonball_lottery_result::descriptor() {
  20239. protobuf_AssignDescriptorsOnce();
  20240. return packetw2c_dragonball_lottery_result_descriptor_;
  20241. }
  20242. const packetw2c_dragonball_lottery_result& packetw2c_dragonball_lottery_result::default_instance() {
  20243. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fprotocol_2eproto();
  20244. return *default_instance_;
  20245. }
  20246. packetw2c_dragonball_lottery_result* packetw2c_dragonball_lottery_result::default_instance_ = NULL;
  20247. packetw2c_dragonball_lottery_result* packetw2c_dragonball_lottery_result::New() const {
  20248. return new packetw2c_dragonball_lottery_result;
  20249. }
  20250. void packetw2c_dragonball_lottery_result::Clear() {
  20251. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20252. packet_id_ = 7828;
  20253. result_ = 0;
  20254. count_ = 0;
  20255. curlucky_ = 0;
  20256. dragonball_ = 0;
  20257. }
  20258. rewards_.Clear();
  20259. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  20260. mutable_unknown_fields()->Clear();
  20261. }
  20262. bool packetw2c_dragonball_lottery_result::MergePartialFromCodedStream(
  20263. ::google::protobuf::io::CodedInputStream* input) {
  20264. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  20265. ::google::protobuf::uint32 tag;
  20266. while ((tag = input->ReadTag()) != 0) {
  20267. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  20268. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_dragonball_lottery_result];
  20269. case 1: {
  20270. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20271. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  20272. int value;
  20273. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  20274. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  20275. input, &value)));
  20276. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  20277. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  20278. } else {
  20279. mutable_unknown_fields()->AddVarint(1, value);
  20280. }
  20281. } else {
  20282. goto handle_uninterpreted;
  20283. }
  20284. if (input->ExpectTag(16)) goto parse_result;
  20285. break;
  20286. }
  20287. // optional int32 result = 2;
  20288. case 2: {
  20289. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20290. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  20291. parse_result:
  20292. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  20293. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  20294. input, &result_)));
  20295. set_has_result();
  20296. } else {
  20297. goto handle_uninterpreted;
  20298. }
  20299. if (input->ExpectTag(24)) goto parse_count;
  20300. break;
  20301. }
  20302. // optional int32 count = 3;
  20303. case 3: {
  20304. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20305. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  20306. parse_count:
  20307. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  20308. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  20309. input, &count_)));
  20310. set_has_count();
  20311. } else {
  20312. goto handle_uninterpreted;
  20313. }
  20314. if (input->ExpectTag(32)) goto parse_curlucky;
  20315. break;
  20316. }
  20317. // optional int32 curlucky = 4;
  20318. case 4: {
  20319. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20320. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  20321. parse_curlucky:
  20322. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  20323. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  20324. input, &curlucky_)));
  20325. set_has_curlucky();
  20326. } else {
  20327. goto handle_uninterpreted;
  20328. }
  20329. if (input->ExpectTag(40)) goto parse_dragonball;
  20330. break;
  20331. }
  20332. // optional int32 dragonball = 5;
  20333. case 5: {
  20334. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20335. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  20336. parse_dragonball:
  20337. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  20338. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  20339. input, &dragonball_)));
  20340. set_has_dragonball();
  20341. } else {
  20342. goto handle_uninterpreted;
  20343. }
  20344. if (input->ExpectTag(48)) goto parse_rewards;
  20345. break;
  20346. }
  20347. // repeated int32 rewards = 6;
  20348. case 6: {
  20349. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20350. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  20351. parse_rewards:
  20352. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  20353. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  20354. 1, 48, input, this->mutable_rewards())));
  20355. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  20356. == ::google::protobuf::internal::WireFormatLite::
  20357. WIRETYPE_LENGTH_DELIMITED) {
  20358. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  20359. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  20360. input, this->mutable_rewards())));
  20361. } else {
  20362. goto handle_uninterpreted;
  20363. }
  20364. if (input->ExpectTag(48)) goto parse_rewards;
  20365. if (input->ExpectAtEnd()) return true;
  20366. break;
  20367. }
  20368. default: {
  20369. handle_uninterpreted:
  20370. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  20371. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  20372. return true;
  20373. }
  20374. DO_(::google::protobuf::internal::WireFormat::SkipField(
  20375. input, tag, mutable_unknown_fields()));
  20376. break;
  20377. }
  20378. }
  20379. }
  20380. return true;
  20381. #undef DO_
  20382. }
  20383. void packetw2c_dragonball_lottery_result::SerializeWithCachedSizes(
  20384. ::google::protobuf::io::CodedOutputStream* output) const {
  20385. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_dragonball_lottery_result];
  20386. if (has_packet_id()) {
  20387. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  20388. 1, this->packet_id(), output);
  20389. }
  20390. // optional int32 result = 2;
  20391. if (has_result()) {
  20392. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  20393. }
  20394. // optional int32 count = 3;
  20395. if (has_count()) {
  20396. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->count(), output);
  20397. }
  20398. // optional int32 curlucky = 4;
  20399. if (has_curlucky()) {
  20400. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->curlucky(), output);
  20401. }
  20402. // optional int32 dragonball = 5;
  20403. if (has_dragonball()) {
  20404. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->dragonball(), output);
  20405. }
  20406. // repeated int32 rewards = 6;
  20407. for (int i = 0; i < this->rewards_size(); i++) {
  20408. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  20409. 6, this->rewards(i), output);
  20410. }
  20411. if (!unknown_fields().empty()) {
  20412. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  20413. unknown_fields(), output);
  20414. }
  20415. }
  20416. ::google::protobuf::uint8* packetw2c_dragonball_lottery_result::SerializeWithCachedSizesToArray(
  20417. ::google::protobuf::uint8* target) const {
  20418. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_dragonball_lottery_result];
  20419. if (has_packet_id()) {
  20420. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  20421. 1, this->packet_id(), target);
  20422. }
  20423. // optional int32 result = 2;
  20424. if (has_result()) {
  20425. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  20426. }
  20427. // optional int32 count = 3;
  20428. if (has_count()) {
  20429. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->count(), target);
  20430. }
  20431. // optional int32 curlucky = 4;
  20432. if (has_curlucky()) {
  20433. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->curlucky(), target);
  20434. }
  20435. // optional int32 dragonball = 5;
  20436. if (has_dragonball()) {
  20437. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->dragonball(), target);
  20438. }
  20439. // repeated int32 rewards = 6;
  20440. for (int i = 0; i < this->rewards_size(); i++) {
  20441. target = ::google::protobuf::internal::WireFormatLite::
  20442. WriteInt32ToArray(6, this->rewards(i), target);
  20443. }
  20444. if (!unknown_fields().empty()) {
  20445. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  20446. unknown_fields(), target);
  20447. }
  20448. return target;
  20449. }
  20450. int packetw2c_dragonball_lottery_result::ByteSize() const {
  20451. int total_size = 0;
  20452. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20453. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_dragonball_lottery_result];
  20454. if (has_packet_id()) {
  20455. total_size += 1 +
  20456. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  20457. }
  20458. // optional int32 result = 2;
  20459. if (has_result()) {
  20460. total_size += 1 +
  20461. ::google::protobuf::internal::WireFormatLite::Int32Size(
  20462. this->result());
  20463. }
  20464. // optional int32 count = 3;
  20465. if (has_count()) {
  20466. total_size += 1 +
  20467. ::google::protobuf::internal::WireFormatLite::Int32Size(
  20468. this->count());
  20469. }
  20470. // optional int32 curlucky = 4;
  20471. if (has_curlucky()) {
  20472. total_size += 1 +
  20473. ::google::protobuf::internal::WireFormatLite::Int32Size(
  20474. this->curlucky());
  20475. }
  20476. // optional int32 dragonball = 5;
  20477. if (has_dragonball()) {
  20478. total_size += 1 +
  20479. ::google::protobuf::internal::WireFormatLite::Int32Size(
  20480. this->dragonball());
  20481. }
  20482. }
  20483. // repeated int32 rewards = 6;
  20484. {
  20485. int data_size = 0;
  20486. for (int i = 0; i < this->rewards_size(); i++) {
  20487. data_size += ::google::protobuf::internal::WireFormatLite::
  20488. Int32Size(this->rewards(i));
  20489. }
  20490. total_size += 1 * this->rewards_size() + data_size;
  20491. }
  20492. if (!unknown_fields().empty()) {
  20493. total_size +=
  20494. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  20495. unknown_fields());
  20496. }
  20497. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  20498. _cached_size_ = total_size;
  20499. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  20500. return total_size;
  20501. }
  20502. void packetw2c_dragonball_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  20503. GOOGLE_CHECK_NE(&from, this);
  20504. const packetw2c_dragonball_lottery_result* source =
  20505. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_dragonball_lottery_result*>(
  20506. &from);
  20507. if (source == NULL) {
  20508. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  20509. } else {
  20510. MergeFrom(*source);
  20511. }
  20512. }
  20513. void packetw2c_dragonball_lottery_result::MergeFrom(const packetw2c_dragonball_lottery_result& from) {
  20514. GOOGLE_CHECK_NE(&from, this);
  20515. rewards_.MergeFrom(from.rewards_);
  20516. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  20517. if (from.has_packet_id()) {
  20518. set_packet_id(from.packet_id());
  20519. }
  20520. if (from.has_result()) {
  20521. set_result(from.result());
  20522. }
  20523. if (from.has_count()) {
  20524. set_count(from.count());
  20525. }
  20526. if (from.has_curlucky()) {
  20527. set_curlucky(from.curlucky());
  20528. }
  20529. if (from.has_dragonball()) {
  20530. set_dragonball(from.dragonball());
  20531. }
  20532. }
  20533. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  20534. }
  20535. void packetw2c_dragonball_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  20536. if (&from == this) return;
  20537. Clear();
  20538. MergeFrom(from);
  20539. }
  20540. void packetw2c_dragonball_lottery_result::CopyFrom(const packetw2c_dragonball_lottery_result& from) {
  20541. if (&from == this) return;
  20542. Clear();
  20543. MergeFrom(from);
  20544. }
  20545. bool packetw2c_dragonball_lottery_result::IsInitialized() const {
  20546. return true;
  20547. }
  20548. void packetw2c_dragonball_lottery_result::Swap(packetw2c_dragonball_lottery_result* other) {
  20549. if (other != this) {
  20550. std::swap(packet_id_, other->packet_id_);
  20551. std::swap(result_, other->result_);
  20552. std::swap(count_, other->count_);
  20553. std::swap(curlucky_, other->curlucky_);
  20554. std::swap(dragonball_, other->dragonball_);
  20555. rewards_.Swap(&other->rewards_);
  20556. std::swap(_has_bits_[0], other->_has_bits_[0]);
  20557. _unknown_fields_.Swap(&other->_unknown_fields_);
  20558. std::swap(_cached_size_, other->_cached_size_);
  20559. }
  20560. }
  20561. ::google::protobuf::Metadata packetw2c_dragonball_lottery_result::GetMetadata() const {
  20562. protobuf_AssignDescriptorsOnce();
  20563. ::google::protobuf::Metadata metadata;
  20564. metadata.descriptor = packetw2c_dragonball_lottery_result_descriptor_;
  20565. metadata.reflection = packetw2c_dragonball_lottery_result_reflection_;
  20566. return metadata;
  20567. }
  20568. // @@protoc_insertion_point(namespace_scope)
  20569. } // namespace client2world_protocols
  20570. // @@protoc_insertion_point(global_scope)