fish_armedshark_palace.pb.cc 201 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: fish_armedshark_palace.proto
  3. #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
  4. #include "fish_armedshark_palace.pb.h"
  5. #include <algorithm>
  6. #include <google/protobuf/stubs/common.h>
  7. #include <google/protobuf/stubs/once.h>
  8. #include <google/protobuf/io/coded_stream.h>
  9. #include <google/protobuf/wire_format_lite_inl.h>
  10. #include <google/protobuf/descriptor.h>
  11. #include <google/protobuf/generated_message_reflection.h>
  12. #include <google/protobuf/reflection_ops.h>
  13. #include <google/protobuf/wire_format.h>
  14. // @@protoc_insertion_point(includes)
  15. namespace fish_protocols {
  16. namespace {
  17. const ::google::protobuf::Descriptor* ArmedSharkRankInfo_descriptor_ = NULL;
  18. const ::google::protobuf::internal::GeneratedMessageReflection*
  19. ArmedSharkRankInfo_reflection_ = NULL;
  20. const ::google::protobuf::Descriptor* ArmedSharkCardTypeInfo_descriptor_ = NULL;
  21. const ::google::protobuf::internal::GeneratedMessageReflection*
  22. ArmedSharkCardTypeInfo_reflection_ = NULL;
  23. const ::google::protobuf::Descriptor* ArmedSharkCardHistory_descriptor_ = NULL;
  24. const ::google::protobuf::internal::GeneratedMessageReflection*
  25. ArmedSharkCardHistory_reflection_ = NULL;
  26. const ::google::protobuf::Descriptor* ArmedSharkLotteryHistory_descriptor_ = NULL;
  27. const ::google::protobuf::internal::GeneratedMessageReflection*
  28. ArmedSharkLotteryHistory_reflection_ = NULL;
  29. const ::google::protobuf::Descriptor* packetc2l_get_armedshark_palace_info_descriptor_ = NULL;
  30. const ::google::protobuf::internal::GeneratedMessageReflection*
  31. packetc2l_get_armedshark_palace_info_reflection_ = NULL;
  32. const ::google::protobuf::Descriptor* packetl2c_get_armedshark_palace_info_result_descriptor_ = NULL;
  33. const ::google::protobuf::internal::GeneratedMessageReflection*
  34. packetl2c_get_armedshark_palace_info_result_reflection_ = NULL;
  35. const ::google::protobuf::Descriptor* packetc2l_get_armedshark_getHistoryList_descriptor_ = NULL;
  36. const ::google::protobuf::internal::GeneratedMessageReflection*
  37. packetc2l_get_armedshark_getHistoryList_reflection_ = NULL;
  38. const ::google::protobuf::Descriptor* packetl2c_get_armedshark_getHistoryList_result_descriptor_ = NULL;
  39. const ::google::protobuf::internal::GeneratedMessageReflection*
  40. packetl2c_get_armedshark_getHistoryList_result_reflection_ = NULL;
  41. const ::google::protobuf::Descriptor* packetc2l_armedshark_palace_call_bomb_aircraft_descriptor_ = NULL;
  42. const ::google::protobuf::internal::GeneratedMessageReflection*
  43. packetc2l_armedshark_palace_call_bomb_aircraft_reflection_ = NULL;
  44. const ::google::protobuf::Descriptor* packetl2c_armedshark_palace_call_bomb_aircraft_result_descriptor_ = NULL;
  45. const ::google::protobuf::internal::GeneratedMessageReflection*
  46. packetl2c_armedshark_palace_call_bomb_aircraft_result_reflection_ = NULL;
  47. const ::google::protobuf::Descriptor* packetc2l_armedshark_palace_execute_descriptor_ = NULL;
  48. const ::google::protobuf::internal::GeneratedMessageReflection*
  49. packetc2l_armedshark_palace_execute_reflection_ = NULL;
  50. const ::google::protobuf::Descriptor* packetl2c_armedshark_palace_execute_result_descriptor_ = NULL;
  51. const ::google::protobuf::internal::GeneratedMessageReflection*
  52. packetl2c_armedshark_palace_execute_result_reflection_ = NULL;
  53. const ::google::protobuf::Descriptor* packetc2l_armedshark_palace_lottery_descriptor_ = NULL;
  54. const ::google::protobuf::internal::GeneratedMessageReflection*
  55. packetc2l_armedshark_palace_lottery_reflection_ = NULL;
  56. const ::google::protobuf::Descriptor* packetl2c_armedshark_palace_lottery_result_descriptor_ = NULL;
  57. const ::google::protobuf::internal::GeneratedMessageReflection*
  58. packetl2c_armedshark_palace_lottery_result_reflection_ = NULL;
  59. } // namespace
  60. void protobuf_AssignDesc_fish_5farmedshark_5fpalace_2eproto() {
  61. protobuf_AddDesc_fish_5farmedshark_5fpalace_2eproto();
  62. const ::google::protobuf::FileDescriptor* file =
  63. ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
  64. "fish_armedshark_palace.proto");
  65. GOOGLE_CHECK(file != NULL);
  66. ArmedSharkRankInfo_descriptor_ = file->message_type(0);
  67. static const int ArmedSharkRankInfo_offsets_[7] = {
  68. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ArmedSharkRankInfo, playerid_),
  69. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ArmedSharkRankInfo, nickname_),
  70. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ArmedSharkRankInfo, rank_),
  71. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ArmedSharkRankInfo, headid_),
  72. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ArmedSharkRankInfo, frameid_),
  73. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ArmedSharkRankInfo, topscorebycard_),
  74. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ArmedSharkRankInfo, topscorebybomb_),
  75. };
  76. ArmedSharkRankInfo_reflection_ =
  77. new ::google::protobuf::internal::GeneratedMessageReflection(
  78. ArmedSharkRankInfo_descriptor_,
  79. ArmedSharkRankInfo::default_instance_,
  80. ArmedSharkRankInfo_offsets_,
  81. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ArmedSharkRankInfo, _has_bits_[0]),
  82. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ArmedSharkRankInfo, _unknown_fields_),
  83. -1,
  84. ::google::protobuf::DescriptorPool::generated_pool(),
  85. ::google::protobuf::MessageFactory::generated_factory(),
  86. sizeof(ArmedSharkRankInfo));
  87. ArmedSharkCardTypeInfo_descriptor_ = file->message_type(1);
  88. static const int ArmedSharkCardTypeInfo_offsets_[7] = {
  89. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ArmedSharkCardTypeInfo, cards_),
  90. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ArmedSharkCardTypeInfo, cardtype_),
  91. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ArmedSharkCardTypeInfo, basepoints_),
  92. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ArmedSharkCardTypeInfo, expoints_),
  93. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ArmedSharkCardTypeInfo, giftpoints_),
  94. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ArmedSharkCardTypeInfo, topbombpoints_),
  95. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ArmedSharkCardTypeInfo, count_),
  96. };
  97. ArmedSharkCardTypeInfo_reflection_ =
  98. new ::google::protobuf::internal::GeneratedMessageReflection(
  99. ArmedSharkCardTypeInfo_descriptor_,
  100. ArmedSharkCardTypeInfo::default_instance_,
  101. ArmedSharkCardTypeInfo_offsets_,
  102. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ArmedSharkCardTypeInfo, _has_bits_[0]),
  103. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ArmedSharkCardTypeInfo, _unknown_fields_),
  104. -1,
  105. ::google::protobuf::DescriptorPool::generated_pool(),
  106. ::google::protobuf::MessageFactory::generated_factory(),
  107. sizeof(ArmedSharkCardTypeInfo));
  108. ArmedSharkCardHistory_descriptor_ = file->message_type(2);
  109. static const int ArmedSharkCardHistory_offsets_[6] = {
  110. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ArmedSharkCardHistory, nickname_),
  111. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ArmedSharkCardHistory, fishid_),
  112. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ArmedSharkCardHistory, cards_),
  113. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ArmedSharkCardHistory, cardtype_),
  114. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ArmedSharkCardHistory, points_),
  115. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ArmedSharkCardHistory, count_),
  116. };
  117. ArmedSharkCardHistory_reflection_ =
  118. new ::google::protobuf::internal::GeneratedMessageReflection(
  119. ArmedSharkCardHistory_descriptor_,
  120. ArmedSharkCardHistory::default_instance_,
  121. ArmedSharkCardHistory_offsets_,
  122. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ArmedSharkCardHistory, _has_bits_[0]),
  123. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ArmedSharkCardHistory, _unknown_fields_),
  124. -1,
  125. ::google::protobuf::DescriptorPool::generated_pool(),
  126. ::google::protobuf::MessageFactory::generated_factory(),
  127. sizeof(ArmedSharkCardHistory));
  128. ArmedSharkLotteryHistory_descriptor_ = file->message_type(3);
  129. static const int ArmedSharkLotteryHistory_offsets_[3] = {
  130. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ArmedSharkLotteryHistory, nickname_),
  131. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ArmedSharkLotteryHistory, keyid_),
  132. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ArmedSharkLotteryHistory, gold_),
  133. };
  134. ArmedSharkLotteryHistory_reflection_ =
  135. new ::google::protobuf::internal::GeneratedMessageReflection(
  136. ArmedSharkLotteryHistory_descriptor_,
  137. ArmedSharkLotteryHistory::default_instance_,
  138. ArmedSharkLotteryHistory_offsets_,
  139. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ArmedSharkLotteryHistory, _has_bits_[0]),
  140. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ArmedSharkLotteryHistory, _unknown_fields_),
  141. -1,
  142. ::google::protobuf::DescriptorPool::generated_pool(),
  143. ::google::protobuf::MessageFactory::generated_factory(),
  144. sizeof(ArmedSharkLotteryHistory));
  145. packetc2l_get_armedshark_palace_info_descriptor_ = file->message_type(4);
  146. static const int packetc2l_get_armedshark_palace_info_offsets_[1] = {
  147. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_armedshark_palace_info, packet_id_),
  148. };
  149. packetc2l_get_armedshark_palace_info_reflection_ =
  150. new ::google::protobuf::internal::GeneratedMessageReflection(
  151. packetc2l_get_armedshark_palace_info_descriptor_,
  152. packetc2l_get_armedshark_palace_info::default_instance_,
  153. packetc2l_get_armedshark_palace_info_offsets_,
  154. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_armedshark_palace_info, _has_bits_[0]),
  155. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_armedshark_palace_info, _unknown_fields_),
  156. -1,
  157. ::google::protobuf::DescriptorPool::generated_pool(),
  158. ::google::protobuf::MessageFactory::generated_factory(),
  159. sizeof(packetc2l_get_armedshark_palace_info));
  160. packetl2c_get_armedshark_palace_info_result_descriptor_ = file->message_type(5);
  161. static const int packetl2c_get_armedshark_palace_info_result_offsets_[6] = {
  162. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_armedshark_palace_info_result, packet_id_),
  163. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_armedshark_palace_info_result, curranklist_),
  164. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_armedshark_palace_info_result, dailytopcardinfo_),
  165. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_armedshark_palace_info_result, myexcutecount_),
  166. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_armedshark_palace_info_result, thresholdvalue_),
  167. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_armedshark_palace_info_result, myrank_),
  168. };
  169. packetl2c_get_armedshark_palace_info_result_reflection_ =
  170. new ::google::protobuf::internal::GeneratedMessageReflection(
  171. packetl2c_get_armedshark_palace_info_result_descriptor_,
  172. packetl2c_get_armedshark_palace_info_result::default_instance_,
  173. packetl2c_get_armedshark_palace_info_result_offsets_,
  174. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_armedshark_palace_info_result, _has_bits_[0]),
  175. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_armedshark_palace_info_result, _unknown_fields_),
  176. -1,
  177. ::google::protobuf::DescriptorPool::generated_pool(),
  178. ::google::protobuf::MessageFactory::generated_factory(),
  179. sizeof(packetl2c_get_armedshark_palace_info_result));
  180. packetc2l_get_armedshark_getHistoryList_descriptor_ = file->message_type(6);
  181. static const int packetc2l_get_armedshark_getHistoryList_offsets_[2] = {
  182. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_armedshark_getHistoryList, packet_id_),
  183. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_armedshark_getHistoryList, type_),
  184. };
  185. packetc2l_get_armedshark_getHistoryList_reflection_ =
  186. new ::google::protobuf::internal::GeneratedMessageReflection(
  187. packetc2l_get_armedshark_getHistoryList_descriptor_,
  188. packetc2l_get_armedshark_getHistoryList::default_instance_,
  189. packetc2l_get_armedshark_getHistoryList_offsets_,
  190. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_armedshark_getHistoryList, _has_bits_[0]),
  191. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_armedshark_getHistoryList, _unknown_fields_),
  192. -1,
  193. ::google::protobuf::DescriptorPool::generated_pool(),
  194. ::google::protobuf::MessageFactory::generated_factory(),
  195. sizeof(packetc2l_get_armedshark_getHistoryList));
  196. packetl2c_get_armedshark_getHistoryList_result_descriptor_ = file->message_type(7);
  197. static const int packetl2c_get_armedshark_getHistoryList_result_offsets_[4] = {
  198. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_armedshark_getHistoryList_result, packet_id_),
  199. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_armedshark_getHistoryList_result, type_),
  200. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_armedshark_getHistoryList_result, getcardhistorylist_),
  201. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_armedshark_getHistoryList_result, lotteryhistory_),
  202. };
  203. packetl2c_get_armedshark_getHistoryList_result_reflection_ =
  204. new ::google::protobuf::internal::GeneratedMessageReflection(
  205. packetl2c_get_armedshark_getHistoryList_result_descriptor_,
  206. packetl2c_get_armedshark_getHistoryList_result::default_instance_,
  207. packetl2c_get_armedshark_getHistoryList_result_offsets_,
  208. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_armedshark_getHistoryList_result, _has_bits_[0]),
  209. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_armedshark_getHistoryList_result, _unknown_fields_),
  210. -1,
  211. ::google::protobuf::DescriptorPool::generated_pool(),
  212. ::google::protobuf::MessageFactory::generated_factory(),
  213. sizeof(packetl2c_get_armedshark_getHistoryList_result));
  214. packetc2l_armedshark_palace_call_bomb_aircraft_descriptor_ = file->message_type(8);
  215. static const int packetc2l_armedshark_palace_call_bomb_aircraft_offsets_[4] = {
  216. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_armedshark_palace_call_bomb_aircraft, packet_id_),
  217. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_armedshark_palace_call_bomb_aircraft, calltype_),
  218. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_armedshark_palace_call_bomb_aircraft, bombtype_),
  219. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_armedshark_palace_call_bomb_aircraft, fishid_),
  220. };
  221. packetc2l_armedshark_palace_call_bomb_aircraft_reflection_ =
  222. new ::google::protobuf::internal::GeneratedMessageReflection(
  223. packetc2l_armedshark_palace_call_bomb_aircraft_descriptor_,
  224. packetc2l_armedshark_palace_call_bomb_aircraft::default_instance_,
  225. packetc2l_armedshark_palace_call_bomb_aircraft_offsets_,
  226. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_armedshark_palace_call_bomb_aircraft, _has_bits_[0]),
  227. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_armedshark_palace_call_bomb_aircraft, _unknown_fields_),
  228. -1,
  229. ::google::protobuf::DescriptorPool::generated_pool(),
  230. ::google::protobuf::MessageFactory::generated_factory(),
  231. sizeof(packetc2l_armedshark_palace_call_bomb_aircraft));
  232. packetl2c_armedshark_palace_call_bomb_aircraft_result_descriptor_ = file->message_type(9);
  233. static const int packetl2c_armedshark_palace_call_bomb_aircraft_result_offsets_[9] = {
  234. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_armedshark_palace_call_bomb_aircraft_result, packet_id_),
  235. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_armedshark_palace_call_bomb_aircraft_result, result_),
  236. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_armedshark_palace_call_bomb_aircraft_result, calltype_),
  237. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_armedshark_palace_call_bomb_aircraft_result, bombtype_),
  238. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_armedshark_palace_call_bomb_aircraft_result, playerid_),
  239. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_armedshark_palace_call_bomb_aircraft_result, fishids_),
  240. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_armedshark_palace_call_bomb_aircraft_result, points_),
  241. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_armedshark_palace_call_bomb_aircraft_result, giftpoints_),
  242. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_armedshark_palace_call_bomb_aircraft_result, score_),
  243. };
  244. packetl2c_armedshark_palace_call_bomb_aircraft_result_reflection_ =
  245. new ::google::protobuf::internal::GeneratedMessageReflection(
  246. packetl2c_armedshark_palace_call_bomb_aircraft_result_descriptor_,
  247. packetl2c_armedshark_palace_call_bomb_aircraft_result::default_instance_,
  248. packetl2c_armedshark_palace_call_bomb_aircraft_result_offsets_,
  249. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_armedshark_palace_call_bomb_aircraft_result, _has_bits_[0]),
  250. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_armedshark_palace_call_bomb_aircraft_result, _unknown_fields_),
  251. -1,
  252. ::google::protobuf::DescriptorPool::generated_pool(),
  253. ::google::protobuf::MessageFactory::generated_factory(),
  254. sizeof(packetl2c_armedshark_palace_call_bomb_aircraft_result));
  255. packetc2l_armedshark_palace_execute_descriptor_ = file->message_type(10);
  256. static const int packetc2l_armedshark_palace_execute_offsets_[1] = {
  257. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_armedshark_palace_execute, packet_id_),
  258. };
  259. packetc2l_armedshark_palace_execute_reflection_ =
  260. new ::google::protobuf::internal::GeneratedMessageReflection(
  261. packetc2l_armedshark_palace_execute_descriptor_,
  262. packetc2l_armedshark_palace_execute::default_instance_,
  263. packetc2l_armedshark_palace_execute_offsets_,
  264. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_armedshark_palace_execute, _has_bits_[0]),
  265. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_armedshark_palace_execute, _unknown_fields_),
  266. -1,
  267. ::google::protobuf::DescriptorPool::generated_pool(),
  268. ::google::protobuf::MessageFactory::generated_factory(),
  269. sizeof(packetc2l_armedshark_palace_execute));
  270. packetl2c_armedshark_palace_execute_result_descriptor_ = file->message_type(11);
  271. static const int packetl2c_armedshark_palace_execute_result_offsets_[5] = {
  272. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_armedshark_palace_execute_result, packet_id_),
  273. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_armedshark_palace_execute_result, result_),
  274. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_armedshark_palace_execute_result, playerid_),
  275. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_armedshark_palace_execute_result, fishids_),
  276. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_armedshark_palace_execute_result, score_),
  277. };
  278. packetl2c_armedshark_palace_execute_result_reflection_ =
  279. new ::google::protobuf::internal::GeneratedMessageReflection(
  280. packetl2c_armedshark_palace_execute_result_descriptor_,
  281. packetl2c_armedshark_palace_execute_result::default_instance_,
  282. packetl2c_armedshark_palace_execute_result_offsets_,
  283. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_armedshark_palace_execute_result, _has_bits_[0]),
  284. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_armedshark_palace_execute_result, _unknown_fields_),
  285. -1,
  286. ::google::protobuf::DescriptorPool::generated_pool(),
  287. ::google::protobuf::MessageFactory::generated_factory(),
  288. sizeof(packetl2c_armedshark_palace_execute_result));
  289. packetc2l_armedshark_palace_lottery_descriptor_ = file->message_type(12);
  290. static const int packetc2l_armedshark_palace_lottery_offsets_[2] = {
  291. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_armedshark_palace_lottery, packet_id_),
  292. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_armedshark_palace_lottery, keyid_),
  293. };
  294. packetc2l_armedshark_palace_lottery_reflection_ =
  295. new ::google::protobuf::internal::GeneratedMessageReflection(
  296. packetc2l_armedshark_palace_lottery_descriptor_,
  297. packetc2l_armedshark_palace_lottery::default_instance_,
  298. packetc2l_armedshark_palace_lottery_offsets_,
  299. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_armedshark_palace_lottery, _has_bits_[0]),
  300. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_armedshark_palace_lottery, _unknown_fields_),
  301. -1,
  302. ::google::protobuf::DescriptorPool::generated_pool(),
  303. ::google::protobuf::MessageFactory::generated_factory(),
  304. sizeof(packetc2l_armedshark_palace_lottery));
  305. packetl2c_armedshark_palace_lottery_result_descriptor_ = file->message_type(13);
  306. static const int packetl2c_armedshark_palace_lottery_result_offsets_[5] = {
  307. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_armedshark_palace_lottery_result, packet_id_),
  308. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_armedshark_palace_lottery_result, result_),
  309. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_armedshark_palace_lottery_result, keyid_),
  310. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_armedshark_palace_lottery_result, gold_),
  311. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_armedshark_palace_lottery_result, curjackpot_),
  312. };
  313. packetl2c_armedshark_palace_lottery_result_reflection_ =
  314. new ::google::protobuf::internal::GeneratedMessageReflection(
  315. packetl2c_armedshark_palace_lottery_result_descriptor_,
  316. packetl2c_armedshark_palace_lottery_result::default_instance_,
  317. packetl2c_armedshark_palace_lottery_result_offsets_,
  318. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_armedshark_palace_lottery_result, _has_bits_[0]),
  319. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_armedshark_palace_lottery_result, _unknown_fields_),
  320. -1,
  321. ::google::protobuf::DescriptorPool::generated_pool(),
  322. ::google::protobuf::MessageFactory::generated_factory(),
  323. sizeof(packetl2c_armedshark_palace_lottery_result));
  324. }
  325. namespace {
  326. GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
  327. inline void protobuf_AssignDescriptorsOnce() {
  328. ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
  329. &protobuf_AssignDesc_fish_5farmedshark_5fpalace_2eproto);
  330. }
  331. void protobuf_RegisterTypes(const ::std::string&) {
  332. protobuf_AssignDescriptorsOnce();
  333. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  334. ArmedSharkRankInfo_descriptor_, &ArmedSharkRankInfo::default_instance());
  335. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  336. ArmedSharkCardTypeInfo_descriptor_, &ArmedSharkCardTypeInfo::default_instance());
  337. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  338. ArmedSharkCardHistory_descriptor_, &ArmedSharkCardHistory::default_instance());
  339. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  340. ArmedSharkLotteryHistory_descriptor_, &ArmedSharkLotteryHistory::default_instance());
  341. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  342. packetc2l_get_armedshark_palace_info_descriptor_, &packetc2l_get_armedshark_palace_info::default_instance());
  343. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  344. packetl2c_get_armedshark_palace_info_result_descriptor_, &packetl2c_get_armedshark_palace_info_result::default_instance());
  345. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  346. packetc2l_get_armedshark_getHistoryList_descriptor_, &packetc2l_get_armedshark_getHistoryList::default_instance());
  347. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  348. packetl2c_get_armedshark_getHistoryList_result_descriptor_, &packetl2c_get_armedshark_getHistoryList_result::default_instance());
  349. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  350. packetc2l_armedshark_palace_call_bomb_aircraft_descriptor_, &packetc2l_armedshark_palace_call_bomb_aircraft::default_instance());
  351. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  352. packetl2c_armedshark_palace_call_bomb_aircraft_result_descriptor_, &packetl2c_armedshark_palace_call_bomb_aircraft_result::default_instance());
  353. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  354. packetc2l_armedshark_palace_execute_descriptor_, &packetc2l_armedshark_palace_execute::default_instance());
  355. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  356. packetl2c_armedshark_palace_execute_result_descriptor_, &packetl2c_armedshark_palace_execute_result::default_instance());
  357. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  358. packetc2l_armedshark_palace_lottery_descriptor_, &packetc2l_armedshark_palace_lottery::default_instance());
  359. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  360. packetl2c_armedshark_palace_lottery_result_descriptor_, &packetl2c_armedshark_palace_lottery_result::default_instance());
  361. }
  362. } // namespace
  363. void protobuf_ShutdownFile_fish_5farmedshark_5fpalace_2eproto() {
  364. delete ArmedSharkRankInfo::default_instance_;
  365. delete ArmedSharkRankInfo_reflection_;
  366. delete ArmedSharkCardTypeInfo::default_instance_;
  367. delete ArmedSharkCardTypeInfo_reflection_;
  368. delete ArmedSharkCardHistory::default_instance_;
  369. delete ArmedSharkCardHistory_reflection_;
  370. delete ArmedSharkLotteryHistory::default_instance_;
  371. delete ArmedSharkLotteryHistory_reflection_;
  372. delete packetc2l_get_armedshark_palace_info::default_instance_;
  373. delete packetc2l_get_armedshark_palace_info_reflection_;
  374. delete packetl2c_get_armedshark_palace_info_result::default_instance_;
  375. delete packetl2c_get_armedshark_palace_info_result_reflection_;
  376. delete packetc2l_get_armedshark_getHistoryList::default_instance_;
  377. delete packetc2l_get_armedshark_getHistoryList_reflection_;
  378. delete packetl2c_get_armedshark_getHistoryList_result::default_instance_;
  379. delete packetl2c_get_armedshark_getHistoryList_result_reflection_;
  380. delete packetc2l_armedshark_palace_call_bomb_aircraft::default_instance_;
  381. delete packetc2l_armedshark_palace_call_bomb_aircraft_reflection_;
  382. delete packetl2c_armedshark_palace_call_bomb_aircraft_result::default_instance_;
  383. delete packetl2c_armedshark_palace_call_bomb_aircraft_result_reflection_;
  384. delete packetc2l_armedshark_palace_execute::default_instance_;
  385. delete packetc2l_armedshark_palace_execute_reflection_;
  386. delete packetl2c_armedshark_palace_execute_result::default_instance_;
  387. delete packetl2c_armedshark_palace_execute_result_reflection_;
  388. delete packetc2l_armedshark_palace_lottery::default_instance_;
  389. delete packetc2l_armedshark_palace_lottery_reflection_;
  390. delete packetl2c_armedshark_palace_lottery_result::default_instance_;
  391. delete packetl2c_armedshark_palace_lottery_result_reflection_;
  392. }
  393. void protobuf_AddDesc_fish_5farmedshark_5fpalace_2eproto() {
  394. static bool already_here = false;
  395. if (already_here) return;
  396. already_here = true;
  397. GOOGLE_PROTOBUF_VERIFY_VERSION;
  398. ::fish_protocols::protobuf_AddDesc_fish_5fdef_2eproto();
  399. ::fish_protocols::protobuf_AddDesc_fish_5ftype_5fdef_2eproto();
  400. ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
  401. "\n\034fish_armedshark_palace.proto\022\016fish_pro"
  402. "tocols\032\016fish_def.proto\032\023fish_type_def.pr"
  403. "oto\"\227\001\n\022ArmedSharkRankInfo\022\020\n\010playerId\030\001"
  404. " \001(\005\022\020\n\010nickName\030\002 \001(\t\022\014\n\004rank\030\003 \001(\005\022\016\n\006"
  405. "headid\030\004 \001(\005\022\017\n\007frameid\030\005 \001(\005\022\026\n\016topScor"
  406. "eByCard\030\006 \001(\005\022\026\n\016topScoreByBomb\030\007 \001(\005\"\231\001"
  407. "\n\026ArmedSharkCardTypeInfo\022\r\n\005cards\030\001 \001(\005\022"
  408. "\020\n\010cardType\030\002 \001(\005\022\022\n\nbasePoints\030\003 \001(\005\022\020\n"
  409. "\010exPoints\030\004 \001(\005\022\022\n\ngiftPoints\030\005 \001(\005\022\025\n\rt"
  410. "opBombPoints\030\006 \001(\005\022\r\n\005count\030\007 \001(\005\"y\n\025Arm"
  411. "edSharkCardHistory\022\020\n\010nickName\030\001 \001(\t\022\016\n\006"
  412. "fishid\030\002 \001(\005\022\r\n\005cards\030\003 \001(\005\022\020\n\010cardtype\030"
  413. "\004 \001(\005\022\016\n\006points\030\005 \001(\005\022\r\n\005count\030\006 \001(\005\"I\n\030"
  414. "ArmedSharkLotteryHistory\022\020\n\010nickName\030\001 \001"
  415. "(\t\022\r\n\005keyId\030\002 \001(\005\022\014\n\004gold\030\003 \001(\005\"\202\001\n$pack"
  416. "etc2l_get_armedshark_palace_info\022Z\n\tpack"
  417. "et_id\030\001 \001(\0162!.fish_protocols.e_server_ms"
  418. "g_type:$e_mst_c2l_get_armedshark_palace_"
  419. "info\"\312\002\n+packetl2c_get_armedshark_palace"
  420. "_info_result\022a\n\tpacket_id\030\001 \001(\0162!.fish_p"
  421. "rotocols.e_server_msg_type:+e_mst_l2c_ge"
  422. "t_armedshark_palace_info_result\0227\n\013curRa"
  423. "nkList\030\002 \003(\0132\".fish_protocols.ArmedShark"
  424. "RankInfo\022@\n\020dailyTopCardInfo\030\003 \001(\0132&.fis"
  425. "h_protocols.ArmedSharkCardTypeInfo\022\025\n\rmy"
  426. "ExcuteCount\030\004 \001(\005\022\026\n\016thresholdValue\030\005 \003("
  427. "\005\022\016\n\006myrank\030\006 \001(\005\"\226\001\n\'packetc2l_get_arme"
  428. "dshark_getHistoryList\022]\n\tpacket_id\030\001 \001(\016"
  429. "2!.fish_protocols.e_server_msg_type:\'e_m"
  430. "st_c2l_get_armedshark_getHistoryList\022\014\n\004"
  431. "type\030\002 \001(\005\"\251\002\n.packetl2c_get_armedshark_"
  432. "getHistoryList_result\022d\n\tpacket_id\030\001 \001(\016"
  433. "2!.fish_protocols.e_server_msg_type:.e_m"
  434. "st_l2c_get_armedshark_getHistoryList_res"
  435. "ult\022\014\n\004type\030\002 \001(\005\022A\n\022getCardHistoryList\030"
  436. "\003 \003(\0132%.fish_protocols.ArmedSharkCardHis"
  437. "tory\022@\n\016lotteryHistory\030\004 \003(\0132(.fish_prot"
  438. "ocols.ArmedSharkLotteryHistory\"\312\001\n.packe"
  439. "tc2l_armedshark_palace_call_bomb_aircraf"
  440. "t\022d\n\tpacket_id\030\001 \001(\0162!.fish_protocols.e_"
  441. "server_msg_type:.e_mst_c2l_armedshark_pa"
  442. "lace_call_bomb_aircraft\022\020\n\010callType\030\002 \001("
  443. "\005\022\020\n\010bombType\030\003 \001(\005\022\016\n\006fishid\030\004 \003(\005\"\256\002\n5"
  444. "packetl2c_armedshark_palace_call_bomb_ai"
  445. "rcraft_result\022k\n\tpacket_id\030\001 \001(\0162!.fish_"
  446. "protocols.e_server_msg_type:5e_mst_l2c_a"
  447. "rmedshark_palace_call_bomb_aircraft_resu"
  448. "lt\022\016\n\006result\030\002 \001(\005\022\020\n\010callType\030\003 \001(\005\022\020\n\010"
  449. "bombType\030\004 \001(\005\022\020\n\010playerId\030\005 \001(\005\022\017\n\007fish"
  450. "Ids\030\006 \003(\005\022\016\n\006points\030\007 \001(\005\022\022\n\ngiftpoints\030"
  451. "\010 \001(\005\022\r\n\005score\030\t \001(\005\"\200\001\n#packetc2l_armed"
  452. "shark_palace_execute\022Y\n\tpacket_id\030\001 \001(\0162"
  453. "!.fish_protocols.e_server_msg_type:#e_ms"
  454. "t_c2l_armedshark_palace_execute\"\320\001\n*pack"
  455. "etl2c_armedshark_palace_execute_result\022`"
  456. "\n\tpacket_id\030\001 \001(\0162!.fish_protocols.e_ser"
  457. "ver_msg_type:*e_mst_l2c_armedshark_palac"
  458. "e_execute_result\022\016\n\006result\030\002 \001(\005\022\020\n\010play"
  459. "erId\030\003 \001(\005\022\017\n\007fishIds\030\004 \003(\005\022\r\n\005score\030\005 \001"
  460. "(\005\"\217\001\n#packetc2l_armedshark_palace_lotte"
  461. "ry\022Y\n\tpacket_id\030\001 \001(\0162!.fish_protocols.e"
  462. "_server_msg_type:#e_mst_c2l_armedshark_p"
  463. "alace_lottery\022\r\n\005keyId\030\002 \001(\005\"\317\001\n*packetl"
  464. "2c_armedshark_palace_lottery_result\022`\n\tp"
  465. "acket_id\030\001 \001(\0162!.fish_protocols.e_server"
  466. "_msg_type:*e_mst_l2c_armedshark_palace_l"
  467. "ottery_result\022\016\n\006result\030\002 \001(\005\022\r\n\005keyId\030\003"
  468. " \001(\005\022\014\n\004gold\030\004 \001(\005\022\022\n\ncurJackpot\030\005 \001(\005", 2718);
  469. ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
  470. "fish_armedshark_palace.proto", &protobuf_RegisterTypes);
  471. ArmedSharkRankInfo::default_instance_ = new ArmedSharkRankInfo();
  472. ArmedSharkCardTypeInfo::default_instance_ = new ArmedSharkCardTypeInfo();
  473. ArmedSharkCardHistory::default_instance_ = new ArmedSharkCardHistory();
  474. ArmedSharkLotteryHistory::default_instance_ = new ArmedSharkLotteryHistory();
  475. packetc2l_get_armedshark_palace_info::default_instance_ = new packetc2l_get_armedshark_palace_info();
  476. packetl2c_get_armedshark_palace_info_result::default_instance_ = new packetl2c_get_armedshark_palace_info_result();
  477. packetc2l_get_armedshark_getHistoryList::default_instance_ = new packetc2l_get_armedshark_getHistoryList();
  478. packetl2c_get_armedshark_getHistoryList_result::default_instance_ = new packetl2c_get_armedshark_getHistoryList_result();
  479. packetc2l_armedshark_palace_call_bomb_aircraft::default_instance_ = new packetc2l_armedshark_palace_call_bomb_aircraft();
  480. packetl2c_armedshark_palace_call_bomb_aircraft_result::default_instance_ = new packetl2c_armedshark_palace_call_bomb_aircraft_result();
  481. packetc2l_armedshark_palace_execute::default_instance_ = new packetc2l_armedshark_palace_execute();
  482. packetl2c_armedshark_palace_execute_result::default_instance_ = new packetl2c_armedshark_palace_execute_result();
  483. packetc2l_armedshark_palace_lottery::default_instance_ = new packetc2l_armedshark_palace_lottery();
  484. packetl2c_armedshark_palace_lottery_result::default_instance_ = new packetl2c_armedshark_palace_lottery_result();
  485. ArmedSharkRankInfo::default_instance_->InitAsDefaultInstance();
  486. ArmedSharkCardTypeInfo::default_instance_->InitAsDefaultInstance();
  487. ArmedSharkCardHistory::default_instance_->InitAsDefaultInstance();
  488. ArmedSharkLotteryHistory::default_instance_->InitAsDefaultInstance();
  489. packetc2l_get_armedshark_palace_info::default_instance_->InitAsDefaultInstance();
  490. packetl2c_get_armedshark_palace_info_result::default_instance_->InitAsDefaultInstance();
  491. packetc2l_get_armedshark_getHistoryList::default_instance_->InitAsDefaultInstance();
  492. packetl2c_get_armedshark_getHistoryList_result::default_instance_->InitAsDefaultInstance();
  493. packetc2l_armedshark_palace_call_bomb_aircraft::default_instance_->InitAsDefaultInstance();
  494. packetl2c_armedshark_palace_call_bomb_aircraft_result::default_instance_->InitAsDefaultInstance();
  495. packetc2l_armedshark_palace_execute::default_instance_->InitAsDefaultInstance();
  496. packetl2c_armedshark_palace_execute_result::default_instance_->InitAsDefaultInstance();
  497. packetc2l_armedshark_palace_lottery::default_instance_->InitAsDefaultInstance();
  498. packetl2c_armedshark_palace_lottery_result::default_instance_->InitAsDefaultInstance();
  499. ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_fish_5farmedshark_5fpalace_2eproto);
  500. }
  501. // Force AddDescriptors() to be called at static initialization time.
  502. struct StaticDescriptorInitializer_fish_5farmedshark_5fpalace_2eproto {
  503. StaticDescriptorInitializer_fish_5farmedshark_5fpalace_2eproto() {
  504. protobuf_AddDesc_fish_5farmedshark_5fpalace_2eproto();
  505. }
  506. } static_descriptor_initializer_fish_5farmedshark_5fpalace_2eproto_;
  507. // ===================================================================
  508. #ifndef _MSC_VER
  509. const int ArmedSharkRankInfo::kPlayerIdFieldNumber;
  510. const int ArmedSharkRankInfo::kNickNameFieldNumber;
  511. const int ArmedSharkRankInfo::kRankFieldNumber;
  512. const int ArmedSharkRankInfo::kHeadidFieldNumber;
  513. const int ArmedSharkRankInfo::kFrameidFieldNumber;
  514. const int ArmedSharkRankInfo::kTopScoreByCardFieldNumber;
  515. const int ArmedSharkRankInfo::kTopScoreByBombFieldNumber;
  516. #endif // !_MSC_VER
  517. ArmedSharkRankInfo::ArmedSharkRankInfo()
  518. : ::google::protobuf::Message() {
  519. SharedCtor();
  520. }
  521. void ArmedSharkRankInfo::InitAsDefaultInstance() {
  522. }
  523. ArmedSharkRankInfo::ArmedSharkRankInfo(const ArmedSharkRankInfo& from)
  524. : ::google::protobuf::Message() {
  525. SharedCtor();
  526. MergeFrom(from);
  527. }
  528. void ArmedSharkRankInfo::SharedCtor() {
  529. _cached_size_ = 0;
  530. playerid_ = 0;
  531. nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  532. rank_ = 0;
  533. headid_ = 0;
  534. frameid_ = 0;
  535. topscorebycard_ = 0;
  536. topscorebybomb_ = 0;
  537. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  538. }
  539. ArmedSharkRankInfo::~ArmedSharkRankInfo() {
  540. SharedDtor();
  541. }
  542. void ArmedSharkRankInfo::SharedDtor() {
  543. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  544. delete nickname_;
  545. }
  546. if (this != default_instance_) {
  547. }
  548. }
  549. void ArmedSharkRankInfo::SetCachedSize(int size) const {
  550. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  551. _cached_size_ = size;
  552. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  553. }
  554. const ::google::protobuf::Descriptor* ArmedSharkRankInfo::descriptor() {
  555. protobuf_AssignDescriptorsOnce();
  556. return ArmedSharkRankInfo_descriptor_;
  557. }
  558. const ArmedSharkRankInfo& ArmedSharkRankInfo::default_instance() {
  559. if (default_instance_ == NULL) protobuf_AddDesc_fish_5farmedshark_5fpalace_2eproto();
  560. return *default_instance_;
  561. }
  562. ArmedSharkRankInfo* ArmedSharkRankInfo::default_instance_ = NULL;
  563. ArmedSharkRankInfo* ArmedSharkRankInfo::New() const {
  564. return new ArmedSharkRankInfo;
  565. }
  566. void ArmedSharkRankInfo::Clear() {
  567. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  568. playerid_ = 0;
  569. if (has_nickname()) {
  570. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  571. nickname_->clear();
  572. }
  573. }
  574. rank_ = 0;
  575. headid_ = 0;
  576. frameid_ = 0;
  577. topscorebycard_ = 0;
  578. topscorebybomb_ = 0;
  579. }
  580. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  581. mutable_unknown_fields()->Clear();
  582. }
  583. bool ArmedSharkRankInfo::MergePartialFromCodedStream(
  584. ::google::protobuf::io::CodedInputStream* input) {
  585. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  586. ::google::protobuf::uint32 tag;
  587. while ((tag = input->ReadTag()) != 0) {
  588. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  589. // optional int32 playerId = 1;
  590. case 1: {
  591. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  592. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  593. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  594. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  595. input, &playerid_)));
  596. set_has_playerid();
  597. } else {
  598. goto handle_uninterpreted;
  599. }
  600. if (input->ExpectTag(18)) goto parse_nickName;
  601. break;
  602. }
  603. // optional string nickName = 2;
  604. case 2: {
  605. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  606. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  607. parse_nickName:
  608. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  609. input, this->mutable_nickname()));
  610. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  611. this->nickname().data(), this->nickname().length(),
  612. ::google::protobuf::internal::WireFormat::PARSE);
  613. } else {
  614. goto handle_uninterpreted;
  615. }
  616. if (input->ExpectTag(24)) goto parse_rank;
  617. break;
  618. }
  619. // optional int32 rank = 3;
  620. case 3: {
  621. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  622. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  623. parse_rank:
  624. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  625. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  626. input, &rank_)));
  627. set_has_rank();
  628. } else {
  629. goto handle_uninterpreted;
  630. }
  631. if (input->ExpectTag(32)) goto parse_headid;
  632. break;
  633. }
  634. // optional int32 headid = 4;
  635. case 4: {
  636. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  637. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  638. parse_headid:
  639. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  640. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  641. input, &headid_)));
  642. set_has_headid();
  643. } else {
  644. goto handle_uninterpreted;
  645. }
  646. if (input->ExpectTag(40)) goto parse_frameid;
  647. break;
  648. }
  649. // optional int32 frameid = 5;
  650. case 5: {
  651. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  652. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  653. parse_frameid:
  654. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  655. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  656. input, &frameid_)));
  657. set_has_frameid();
  658. } else {
  659. goto handle_uninterpreted;
  660. }
  661. if (input->ExpectTag(48)) goto parse_topScoreByCard;
  662. break;
  663. }
  664. // optional int32 topScoreByCard = 6;
  665. case 6: {
  666. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  667. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  668. parse_topScoreByCard:
  669. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  670. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  671. input, &topscorebycard_)));
  672. set_has_topscorebycard();
  673. } else {
  674. goto handle_uninterpreted;
  675. }
  676. if (input->ExpectTag(56)) goto parse_topScoreByBomb;
  677. break;
  678. }
  679. // optional int32 topScoreByBomb = 7;
  680. case 7: {
  681. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  682. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  683. parse_topScoreByBomb:
  684. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  685. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  686. input, &topscorebybomb_)));
  687. set_has_topscorebybomb();
  688. } else {
  689. goto handle_uninterpreted;
  690. }
  691. if (input->ExpectAtEnd()) return true;
  692. break;
  693. }
  694. default: {
  695. handle_uninterpreted:
  696. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  697. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  698. return true;
  699. }
  700. DO_(::google::protobuf::internal::WireFormat::SkipField(
  701. input, tag, mutable_unknown_fields()));
  702. break;
  703. }
  704. }
  705. }
  706. return true;
  707. #undef DO_
  708. }
  709. void ArmedSharkRankInfo::SerializeWithCachedSizes(
  710. ::google::protobuf::io::CodedOutputStream* output) const {
  711. // optional int32 playerId = 1;
  712. if (has_playerid()) {
  713. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->playerid(), output);
  714. }
  715. // optional string nickName = 2;
  716. if (has_nickname()) {
  717. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  718. this->nickname().data(), this->nickname().length(),
  719. ::google::protobuf::internal::WireFormat::SERIALIZE);
  720. ::google::protobuf::internal::WireFormatLite::WriteString(
  721. 2, this->nickname(), output);
  722. }
  723. // optional int32 rank = 3;
  724. if (has_rank()) {
  725. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->rank(), output);
  726. }
  727. // optional int32 headid = 4;
  728. if (has_headid()) {
  729. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->headid(), output);
  730. }
  731. // optional int32 frameid = 5;
  732. if (has_frameid()) {
  733. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->frameid(), output);
  734. }
  735. // optional int32 topScoreByCard = 6;
  736. if (has_topscorebycard()) {
  737. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->topscorebycard(), output);
  738. }
  739. // optional int32 topScoreByBomb = 7;
  740. if (has_topscorebybomb()) {
  741. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->topscorebybomb(), output);
  742. }
  743. if (!unknown_fields().empty()) {
  744. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  745. unknown_fields(), output);
  746. }
  747. }
  748. ::google::protobuf::uint8* ArmedSharkRankInfo::SerializeWithCachedSizesToArray(
  749. ::google::protobuf::uint8* target) const {
  750. // optional int32 playerId = 1;
  751. if (has_playerid()) {
  752. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->playerid(), target);
  753. }
  754. // optional string nickName = 2;
  755. if (has_nickname()) {
  756. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  757. this->nickname().data(), this->nickname().length(),
  758. ::google::protobuf::internal::WireFormat::SERIALIZE);
  759. target =
  760. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  761. 2, this->nickname(), target);
  762. }
  763. // optional int32 rank = 3;
  764. if (has_rank()) {
  765. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->rank(), target);
  766. }
  767. // optional int32 headid = 4;
  768. if (has_headid()) {
  769. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->headid(), target);
  770. }
  771. // optional int32 frameid = 5;
  772. if (has_frameid()) {
  773. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->frameid(), target);
  774. }
  775. // optional int32 topScoreByCard = 6;
  776. if (has_topscorebycard()) {
  777. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->topscorebycard(), target);
  778. }
  779. // optional int32 topScoreByBomb = 7;
  780. if (has_topscorebybomb()) {
  781. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->topscorebybomb(), target);
  782. }
  783. if (!unknown_fields().empty()) {
  784. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  785. unknown_fields(), target);
  786. }
  787. return target;
  788. }
  789. int ArmedSharkRankInfo::ByteSize() const {
  790. int total_size = 0;
  791. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  792. // optional int32 playerId = 1;
  793. if (has_playerid()) {
  794. total_size += 1 +
  795. ::google::protobuf::internal::WireFormatLite::Int32Size(
  796. this->playerid());
  797. }
  798. // optional string nickName = 2;
  799. if (has_nickname()) {
  800. total_size += 1 +
  801. ::google::protobuf::internal::WireFormatLite::StringSize(
  802. this->nickname());
  803. }
  804. // optional int32 rank = 3;
  805. if (has_rank()) {
  806. total_size += 1 +
  807. ::google::protobuf::internal::WireFormatLite::Int32Size(
  808. this->rank());
  809. }
  810. // optional int32 headid = 4;
  811. if (has_headid()) {
  812. total_size += 1 +
  813. ::google::protobuf::internal::WireFormatLite::Int32Size(
  814. this->headid());
  815. }
  816. // optional int32 frameid = 5;
  817. if (has_frameid()) {
  818. total_size += 1 +
  819. ::google::protobuf::internal::WireFormatLite::Int32Size(
  820. this->frameid());
  821. }
  822. // optional int32 topScoreByCard = 6;
  823. if (has_topscorebycard()) {
  824. total_size += 1 +
  825. ::google::protobuf::internal::WireFormatLite::Int32Size(
  826. this->topscorebycard());
  827. }
  828. // optional int32 topScoreByBomb = 7;
  829. if (has_topscorebybomb()) {
  830. total_size += 1 +
  831. ::google::protobuf::internal::WireFormatLite::Int32Size(
  832. this->topscorebybomb());
  833. }
  834. }
  835. if (!unknown_fields().empty()) {
  836. total_size +=
  837. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  838. unknown_fields());
  839. }
  840. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  841. _cached_size_ = total_size;
  842. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  843. return total_size;
  844. }
  845. void ArmedSharkRankInfo::MergeFrom(const ::google::protobuf::Message& from) {
  846. GOOGLE_CHECK_NE(&from, this);
  847. const ArmedSharkRankInfo* source =
  848. ::google::protobuf::internal::dynamic_cast_if_available<const ArmedSharkRankInfo*>(
  849. &from);
  850. if (source == NULL) {
  851. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  852. } else {
  853. MergeFrom(*source);
  854. }
  855. }
  856. void ArmedSharkRankInfo::MergeFrom(const ArmedSharkRankInfo& from) {
  857. GOOGLE_CHECK_NE(&from, this);
  858. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  859. if (from.has_playerid()) {
  860. set_playerid(from.playerid());
  861. }
  862. if (from.has_nickname()) {
  863. set_nickname(from.nickname());
  864. }
  865. if (from.has_rank()) {
  866. set_rank(from.rank());
  867. }
  868. if (from.has_headid()) {
  869. set_headid(from.headid());
  870. }
  871. if (from.has_frameid()) {
  872. set_frameid(from.frameid());
  873. }
  874. if (from.has_topscorebycard()) {
  875. set_topscorebycard(from.topscorebycard());
  876. }
  877. if (from.has_topscorebybomb()) {
  878. set_topscorebybomb(from.topscorebybomb());
  879. }
  880. }
  881. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  882. }
  883. void ArmedSharkRankInfo::CopyFrom(const ::google::protobuf::Message& from) {
  884. if (&from == this) return;
  885. Clear();
  886. MergeFrom(from);
  887. }
  888. void ArmedSharkRankInfo::CopyFrom(const ArmedSharkRankInfo& from) {
  889. if (&from == this) return;
  890. Clear();
  891. MergeFrom(from);
  892. }
  893. bool ArmedSharkRankInfo::IsInitialized() const {
  894. return true;
  895. }
  896. void ArmedSharkRankInfo::Swap(ArmedSharkRankInfo* other) {
  897. if (other != this) {
  898. std::swap(playerid_, other->playerid_);
  899. std::swap(nickname_, other->nickname_);
  900. std::swap(rank_, other->rank_);
  901. std::swap(headid_, other->headid_);
  902. std::swap(frameid_, other->frameid_);
  903. std::swap(topscorebycard_, other->topscorebycard_);
  904. std::swap(topscorebybomb_, other->topscorebybomb_);
  905. std::swap(_has_bits_[0], other->_has_bits_[0]);
  906. _unknown_fields_.Swap(&other->_unknown_fields_);
  907. std::swap(_cached_size_, other->_cached_size_);
  908. }
  909. }
  910. ::google::protobuf::Metadata ArmedSharkRankInfo::GetMetadata() const {
  911. protobuf_AssignDescriptorsOnce();
  912. ::google::protobuf::Metadata metadata;
  913. metadata.descriptor = ArmedSharkRankInfo_descriptor_;
  914. metadata.reflection = ArmedSharkRankInfo_reflection_;
  915. return metadata;
  916. }
  917. // ===================================================================
  918. #ifndef _MSC_VER
  919. const int ArmedSharkCardTypeInfo::kCardsFieldNumber;
  920. const int ArmedSharkCardTypeInfo::kCardTypeFieldNumber;
  921. const int ArmedSharkCardTypeInfo::kBasePointsFieldNumber;
  922. const int ArmedSharkCardTypeInfo::kExPointsFieldNumber;
  923. const int ArmedSharkCardTypeInfo::kGiftPointsFieldNumber;
  924. const int ArmedSharkCardTypeInfo::kTopBombPointsFieldNumber;
  925. const int ArmedSharkCardTypeInfo::kCountFieldNumber;
  926. #endif // !_MSC_VER
  927. ArmedSharkCardTypeInfo::ArmedSharkCardTypeInfo()
  928. : ::google::protobuf::Message() {
  929. SharedCtor();
  930. }
  931. void ArmedSharkCardTypeInfo::InitAsDefaultInstance() {
  932. }
  933. ArmedSharkCardTypeInfo::ArmedSharkCardTypeInfo(const ArmedSharkCardTypeInfo& from)
  934. : ::google::protobuf::Message() {
  935. SharedCtor();
  936. MergeFrom(from);
  937. }
  938. void ArmedSharkCardTypeInfo::SharedCtor() {
  939. _cached_size_ = 0;
  940. cards_ = 0;
  941. cardtype_ = 0;
  942. basepoints_ = 0;
  943. expoints_ = 0;
  944. giftpoints_ = 0;
  945. topbombpoints_ = 0;
  946. count_ = 0;
  947. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  948. }
  949. ArmedSharkCardTypeInfo::~ArmedSharkCardTypeInfo() {
  950. SharedDtor();
  951. }
  952. void ArmedSharkCardTypeInfo::SharedDtor() {
  953. if (this != default_instance_) {
  954. }
  955. }
  956. void ArmedSharkCardTypeInfo::SetCachedSize(int size) const {
  957. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  958. _cached_size_ = size;
  959. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  960. }
  961. const ::google::protobuf::Descriptor* ArmedSharkCardTypeInfo::descriptor() {
  962. protobuf_AssignDescriptorsOnce();
  963. return ArmedSharkCardTypeInfo_descriptor_;
  964. }
  965. const ArmedSharkCardTypeInfo& ArmedSharkCardTypeInfo::default_instance() {
  966. if (default_instance_ == NULL) protobuf_AddDesc_fish_5farmedshark_5fpalace_2eproto();
  967. return *default_instance_;
  968. }
  969. ArmedSharkCardTypeInfo* ArmedSharkCardTypeInfo::default_instance_ = NULL;
  970. ArmedSharkCardTypeInfo* ArmedSharkCardTypeInfo::New() const {
  971. return new ArmedSharkCardTypeInfo;
  972. }
  973. void ArmedSharkCardTypeInfo::Clear() {
  974. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  975. cards_ = 0;
  976. cardtype_ = 0;
  977. basepoints_ = 0;
  978. expoints_ = 0;
  979. giftpoints_ = 0;
  980. topbombpoints_ = 0;
  981. count_ = 0;
  982. }
  983. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  984. mutable_unknown_fields()->Clear();
  985. }
  986. bool ArmedSharkCardTypeInfo::MergePartialFromCodedStream(
  987. ::google::protobuf::io::CodedInputStream* input) {
  988. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  989. ::google::protobuf::uint32 tag;
  990. while ((tag = input->ReadTag()) != 0) {
  991. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  992. // optional int32 cards = 1;
  993. case 1: {
  994. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  995. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  996. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  997. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  998. input, &cards_)));
  999. set_has_cards();
  1000. } else {
  1001. goto handle_uninterpreted;
  1002. }
  1003. if (input->ExpectTag(16)) goto parse_cardType;
  1004. break;
  1005. }
  1006. // optional int32 cardType = 2;
  1007. case 2: {
  1008. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1009. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1010. parse_cardType:
  1011. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1012. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1013. input, &cardtype_)));
  1014. set_has_cardtype();
  1015. } else {
  1016. goto handle_uninterpreted;
  1017. }
  1018. if (input->ExpectTag(24)) goto parse_basePoints;
  1019. break;
  1020. }
  1021. // optional int32 basePoints = 3;
  1022. case 3: {
  1023. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1024. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1025. parse_basePoints:
  1026. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1027. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1028. input, &basepoints_)));
  1029. set_has_basepoints();
  1030. } else {
  1031. goto handle_uninterpreted;
  1032. }
  1033. if (input->ExpectTag(32)) goto parse_exPoints;
  1034. break;
  1035. }
  1036. // optional int32 exPoints = 4;
  1037. case 4: {
  1038. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1039. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1040. parse_exPoints:
  1041. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1042. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1043. input, &expoints_)));
  1044. set_has_expoints();
  1045. } else {
  1046. goto handle_uninterpreted;
  1047. }
  1048. if (input->ExpectTag(40)) goto parse_giftPoints;
  1049. break;
  1050. }
  1051. // optional int32 giftPoints = 5;
  1052. case 5: {
  1053. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1054. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1055. parse_giftPoints:
  1056. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1057. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1058. input, &giftpoints_)));
  1059. set_has_giftpoints();
  1060. } else {
  1061. goto handle_uninterpreted;
  1062. }
  1063. if (input->ExpectTag(48)) goto parse_topBombPoints;
  1064. break;
  1065. }
  1066. // optional int32 topBombPoints = 6;
  1067. case 6: {
  1068. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1069. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1070. parse_topBombPoints:
  1071. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1072. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1073. input, &topbombpoints_)));
  1074. set_has_topbombpoints();
  1075. } else {
  1076. goto handle_uninterpreted;
  1077. }
  1078. if (input->ExpectTag(56)) goto parse_count;
  1079. break;
  1080. }
  1081. // optional int32 count = 7;
  1082. case 7: {
  1083. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1084. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1085. parse_count:
  1086. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1087. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1088. input, &count_)));
  1089. set_has_count();
  1090. } else {
  1091. goto handle_uninterpreted;
  1092. }
  1093. if (input->ExpectAtEnd()) return true;
  1094. break;
  1095. }
  1096. default: {
  1097. handle_uninterpreted:
  1098. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1099. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  1100. return true;
  1101. }
  1102. DO_(::google::protobuf::internal::WireFormat::SkipField(
  1103. input, tag, mutable_unknown_fields()));
  1104. break;
  1105. }
  1106. }
  1107. }
  1108. return true;
  1109. #undef DO_
  1110. }
  1111. void ArmedSharkCardTypeInfo::SerializeWithCachedSizes(
  1112. ::google::protobuf::io::CodedOutputStream* output) const {
  1113. // optional int32 cards = 1;
  1114. if (has_cards()) {
  1115. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->cards(), output);
  1116. }
  1117. // optional int32 cardType = 2;
  1118. if (has_cardtype()) {
  1119. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->cardtype(), output);
  1120. }
  1121. // optional int32 basePoints = 3;
  1122. if (has_basepoints()) {
  1123. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->basepoints(), output);
  1124. }
  1125. // optional int32 exPoints = 4;
  1126. if (has_expoints()) {
  1127. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->expoints(), output);
  1128. }
  1129. // optional int32 giftPoints = 5;
  1130. if (has_giftpoints()) {
  1131. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->giftpoints(), output);
  1132. }
  1133. // optional int32 topBombPoints = 6;
  1134. if (has_topbombpoints()) {
  1135. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->topbombpoints(), output);
  1136. }
  1137. // optional int32 count = 7;
  1138. if (has_count()) {
  1139. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->count(), output);
  1140. }
  1141. if (!unknown_fields().empty()) {
  1142. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  1143. unknown_fields(), output);
  1144. }
  1145. }
  1146. ::google::protobuf::uint8* ArmedSharkCardTypeInfo::SerializeWithCachedSizesToArray(
  1147. ::google::protobuf::uint8* target) const {
  1148. // optional int32 cards = 1;
  1149. if (has_cards()) {
  1150. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->cards(), target);
  1151. }
  1152. // optional int32 cardType = 2;
  1153. if (has_cardtype()) {
  1154. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->cardtype(), target);
  1155. }
  1156. // optional int32 basePoints = 3;
  1157. if (has_basepoints()) {
  1158. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->basepoints(), target);
  1159. }
  1160. // optional int32 exPoints = 4;
  1161. if (has_expoints()) {
  1162. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->expoints(), target);
  1163. }
  1164. // optional int32 giftPoints = 5;
  1165. if (has_giftpoints()) {
  1166. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->giftpoints(), target);
  1167. }
  1168. // optional int32 topBombPoints = 6;
  1169. if (has_topbombpoints()) {
  1170. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->topbombpoints(), target);
  1171. }
  1172. // optional int32 count = 7;
  1173. if (has_count()) {
  1174. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->count(), target);
  1175. }
  1176. if (!unknown_fields().empty()) {
  1177. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  1178. unknown_fields(), target);
  1179. }
  1180. return target;
  1181. }
  1182. int ArmedSharkCardTypeInfo::ByteSize() const {
  1183. int total_size = 0;
  1184. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1185. // optional int32 cards = 1;
  1186. if (has_cards()) {
  1187. total_size += 1 +
  1188. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1189. this->cards());
  1190. }
  1191. // optional int32 cardType = 2;
  1192. if (has_cardtype()) {
  1193. total_size += 1 +
  1194. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1195. this->cardtype());
  1196. }
  1197. // optional int32 basePoints = 3;
  1198. if (has_basepoints()) {
  1199. total_size += 1 +
  1200. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1201. this->basepoints());
  1202. }
  1203. // optional int32 exPoints = 4;
  1204. if (has_expoints()) {
  1205. total_size += 1 +
  1206. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1207. this->expoints());
  1208. }
  1209. // optional int32 giftPoints = 5;
  1210. if (has_giftpoints()) {
  1211. total_size += 1 +
  1212. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1213. this->giftpoints());
  1214. }
  1215. // optional int32 topBombPoints = 6;
  1216. if (has_topbombpoints()) {
  1217. total_size += 1 +
  1218. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1219. this->topbombpoints());
  1220. }
  1221. // optional int32 count = 7;
  1222. if (has_count()) {
  1223. total_size += 1 +
  1224. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1225. this->count());
  1226. }
  1227. }
  1228. if (!unknown_fields().empty()) {
  1229. total_size +=
  1230. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  1231. unknown_fields());
  1232. }
  1233. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1234. _cached_size_ = total_size;
  1235. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1236. return total_size;
  1237. }
  1238. void ArmedSharkCardTypeInfo::MergeFrom(const ::google::protobuf::Message& from) {
  1239. GOOGLE_CHECK_NE(&from, this);
  1240. const ArmedSharkCardTypeInfo* source =
  1241. ::google::protobuf::internal::dynamic_cast_if_available<const ArmedSharkCardTypeInfo*>(
  1242. &from);
  1243. if (source == NULL) {
  1244. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  1245. } else {
  1246. MergeFrom(*source);
  1247. }
  1248. }
  1249. void ArmedSharkCardTypeInfo::MergeFrom(const ArmedSharkCardTypeInfo& from) {
  1250. GOOGLE_CHECK_NE(&from, this);
  1251. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1252. if (from.has_cards()) {
  1253. set_cards(from.cards());
  1254. }
  1255. if (from.has_cardtype()) {
  1256. set_cardtype(from.cardtype());
  1257. }
  1258. if (from.has_basepoints()) {
  1259. set_basepoints(from.basepoints());
  1260. }
  1261. if (from.has_expoints()) {
  1262. set_expoints(from.expoints());
  1263. }
  1264. if (from.has_giftpoints()) {
  1265. set_giftpoints(from.giftpoints());
  1266. }
  1267. if (from.has_topbombpoints()) {
  1268. set_topbombpoints(from.topbombpoints());
  1269. }
  1270. if (from.has_count()) {
  1271. set_count(from.count());
  1272. }
  1273. }
  1274. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  1275. }
  1276. void ArmedSharkCardTypeInfo::CopyFrom(const ::google::protobuf::Message& from) {
  1277. if (&from == this) return;
  1278. Clear();
  1279. MergeFrom(from);
  1280. }
  1281. void ArmedSharkCardTypeInfo::CopyFrom(const ArmedSharkCardTypeInfo& from) {
  1282. if (&from == this) return;
  1283. Clear();
  1284. MergeFrom(from);
  1285. }
  1286. bool ArmedSharkCardTypeInfo::IsInitialized() const {
  1287. return true;
  1288. }
  1289. void ArmedSharkCardTypeInfo::Swap(ArmedSharkCardTypeInfo* other) {
  1290. if (other != this) {
  1291. std::swap(cards_, other->cards_);
  1292. std::swap(cardtype_, other->cardtype_);
  1293. std::swap(basepoints_, other->basepoints_);
  1294. std::swap(expoints_, other->expoints_);
  1295. std::swap(giftpoints_, other->giftpoints_);
  1296. std::swap(topbombpoints_, other->topbombpoints_);
  1297. std::swap(count_, other->count_);
  1298. std::swap(_has_bits_[0], other->_has_bits_[0]);
  1299. _unknown_fields_.Swap(&other->_unknown_fields_);
  1300. std::swap(_cached_size_, other->_cached_size_);
  1301. }
  1302. }
  1303. ::google::protobuf::Metadata ArmedSharkCardTypeInfo::GetMetadata() const {
  1304. protobuf_AssignDescriptorsOnce();
  1305. ::google::protobuf::Metadata metadata;
  1306. metadata.descriptor = ArmedSharkCardTypeInfo_descriptor_;
  1307. metadata.reflection = ArmedSharkCardTypeInfo_reflection_;
  1308. return metadata;
  1309. }
  1310. // ===================================================================
  1311. #ifndef _MSC_VER
  1312. const int ArmedSharkCardHistory::kNickNameFieldNumber;
  1313. const int ArmedSharkCardHistory::kFishidFieldNumber;
  1314. const int ArmedSharkCardHistory::kCardsFieldNumber;
  1315. const int ArmedSharkCardHistory::kCardtypeFieldNumber;
  1316. const int ArmedSharkCardHistory::kPointsFieldNumber;
  1317. const int ArmedSharkCardHistory::kCountFieldNumber;
  1318. #endif // !_MSC_VER
  1319. ArmedSharkCardHistory::ArmedSharkCardHistory()
  1320. : ::google::protobuf::Message() {
  1321. SharedCtor();
  1322. }
  1323. void ArmedSharkCardHistory::InitAsDefaultInstance() {
  1324. }
  1325. ArmedSharkCardHistory::ArmedSharkCardHistory(const ArmedSharkCardHistory& from)
  1326. : ::google::protobuf::Message() {
  1327. SharedCtor();
  1328. MergeFrom(from);
  1329. }
  1330. void ArmedSharkCardHistory::SharedCtor() {
  1331. _cached_size_ = 0;
  1332. nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  1333. fishid_ = 0;
  1334. cards_ = 0;
  1335. cardtype_ = 0;
  1336. points_ = 0;
  1337. count_ = 0;
  1338. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1339. }
  1340. ArmedSharkCardHistory::~ArmedSharkCardHistory() {
  1341. SharedDtor();
  1342. }
  1343. void ArmedSharkCardHistory::SharedDtor() {
  1344. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  1345. delete nickname_;
  1346. }
  1347. if (this != default_instance_) {
  1348. }
  1349. }
  1350. void ArmedSharkCardHistory::SetCachedSize(int size) const {
  1351. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1352. _cached_size_ = size;
  1353. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1354. }
  1355. const ::google::protobuf::Descriptor* ArmedSharkCardHistory::descriptor() {
  1356. protobuf_AssignDescriptorsOnce();
  1357. return ArmedSharkCardHistory_descriptor_;
  1358. }
  1359. const ArmedSharkCardHistory& ArmedSharkCardHistory::default_instance() {
  1360. if (default_instance_ == NULL) protobuf_AddDesc_fish_5farmedshark_5fpalace_2eproto();
  1361. return *default_instance_;
  1362. }
  1363. ArmedSharkCardHistory* ArmedSharkCardHistory::default_instance_ = NULL;
  1364. ArmedSharkCardHistory* ArmedSharkCardHistory::New() const {
  1365. return new ArmedSharkCardHistory;
  1366. }
  1367. void ArmedSharkCardHistory::Clear() {
  1368. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1369. if (has_nickname()) {
  1370. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  1371. nickname_->clear();
  1372. }
  1373. }
  1374. fishid_ = 0;
  1375. cards_ = 0;
  1376. cardtype_ = 0;
  1377. points_ = 0;
  1378. count_ = 0;
  1379. }
  1380. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1381. mutable_unknown_fields()->Clear();
  1382. }
  1383. bool ArmedSharkCardHistory::MergePartialFromCodedStream(
  1384. ::google::protobuf::io::CodedInputStream* input) {
  1385. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  1386. ::google::protobuf::uint32 tag;
  1387. while ((tag = input->ReadTag()) != 0) {
  1388. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1389. // optional string nickName = 1;
  1390. case 1: {
  1391. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1392. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  1393. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1394. input, this->mutable_nickname()));
  1395. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  1396. this->nickname().data(), this->nickname().length(),
  1397. ::google::protobuf::internal::WireFormat::PARSE);
  1398. } else {
  1399. goto handle_uninterpreted;
  1400. }
  1401. if (input->ExpectTag(16)) goto parse_fishid;
  1402. break;
  1403. }
  1404. // optional int32 fishid = 2;
  1405. case 2: {
  1406. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1407. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1408. parse_fishid:
  1409. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1410. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1411. input, &fishid_)));
  1412. set_has_fishid();
  1413. } else {
  1414. goto handle_uninterpreted;
  1415. }
  1416. if (input->ExpectTag(24)) goto parse_cards;
  1417. break;
  1418. }
  1419. // optional int32 cards = 3;
  1420. case 3: {
  1421. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1422. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1423. parse_cards:
  1424. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1425. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1426. input, &cards_)));
  1427. set_has_cards();
  1428. } else {
  1429. goto handle_uninterpreted;
  1430. }
  1431. if (input->ExpectTag(32)) goto parse_cardtype;
  1432. break;
  1433. }
  1434. // optional int32 cardtype = 4;
  1435. case 4: {
  1436. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1437. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1438. parse_cardtype:
  1439. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1440. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1441. input, &cardtype_)));
  1442. set_has_cardtype();
  1443. } else {
  1444. goto handle_uninterpreted;
  1445. }
  1446. if (input->ExpectTag(40)) goto parse_points;
  1447. break;
  1448. }
  1449. // optional int32 points = 5;
  1450. case 5: {
  1451. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1452. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1453. parse_points:
  1454. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1455. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1456. input, &points_)));
  1457. set_has_points();
  1458. } else {
  1459. goto handle_uninterpreted;
  1460. }
  1461. if (input->ExpectTag(48)) goto parse_count;
  1462. break;
  1463. }
  1464. // optional int32 count = 6;
  1465. case 6: {
  1466. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1467. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1468. parse_count:
  1469. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1470. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1471. input, &count_)));
  1472. set_has_count();
  1473. } else {
  1474. goto handle_uninterpreted;
  1475. }
  1476. if (input->ExpectAtEnd()) return true;
  1477. break;
  1478. }
  1479. default: {
  1480. handle_uninterpreted:
  1481. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1482. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  1483. return true;
  1484. }
  1485. DO_(::google::protobuf::internal::WireFormat::SkipField(
  1486. input, tag, mutable_unknown_fields()));
  1487. break;
  1488. }
  1489. }
  1490. }
  1491. return true;
  1492. #undef DO_
  1493. }
  1494. void ArmedSharkCardHistory::SerializeWithCachedSizes(
  1495. ::google::protobuf::io::CodedOutputStream* output) const {
  1496. // optional string nickName = 1;
  1497. if (has_nickname()) {
  1498. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  1499. this->nickname().data(), this->nickname().length(),
  1500. ::google::protobuf::internal::WireFormat::SERIALIZE);
  1501. ::google::protobuf::internal::WireFormatLite::WriteString(
  1502. 1, this->nickname(), output);
  1503. }
  1504. // optional int32 fishid = 2;
  1505. if (has_fishid()) {
  1506. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->fishid(), output);
  1507. }
  1508. // optional int32 cards = 3;
  1509. if (has_cards()) {
  1510. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->cards(), output);
  1511. }
  1512. // optional int32 cardtype = 4;
  1513. if (has_cardtype()) {
  1514. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->cardtype(), output);
  1515. }
  1516. // optional int32 points = 5;
  1517. if (has_points()) {
  1518. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->points(), output);
  1519. }
  1520. // optional int32 count = 6;
  1521. if (has_count()) {
  1522. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->count(), output);
  1523. }
  1524. if (!unknown_fields().empty()) {
  1525. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  1526. unknown_fields(), output);
  1527. }
  1528. }
  1529. ::google::protobuf::uint8* ArmedSharkCardHistory::SerializeWithCachedSizesToArray(
  1530. ::google::protobuf::uint8* target) const {
  1531. // optional string nickName = 1;
  1532. if (has_nickname()) {
  1533. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  1534. this->nickname().data(), this->nickname().length(),
  1535. ::google::protobuf::internal::WireFormat::SERIALIZE);
  1536. target =
  1537. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1538. 1, this->nickname(), target);
  1539. }
  1540. // optional int32 fishid = 2;
  1541. if (has_fishid()) {
  1542. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->fishid(), target);
  1543. }
  1544. // optional int32 cards = 3;
  1545. if (has_cards()) {
  1546. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->cards(), target);
  1547. }
  1548. // optional int32 cardtype = 4;
  1549. if (has_cardtype()) {
  1550. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->cardtype(), target);
  1551. }
  1552. // optional int32 points = 5;
  1553. if (has_points()) {
  1554. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->points(), target);
  1555. }
  1556. // optional int32 count = 6;
  1557. if (has_count()) {
  1558. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->count(), target);
  1559. }
  1560. if (!unknown_fields().empty()) {
  1561. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  1562. unknown_fields(), target);
  1563. }
  1564. return target;
  1565. }
  1566. int ArmedSharkCardHistory::ByteSize() const {
  1567. int total_size = 0;
  1568. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1569. // optional string nickName = 1;
  1570. if (has_nickname()) {
  1571. total_size += 1 +
  1572. ::google::protobuf::internal::WireFormatLite::StringSize(
  1573. this->nickname());
  1574. }
  1575. // optional int32 fishid = 2;
  1576. if (has_fishid()) {
  1577. total_size += 1 +
  1578. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1579. this->fishid());
  1580. }
  1581. // optional int32 cards = 3;
  1582. if (has_cards()) {
  1583. total_size += 1 +
  1584. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1585. this->cards());
  1586. }
  1587. // optional int32 cardtype = 4;
  1588. if (has_cardtype()) {
  1589. total_size += 1 +
  1590. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1591. this->cardtype());
  1592. }
  1593. // optional int32 points = 5;
  1594. if (has_points()) {
  1595. total_size += 1 +
  1596. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1597. this->points());
  1598. }
  1599. // optional int32 count = 6;
  1600. if (has_count()) {
  1601. total_size += 1 +
  1602. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1603. this->count());
  1604. }
  1605. }
  1606. if (!unknown_fields().empty()) {
  1607. total_size +=
  1608. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  1609. unknown_fields());
  1610. }
  1611. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1612. _cached_size_ = total_size;
  1613. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1614. return total_size;
  1615. }
  1616. void ArmedSharkCardHistory::MergeFrom(const ::google::protobuf::Message& from) {
  1617. GOOGLE_CHECK_NE(&from, this);
  1618. const ArmedSharkCardHistory* source =
  1619. ::google::protobuf::internal::dynamic_cast_if_available<const ArmedSharkCardHistory*>(
  1620. &from);
  1621. if (source == NULL) {
  1622. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  1623. } else {
  1624. MergeFrom(*source);
  1625. }
  1626. }
  1627. void ArmedSharkCardHistory::MergeFrom(const ArmedSharkCardHistory& from) {
  1628. GOOGLE_CHECK_NE(&from, this);
  1629. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1630. if (from.has_nickname()) {
  1631. set_nickname(from.nickname());
  1632. }
  1633. if (from.has_fishid()) {
  1634. set_fishid(from.fishid());
  1635. }
  1636. if (from.has_cards()) {
  1637. set_cards(from.cards());
  1638. }
  1639. if (from.has_cardtype()) {
  1640. set_cardtype(from.cardtype());
  1641. }
  1642. if (from.has_points()) {
  1643. set_points(from.points());
  1644. }
  1645. if (from.has_count()) {
  1646. set_count(from.count());
  1647. }
  1648. }
  1649. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  1650. }
  1651. void ArmedSharkCardHistory::CopyFrom(const ::google::protobuf::Message& from) {
  1652. if (&from == this) return;
  1653. Clear();
  1654. MergeFrom(from);
  1655. }
  1656. void ArmedSharkCardHistory::CopyFrom(const ArmedSharkCardHistory& from) {
  1657. if (&from == this) return;
  1658. Clear();
  1659. MergeFrom(from);
  1660. }
  1661. bool ArmedSharkCardHistory::IsInitialized() const {
  1662. return true;
  1663. }
  1664. void ArmedSharkCardHistory::Swap(ArmedSharkCardHistory* other) {
  1665. if (other != this) {
  1666. std::swap(nickname_, other->nickname_);
  1667. std::swap(fishid_, other->fishid_);
  1668. std::swap(cards_, other->cards_);
  1669. std::swap(cardtype_, other->cardtype_);
  1670. std::swap(points_, other->points_);
  1671. std::swap(count_, other->count_);
  1672. std::swap(_has_bits_[0], other->_has_bits_[0]);
  1673. _unknown_fields_.Swap(&other->_unknown_fields_);
  1674. std::swap(_cached_size_, other->_cached_size_);
  1675. }
  1676. }
  1677. ::google::protobuf::Metadata ArmedSharkCardHistory::GetMetadata() const {
  1678. protobuf_AssignDescriptorsOnce();
  1679. ::google::protobuf::Metadata metadata;
  1680. metadata.descriptor = ArmedSharkCardHistory_descriptor_;
  1681. metadata.reflection = ArmedSharkCardHistory_reflection_;
  1682. return metadata;
  1683. }
  1684. // ===================================================================
  1685. #ifndef _MSC_VER
  1686. const int ArmedSharkLotteryHistory::kNickNameFieldNumber;
  1687. const int ArmedSharkLotteryHistory::kKeyIdFieldNumber;
  1688. const int ArmedSharkLotteryHistory::kGoldFieldNumber;
  1689. #endif // !_MSC_VER
  1690. ArmedSharkLotteryHistory::ArmedSharkLotteryHistory()
  1691. : ::google::protobuf::Message() {
  1692. SharedCtor();
  1693. }
  1694. void ArmedSharkLotteryHistory::InitAsDefaultInstance() {
  1695. }
  1696. ArmedSharkLotteryHistory::ArmedSharkLotteryHistory(const ArmedSharkLotteryHistory& from)
  1697. : ::google::protobuf::Message() {
  1698. SharedCtor();
  1699. MergeFrom(from);
  1700. }
  1701. void ArmedSharkLotteryHistory::SharedCtor() {
  1702. _cached_size_ = 0;
  1703. nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  1704. keyid_ = 0;
  1705. gold_ = 0;
  1706. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1707. }
  1708. ArmedSharkLotteryHistory::~ArmedSharkLotteryHistory() {
  1709. SharedDtor();
  1710. }
  1711. void ArmedSharkLotteryHistory::SharedDtor() {
  1712. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  1713. delete nickname_;
  1714. }
  1715. if (this != default_instance_) {
  1716. }
  1717. }
  1718. void ArmedSharkLotteryHistory::SetCachedSize(int size) const {
  1719. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1720. _cached_size_ = size;
  1721. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1722. }
  1723. const ::google::protobuf::Descriptor* ArmedSharkLotteryHistory::descriptor() {
  1724. protobuf_AssignDescriptorsOnce();
  1725. return ArmedSharkLotteryHistory_descriptor_;
  1726. }
  1727. const ArmedSharkLotteryHistory& ArmedSharkLotteryHistory::default_instance() {
  1728. if (default_instance_ == NULL) protobuf_AddDesc_fish_5farmedshark_5fpalace_2eproto();
  1729. return *default_instance_;
  1730. }
  1731. ArmedSharkLotteryHistory* ArmedSharkLotteryHistory::default_instance_ = NULL;
  1732. ArmedSharkLotteryHistory* ArmedSharkLotteryHistory::New() const {
  1733. return new ArmedSharkLotteryHistory;
  1734. }
  1735. void ArmedSharkLotteryHistory::Clear() {
  1736. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1737. if (has_nickname()) {
  1738. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  1739. nickname_->clear();
  1740. }
  1741. }
  1742. keyid_ = 0;
  1743. gold_ = 0;
  1744. }
  1745. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1746. mutable_unknown_fields()->Clear();
  1747. }
  1748. bool ArmedSharkLotteryHistory::MergePartialFromCodedStream(
  1749. ::google::protobuf::io::CodedInputStream* input) {
  1750. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  1751. ::google::protobuf::uint32 tag;
  1752. while ((tag = input->ReadTag()) != 0) {
  1753. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1754. // optional string nickName = 1;
  1755. case 1: {
  1756. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1757. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  1758. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  1759. input, this->mutable_nickname()));
  1760. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  1761. this->nickname().data(), this->nickname().length(),
  1762. ::google::protobuf::internal::WireFormat::PARSE);
  1763. } else {
  1764. goto handle_uninterpreted;
  1765. }
  1766. if (input->ExpectTag(16)) goto parse_keyId;
  1767. break;
  1768. }
  1769. // optional int32 keyId = 2;
  1770. case 2: {
  1771. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1772. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1773. parse_keyId:
  1774. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1775. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1776. input, &keyid_)));
  1777. set_has_keyid();
  1778. } else {
  1779. goto handle_uninterpreted;
  1780. }
  1781. if (input->ExpectTag(24)) goto parse_gold;
  1782. break;
  1783. }
  1784. // optional int32 gold = 3;
  1785. case 3: {
  1786. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1787. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1788. parse_gold:
  1789. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1790. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1791. input, &gold_)));
  1792. set_has_gold();
  1793. } else {
  1794. goto handle_uninterpreted;
  1795. }
  1796. if (input->ExpectAtEnd()) return true;
  1797. break;
  1798. }
  1799. default: {
  1800. handle_uninterpreted:
  1801. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1802. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  1803. return true;
  1804. }
  1805. DO_(::google::protobuf::internal::WireFormat::SkipField(
  1806. input, tag, mutable_unknown_fields()));
  1807. break;
  1808. }
  1809. }
  1810. }
  1811. return true;
  1812. #undef DO_
  1813. }
  1814. void ArmedSharkLotteryHistory::SerializeWithCachedSizes(
  1815. ::google::protobuf::io::CodedOutputStream* output) const {
  1816. // optional string nickName = 1;
  1817. if (has_nickname()) {
  1818. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  1819. this->nickname().data(), this->nickname().length(),
  1820. ::google::protobuf::internal::WireFormat::SERIALIZE);
  1821. ::google::protobuf::internal::WireFormatLite::WriteString(
  1822. 1, this->nickname(), output);
  1823. }
  1824. // optional int32 keyId = 2;
  1825. if (has_keyid()) {
  1826. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->keyid(), output);
  1827. }
  1828. // optional int32 gold = 3;
  1829. if (has_gold()) {
  1830. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->gold(), output);
  1831. }
  1832. if (!unknown_fields().empty()) {
  1833. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  1834. unknown_fields(), output);
  1835. }
  1836. }
  1837. ::google::protobuf::uint8* ArmedSharkLotteryHistory::SerializeWithCachedSizesToArray(
  1838. ::google::protobuf::uint8* target) const {
  1839. // optional string nickName = 1;
  1840. if (has_nickname()) {
  1841. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  1842. this->nickname().data(), this->nickname().length(),
  1843. ::google::protobuf::internal::WireFormat::SERIALIZE);
  1844. target =
  1845. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1846. 1, this->nickname(), target);
  1847. }
  1848. // optional int32 keyId = 2;
  1849. if (has_keyid()) {
  1850. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->keyid(), target);
  1851. }
  1852. // optional int32 gold = 3;
  1853. if (has_gold()) {
  1854. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->gold(), target);
  1855. }
  1856. if (!unknown_fields().empty()) {
  1857. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  1858. unknown_fields(), target);
  1859. }
  1860. return target;
  1861. }
  1862. int ArmedSharkLotteryHistory::ByteSize() const {
  1863. int total_size = 0;
  1864. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1865. // optional string nickName = 1;
  1866. if (has_nickname()) {
  1867. total_size += 1 +
  1868. ::google::protobuf::internal::WireFormatLite::StringSize(
  1869. this->nickname());
  1870. }
  1871. // optional int32 keyId = 2;
  1872. if (has_keyid()) {
  1873. total_size += 1 +
  1874. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1875. this->keyid());
  1876. }
  1877. // optional int32 gold = 3;
  1878. if (has_gold()) {
  1879. total_size += 1 +
  1880. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1881. this->gold());
  1882. }
  1883. }
  1884. if (!unknown_fields().empty()) {
  1885. total_size +=
  1886. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  1887. unknown_fields());
  1888. }
  1889. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1890. _cached_size_ = total_size;
  1891. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1892. return total_size;
  1893. }
  1894. void ArmedSharkLotteryHistory::MergeFrom(const ::google::protobuf::Message& from) {
  1895. GOOGLE_CHECK_NE(&from, this);
  1896. const ArmedSharkLotteryHistory* source =
  1897. ::google::protobuf::internal::dynamic_cast_if_available<const ArmedSharkLotteryHistory*>(
  1898. &from);
  1899. if (source == NULL) {
  1900. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  1901. } else {
  1902. MergeFrom(*source);
  1903. }
  1904. }
  1905. void ArmedSharkLotteryHistory::MergeFrom(const ArmedSharkLotteryHistory& from) {
  1906. GOOGLE_CHECK_NE(&from, this);
  1907. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1908. if (from.has_nickname()) {
  1909. set_nickname(from.nickname());
  1910. }
  1911. if (from.has_keyid()) {
  1912. set_keyid(from.keyid());
  1913. }
  1914. if (from.has_gold()) {
  1915. set_gold(from.gold());
  1916. }
  1917. }
  1918. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  1919. }
  1920. void ArmedSharkLotteryHistory::CopyFrom(const ::google::protobuf::Message& from) {
  1921. if (&from == this) return;
  1922. Clear();
  1923. MergeFrom(from);
  1924. }
  1925. void ArmedSharkLotteryHistory::CopyFrom(const ArmedSharkLotteryHistory& from) {
  1926. if (&from == this) return;
  1927. Clear();
  1928. MergeFrom(from);
  1929. }
  1930. bool ArmedSharkLotteryHistory::IsInitialized() const {
  1931. return true;
  1932. }
  1933. void ArmedSharkLotteryHistory::Swap(ArmedSharkLotteryHistory* other) {
  1934. if (other != this) {
  1935. std::swap(nickname_, other->nickname_);
  1936. std::swap(keyid_, other->keyid_);
  1937. std::swap(gold_, other->gold_);
  1938. std::swap(_has_bits_[0], other->_has_bits_[0]);
  1939. _unknown_fields_.Swap(&other->_unknown_fields_);
  1940. std::swap(_cached_size_, other->_cached_size_);
  1941. }
  1942. }
  1943. ::google::protobuf::Metadata ArmedSharkLotteryHistory::GetMetadata() const {
  1944. protobuf_AssignDescriptorsOnce();
  1945. ::google::protobuf::Metadata metadata;
  1946. metadata.descriptor = ArmedSharkLotteryHistory_descriptor_;
  1947. metadata.reflection = ArmedSharkLotteryHistory_reflection_;
  1948. return metadata;
  1949. }
  1950. // ===================================================================
  1951. #ifndef _MSC_VER
  1952. const int packetc2l_get_armedshark_palace_info::kPacketIdFieldNumber;
  1953. #endif // !_MSC_VER
  1954. packetc2l_get_armedshark_palace_info::packetc2l_get_armedshark_palace_info()
  1955. : ::google::protobuf::Message() {
  1956. SharedCtor();
  1957. }
  1958. void packetc2l_get_armedshark_palace_info::InitAsDefaultInstance() {
  1959. }
  1960. packetc2l_get_armedshark_palace_info::packetc2l_get_armedshark_palace_info(const packetc2l_get_armedshark_palace_info& from)
  1961. : ::google::protobuf::Message() {
  1962. SharedCtor();
  1963. MergeFrom(from);
  1964. }
  1965. void packetc2l_get_armedshark_palace_info::SharedCtor() {
  1966. _cached_size_ = 0;
  1967. packet_id_ = 10183;
  1968. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1969. }
  1970. packetc2l_get_armedshark_palace_info::~packetc2l_get_armedshark_palace_info() {
  1971. SharedDtor();
  1972. }
  1973. void packetc2l_get_armedshark_palace_info::SharedDtor() {
  1974. if (this != default_instance_) {
  1975. }
  1976. }
  1977. void packetc2l_get_armedshark_palace_info::SetCachedSize(int size) const {
  1978. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1979. _cached_size_ = size;
  1980. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1981. }
  1982. const ::google::protobuf::Descriptor* packetc2l_get_armedshark_palace_info::descriptor() {
  1983. protobuf_AssignDescriptorsOnce();
  1984. return packetc2l_get_armedshark_palace_info_descriptor_;
  1985. }
  1986. const packetc2l_get_armedshark_palace_info& packetc2l_get_armedshark_palace_info::default_instance() {
  1987. if (default_instance_ == NULL) protobuf_AddDesc_fish_5farmedshark_5fpalace_2eproto();
  1988. return *default_instance_;
  1989. }
  1990. packetc2l_get_armedshark_palace_info* packetc2l_get_armedshark_palace_info::default_instance_ = NULL;
  1991. packetc2l_get_armedshark_palace_info* packetc2l_get_armedshark_palace_info::New() const {
  1992. return new packetc2l_get_armedshark_palace_info;
  1993. }
  1994. void packetc2l_get_armedshark_palace_info::Clear() {
  1995. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1996. packet_id_ = 10183;
  1997. }
  1998. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1999. mutable_unknown_fields()->Clear();
  2000. }
  2001. bool packetc2l_get_armedshark_palace_info::MergePartialFromCodedStream(
  2002. ::google::protobuf::io::CodedInputStream* input) {
  2003. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  2004. ::google::protobuf::uint32 tag;
  2005. while ((tag = input->ReadTag()) != 0) {
  2006. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2007. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_armedshark_palace_info];
  2008. case 1: {
  2009. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2010. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2011. int value;
  2012. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2013. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  2014. input, &value)));
  2015. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  2016. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  2017. } else {
  2018. mutable_unknown_fields()->AddVarint(1, value);
  2019. }
  2020. } else {
  2021. goto handle_uninterpreted;
  2022. }
  2023. if (input->ExpectAtEnd()) return true;
  2024. break;
  2025. }
  2026. default: {
  2027. handle_uninterpreted:
  2028. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2029. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2030. return true;
  2031. }
  2032. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2033. input, tag, mutable_unknown_fields()));
  2034. break;
  2035. }
  2036. }
  2037. }
  2038. return true;
  2039. #undef DO_
  2040. }
  2041. void packetc2l_get_armedshark_palace_info::SerializeWithCachedSizes(
  2042. ::google::protobuf::io::CodedOutputStream* output) const {
  2043. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_armedshark_palace_info];
  2044. if (has_packet_id()) {
  2045. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  2046. 1, this->packet_id(), output);
  2047. }
  2048. if (!unknown_fields().empty()) {
  2049. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2050. unknown_fields(), output);
  2051. }
  2052. }
  2053. ::google::protobuf::uint8* packetc2l_get_armedshark_palace_info::SerializeWithCachedSizesToArray(
  2054. ::google::protobuf::uint8* target) const {
  2055. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_armedshark_palace_info];
  2056. if (has_packet_id()) {
  2057. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  2058. 1, this->packet_id(), target);
  2059. }
  2060. if (!unknown_fields().empty()) {
  2061. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2062. unknown_fields(), target);
  2063. }
  2064. return target;
  2065. }
  2066. int packetc2l_get_armedshark_palace_info::ByteSize() const {
  2067. int total_size = 0;
  2068. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2069. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_armedshark_palace_info];
  2070. if (has_packet_id()) {
  2071. total_size += 1 +
  2072. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  2073. }
  2074. }
  2075. if (!unknown_fields().empty()) {
  2076. total_size +=
  2077. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2078. unknown_fields());
  2079. }
  2080. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2081. _cached_size_ = total_size;
  2082. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2083. return total_size;
  2084. }
  2085. void packetc2l_get_armedshark_palace_info::MergeFrom(const ::google::protobuf::Message& from) {
  2086. GOOGLE_CHECK_NE(&from, this);
  2087. const packetc2l_get_armedshark_palace_info* source =
  2088. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_get_armedshark_palace_info*>(
  2089. &from);
  2090. if (source == NULL) {
  2091. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2092. } else {
  2093. MergeFrom(*source);
  2094. }
  2095. }
  2096. void packetc2l_get_armedshark_palace_info::MergeFrom(const packetc2l_get_armedshark_palace_info& from) {
  2097. GOOGLE_CHECK_NE(&from, this);
  2098. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2099. if (from.has_packet_id()) {
  2100. set_packet_id(from.packet_id());
  2101. }
  2102. }
  2103. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  2104. }
  2105. void packetc2l_get_armedshark_palace_info::CopyFrom(const ::google::protobuf::Message& from) {
  2106. if (&from == this) return;
  2107. Clear();
  2108. MergeFrom(from);
  2109. }
  2110. void packetc2l_get_armedshark_palace_info::CopyFrom(const packetc2l_get_armedshark_palace_info& from) {
  2111. if (&from == this) return;
  2112. Clear();
  2113. MergeFrom(from);
  2114. }
  2115. bool packetc2l_get_armedshark_palace_info::IsInitialized() const {
  2116. return true;
  2117. }
  2118. void packetc2l_get_armedshark_palace_info::Swap(packetc2l_get_armedshark_palace_info* other) {
  2119. if (other != this) {
  2120. std::swap(packet_id_, other->packet_id_);
  2121. std::swap(_has_bits_[0], other->_has_bits_[0]);
  2122. _unknown_fields_.Swap(&other->_unknown_fields_);
  2123. std::swap(_cached_size_, other->_cached_size_);
  2124. }
  2125. }
  2126. ::google::protobuf::Metadata packetc2l_get_armedshark_palace_info::GetMetadata() const {
  2127. protobuf_AssignDescriptorsOnce();
  2128. ::google::protobuf::Metadata metadata;
  2129. metadata.descriptor = packetc2l_get_armedshark_palace_info_descriptor_;
  2130. metadata.reflection = packetc2l_get_armedshark_palace_info_reflection_;
  2131. return metadata;
  2132. }
  2133. // ===================================================================
  2134. #ifndef _MSC_VER
  2135. const int packetl2c_get_armedshark_palace_info_result::kPacketIdFieldNumber;
  2136. const int packetl2c_get_armedshark_palace_info_result::kCurRankListFieldNumber;
  2137. const int packetl2c_get_armedshark_palace_info_result::kDailyTopCardInfoFieldNumber;
  2138. const int packetl2c_get_armedshark_palace_info_result::kMyExcuteCountFieldNumber;
  2139. const int packetl2c_get_armedshark_palace_info_result::kThresholdValueFieldNumber;
  2140. const int packetl2c_get_armedshark_palace_info_result::kMyrankFieldNumber;
  2141. #endif // !_MSC_VER
  2142. packetl2c_get_armedshark_palace_info_result::packetl2c_get_armedshark_palace_info_result()
  2143. : ::google::protobuf::Message() {
  2144. SharedCtor();
  2145. }
  2146. void packetl2c_get_armedshark_palace_info_result::InitAsDefaultInstance() {
  2147. dailytopcardinfo_ = const_cast< ::fish_protocols::ArmedSharkCardTypeInfo*>(&::fish_protocols::ArmedSharkCardTypeInfo::default_instance());
  2148. }
  2149. packetl2c_get_armedshark_palace_info_result::packetl2c_get_armedshark_palace_info_result(const packetl2c_get_armedshark_palace_info_result& from)
  2150. : ::google::protobuf::Message() {
  2151. SharedCtor();
  2152. MergeFrom(from);
  2153. }
  2154. void packetl2c_get_armedshark_palace_info_result::SharedCtor() {
  2155. _cached_size_ = 0;
  2156. packet_id_ = 16177;
  2157. dailytopcardinfo_ = NULL;
  2158. myexcutecount_ = 0;
  2159. myrank_ = 0;
  2160. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2161. }
  2162. packetl2c_get_armedshark_palace_info_result::~packetl2c_get_armedshark_palace_info_result() {
  2163. SharedDtor();
  2164. }
  2165. void packetl2c_get_armedshark_palace_info_result::SharedDtor() {
  2166. if (this != default_instance_) {
  2167. delete dailytopcardinfo_;
  2168. }
  2169. }
  2170. void packetl2c_get_armedshark_palace_info_result::SetCachedSize(int size) const {
  2171. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2172. _cached_size_ = size;
  2173. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2174. }
  2175. const ::google::protobuf::Descriptor* packetl2c_get_armedshark_palace_info_result::descriptor() {
  2176. protobuf_AssignDescriptorsOnce();
  2177. return packetl2c_get_armedshark_palace_info_result_descriptor_;
  2178. }
  2179. const packetl2c_get_armedshark_palace_info_result& packetl2c_get_armedshark_palace_info_result::default_instance() {
  2180. if (default_instance_ == NULL) protobuf_AddDesc_fish_5farmedshark_5fpalace_2eproto();
  2181. return *default_instance_;
  2182. }
  2183. packetl2c_get_armedshark_palace_info_result* packetl2c_get_armedshark_palace_info_result::default_instance_ = NULL;
  2184. packetl2c_get_armedshark_palace_info_result* packetl2c_get_armedshark_palace_info_result::New() const {
  2185. return new packetl2c_get_armedshark_palace_info_result;
  2186. }
  2187. void packetl2c_get_armedshark_palace_info_result::Clear() {
  2188. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2189. packet_id_ = 16177;
  2190. if (has_dailytopcardinfo()) {
  2191. if (dailytopcardinfo_ != NULL) dailytopcardinfo_->::fish_protocols::ArmedSharkCardTypeInfo::Clear();
  2192. }
  2193. myexcutecount_ = 0;
  2194. myrank_ = 0;
  2195. }
  2196. curranklist_.Clear();
  2197. thresholdvalue_.Clear();
  2198. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2199. mutable_unknown_fields()->Clear();
  2200. }
  2201. bool packetl2c_get_armedshark_palace_info_result::MergePartialFromCodedStream(
  2202. ::google::protobuf::io::CodedInputStream* input) {
  2203. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  2204. ::google::protobuf::uint32 tag;
  2205. while ((tag = input->ReadTag()) != 0) {
  2206. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2207. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_armedshark_palace_info_result];
  2208. case 1: {
  2209. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2210. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2211. int value;
  2212. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2213. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  2214. input, &value)));
  2215. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  2216. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  2217. } else {
  2218. mutable_unknown_fields()->AddVarint(1, value);
  2219. }
  2220. } else {
  2221. goto handle_uninterpreted;
  2222. }
  2223. if (input->ExpectTag(18)) goto parse_curRankList;
  2224. break;
  2225. }
  2226. // repeated .fish_protocols.ArmedSharkRankInfo curRankList = 2;
  2227. case 2: {
  2228. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2229. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  2230. parse_curRankList:
  2231. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  2232. input, add_curranklist()));
  2233. } else {
  2234. goto handle_uninterpreted;
  2235. }
  2236. if (input->ExpectTag(18)) goto parse_curRankList;
  2237. if (input->ExpectTag(26)) goto parse_dailyTopCardInfo;
  2238. break;
  2239. }
  2240. // optional .fish_protocols.ArmedSharkCardTypeInfo dailyTopCardInfo = 3;
  2241. case 3: {
  2242. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2243. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  2244. parse_dailyTopCardInfo:
  2245. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  2246. input, mutable_dailytopcardinfo()));
  2247. } else {
  2248. goto handle_uninterpreted;
  2249. }
  2250. if (input->ExpectTag(32)) goto parse_myExcuteCount;
  2251. break;
  2252. }
  2253. // optional int32 myExcuteCount = 4;
  2254. case 4: {
  2255. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2256. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2257. parse_myExcuteCount:
  2258. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2259. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2260. input, &myexcutecount_)));
  2261. set_has_myexcutecount();
  2262. } else {
  2263. goto handle_uninterpreted;
  2264. }
  2265. if (input->ExpectTag(40)) goto parse_thresholdValue;
  2266. break;
  2267. }
  2268. // repeated int32 thresholdValue = 5;
  2269. case 5: {
  2270. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2271. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2272. parse_thresholdValue:
  2273. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  2274. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2275. 1, 40, input, this->mutable_thresholdvalue())));
  2276. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  2277. == ::google::protobuf::internal::WireFormatLite::
  2278. WIRETYPE_LENGTH_DELIMITED) {
  2279. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  2280. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2281. input, this->mutable_thresholdvalue())));
  2282. } else {
  2283. goto handle_uninterpreted;
  2284. }
  2285. if (input->ExpectTag(40)) goto parse_thresholdValue;
  2286. if (input->ExpectTag(48)) goto parse_myrank;
  2287. break;
  2288. }
  2289. // optional int32 myrank = 6;
  2290. case 6: {
  2291. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2292. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2293. parse_myrank:
  2294. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2295. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2296. input, &myrank_)));
  2297. set_has_myrank();
  2298. } else {
  2299. goto handle_uninterpreted;
  2300. }
  2301. if (input->ExpectAtEnd()) return true;
  2302. break;
  2303. }
  2304. default: {
  2305. handle_uninterpreted:
  2306. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2307. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2308. return true;
  2309. }
  2310. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2311. input, tag, mutable_unknown_fields()));
  2312. break;
  2313. }
  2314. }
  2315. }
  2316. return true;
  2317. #undef DO_
  2318. }
  2319. void packetl2c_get_armedshark_palace_info_result::SerializeWithCachedSizes(
  2320. ::google::protobuf::io::CodedOutputStream* output) const {
  2321. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_armedshark_palace_info_result];
  2322. if (has_packet_id()) {
  2323. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  2324. 1, this->packet_id(), output);
  2325. }
  2326. // repeated .fish_protocols.ArmedSharkRankInfo curRankList = 2;
  2327. for (int i = 0; i < this->curranklist_size(); i++) {
  2328. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2329. 2, this->curranklist(i), output);
  2330. }
  2331. // optional .fish_protocols.ArmedSharkCardTypeInfo dailyTopCardInfo = 3;
  2332. if (has_dailytopcardinfo()) {
  2333. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2334. 3, this->dailytopcardinfo(), output);
  2335. }
  2336. // optional int32 myExcuteCount = 4;
  2337. if (has_myexcutecount()) {
  2338. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->myexcutecount(), output);
  2339. }
  2340. // repeated int32 thresholdValue = 5;
  2341. for (int i = 0; i < this->thresholdvalue_size(); i++) {
  2342. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  2343. 5, this->thresholdvalue(i), output);
  2344. }
  2345. // optional int32 myrank = 6;
  2346. if (has_myrank()) {
  2347. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->myrank(), output);
  2348. }
  2349. if (!unknown_fields().empty()) {
  2350. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2351. unknown_fields(), output);
  2352. }
  2353. }
  2354. ::google::protobuf::uint8* packetl2c_get_armedshark_palace_info_result::SerializeWithCachedSizesToArray(
  2355. ::google::protobuf::uint8* target) const {
  2356. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_armedshark_palace_info_result];
  2357. if (has_packet_id()) {
  2358. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  2359. 1, this->packet_id(), target);
  2360. }
  2361. // repeated .fish_protocols.ArmedSharkRankInfo curRankList = 2;
  2362. for (int i = 0; i < this->curranklist_size(); i++) {
  2363. target = ::google::protobuf::internal::WireFormatLite::
  2364. WriteMessageNoVirtualToArray(
  2365. 2, this->curranklist(i), target);
  2366. }
  2367. // optional .fish_protocols.ArmedSharkCardTypeInfo dailyTopCardInfo = 3;
  2368. if (has_dailytopcardinfo()) {
  2369. target = ::google::protobuf::internal::WireFormatLite::
  2370. WriteMessageNoVirtualToArray(
  2371. 3, this->dailytopcardinfo(), target);
  2372. }
  2373. // optional int32 myExcuteCount = 4;
  2374. if (has_myexcutecount()) {
  2375. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->myexcutecount(), target);
  2376. }
  2377. // repeated int32 thresholdValue = 5;
  2378. for (int i = 0; i < this->thresholdvalue_size(); i++) {
  2379. target = ::google::protobuf::internal::WireFormatLite::
  2380. WriteInt32ToArray(5, this->thresholdvalue(i), target);
  2381. }
  2382. // optional int32 myrank = 6;
  2383. if (has_myrank()) {
  2384. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->myrank(), target);
  2385. }
  2386. if (!unknown_fields().empty()) {
  2387. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2388. unknown_fields(), target);
  2389. }
  2390. return target;
  2391. }
  2392. int packetl2c_get_armedshark_palace_info_result::ByteSize() const {
  2393. int total_size = 0;
  2394. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2395. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_armedshark_palace_info_result];
  2396. if (has_packet_id()) {
  2397. total_size += 1 +
  2398. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  2399. }
  2400. // optional .fish_protocols.ArmedSharkCardTypeInfo dailyTopCardInfo = 3;
  2401. if (has_dailytopcardinfo()) {
  2402. total_size += 1 +
  2403. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  2404. this->dailytopcardinfo());
  2405. }
  2406. // optional int32 myExcuteCount = 4;
  2407. if (has_myexcutecount()) {
  2408. total_size += 1 +
  2409. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2410. this->myexcutecount());
  2411. }
  2412. // optional int32 myrank = 6;
  2413. if (has_myrank()) {
  2414. total_size += 1 +
  2415. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2416. this->myrank());
  2417. }
  2418. }
  2419. // repeated .fish_protocols.ArmedSharkRankInfo curRankList = 2;
  2420. total_size += 1 * this->curranklist_size();
  2421. for (int i = 0; i < this->curranklist_size(); i++) {
  2422. total_size +=
  2423. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  2424. this->curranklist(i));
  2425. }
  2426. // repeated int32 thresholdValue = 5;
  2427. {
  2428. int data_size = 0;
  2429. for (int i = 0; i < this->thresholdvalue_size(); i++) {
  2430. data_size += ::google::protobuf::internal::WireFormatLite::
  2431. Int32Size(this->thresholdvalue(i));
  2432. }
  2433. total_size += 1 * this->thresholdvalue_size() + data_size;
  2434. }
  2435. if (!unknown_fields().empty()) {
  2436. total_size +=
  2437. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2438. unknown_fields());
  2439. }
  2440. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2441. _cached_size_ = total_size;
  2442. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2443. return total_size;
  2444. }
  2445. void packetl2c_get_armedshark_palace_info_result::MergeFrom(const ::google::protobuf::Message& from) {
  2446. GOOGLE_CHECK_NE(&from, this);
  2447. const packetl2c_get_armedshark_palace_info_result* source =
  2448. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_get_armedshark_palace_info_result*>(
  2449. &from);
  2450. if (source == NULL) {
  2451. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2452. } else {
  2453. MergeFrom(*source);
  2454. }
  2455. }
  2456. void packetl2c_get_armedshark_palace_info_result::MergeFrom(const packetl2c_get_armedshark_palace_info_result& from) {
  2457. GOOGLE_CHECK_NE(&from, this);
  2458. curranklist_.MergeFrom(from.curranklist_);
  2459. thresholdvalue_.MergeFrom(from.thresholdvalue_);
  2460. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2461. if (from.has_packet_id()) {
  2462. set_packet_id(from.packet_id());
  2463. }
  2464. if (from.has_dailytopcardinfo()) {
  2465. mutable_dailytopcardinfo()->::fish_protocols::ArmedSharkCardTypeInfo::MergeFrom(from.dailytopcardinfo());
  2466. }
  2467. if (from.has_myexcutecount()) {
  2468. set_myexcutecount(from.myexcutecount());
  2469. }
  2470. if (from.has_myrank()) {
  2471. set_myrank(from.myrank());
  2472. }
  2473. }
  2474. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  2475. }
  2476. void packetl2c_get_armedshark_palace_info_result::CopyFrom(const ::google::protobuf::Message& from) {
  2477. if (&from == this) return;
  2478. Clear();
  2479. MergeFrom(from);
  2480. }
  2481. void packetl2c_get_armedshark_palace_info_result::CopyFrom(const packetl2c_get_armedshark_palace_info_result& from) {
  2482. if (&from == this) return;
  2483. Clear();
  2484. MergeFrom(from);
  2485. }
  2486. bool packetl2c_get_armedshark_palace_info_result::IsInitialized() const {
  2487. return true;
  2488. }
  2489. void packetl2c_get_armedshark_palace_info_result::Swap(packetl2c_get_armedshark_palace_info_result* other) {
  2490. if (other != this) {
  2491. std::swap(packet_id_, other->packet_id_);
  2492. curranklist_.Swap(&other->curranklist_);
  2493. std::swap(dailytopcardinfo_, other->dailytopcardinfo_);
  2494. std::swap(myexcutecount_, other->myexcutecount_);
  2495. thresholdvalue_.Swap(&other->thresholdvalue_);
  2496. std::swap(myrank_, other->myrank_);
  2497. std::swap(_has_bits_[0], other->_has_bits_[0]);
  2498. _unknown_fields_.Swap(&other->_unknown_fields_);
  2499. std::swap(_cached_size_, other->_cached_size_);
  2500. }
  2501. }
  2502. ::google::protobuf::Metadata packetl2c_get_armedshark_palace_info_result::GetMetadata() const {
  2503. protobuf_AssignDescriptorsOnce();
  2504. ::google::protobuf::Metadata metadata;
  2505. metadata.descriptor = packetl2c_get_armedshark_palace_info_result_descriptor_;
  2506. metadata.reflection = packetl2c_get_armedshark_palace_info_result_reflection_;
  2507. return metadata;
  2508. }
  2509. // ===================================================================
  2510. #ifndef _MSC_VER
  2511. const int packetc2l_get_armedshark_getHistoryList::kPacketIdFieldNumber;
  2512. const int packetc2l_get_armedshark_getHistoryList::kTypeFieldNumber;
  2513. #endif // !_MSC_VER
  2514. packetc2l_get_armedshark_getHistoryList::packetc2l_get_armedshark_getHistoryList()
  2515. : ::google::protobuf::Message() {
  2516. SharedCtor();
  2517. }
  2518. void packetc2l_get_armedshark_getHistoryList::InitAsDefaultInstance() {
  2519. }
  2520. packetc2l_get_armedshark_getHistoryList::packetc2l_get_armedshark_getHistoryList(const packetc2l_get_armedshark_getHistoryList& from)
  2521. : ::google::protobuf::Message() {
  2522. SharedCtor();
  2523. MergeFrom(from);
  2524. }
  2525. void packetc2l_get_armedshark_getHistoryList::SharedCtor() {
  2526. _cached_size_ = 0;
  2527. packet_id_ = 10186;
  2528. type_ = 0;
  2529. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2530. }
  2531. packetc2l_get_armedshark_getHistoryList::~packetc2l_get_armedshark_getHistoryList() {
  2532. SharedDtor();
  2533. }
  2534. void packetc2l_get_armedshark_getHistoryList::SharedDtor() {
  2535. if (this != default_instance_) {
  2536. }
  2537. }
  2538. void packetc2l_get_armedshark_getHistoryList::SetCachedSize(int size) const {
  2539. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2540. _cached_size_ = size;
  2541. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2542. }
  2543. const ::google::protobuf::Descriptor* packetc2l_get_armedshark_getHistoryList::descriptor() {
  2544. protobuf_AssignDescriptorsOnce();
  2545. return packetc2l_get_armedshark_getHistoryList_descriptor_;
  2546. }
  2547. const packetc2l_get_armedshark_getHistoryList& packetc2l_get_armedshark_getHistoryList::default_instance() {
  2548. if (default_instance_ == NULL) protobuf_AddDesc_fish_5farmedshark_5fpalace_2eproto();
  2549. return *default_instance_;
  2550. }
  2551. packetc2l_get_armedshark_getHistoryList* packetc2l_get_armedshark_getHistoryList::default_instance_ = NULL;
  2552. packetc2l_get_armedshark_getHistoryList* packetc2l_get_armedshark_getHistoryList::New() const {
  2553. return new packetc2l_get_armedshark_getHistoryList;
  2554. }
  2555. void packetc2l_get_armedshark_getHistoryList::Clear() {
  2556. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2557. packet_id_ = 10186;
  2558. type_ = 0;
  2559. }
  2560. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2561. mutable_unknown_fields()->Clear();
  2562. }
  2563. bool packetc2l_get_armedshark_getHistoryList::MergePartialFromCodedStream(
  2564. ::google::protobuf::io::CodedInputStream* input) {
  2565. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  2566. ::google::protobuf::uint32 tag;
  2567. while ((tag = input->ReadTag()) != 0) {
  2568. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2569. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_armedshark_getHistoryList];
  2570. case 1: {
  2571. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2572. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2573. int value;
  2574. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2575. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  2576. input, &value)));
  2577. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  2578. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  2579. } else {
  2580. mutable_unknown_fields()->AddVarint(1, value);
  2581. }
  2582. } else {
  2583. goto handle_uninterpreted;
  2584. }
  2585. if (input->ExpectTag(16)) goto parse_type;
  2586. break;
  2587. }
  2588. // optional int32 type = 2;
  2589. case 2: {
  2590. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2591. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2592. parse_type:
  2593. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2594. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2595. input, &type_)));
  2596. set_has_type();
  2597. } else {
  2598. goto handle_uninterpreted;
  2599. }
  2600. if (input->ExpectAtEnd()) return true;
  2601. break;
  2602. }
  2603. default: {
  2604. handle_uninterpreted:
  2605. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2606. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2607. return true;
  2608. }
  2609. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2610. input, tag, mutable_unknown_fields()));
  2611. break;
  2612. }
  2613. }
  2614. }
  2615. return true;
  2616. #undef DO_
  2617. }
  2618. void packetc2l_get_armedshark_getHistoryList::SerializeWithCachedSizes(
  2619. ::google::protobuf::io::CodedOutputStream* output) const {
  2620. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_armedshark_getHistoryList];
  2621. if (has_packet_id()) {
  2622. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  2623. 1, this->packet_id(), output);
  2624. }
  2625. // optional int32 type = 2;
  2626. if (has_type()) {
  2627. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->type(), output);
  2628. }
  2629. if (!unknown_fields().empty()) {
  2630. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2631. unknown_fields(), output);
  2632. }
  2633. }
  2634. ::google::protobuf::uint8* packetc2l_get_armedshark_getHistoryList::SerializeWithCachedSizesToArray(
  2635. ::google::protobuf::uint8* target) const {
  2636. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_armedshark_getHistoryList];
  2637. if (has_packet_id()) {
  2638. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  2639. 1, this->packet_id(), target);
  2640. }
  2641. // optional int32 type = 2;
  2642. if (has_type()) {
  2643. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->type(), target);
  2644. }
  2645. if (!unknown_fields().empty()) {
  2646. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2647. unknown_fields(), target);
  2648. }
  2649. return target;
  2650. }
  2651. int packetc2l_get_armedshark_getHistoryList::ByteSize() const {
  2652. int total_size = 0;
  2653. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2654. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_armedshark_getHistoryList];
  2655. if (has_packet_id()) {
  2656. total_size += 1 +
  2657. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  2658. }
  2659. // optional int32 type = 2;
  2660. if (has_type()) {
  2661. total_size += 1 +
  2662. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2663. this->type());
  2664. }
  2665. }
  2666. if (!unknown_fields().empty()) {
  2667. total_size +=
  2668. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2669. unknown_fields());
  2670. }
  2671. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2672. _cached_size_ = total_size;
  2673. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2674. return total_size;
  2675. }
  2676. void packetc2l_get_armedshark_getHistoryList::MergeFrom(const ::google::protobuf::Message& from) {
  2677. GOOGLE_CHECK_NE(&from, this);
  2678. const packetc2l_get_armedshark_getHistoryList* source =
  2679. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_get_armedshark_getHistoryList*>(
  2680. &from);
  2681. if (source == NULL) {
  2682. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2683. } else {
  2684. MergeFrom(*source);
  2685. }
  2686. }
  2687. void packetc2l_get_armedshark_getHistoryList::MergeFrom(const packetc2l_get_armedshark_getHistoryList& from) {
  2688. GOOGLE_CHECK_NE(&from, this);
  2689. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2690. if (from.has_packet_id()) {
  2691. set_packet_id(from.packet_id());
  2692. }
  2693. if (from.has_type()) {
  2694. set_type(from.type());
  2695. }
  2696. }
  2697. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  2698. }
  2699. void packetc2l_get_armedshark_getHistoryList::CopyFrom(const ::google::protobuf::Message& from) {
  2700. if (&from == this) return;
  2701. Clear();
  2702. MergeFrom(from);
  2703. }
  2704. void packetc2l_get_armedshark_getHistoryList::CopyFrom(const packetc2l_get_armedshark_getHistoryList& from) {
  2705. if (&from == this) return;
  2706. Clear();
  2707. MergeFrom(from);
  2708. }
  2709. bool packetc2l_get_armedshark_getHistoryList::IsInitialized() const {
  2710. return true;
  2711. }
  2712. void packetc2l_get_armedshark_getHistoryList::Swap(packetc2l_get_armedshark_getHistoryList* other) {
  2713. if (other != this) {
  2714. std::swap(packet_id_, other->packet_id_);
  2715. std::swap(type_, other->type_);
  2716. std::swap(_has_bits_[0], other->_has_bits_[0]);
  2717. _unknown_fields_.Swap(&other->_unknown_fields_);
  2718. std::swap(_cached_size_, other->_cached_size_);
  2719. }
  2720. }
  2721. ::google::protobuf::Metadata packetc2l_get_armedshark_getHistoryList::GetMetadata() const {
  2722. protobuf_AssignDescriptorsOnce();
  2723. ::google::protobuf::Metadata metadata;
  2724. metadata.descriptor = packetc2l_get_armedshark_getHistoryList_descriptor_;
  2725. metadata.reflection = packetc2l_get_armedshark_getHistoryList_reflection_;
  2726. return metadata;
  2727. }
  2728. // ===================================================================
  2729. #ifndef _MSC_VER
  2730. const int packetl2c_get_armedshark_getHistoryList_result::kPacketIdFieldNumber;
  2731. const int packetl2c_get_armedshark_getHistoryList_result::kTypeFieldNumber;
  2732. const int packetl2c_get_armedshark_getHistoryList_result::kGetCardHistoryListFieldNumber;
  2733. const int packetl2c_get_armedshark_getHistoryList_result::kLotteryHistoryFieldNumber;
  2734. #endif // !_MSC_VER
  2735. packetl2c_get_armedshark_getHistoryList_result::packetl2c_get_armedshark_getHistoryList_result()
  2736. : ::google::protobuf::Message() {
  2737. SharedCtor();
  2738. }
  2739. void packetl2c_get_armedshark_getHistoryList_result::InitAsDefaultInstance() {
  2740. }
  2741. packetl2c_get_armedshark_getHistoryList_result::packetl2c_get_armedshark_getHistoryList_result(const packetl2c_get_armedshark_getHistoryList_result& from)
  2742. : ::google::protobuf::Message() {
  2743. SharedCtor();
  2744. MergeFrom(from);
  2745. }
  2746. void packetl2c_get_armedshark_getHistoryList_result::SharedCtor() {
  2747. _cached_size_ = 0;
  2748. packet_id_ = 16180;
  2749. type_ = 0;
  2750. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2751. }
  2752. packetl2c_get_armedshark_getHistoryList_result::~packetl2c_get_armedshark_getHistoryList_result() {
  2753. SharedDtor();
  2754. }
  2755. void packetl2c_get_armedshark_getHistoryList_result::SharedDtor() {
  2756. if (this != default_instance_) {
  2757. }
  2758. }
  2759. void packetl2c_get_armedshark_getHistoryList_result::SetCachedSize(int size) const {
  2760. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2761. _cached_size_ = size;
  2762. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2763. }
  2764. const ::google::protobuf::Descriptor* packetl2c_get_armedshark_getHistoryList_result::descriptor() {
  2765. protobuf_AssignDescriptorsOnce();
  2766. return packetl2c_get_armedshark_getHistoryList_result_descriptor_;
  2767. }
  2768. const packetl2c_get_armedshark_getHistoryList_result& packetl2c_get_armedshark_getHistoryList_result::default_instance() {
  2769. if (default_instance_ == NULL) protobuf_AddDesc_fish_5farmedshark_5fpalace_2eproto();
  2770. return *default_instance_;
  2771. }
  2772. packetl2c_get_armedshark_getHistoryList_result* packetl2c_get_armedshark_getHistoryList_result::default_instance_ = NULL;
  2773. packetl2c_get_armedshark_getHistoryList_result* packetl2c_get_armedshark_getHistoryList_result::New() const {
  2774. return new packetl2c_get_armedshark_getHistoryList_result;
  2775. }
  2776. void packetl2c_get_armedshark_getHistoryList_result::Clear() {
  2777. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2778. packet_id_ = 16180;
  2779. type_ = 0;
  2780. }
  2781. getcardhistorylist_.Clear();
  2782. lotteryhistory_.Clear();
  2783. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2784. mutable_unknown_fields()->Clear();
  2785. }
  2786. bool packetl2c_get_armedshark_getHistoryList_result::MergePartialFromCodedStream(
  2787. ::google::protobuf::io::CodedInputStream* input) {
  2788. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  2789. ::google::protobuf::uint32 tag;
  2790. while ((tag = input->ReadTag()) != 0) {
  2791. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2792. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_armedshark_getHistoryList_result];
  2793. case 1: {
  2794. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2795. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2796. int value;
  2797. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2798. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  2799. input, &value)));
  2800. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  2801. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  2802. } else {
  2803. mutable_unknown_fields()->AddVarint(1, value);
  2804. }
  2805. } else {
  2806. goto handle_uninterpreted;
  2807. }
  2808. if (input->ExpectTag(16)) goto parse_type;
  2809. break;
  2810. }
  2811. // optional int32 type = 2;
  2812. case 2: {
  2813. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2814. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2815. parse_type:
  2816. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2817. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2818. input, &type_)));
  2819. set_has_type();
  2820. } else {
  2821. goto handle_uninterpreted;
  2822. }
  2823. if (input->ExpectTag(26)) goto parse_getCardHistoryList;
  2824. break;
  2825. }
  2826. // repeated .fish_protocols.ArmedSharkCardHistory getCardHistoryList = 3;
  2827. case 3: {
  2828. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2829. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  2830. parse_getCardHistoryList:
  2831. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  2832. input, add_getcardhistorylist()));
  2833. } else {
  2834. goto handle_uninterpreted;
  2835. }
  2836. if (input->ExpectTag(26)) goto parse_getCardHistoryList;
  2837. if (input->ExpectTag(34)) goto parse_lotteryHistory;
  2838. break;
  2839. }
  2840. // repeated .fish_protocols.ArmedSharkLotteryHistory lotteryHistory = 4;
  2841. case 4: {
  2842. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2843. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  2844. parse_lotteryHistory:
  2845. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  2846. input, add_lotteryhistory()));
  2847. } else {
  2848. goto handle_uninterpreted;
  2849. }
  2850. if (input->ExpectTag(34)) goto parse_lotteryHistory;
  2851. if (input->ExpectAtEnd()) return true;
  2852. break;
  2853. }
  2854. default: {
  2855. handle_uninterpreted:
  2856. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2857. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2858. return true;
  2859. }
  2860. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2861. input, tag, mutable_unknown_fields()));
  2862. break;
  2863. }
  2864. }
  2865. }
  2866. return true;
  2867. #undef DO_
  2868. }
  2869. void packetl2c_get_armedshark_getHistoryList_result::SerializeWithCachedSizes(
  2870. ::google::protobuf::io::CodedOutputStream* output) const {
  2871. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_armedshark_getHistoryList_result];
  2872. if (has_packet_id()) {
  2873. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  2874. 1, this->packet_id(), output);
  2875. }
  2876. // optional int32 type = 2;
  2877. if (has_type()) {
  2878. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->type(), output);
  2879. }
  2880. // repeated .fish_protocols.ArmedSharkCardHistory getCardHistoryList = 3;
  2881. for (int i = 0; i < this->getcardhistorylist_size(); i++) {
  2882. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2883. 3, this->getcardhistorylist(i), output);
  2884. }
  2885. // repeated .fish_protocols.ArmedSharkLotteryHistory lotteryHistory = 4;
  2886. for (int i = 0; i < this->lotteryhistory_size(); i++) {
  2887. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2888. 4, this->lotteryhistory(i), output);
  2889. }
  2890. if (!unknown_fields().empty()) {
  2891. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2892. unknown_fields(), output);
  2893. }
  2894. }
  2895. ::google::protobuf::uint8* packetl2c_get_armedshark_getHistoryList_result::SerializeWithCachedSizesToArray(
  2896. ::google::protobuf::uint8* target) const {
  2897. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_armedshark_getHistoryList_result];
  2898. if (has_packet_id()) {
  2899. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  2900. 1, this->packet_id(), target);
  2901. }
  2902. // optional int32 type = 2;
  2903. if (has_type()) {
  2904. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->type(), target);
  2905. }
  2906. // repeated .fish_protocols.ArmedSharkCardHistory getCardHistoryList = 3;
  2907. for (int i = 0; i < this->getcardhistorylist_size(); i++) {
  2908. target = ::google::protobuf::internal::WireFormatLite::
  2909. WriteMessageNoVirtualToArray(
  2910. 3, this->getcardhistorylist(i), target);
  2911. }
  2912. // repeated .fish_protocols.ArmedSharkLotteryHistory lotteryHistory = 4;
  2913. for (int i = 0; i < this->lotteryhistory_size(); i++) {
  2914. target = ::google::protobuf::internal::WireFormatLite::
  2915. WriteMessageNoVirtualToArray(
  2916. 4, this->lotteryhistory(i), target);
  2917. }
  2918. if (!unknown_fields().empty()) {
  2919. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2920. unknown_fields(), target);
  2921. }
  2922. return target;
  2923. }
  2924. int packetl2c_get_armedshark_getHistoryList_result::ByteSize() const {
  2925. int total_size = 0;
  2926. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2927. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_armedshark_getHistoryList_result];
  2928. if (has_packet_id()) {
  2929. total_size += 1 +
  2930. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  2931. }
  2932. // optional int32 type = 2;
  2933. if (has_type()) {
  2934. total_size += 1 +
  2935. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2936. this->type());
  2937. }
  2938. }
  2939. // repeated .fish_protocols.ArmedSharkCardHistory getCardHistoryList = 3;
  2940. total_size += 1 * this->getcardhistorylist_size();
  2941. for (int i = 0; i < this->getcardhistorylist_size(); i++) {
  2942. total_size +=
  2943. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  2944. this->getcardhistorylist(i));
  2945. }
  2946. // repeated .fish_protocols.ArmedSharkLotteryHistory lotteryHistory = 4;
  2947. total_size += 1 * this->lotteryhistory_size();
  2948. for (int i = 0; i < this->lotteryhistory_size(); i++) {
  2949. total_size +=
  2950. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  2951. this->lotteryhistory(i));
  2952. }
  2953. if (!unknown_fields().empty()) {
  2954. total_size +=
  2955. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2956. unknown_fields());
  2957. }
  2958. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2959. _cached_size_ = total_size;
  2960. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2961. return total_size;
  2962. }
  2963. void packetl2c_get_armedshark_getHistoryList_result::MergeFrom(const ::google::protobuf::Message& from) {
  2964. GOOGLE_CHECK_NE(&from, this);
  2965. const packetl2c_get_armedshark_getHistoryList_result* source =
  2966. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_get_armedshark_getHistoryList_result*>(
  2967. &from);
  2968. if (source == NULL) {
  2969. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2970. } else {
  2971. MergeFrom(*source);
  2972. }
  2973. }
  2974. void packetl2c_get_armedshark_getHistoryList_result::MergeFrom(const packetl2c_get_armedshark_getHistoryList_result& from) {
  2975. GOOGLE_CHECK_NE(&from, this);
  2976. getcardhistorylist_.MergeFrom(from.getcardhistorylist_);
  2977. lotteryhistory_.MergeFrom(from.lotteryhistory_);
  2978. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2979. if (from.has_packet_id()) {
  2980. set_packet_id(from.packet_id());
  2981. }
  2982. if (from.has_type()) {
  2983. set_type(from.type());
  2984. }
  2985. }
  2986. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  2987. }
  2988. void packetl2c_get_armedshark_getHistoryList_result::CopyFrom(const ::google::protobuf::Message& from) {
  2989. if (&from == this) return;
  2990. Clear();
  2991. MergeFrom(from);
  2992. }
  2993. void packetl2c_get_armedshark_getHistoryList_result::CopyFrom(const packetl2c_get_armedshark_getHistoryList_result& from) {
  2994. if (&from == this) return;
  2995. Clear();
  2996. MergeFrom(from);
  2997. }
  2998. bool packetl2c_get_armedshark_getHistoryList_result::IsInitialized() const {
  2999. return true;
  3000. }
  3001. void packetl2c_get_armedshark_getHistoryList_result::Swap(packetl2c_get_armedshark_getHistoryList_result* other) {
  3002. if (other != this) {
  3003. std::swap(packet_id_, other->packet_id_);
  3004. std::swap(type_, other->type_);
  3005. getcardhistorylist_.Swap(&other->getcardhistorylist_);
  3006. lotteryhistory_.Swap(&other->lotteryhistory_);
  3007. std::swap(_has_bits_[0], other->_has_bits_[0]);
  3008. _unknown_fields_.Swap(&other->_unknown_fields_);
  3009. std::swap(_cached_size_, other->_cached_size_);
  3010. }
  3011. }
  3012. ::google::protobuf::Metadata packetl2c_get_armedshark_getHistoryList_result::GetMetadata() const {
  3013. protobuf_AssignDescriptorsOnce();
  3014. ::google::protobuf::Metadata metadata;
  3015. metadata.descriptor = packetl2c_get_armedshark_getHistoryList_result_descriptor_;
  3016. metadata.reflection = packetl2c_get_armedshark_getHistoryList_result_reflection_;
  3017. return metadata;
  3018. }
  3019. // ===================================================================
  3020. #ifndef _MSC_VER
  3021. const int packetc2l_armedshark_palace_call_bomb_aircraft::kPacketIdFieldNumber;
  3022. const int packetc2l_armedshark_palace_call_bomb_aircraft::kCallTypeFieldNumber;
  3023. const int packetc2l_armedshark_palace_call_bomb_aircraft::kBombTypeFieldNumber;
  3024. const int packetc2l_armedshark_palace_call_bomb_aircraft::kFishidFieldNumber;
  3025. #endif // !_MSC_VER
  3026. packetc2l_armedshark_palace_call_bomb_aircraft::packetc2l_armedshark_palace_call_bomb_aircraft()
  3027. : ::google::protobuf::Message() {
  3028. SharedCtor();
  3029. }
  3030. void packetc2l_armedshark_palace_call_bomb_aircraft::InitAsDefaultInstance() {
  3031. }
  3032. packetc2l_armedshark_palace_call_bomb_aircraft::packetc2l_armedshark_palace_call_bomb_aircraft(const packetc2l_armedshark_palace_call_bomb_aircraft& from)
  3033. : ::google::protobuf::Message() {
  3034. SharedCtor();
  3035. MergeFrom(from);
  3036. }
  3037. void packetc2l_armedshark_palace_call_bomb_aircraft::SharedCtor() {
  3038. _cached_size_ = 0;
  3039. packet_id_ = 10184;
  3040. calltype_ = 0;
  3041. bombtype_ = 0;
  3042. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3043. }
  3044. packetc2l_armedshark_palace_call_bomb_aircraft::~packetc2l_armedshark_palace_call_bomb_aircraft() {
  3045. SharedDtor();
  3046. }
  3047. void packetc2l_armedshark_palace_call_bomb_aircraft::SharedDtor() {
  3048. if (this != default_instance_) {
  3049. }
  3050. }
  3051. void packetc2l_armedshark_palace_call_bomb_aircraft::SetCachedSize(int size) const {
  3052. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3053. _cached_size_ = size;
  3054. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3055. }
  3056. const ::google::protobuf::Descriptor* packetc2l_armedshark_palace_call_bomb_aircraft::descriptor() {
  3057. protobuf_AssignDescriptorsOnce();
  3058. return packetc2l_armedshark_palace_call_bomb_aircraft_descriptor_;
  3059. }
  3060. const packetc2l_armedshark_palace_call_bomb_aircraft& packetc2l_armedshark_palace_call_bomb_aircraft::default_instance() {
  3061. if (default_instance_ == NULL) protobuf_AddDesc_fish_5farmedshark_5fpalace_2eproto();
  3062. return *default_instance_;
  3063. }
  3064. packetc2l_armedshark_palace_call_bomb_aircraft* packetc2l_armedshark_palace_call_bomb_aircraft::default_instance_ = NULL;
  3065. packetc2l_armedshark_palace_call_bomb_aircraft* packetc2l_armedshark_palace_call_bomb_aircraft::New() const {
  3066. return new packetc2l_armedshark_palace_call_bomb_aircraft;
  3067. }
  3068. void packetc2l_armedshark_palace_call_bomb_aircraft::Clear() {
  3069. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3070. packet_id_ = 10184;
  3071. calltype_ = 0;
  3072. bombtype_ = 0;
  3073. }
  3074. fishid_.Clear();
  3075. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3076. mutable_unknown_fields()->Clear();
  3077. }
  3078. bool packetc2l_armedshark_palace_call_bomb_aircraft::MergePartialFromCodedStream(
  3079. ::google::protobuf::io::CodedInputStream* input) {
  3080. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  3081. ::google::protobuf::uint32 tag;
  3082. while ((tag = input->ReadTag()) != 0) {
  3083. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3084. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_armedshark_palace_call_bomb_aircraft];
  3085. case 1: {
  3086. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3087. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3088. int value;
  3089. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3090. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  3091. input, &value)));
  3092. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  3093. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  3094. } else {
  3095. mutable_unknown_fields()->AddVarint(1, value);
  3096. }
  3097. } else {
  3098. goto handle_uninterpreted;
  3099. }
  3100. if (input->ExpectTag(16)) goto parse_callType;
  3101. break;
  3102. }
  3103. // optional int32 callType = 2;
  3104. case 2: {
  3105. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3106. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3107. parse_callType:
  3108. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3109. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3110. input, &calltype_)));
  3111. set_has_calltype();
  3112. } else {
  3113. goto handle_uninterpreted;
  3114. }
  3115. if (input->ExpectTag(24)) goto parse_bombType;
  3116. break;
  3117. }
  3118. // optional int32 bombType = 3;
  3119. case 3: {
  3120. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3121. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3122. parse_bombType:
  3123. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3124. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3125. input, &bombtype_)));
  3126. set_has_bombtype();
  3127. } else {
  3128. goto handle_uninterpreted;
  3129. }
  3130. if (input->ExpectTag(32)) goto parse_fishid;
  3131. break;
  3132. }
  3133. // repeated int32 fishid = 4;
  3134. case 4: {
  3135. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3136. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3137. parse_fishid:
  3138. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  3139. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3140. 1, 32, input, this->mutable_fishid())));
  3141. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  3142. == ::google::protobuf::internal::WireFormatLite::
  3143. WIRETYPE_LENGTH_DELIMITED) {
  3144. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  3145. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3146. input, this->mutable_fishid())));
  3147. } else {
  3148. goto handle_uninterpreted;
  3149. }
  3150. if (input->ExpectTag(32)) goto parse_fishid;
  3151. if (input->ExpectAtEnd()) return true;
  3152. break;
  3153. }
  3154. default: {
  3155. handle_uninterpreted:
  3156. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3157. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  3158. return true;
  3159. }
  3160. DO_(::google::protobuf::internal::WireFormat::SkipField(
  3161. input, tag, mutable_unknown_fields()));
  3162. break;
  3163. }
  3164. }
  3165. }
  3166. return true;
  3167. #undef DO_
  3168. }
  3169. void packetc2l_armedshark_palace_call_bomb_aircraft::SerializeWithCachedSizes(
  3170. ::google::protobuf::io::CodedOutputStream* output) const {
  3171. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_armedshark_palace_call_bomb_aircraft];
  3172. if (has_packet_id()) {
  3173. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  3174. 1, this->packet_id(), output);
  3175. }
  3176. // optional int32 callType = 2;
  3177. if (has_calltype()) {
  3178. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->calltype(), output);
  3179. }
  3180. // optional int32 bombType = 3;
  3181. if (has_bombtype()) {
  3182. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->bombtype(), output);
  3183. }
  3184. // repeated int32 fishid = 4;
  3185. for (int i = 0; i < this->fishid_size(); i++) {
  3186. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  3187. 4, this->fishid(i), output);
  3188. }
  3189. if (!unknown_fields().empty()) {
  3190. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  3191. unknown_fields(), output);
  3192. }
  3193. }
  3194. ::google::protobuf::uint8* packetc2l_armedshark_palace_call_bomb_aircraft::SerializeWithCachedSizesToArray(
  3195. ::google::protobuf::uint8* target) const {
  3196. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_armedshark_palace_call_bomb_aircraft];
  3197. if (has_packet_id()) {
  3198. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  3199. 1, this->packet_id(), target);
  3200. }
  3201. // optional int32 callType = 2;
  3202. if (has_calltype()) {
  3203. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->calltype(), target);
  3204. }
  3205. // optional int32 bombType = 3;
  3206. if (has_bombtype()) {
  3207. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->bombtype(), target);
  3208. }
  3209. // repeated int32 fishid = 4;
  3210. for (int i = 0; i < this->fishid_size(); i++) {
  3211. target = ::google::protobuf::internal::WireFormatLite::
  3212. WriteInt32ToArray(4, this->fishid(i), target);
  3213. }
  3214. if (!unknown_fields().empty()) {
  3215. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3216. unknown_fields(), target);
  3217. }
  3218. return target;
  3219. }
  3220. int packetc2l_armedshark_palace_call_bomb_aircraft::ByteSize() const {
  3221. int total_size = 0;
  3222. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3223. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_armedshark_palace_call_bomb_aircraft];
  3224. if (has_packet_id()) {
  3225. total_size += 1 +
  3226. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  3227. }
  3228. // optional int32 callType = 2;
  3229. if (has_calltype()) {
  3230. total_size += 1 +
  3231. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3232. this->calltype());
  3233. }
  3234. // optional int32 bombType = 3;
  3235. if (has_bombtype()) {
  3236. total_size += 1 +
  3237. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3238. this->bombtype());
  3239. }
  3240. }
  3241. // repeated int32 fishid = 4;
  3242. {
  3243. int data_size = 0;
  3244. for (int i = 0; i < this->fishid_size(); i++) {
  3245. data_size += ::google::protobuf::internal::WireFormatLite::
  3246. Int32Size(this->fishid(i));
  3247. }
  3248. total_size += 1 * this->fishid_size() + data_size;
  3249. }
  3250. if (!unknown_fields().empty()) {
  3251. total_size +=
  3252. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3253. unknown_fields());
  3254. }
  3255. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3256. _cached_size_ = total_size;
  3257. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3258. return total_size;
  3259. }
  3260. void packetc2l_armedshark_palace_call_bomb_aircraft::MergeFrom(const ::google::protobuf::Message& from) {
  3261. GOOGLE_CHECK_NE(&from, this);
  3262. const packetc2l_armedshark_palace_call_bomb_aircraft* source =
  3263. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_armedshark_palace_call_bomb_aircraft*>(
  3264. &from);
  3265. if (source == NULL) {
  3266. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3267. } else {
  3268. MergeFrom(*source);
  3269. }
  3270. }
  3271. void packetc2l_armedshark_palace_call_bomb_aircraft::MergeFrom(const packetc2l_armedshark_palace_call_bomb_aircraft& from) {
  3272. GOOGLE_CHECK_NE(&from, this);
  3273. fishid_.MergeFrom(from.fishid_);
  3274. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3275. if (from.has_packet_id()) {
  3276. set_packet_id(from.packet_id());
  3277. }
  3278. if (from.has_calltype()) {
  3279. set_calltype(from.calltype());
  3280. }
  3281. if (from.has_bombtype()) {
  3282. set_bombtype(from.bombtype());
  3283. }
  3284. }
  3285. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  3286. }
  3287. void packetc2l_armedshark_palace_call_bomb_aircraft::CopyFrom(const ::google::protobuf::Message& from) {
  3288. if (&from == this) return;
  3289. Clear();
  3290. MergeFrom(from);
  3291. }
  3292. void packetc2l_armedshark_palace_call_bomb_aircraft::CopyFrom(const packetc2l_armedshark_palace_call_bomb_aircraft& from) {
  3293. if (&from == this) return;
  3294. Clear();
  3295. MergeFrom(from);
  3296. }
  3297. bool packetc2l_armedshark_palace_call_bomb_aircraft::IsInitialized() const {
  3298. return true;
  3299. }
  3300. void packetc2l_armedshark_palace_call_bomb_aircraft::Swap(packetc2l_armedshark_palace_call_bomb_aircraft* other) {
  3301. if (other != this) {
  3302. std::swap(packet_id_, other->packet_id_);
  3303. std::swap(calltype_, other->calltype_);
  3304. std::swap(bombtype_, other->bombtype_);
  3305. fishid_.Swap(&other->fishid_);
  3306. std::swap(_has_bits_[0], other->_has_bits_[0]);
  3307. _unknown_fields_.Swap(&other->_unknown_fields_);
  3308. std::swap(_cached_size_, other->_cached_size_);
  3309. }
  3310. }
  3311. ::google::protobuf::Metadata packetc2l_armedshark_palace_call_bomb_aircraft::GetMetadata() const {
  3312. protobuf_AssignDescriptorsOnce();
  3313. ::google::protobuf::Metadata metadata;
  3314. metadata.descriptor = packetc2l_armedshark_palace_call_bomb_aircraft_descriptor_;
  3315. metadata.reflection = packetc2l_armedshark_palace_call_bomb_aircraft_reflection_;
  3316. return metadata;
  3317. }
  3318. // ===================================================================
  3319. #ifndef _MSC_VER
  3320. const int packetl2c_armedshark_palace_call_bomb_aircraft_result::kPacketIdFieldNumber;
  3321. const int packetl2c_armedshark_palace_call_bomb_aircraft_result::kResultFieldNumber;
  3322. const int packetl2c_armedshark_palace_call_bomb_aircraft_result::kCallTypeFieldNumber;
  3323. const int packetl2c_armedshark_palace_call_bomb_aircraft_result::kBombTypeFieldNumber;
  3324. const int packetl2c_armedshark_palace_call_bomb_aircraft_result::kPlayerIdFieldNumber;
  3325. const int packetl2c_armedshark_palace_call_bomb_aircraft_result::kFishIdsFieldNumber;
  3326. const int packetl2c_armedshark_palace_call_bomb_aircraft_result::kPointsFieldNumber;
  3327. const int packetl2c_armedshark_palace_call_bomb_aircraft_result::kGiftpointsFieldNumber;
  3328. const int packetl2c_armedshark_palace_call_bomb_aircraft_result::kScoreFieldNumber;
  3329. #endif // !_MSC_VER
  3330. packetl2c_armedshark_palace_call_bomb_aircraft_result::packetl2c_armedshark_palace_call_bomb_aircraft_result()
  3331. : ::google::protobuf::Message() {
  3332. SharedCtor();
  3333. }
  3334. void packetl2c_armedshark_palace_call_bomb_aircraft_result::InitAsDefaultInstance() {
  3335. }
  3336. packetl2c_armedshark_palace_call_bomb_aircraft_result::packetl2c_armedshark_palace_call_bomb_aircraft_result(const packetl2c_armedshark_palace_call_bomb_aircraft_result& from)
  3337. : ::google::protobuf::Message() {
  3338. SharedCtor();
  3339. MergeFrom(from);
  3340. }
  3341. void packetl2c_armedshark_palace_call_bomb_aircraft_result::SharedCtor() {
  3342. _cached_size_ = 0;
  3343. packet_id_ = 16178;
  3344. result_ = 0;
  3345. calltype_ = 0;
  3346. bombtype_ = 0;
  3347. playerid_ = 0;
  3348. points_ = 0;
  3349. giftpoints_ = 0;
  3350. score_ = 0;
  3351. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3352. }
  3353. packetl2c_armedshark_palace_call_bomb_aircraft_result::~packetl2c_armedshark_palace_call_bomb_aircraft_result() {
  3354. SharedDtor();
  3355. }
  3356. void packetl2c_armedshark_palace_call_bomb_aircraft_result::SharedDtor() {
  3357. if (this != default_instance_) {
  3358. }
  3359. }
  3360. void packetl2c_armedshark_palace_call_bomb_aircraft_result::SetCachedSize(int size) const {
  3361. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3362. _cached_size_ = size;
  3363. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3364. }
  3365. const ::google::protobuf::Descriptor* packetl2c_armedshark_palace_call_bomb_aircraft_result::descriptor() {
  3366. protobuf_AssignDescriptorsOnce();
  3367. return packetl2c_armedshark_palace_call_bomb_aircraft_result_descriptor_;
  3368. }
  3369. const packetl2c_armedshark_palace_call_bomb_aircraft_result& packetl2c_armedshark_palace_call_bomb_aircraft_result::default_instance() {
  3370. if (default_instance_ == NULL) protobuf_AddDesc_fish_5farmedshark_5fpalace_2eproto();
  3371. return *default_instance_;
  3372. }
  3373. packetl2c_armedshark_palace_call_bomb_aircraft_result* packetl2c_armedshark_palace_call_bomb_aircraft_result::default_instance_ = NULL;
  3374. packetl2c_armedshark_palace_call_bomb_aircraft_result* packetl2c_armedshark_palace_call_bomb_aircraft_result::New() const {
  3375. return new packetl2c_armedshark_palace_call_bomb_aircraft_result;
  3376. }
  3377. void packetl2c_armedshark_palace_call_bomb_aircraft_result::Clear() {
  3378. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3379. packet_id_ = 16178;
  3380. result_ = 0;
  3381. calltype_ = 0;
  3382. bombtype_ = 0;
  3383. playerid_ = 0;
  3384. points_ = 0;
  3385. giftpoints_ = 0;
  3386. }
  3387. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  3388. score_ = 0;
  3389. }
  3390. fishids_.Clear();
  3391. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3392. mutable_unknown_fields()->Clear();
  3393. }
  3394. bool packetl2c_armedshark_palace_call_bomb_aircraft_result::MergePartialFromCodedStream(
  3395. ::google::protobuf::io::CodedInputStream* input) {
  3396. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  3397. ::google::protobuf::uint32 tag;
  3398. while ((tag = input->ReadTag()) != 0) {
  3399. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3400. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_armedshark_palace_call_bomb_aircraft_result];
  3401. case 1: {
  3402. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3403. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3404. int value;
  3405. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3406. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  3407. input, &value)));
  3408. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  3409. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  3410. } else {
  3411. mutable_unknown_fields()->AddVarint(1, value);
  3412. }
  3413. } else {
  3414. goto handle_uninterpreted;
  3415. }
  3416. if (input->ExpectTag(16)) goto parse_result;
  3417. break;
  3418. }
  3419. // optional int32 result = 2;
  3420. case 2: {
  3421. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3422. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3423. parse_result:
  3424. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3425. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3426. input, &result_)));
  3427. set_has_result();
  3428. } else {
  3429. goto handle_uninterpreted;
  3430. }
  3431. if (input->ExpectTag(24)) goto parse_callType;
  3432. break;
  3433. }
  3434. // optional int32 callType = 3;
  3435. case 3: {
  3436. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3437. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3438. parse_callType:
  3439. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3440. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3441. input, &calltype_)));
  3442. set_has_calltype();
  3443. } else {
  3444. goto handle_uninterpreted;
  3445. }
  3446. if (input->ExpectTag(32)) goto parse_bombType;
  3447. break;
  3448. }
  3449. // optional int32 bombType = 4;
  3450. case 4: {
  3451. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3452. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3453. parse_bombType:
  3454. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3455. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3456. input, &bombtype_)));
  3457. set_has_bombtype();
  3458. } else {
  3459. goto handle_uninterpreted;
  3460. }
  3461. if (input->ExpectTag(40)) goto parse_playerId;
  3462. break;
  3463. }
  3464. // optional int32 playerId = 5;
  3465. case 5: {
  3466. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3467. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3468. parse_playerId:
  3469. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3470. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3471. input, &playerid_)));
  3472. set_has_playerid();
  3473. } else {
  3474. goto handle_uninterpreted;
  3475. }
  3476. if (input->ExpectTag(48)) goto parse_fishIds;
  3477. break;
  3478. }
  3479. // repeated int32 fishIds = 6;
  3480. case 6: {
  3481. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3482. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3483. parse_fishIds:
  3484. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  3485. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3486. 1, 48, input, this->mutable_fishids())));
  3487. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  3488. == ::google::protobuf::internal::WireFormatLite::
  3489. WIRETYPE_LENGTH_DELIMITED) {
  3490. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  3491. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3492. input, this->mutable_fishids())));
  3493. } else {
  3494. goto handle_uninterpreted;
  3495. }
  3496. if (input->ExpectTag(48)) goto parse_fishIds;
  3497. if (input->ExpectTag(56)) goto parse_points;
  3498. break;
  3499. }
  3500. // optional int32 points = 7;
  3501. case 7: {
  3502. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3503. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3504. parse_points:
  3505. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3506. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3507. input, &points_)));
  3508. set_has_points();
  3509. } else {
  3510. goto handle_uninterpreted;
  3511. }
  3512. if (input->ExpectTag(64)) goto parse_giftpoints;
  3513. break;
  3514. }
  3515. // optional int32 giftpoints = 8;
  3516. case 8: {
  3517. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3518. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3519. parse_giftpoints:
  3520. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3521. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3522. input, &giftpoints_)));
  3523. set_has_giftpoints();
  3524. } else {
  3525. goto handle_uninterpreted;
  3526. }
  3527. if (input->ExpectTag(72)) goto parse_score;
  3528. break;
  3529. }
  3530. // optional int32 score = 9;
  3531. case 9: {
  3532. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3533. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3534. parse_score:
  3535. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3536. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3537. input, &score_)));
  3538. set_has_score();
  3539. } else {
  3540. goto handle_uninterpreted;
  3541. }
  3542. if (input->ExpectAtEnd()) return true;
  3543. break;
  3544. }
  3545. default: {
  3546. handle_uninterpreted:
  3547. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3548. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  3549. return true;
  3550. }
  3551. DO_(::google::protobuf::internal::WireFormat::SkipField(
  3552. input, tag, mutable_unknown_fields()));
  3553. break;
  3554. }
  3555. }
  3556. }
  3557. return true;
  3558. #undef DO_
  3559. }
  3560. void packetl2c_armedshark_palace_call_bomb_aircraft_result::SerializeWithCachedSizes(
  3561. ::google::protobuf::io::CodedOutputStream* output) const {
  3562. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_armedshark_palace_call_bomb_aircraft_result];
  3563. if (has_packet_id()) {
  3564. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  3565. 1, this->packet_id(), output);
  3566. }
  3567. // optional int32 result = 2;
  3568. if (has_result()) {
  3569. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  3570. }
  3571. // optional int32 callType = 3;
  3572. if (has_calltype()) {
  3573. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->calltype(), output);
  3574. }
  3575. // optional int32 bombType = 4;
  3576. if (has_bombtype()) {
  3577. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->bombtype(), output);
  3578. }
  3579. // optional int32 playerId = 5;
  3580. if (has_playerid()) {
  3581. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->playerid(), output);
  3582. }
  3583. // repeated int32 fishIds = 6;
  3584. for (int i = 0; i < this->fishids_size(); i++) {
  3585. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  3586. 6, this->fishids(i), output);
  3587. }
  3588. // optional int32 points = 7;
  3589. if (has_points()) {
  3590. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->points(), output);
  3591. }
  3592. // optional int32 giftpoints = 8;
  3593. if (has_giftpoints()) {
  3594. ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->giftpoints(), output);
  3595. }
  3596. // optional int32 score = 9;
  3597. if (has_score()) {
  3598. ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->score(), output);
  3599. }
  3600. if (!unknown_fields().empty()) {
  3601. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  3602. unknown_fields(), output);
  3603. }
  3604. }
  3605. ::google::protobuf::uint8* packetl2c_armedshark_palace_call_bomb_aircraft_result::SerializeWithCachedSizesToArray(
  3606. ::google::protobuf::uint8* target) const {
  3607. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_armedshark_palace_call_bomb_aircraft_result];
  3608. if (has_packet_id()) {
  3609. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  3610. 1, this->packet_id(), target);
  3611. }
  3612. // optional int32 result = 2;
  3613. if (has_result()) {
  3614. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  3615. }
  3616. // optional int32 callType = 3;
  3617. if (has_calltype()) {
  3618. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->calltype(), target);
  3619. }
  3620. // optional int32 bombType = 4;
  3621. if (has_bombtype()) {
  3622. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->bombtype(), target);
  3623. }
  3624. // optional int32 playerId = 5;
  3625. if (has_playerid()) {
  3626. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->playerid(), target);
  3627. }
  3628. // repeated int32 fishIds = 6;
  3629. for (int i = 0; i < this->fishids_size(); i++) {
  3630. target = ::google::protobuf::internal::WireFormatLite::
  3631. WriteInt32ToArray(6, this->fishids(i), target);
  3632. }
  3633. // optional int32 points = 7;
  3634. if (has_points()) {
  3635. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->points(), target);
  3636. }
  3637. // optional int32 giftpoints = 8;
  3638. if (has_giftpoints()) {
  3639. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->giftpoints(), target);
  3640. }
  3641. // optional int32 score = 9;
  3642. if (has_score()) {
  3643. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->score(), target);
  3644. }
  3645. if (!unknown_fields().empty()) {
  3646. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3647. unknown_fields(), target);
  3648. }
  3649. return target;
  3650. }
  3651. int packetl2c_armedshark_palace_call_bomb_aircraft_result::ByteSize() const {
  3652. int total_size = 0;
  3653. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3654. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_armedshark_palace_call_bomb_aircraft_result];
  3655. if (has_packet_id()) {
  3656. total_size += 1 +
  3657. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  3658. }
  3659. // optional int32 result = 2;
  3660. if (has_result()) {
  3661. total_size += 1 +
  3662. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3663. this->result());
  3664. }
  3665. // optional int32 callType = 3;
  3666. if (has_calltype()) {
  3667. total_size += 1 +
  3668. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3669. this->calltype());
  3670. }
  3671. // optional int32 bombType = 4;
  3672. if (has_bombtype()) {
  3673. total_size += 1 +
  3674. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3675. this->bombtype());
  3676. }
  3677. // optional int32 playerId = 5;
  3678. if (has_playerid()) {
  3679. total_size += 1 +
  3680. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3681. this->playerid());
  3682. }
  3683. // optional int32 points = 7;
  3684. if (has_points()) {
  3685. total_size += 1 +
  3686. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3687. this->points());
  3688. }
  3689. // optional int32 giftpoints = 8;
  3690. if (has_giftpoints()) {
  3691. total_size += 1 +
  3692. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3693. this->giftpoints());
  3694. }
  3695. }
  3696. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  3697. // optional int32 score = 9;
  3698. if (has_score()) {
  3699. total_size += 1 +
  3700. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3701. this->score());
  3702. }
  3703. }
  3704. // repeated int32 fishIds = 6;
  3705. {
  3706. int data_size = 0;
  3707. for (int i = 0; i < this->fishids_size(); i++) {
  3708. data_size += ::google::protobuf::internal::WireFormatLite::
  3709. Int32Size(this->fishids(i));
  3710. }
  3711. total_size += 1 * this->fishids_size() + data_size;
  3712. }
  3713. if (!unknown_fields().empty()) {
  3714. total_size +=
  3715. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3716. unknown_fields());
  3717. }
  3718. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3719. _cached_size_ = total_size;
  3720. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3721. return total_size;
  3722. }
  3723. void packetl2c_armedshark_palace_call_bomb_aircraft_result::MergeFrom(const ::google::protobuf::Message& from) {
  3724. GOOGLE_CHECK_NE(&from, this);
  3725. const packetl2c_armedshark_palace_call_bomb_aircraft_result* source =
  3726. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_armedshark_palace_call_bomb_aircraft_result*>(
  3727. &from);
  3728. if (source == NULL) {
  3729. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3730. } else {
  3731. MergeFrom(*source);
  3732. }
  3733. }
  3734. void packetl2c_armedshark_palace_call_bomb_aircraft_result::MergeFrom(const packetl2c_armedshark_palace_call_bomb_aircraft_result& from) {
  3735. GOOGLE_CHECK_NE(&from, this);
  3736. fishids_.MergeFrom(from.fishids_);
  3737. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3738. if (from.has_packet_id()) {
  3739. set_packet_id(from.packet_id());
  3740. }
  3741. if (from.has_result()) {
  3742. set_result(from.result());
  3743. }
  3744. if (from.has_calltype()) {
  3745. set_calltype(from.calltype());
  3746. }
  3747. if (from.has_bombtype()) {
  3748. set_bombtype(from.bombtype());
  3749. }
  3750. if (from.has_playerid()) {
  3751. set_playerid(from.playerid());
  3752. }
  3753. if (from.has_points()) {
  3754. set_points(from.points());
  3755. }
  3756. if (from.has_giftpoints()) {
  3757. set_giftpoints(from.giftpoints());
  3758. }
  3759. }
  3760. if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  3761. if (from.has_score()) {
  3762. set_score(from.score());
  3763. }
  3764. }
  3765. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  3766. }
  3767. void packetl2c_armedshark_palace_call_bomb_aircraft_result::CopyFrom(const ::google::protobuf::Message& from) {
  3768. if (&from == this) return;
  3769. Clear();
  3770. MergeFrom(from);
  3771. }
  3772. void packetl2c_armedshark_palace_call_bomb_aircraft_result::CopyFrom(const packetl2c_armedshark_palace_call_bomb_aircraft_result& from) {
  3773. if (&from == this) return;
  3774. Clear();
  3775. MergeFrom(from);
  3776. }
  3777. bool packetl2c_armedshark_palace_call_bomb_aircraft_result::IsInitialized() const {
  3778. return true;
  3779. }
  3780. void packetl2c_armedshark_palace_call_bomb_aircraft_result::Swap(packetl2c_armedshark_palace_call_bomb_aircraft_result* other) {
  3781. if (other != this) {
  3782. std::swap(packet_id_, other->packet_id_);
  3783. std::swap(result_, other->result_);
  3784. std::swap(calltype_, other->calltype_);
  3785. std::swap(bombtype_, other->bombtype_);
  3786. std::swap(playerid_, other->playerid_);
  3787. fishids_.Swap(&other->fishids_);
  3788. std::swap(points_, other->points_);
  3789. std::swap(giftpoints_, other->giftpoints_);
  3790. std::swap(score_, other->score_);
  3791. std::swap(_has_bits_[0], other->_has_bits_[0]);
  3792. _unknown_fields_.Swap(&other->_unknown_fields_);
  3793. std::swap(_cached_size_, other->_cached_size_);
  3794. }
  3795. }
  3796. ::google::protobuf::Metadata packetl2c_armedshark_palace_call_bomb_aircraft_result::GetMetadata() const {
  3797. protobuf_AssignDescriptorsOnce();
  3798. ::google::protobuf::Metadata metadata;
  3799. metadata.descriptor = packetl2c_armedshark_palace_call_bomb_aircraft_result_descriptor_;
  3800. metadata.reflection = packetl2c_armedshark_palace_call_bomb_aircraft_result_reflection_;
  3801. return metadata;
  3802. }
  3803. // ===================================================================
  3804. #ifndef _MSC_VER
  3805. const int packetc2l_armedshark_palace_execute::kPacketIdFieldNumber;
  3806. #endif // !_MSC_VER
  3807. packetc2l_armedshark_palace_execute::packetc2l_armedshark_palace_execute()
  3808. : ::google::protobuf::Message() {
  3809. SharedCtor();
  3810. }
  3811. void packetc2l_armedshark_palace_execute::InitAsDefaultInstance() {
  3812. }
  3813. packetc2l_armedshark_palace_execute::packetc2l_armedshark_palace_execute(const packetc2l_armedshark_palace_execute& from)
  3814. : ::google::protobuf::Message() {
  3815. SharedCtor();
  3816. MergeFrom(from);
  3817. }
  3818. void packetc2l_armedshark_palace_execute::SharedCtor() {
  3819. _cached_size_ = 0;
  3820. packet_id_ = 10187;
  3821. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3822. }
  3823. packetc2l_armedshark_palace_execute::~packetc2l_armedshark_palace_execute() {
  3824. SharedDtor();
  3825. }
  3826. void packetc2l_armedshark_palace_execute::SharedDtor() {
  3827. if (this != default_instance_) {
  3828. }
  3829. }
  3830. void packetc2l_armedshark_palace_execute::SetCachedSize(int size) const {
  3831. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3832. _cached_size_ = size;
  3833. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3834. }
  3835. const ::google::protobuf::Descriptor* packetc2l_armedshark_palace_execute::descriptor() {
  3836. protobuf_AssignDescriptorsOnce();
  3837. return packetc2l_armedshark_palace_execute_descriptor_;
  3838. }
  3839. const packetc2l_armedshark_palace_execute& packetc2l_armedshark_palace_execute::default_instance() {
  3840. if (default_instance_ == NULL) protobuf_AddDesc_fish_5farmedshark_5fpalace_2eproto();
  3841. return *default_instance_;
  3842. }
  3843. packetc2l_armedshark_palace_execute* packetc2l_armedshark_palace_execute::default_instance_ = NULL;
  3844. packetc2l_armedshark_palace_execute* packetc2l_armedshark_palace_execute::New() const {
  3845. return new packetc2l_armedshark_palace_execute;
  3846. }
  3847. void packetc2l_armedshark_palace_execute::Clear() {
  3848. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3849. packet_id_ = 10187;
  3850. }
  3851. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3852. mutable_unknown_fields()->Clear();
  3853. }
  3854. bool packetc2l_armedshark_palace_execute::MergePartialFromCodedStream(
  3855. ::google::protobuf::io::CodedInputStream* input) {
  3856. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  3857. ::google::protobuf::uint32 tag;
  3858. while ((tag = input->ReadTag()) != 0) {
  3859. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3860. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_armedshark_palace_execute];
  3861. case 1: {
  3862. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3863. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3864. int value;
  3865. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3866. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  3867. input, &value)));
  3868. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  3869. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  3870. } else {
  3871. mutable_unknown_fields()->AddVarint(1, value);
  3872. }
  3873. } else {
  3874. goto handle_uninterpreted;
  3875. }
  3876. if (input->ExpectAtEnd()) return true;
  3877. break;
  3878. }
  3879. default: {
  3880. handle_uninterpreted:
  3881. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3882. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  3883. return true;
  3884. }
  3885. DO_(::google::protobuf::internal::WireFormat::SkipField(
  3886. input, tag, mutable_unknown_fields()));
  3887. break;
  3888. }
  3889. }
  3890. }
  3891. return true;
  3892. #undef DO_
  3893. }
  3894. void packetc2l_armedshark_palace_execute::SerializeWithCachedSizes(
  3895. ::google::protobuf::io::CodedOutputStream* output) const {
  3896. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_armedshark_palace_execute];
  3897. if (has_packet_id()) {
  3898. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  3899. 1, this->packet_id(), output);
  3900. }
  3901. if (!unknown_fields().empty()) {
  3902. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  3903. unknown_fields(), output);
  3904. }
  3905. }
  3906. ::google::protobuf::uint8* packetc2l_armedshark_palace_execute::SerializeWithCachedSizesToArray(
  3907. ::google::protobuf::uint8* target) const {
  3908. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_armedshark_palace_execute];
  3909. if (has_packet_id()) {
  3910. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  3911. 1, this->packet_id(), target);
  3912. }
  3913. if (!unknown_fields().empty()) {
  3914. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3915. unknown_fields(), target);
  3916. }
  3917. return target;
  3918. }
  3919. int packetc2l_armedshark_palace_execute::ByteSize() const {
  3920. int total_size = 0;
  3921. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3922. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_armedshark_palace_execute];
  3923. if (has_packet_id()) {
  3924. total_size += 1 +
  3925. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  3926. }
  3927. }
  3928. if (!unknown_fields().empty()) {
  3929. total_size +=
  3930. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3931. unknown_fields());
  3932. }
  3933. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3934. _cached_size_ = total_size;
  3935. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3936. return total_size;
  3937. }
  3938. void packetc2l_armedshark_palace_execute::MergeFrom(const ::google::protobuf::Message& from) {
  3939. GOOGLE_CHECK_NE(&from, this);
  3940. const packetc2l_armedshark_palace_execute* source =
  3941. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_armedshark_palace_execute*>(
  3942. &from);
  3943. if (source == NULL) {
  3944. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3945. } else {
  3946. MergeFrom(*source);
  3947. }
  3948. }
  3949. void packetc2l_armedshark_palace_execute::MergeFrom(const packetc2l_armedshark_palace_execute& from) {
  3950. GOOGLE_CHECK_NE(&from, this);
  3951. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3952. if (from.has_packet_id()) {
  3953. set_packet_id(from.packet_id());
  3954. }
  3955. }
  3956. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  3957. }
  3958. void packetc2l_armedshark_palace_execute::CopyFrom(const ::google::protobuf::Message& from) {
  3959. if (&from == this) return;
  3960. Clear();
  3961. MergeFrom(from);
  3962. }
  3963. void packetc2l_armedshark_palace_execute::CopyFrom(const packetc2l_armedshark_palace_execute& from) {
  3964. if (&from == this) return;
  3965. Clear();
  3966. MergeFrom(from);
  3967. }
  3968. bool packetc2l_armedshark_palace_execute::IsInitialized() const {
  3969. return true;
  3970. }
  3971. void packetc2l_armedshark_palace_execute::Swap(packetc2l_armedshark_palace_execute* other) {
  3972. if (other != this) {
  3973. std::swap(packet_id_, other->packet_id_);
  3974. std::swap(_has_bits_[0], other->_has_bits_[0]);
  3975. _unknown_fields_.Swap(&other->_unknown_fields_);
  3976. std::swap(_cached_size_, other->_cached_size_);
  3977. }
  3978. }
  3979. ::google::protobuf::Metadata packetc2l_armedshark_palace_execute::GetMetadata() const {
  3980. protobuf_AssignDescriptorsOnce();
  3981. ::google::protobuf::Metadata metadata;
  3982. metadata.descriptor = packetc2l_armedshark_palace_execute_descriptor_;
  3983. metadata.reflection = packetc2l_armedshark_palace_execute_reflection_;
  3984. return metadata;
  3985. }
  3986. // ===================================================================
  3987. #ifndef _MSC_VER
  3988. const int packetl2c_armedshark_palace_execute_result::kPacketIdFieldNumber;
  3989. const int packetl2c_armedshark_palace_execute_result::kResultFieldNumber;
  3990. const int packetl2c_armedshark_palace_execute_result::kPlayerIdFieldNumber;
  3991. const int packetl2c_armedshark_palace_execute_result::kFishIdsFieldNumber;
  3992. const int packetl2c_armedshark_palace_execute_result::kScoreFieldNumber;
  3993. #endif // !_MSC_VER
  3994. packetl2c_armedshark_palace_execute_result::packetl2c_armedshark_palace_execute_result()
  3995. : ::google::protobuf::Message() {
  3996. SharedCtor();
  3997. }
  3998. void packetl2c_armedshark_palace_execute_result::InitAsDefaultInstance() {
  3999. }
  4000. packetl2c_armedshark_palace_execute_result::packetl2c_armedshark_palace_execute_result(const packetl2c_armedshark_palace_execute_result& from)
  4001. : ::google::protobuf::Message() {
  4002. SharedCtor();
  4003. MergeFrom(from);
  4004. }
  4005. void packetl2c_armedshark_palace_execute_result::SharedCtor() {
  4006. _cached_size_ = 0;
  4007. packet_id_ = 16181;
  4008. result_ = 0;
  4009. playerid_ = 0;
  4010. score_ = 0;
  4011. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4012. }
  4013. packetl2c_armedshark_palace_execute_result::~packetl2c_armedshark_palace_execute_result() {
  4014. SharedDtor();
  4015. }
  4016. void packetl2c_armedshark_palace_execute_result::SharedDtor() {
  4017. if (this != default_instance_) {
  4018. }
  4019. }
  4020. void packetl2c_armedshark_palace_execute_result::SetCachedSize(int size) const {
  4021. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4022. _cached_size_ = size;
  4023. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4024. }
  4025. const ::google::protobuf::Descriptor* packetl2c_armedshark_palace_execute_result::descriptor() {
  4026. protobuf_AssignDescriptorsOnce();
  4027. return packetl2c_armedshark_palace_execute_result_descriptor_;
  4028. }
  4029. const packetl2c_armedshark_palace_execute_result& packetl2c_armedshark_palace_execute_result::default_instance() {
  4030. if (default_instance_ == NULL) protobuf_AddDesc_fish_5farmedshark_5fpalace_2eproto();
  4031. return *default_instance_;
  4032. }
  4033. packetl2c_armedshark_palace_execute_result* packetl2c_armedshark_palace_execute_result::default_instance_ = NULL;
  4034. packetl2c_armedshark_palace_execute_result* packetl2c_armedshark_palace_execute_result::New() const {
  4035. return new packetl2c_armedshark_palace_execute_result;
  4036. }
  4037. void packetl2c_armedshark_palace_execute_result::Clear() {
  4038. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4039. packet_id_ = 16181;
  4040. result_ = 0;
  4041. playerid_ = 0;
  4042. score_ = 0;
  4043. }
  4044. fishids_.Clear();
  4045. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4046. mutable_unknown_fields()->Clear();
  4047. }
  4048. bool packetl2c_armedshark_palace_execute_result::MergePartialFromCodedStream(
  4049. ::google::protobuf::io::CodedInputStream* input) {
  4050. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  4051. ::google::protobuf::uint32 tag;
  4052. while ((tag = input->ReadTag()) != 0) {
  4053. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  4054. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_armedshark_palace_execute_result];
  4055. case 1: {
  4056. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4057. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4058. int value;
  4059. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4060. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  4061. input, &value)));
  4062. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  4063. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  4064. } else {
  4065. mutable_unknown_fields()->AddVarint(1, value);
  4066. }
  4067. } else {
  4068. goto handle_uninterpreted;
  4069. }
  4070. if (input->ExpectTag(16)) goto parse_result;
  4071. break;
  4072. }
  4073. // optional int32 result = 2;
  4074. case 2: {
  4075. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4076. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4077. parse_result:
  4078. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4079. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4080. input, &result_)));
  4081. set_has_result();
  4082. } else {
  4083. goto handle_uninterpreted;
  4084. }
  4085. if (input->ExpectTag(24)) goto parse_playerId;
  4086. break;
  4087. }
  4088. // optional int32 playerId = 3;
  4089. case 3: {
  4090. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4091. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4092. parse_playerId:
  4093. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4094. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4095. input, &playerid_)));
  4096. set_has_playerid();
  4097. } else {
  4098. goto handle_uninterpreted;
  4099. }
  4100. if (input->ExpectTag(32)) goto parse_fishIds;
  4101. break;
  4102. }
  4103. // repeated int32 fishIds = 4;
  4104. case 4: {
  4105. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4106. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4107. parse_fishIds:
  4108. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  4109. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4110. 1, 32, input, this->mutable_fishids())));
  4111. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  4112. == ::google::protobuf::internal::WireFormatLite::
  4113. WIRETYPE_LENGTH_DELIMITED) {
  4114. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  4115. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4116. input, this->mutable_fishids())));
  4117. } else {
  4118. goto handle_uninterpreted;
  4119. }
  4120. if (input->ExpectTag(32)) goto parse_fishIds;
  4121. if (input->ExpectTag(40)) goto parse_score;
  4122. break;
  4123. }
  4124. // optional int32 score = 5;
  4125. case 5: {
  4126. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4127. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4128. parse_score:
  4129. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4130. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4131. input, &score_)));
  4132. set_has_score();
  4133. } else {
  4134. goto handle_uninterpreted;
  4135. }
  4136. if (input->ExpectAtEnd()) return true;
  4137. break;
  4138. }
  4139. default: {
  4140. handle_uninterpreted:
  4141. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4142. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  4143. return true;
  4144. }
  4145. DO_(::google::protobuf::internal::WireFormat::SkipField(
  4146. input, tag, mutable_unknown_fields()));
  4147. break;
  4148. }
  4149. }
  4150. }
  4151. return true;
  4152. #undef DO_
  4153. }
  4154. void packetl2c_armedshark_palace_execute_result::SerializeWithCachedSizes(
  4155. ::google::protobuf::io::CodedOutputStream* output) const {
  4156. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_armedshark_palace_execute_result];
  4157. if (has_packet_id()) {
  4158. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  4159. 1, this->packet_id(), output);
  4160. }
  4161. // optional int32 result = 2;
  4162. if (has_result()) {
  4163. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  4164. }
  4165. // optional int32 playerId = 3;
  4166. if (has_playerid()) {
  4167. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->playerid(), output);
  4168. }
  4169. // repeated int32 fishIds = 4;
  4170. for (int i = 0; i < this->fishids_size(); i++) {
  4171. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  4172. 4, this->fishids(i), output);
  4173. }
  4174. // optional int32 score = 5;
  4175. if (has_score()) {
  4176. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->score(), output);
  4177. }
  4178. if (!unknown_fields().empty()) {
  4179. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  4180. unknown_fields(), output);
  4181. }
  4182. }
  4183. ::google::protobuf::uint8* packetl2c_armedshark_palace_execute_result::SerializeWithCachedSizesToArray(
  4184. ::google::protobuf::uint8* target) const {
  4185. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_armedshark_palace_execute_result];
  4186. if (has_packet_id()) {
  4187. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  4188. 1, this->packet_id(), target);
  4189. }
  4190. // optional int32 result = 2;
  4191. if (has_result()) {
  4192. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  4193. }
  4194. // optional int32 playerId = 3;
  4195. if (has_playerid()) {
  4196. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->playerid(), target);
  4197. }
  4198. // repeated int32 fishIds = 4;
  4199. for (int i = 0; i < this->fishids_size(); i++) {
  4200. target = ::google::protobuf::internal::WireFormatLite::
  4201. WriteInt32ToArray(4, this->fishids(i), target);
  4202. }
  4203. // optional int32 score = 5;
  4204. if (has_score()) {
  4205. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->score(), target);
  4206. }
  4207. if (!unknown_fields().empty()) {
  4208. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  4209. unknown_fields(), target);
  4210. }
  4211. return target;
  4212. }
  4213. int packetl2c_armedshark_palace_execute_result::ByteSize() const {
  4214. int total_size = 0;
  4215. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4216. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_armedshark_palace_execute_result];
  4217. if (has_packet_id()) {
  4218. total_size += 1 +
  4219. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  4220. }
  4221. // optional int32 result = 2;
  4222. if (has_result()) {
  4223. total_size += 1 +
  4224. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4225. this->result());
  4226. }
  4227. // optional int32 playerId = 3;
  4228. if (has_playerid()) {
  4229. total_size += 1 +
  4230. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4231. this->playerid());
  4232. }
  4233. // optional int32 score = 5;
  4234. if (has_score()) {
  4235. total_size += 1 +
  4236. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4237. this->score());
  4238. }
  4239. }
  4240. // repeated int32 fishIds = 4;
  4241. {
  4242. int data_size = 0;
  4243. for (int i = 0; i < this->fishids_size(); i++) {
  4244. data_size += ::google::protobuf::internal::WireFormatLite::
  4245. Int32Size(this->fishids(i));
  4246. }
  4247. total_size += 1 * this->fishids_size() + data_size;
  4248. }
  4249. if (!unknown_fields().empty()) {
  4250. total_size +=
  4251. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  4252. unknown_fields());
  4253. }
  4254. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4255. _cached_size_ = total_size;
  4256. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4257. return total_size;
  4258. }
  4259. void packetl2c_armedshark_palace_execute_result::MergeFrom(const ::google::protobuf::Message& from) {
  4260. GOOGLE_CHECK_NE(&from, this);
  4261. const packetl2c_armedshark_palace_execute_result* source =
  4262. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_armedshark_palace_execute_result*>(
  4263. &from);
  4264. if (source == NULL) {
  4265. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  4266. } else {
  4267. MergeFrom(*source);
  4268. }
  4269. }
  4270. void packetl2c_armedshark_palace_execute_result::MergeFrom(const packetl2c_armedshark_palace_execute_result& from) {
  4271. GOOGLE_CHECK_NE(&from, this);
  4272. fishids_.MergeFrom(from.fishids_);
  4273. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4274. if (from.has_packet_id()) {
  4275. set_packet_id(from.packet_id());
  4276. }
  4277. if (from.has_result()) {
  4278. set_result(from.result());
  4279. }
  4280. if (from.has_playerid()) {
  4281. set_playerid(from.playerid());
  4282. }
  4283. if (from.has_score()) {
  4284. set_score(from.score());
  4285. }
  4286. }
  4287. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  4288. }
  4289. void packetl2c_armedshark_palace_execute_result::CopyFrom(const ::google::protobuf::Message& from) {
  4290. if (&from == this) return;
  4291. Clear();
  4292. MergeFrom(from);
  4293. }
  4294. void packetl2c_armedshark_palace_execute_result::CopyFrom(const packetl2c_armedshark_palace_execute_result& from) {
  4295. if (&from == this) return;
  4296. Clear();
  4297. MergeFrom(from);
  4298. }
  4299. bool packetl2c_armedshark_palace_execute_result::IsInitialized() const {
  4300. return true;
  4301. }
  4302. void packetl2c_armedshark_palace_execute_result::Swap(packetl2c_armedshark_palace_execute_result* other) {
  4303. if (other != this) {
  4304. std::swap(packet_id_, other->packet_id_);
  4305. std::swap(result_, other->result_);
  4306. std::swap(playerid_, other->playerid_);
  4307. fishids_.Swap(&other->fishids_);
  4308. std::swap(score_, other->score_);
  4309. std::swap(_has_bits_[0], other->_has_bits_[0]);
  4310. _unknown_fields_.Swap(&other->_unknown_fields_);
  4311. std::swap(_cached_size_, other->_cached_size_);
  4312. }
  4313. }
  4314. ::google::protobuf::Metadata packetl2c_armedshark_palace_execute_result::GetMetadata() const {
  4315. protobuf_AssignDescriptorsOnce();
  4316. ::google::protobuf::Metadata metadata;
  4317. metadata.descriptor = packetl2c_armedshark_palace_execute_result_descriptor_;
  4318. metadata.reflection = packetl2c_armedshark_palace_execute_result_reflection_;
  4319. return metadata;
  4320. }
  4321. // ===================================================================
  4322. #ifndef _MSC_VER
  4323. const int packetc2l_armedshark_palace_lottery::kPacketIdFieldNumber;
  4324. const int packetc2l_armedshark_palace_lottery::kKeyIdFieldNumber;
  4325. #endif // !_MSC_VER
  4326. packetc2l_armedshark_palace_lottery::packetc2l_armedshark_palace_lottery()
  4327. : ::google::protobuf::Message() {
  4328. SharedCtor();
  4329. }
  4330. void packetc2l_armedshark_palace_lottery::InitAsDefaultInstance() {
  4331. }
  4332. packetc2l_armedshark_palace_lottery::packetc2l_armedshark_palace_lottery(const packetc2l_armedshark_palace_lottery& from)
  4333. : ::google::protobuf::Message() {
  4334. SharedCtor();
  4335. MergeFrom(from);
  4336. }
  4337. void packetc2l_armedshark_palace_lottery::SharedCtor() {
  4338. _cached_size_ = 0;
  4339. packet_id_ = 10185;
  4340. keyid_ = 0;
  4341. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4342. }
  4343. packetc2l_armedshark_palace_lottery::~packetc2l_armedshark_palace_lottery() {
  4344. SharedDtor();
  4345. }
  4346. void packetc2l_armedshark_palace_lottery::SharedDtor() {
  4347. if (this != default_instance_) {
  4348. }
  4349. }
  4350. void packetc2l_armedshark_palace_lottery::SetCachedSize(int size) const {
  4351. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4352. _cached_size_ = size;
  4353. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4354. }
  4355. const ::google::protobuf::Descriptor* packetc2l_armedshark_palace_lottery::descriptor() {
  4356. protobuf_AssignDescriptorsOnce();
  4357. return packetc2l_armedshark_palace_lottery_descriptor_;
  4358. }
  4359. const packetc2l_armedshark_palace_lottery& packetc2l_armedshark_palace_lottery::default_instance() {
  4360. if (default_instance_ == NULL) protobuf_AddDesc_fish_5farmedshark_5fpalace_2eproto();
  4361. return *default_instance_;
  4362. }
  4363. packetc2l_armedshark_palace_lottery* packetc2l_armedshark_palace_lottery::default_instance_ = NULL;
  4364. packetc2l_armedshark_palace_lottery* packetc2l_armedshark_palace_lottery::New() const {
  4365. return new packetc2l_armedshark_palace_lottery;
  4366. }
  4367. void packetc2l_armedshark_palace_lottery::Clear() {
  4368. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4369. packet_id_ = 10185;
  4370. keyid_ = 0;
  4371. }
  4372. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4373. mutable_unknown_fields()->Clear();
  4374. }
  4375. bool packetc2l_armedshark_palace_lottery::MergePartialFromCodedStream(
  4376. ::google::protobuf::io::CodedInputStream* input) {
  4377. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  4378. ::google::protobuf::uint32 tag;
  4379. while ((tag = input->ReadTag()) != 0) {
  4380. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  4381. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_armedshark_palace_lottery];
  4382. case 1: {
  4383. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4384. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4385. int value;
  4386. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4387. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  4388. input, &value)));
  4389. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  4390. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  4391. } else {
  4392. mutable_unknown_fields()->AddVarint(1, value);
  4393. }
  4394. } else {
  4395. goto handle_uninterpreted;
  4396. }
  4397. if (input->ExpectTag(16)) goto parse_keyId;
  4398. break;
  4399. }
  4400. // optional int32 keyId = 2;
  4401. case 2: {
  4402. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4403. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4404. parse_keyId:
  4405. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4406. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4407. input, &keyid_)));
  4408. set_has_keyid();
  4409. } else {
  4410. goto handle_uninterpreted;
  4411. }
  4412. if (input->ExpectAtEnd()) return true;
  4413. break;
  4414. }
  4415. default: {
  4416. handle_uninterpreted:
  4417. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4418. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  4419. return true;
  4420. }
  4421. DO_(::google::protobuf::internal::WireFormat::SkipField(
  4422. input, tag, mutable_unknown_fields()));
  4423. break;
  4424. }
  4425. }
  4426. }
  4427. return true;
  4428. #undef DO_
  4429. }
  4430. void packetc2l_armedshark_palace_lottery::SerializeWithCachedSizes(
  4431. ::google::protobuf::io::CodedOutputStream* output) const {
  4432. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_armedshark_palace_lottery];
  4433. if (has_packet_id()) {
  4434. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  4435. 1, this->packet_id(), output);
  4436. }
  4437. // optional int32 keyId = 2;
  4438. if (has_keyid()) {
  4439. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->keyid(), output);
  4440. }
  4441. if (!unknown_fields().empty()) {
  4442. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  4443. unknown_fields(), output);
  4444. }
  4445. }
  4446. ::google::protobuf::uint8* packetc2l_armedshark_palace_lottery::SerializeWithCachedSizesToArray(
  4447. ::google::protobuf::uint8* target) const {
  4448. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_armedshark_palace_lottery];
  4449. if (has_packet_id()) {
  4450. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  4451. 1, this->packet_id(), target);
  4452. }
  4453. // optional int32 keyId = 2;
  4454. if (has_keyid()) {
  4455. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->keyid(), target);
  4456. }
  4457. if (!unknown_fields().empty()) {
  4458. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  4459. unknown_fields(), target);
  4460. }
  4461. return target;
  4462. }
  4463. int packetc2l_armedshark_palace_lottery::ByteSize() const {
  4464. int total_size = 0;
  4465. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4466. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_armedshark_palace_lottery];
  4467. if (has_packet_id()) {
  4468. total_size += 1 +
  4469. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  4470. }
  4471. // optional int32 keyId = 2;
  4472. if (has_keyid()) {
  4473. total_size += 1 +
  4474. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4475. this->keyid());
  4476. }
  4477. }
  4478. if (!unknown_fields().empty()) {
  4479. total_size +=
  4480. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  4481. unknown_fields());
  4482. }
  4483. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4484. _cached_size_ = total_size;
  4485. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4486. return total_size;
  4487. }
  4488. void packetc2l_armedshark_palace_lottery::MergeFrom(const ::google::protobuf::Message& from) {
  4489. GOOGLE_CHECK_NE(&from, this);
  4490. const packetc2l_armedshark_palace_lottery* source =
  4491. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_armedshark_palace_lottery*>(
  4492. &from);
  4493. if (source == NULL) {
  4494. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  4495. } else {
  4496. MergeFrom(*source);
  4497. }
  4498. }
  4499. void packetc2l_armedshark_palace_lottery::MergeFrom(const packetc2l_armedshark_palace_lottery& from) {
  4500. GOOGLE_CHECK_NE(&from, this);
  4501. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4502. if (from.has_packet_id()) {
  4503. set_packet_id(from.packet_id());
  4504. }
  4505. if (from.has_keyid()) {
  4506. set_keyid(from.keyid());
  4507. }
  4508. }
  4509. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  4510. }
  4511. void packetc2l_armedshark_palace_lottery::CopyFrom(const ::google::protobuf::Message& from) {
  4512. if (&from == this) return;
  4513. Clear();
  4514. MergeFrom(from);
  4515. }
  4516. void packetc2l_armedshark_palace_lottery::CopyFrom(const packetc2l_armedshark_palace_lottery& from) {
  4517. if (&from == this) return;
  4518. Clear();
  4519. MergeFrom(from);
  4520. }
  4521. bool packetc2l_armedshark_palace_lottery::IsInitialized() const {
  4522. return true;
  4523. }
  4524. void packetc2l_armedshark_palace_lottery::Swap(packetc2l_armedshark_palace_lottery* other) {
  4525. if (other != this) {
  4526. std::swap(packet_id_, other->packet_id_);
  4527. std::swap(keyid_, other->keyid_);
  4528. std::swap(_has_bits_[0], other->_has_bits_[0]);
  4529. _unknown_fields_.Swap(&other->_unknown_fields_);
  4530. std::swap(_cached_size_, other->_cached_size_);
  4531. }
  4532. }
  4533. ::google::protobuf::Metadata packetc2l_armedshark_palace_lottery::GetMetadata() const {
  4534. protobuf_AssignDescriptorsOnce();
  4535. ::google::protobuf::Metadata metadata;
  4536. metadata.descriptor = packetc2l_armedshark_palace_lottery_descriptor_;
  4537. metadata.reflection = packetc2l_armedshark_palace_lottery_reflection_;
  4538. return metadata;
  4539. }
  4540. // ===================================================================
  4541. #ifndef _MSC_VER
  4542. const int packetl2c_armedshark_palace_lottery_result::kPacketIdFieldNumber;
  4543. const int packetl2c_armedshark_palace_lottery_result::kResultFieldNumber;
  4544. const int packetl2c_armedshark_palace_lottery_result::kKeyIdFieldNumber;
  4545. const int packetl2c_armedshark_palace_lottery_result::kGoldFieldNumber;
  4546. const int packetl2c_armedshark_palace_lottery_result::kCurJackpotFieldNumber;
  4547. #endif // !_MSC_VER
  4548. packetl2c_armedshark_palace_lottery_result::packetl2c_armedshark_palace_lottery_result()
  4549. : ::google::protobuf::Message() {
  4550. SharedCtor();
  4551. }
  4552. void packetl2c_armedshark_palace_lottery_result::InitAsDefaultInstance() {
  4553. }
  4554. packetl2c_armedshark_palace_lottery_result::packetl2c_armedshark_palace_lottery_result(const packetl2c_armedshark_palace_lottery_result& from)
  4555. : ::google::protobuf::Message() {
  4556. SharedCtor();
  4557. MergeFrom(from);
  4558. }
  4559. void packetl2c_armedshark_palace_lottery_result::SharedCtor() {
  4560. _cached_size_ = 0;
  4561. packet_id_ = 16179;
  4562. result_ = 0;
  4563. keyid_ = 0;
  4564. gold_ = 0;
  4565. curjackpot_ = 0;
  4566. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4567. }
  4568. packetl2c_armedshark_palace_lottery_result::~packetl2c_armedshark_palace_lottery_result() {
  4569. SharedDtor();
  4570. }
  4571. void packetl2c_armedshark_palace_lottery_result::SharedDtor() {
  4572. if (this != default_instance_) {
  4573. }
  4574. }
  4575. void packetl2c_armedshark_palace_lottery_result::SetCachedSize(int size) const {
  4576. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4577. _cached_size_ = size;
  4578. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4579. }
  4580. const ::google::protobuf::Descriptor* packetl2c_armedshark_palace_lottery_result::descriptor() {
  4581. protobuf_AssignDescriptorsOnce();
  4582. return packetl2c_armedshark_palace_lottery_result_descriptor_;
  4583. }
  4584. const packetl2c_armedshark_palace_lottery_result& packetl2c_armedshark_palace_lottery_result::default_instance() {
  4585. if (default_instance_ == NULL) protobuf_AddDesc_fish_5farmedshark_5fpalace_2eproto();
  4586. return *default_instance_;
  4587. }
  4588. packetl2c_armedshark_palace_lottery_result* packetl2c_armedshark_palace_lottery_result::default_instance_ = NULL;
  4589. packetl2c_armedshark_palace_lottery_result* packetl2c_armedshark_palace_lottery_result::New() const {
  4590. return new packetl2c_armedshark_palace_lottery_result;
  4591. }
  4592. void packetl2c_armedshark_palace_lottery_result::Clear() {
  4593. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4594. packet_id_ = 16179;
  4595. result_ = 0;
  4596. keyid_ = 0;
  4597. gold_ = 0;
  4598. curjackpot_ = 0;
  4599. }
  4600. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  4601. mutable_unknown_fields()->Clear();
  4602. }
  4603. bool packetl2c_armedshark_palace_lottery_result::MergePartialFromCodedStream(
  4604. ::google::protobuf::io::CodedInputStream* input) {
  4605. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  4606. ::google::protobuf::uint32 tag;
  4607. while ((tag = input->ReadTag()) != 0) {
  4608. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  4609. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_armedshark_palace_lottery_result];
  4610. case 1: {
  4611. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4612. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4613. int value;
  4614. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4615. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  4616. input, &value)));
  4617. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  4618. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  4619. } else {
  4620. mutable_unknown_fields()->AddVarint(1, value);
  4621. }
  4622. } else {
  4623. goto handle_uninterpreted;
  4624. }
  4625. if (input->ExpectTag(16)) goto parse_result;
  4626. break;
  4627. }
  4628. // optional int32 result = 2;
  4629. case 2: {
  4630. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4631. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4632. parse_result:
  4633. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4634. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4635. input, &result_)));
  4636. set_has_result();
  4637. } else {
  4638. goto handle_uninterpreted;
  4639. }
  4640. if (input->ExpectTag(24)) goto parse_keyId;
  4641. break;
  4642. }
  4643. // optional int32 keyId = 3;
  4644. case 3: {
  4645. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4646. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4647. parse_keyId:
  4648. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4649. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4650. input, &keyid_)));
  4651. set_has_keyid();
  4652. } else {
  4653. goto handle_uninterpreted;
  4654. }
  4655. if (input->ExpectTag(32)) goto parse_gold;
  4656. break;
  4657. }
  4658. // optional int32 gold = 4;
  4659. case 4: {
  4660. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4661. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4662. parse_gold:
  4663. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4664. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4665. input, &gold_)));
  4666. set_has_gold();
  4667. } else {
  4668. goto handle_uninterpreted;
  4669. }
  4670. if (input->ExpectTag(40)) goto parse_curJackpot;
  4671. break;
  4672. }
  4673. // optional int32 curJackpot = 5;
  4674. case 5: {
  4675. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4676. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  4677. parse_curJackpot:
  4678. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  4679. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  4680. input, &curjackpot_)));
  4681. set_has_curjackpot();
  4682. } else {
  4683. goto handle_uninterpreted;
  4684. }
  4685. if (input->ExpectAtEnd()) return true;
  4686. break;
  4687. }
  4688. default: {
  4689. handle_uninterpreted:
  4690. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  4691. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  4692. return true;
  4693. }
  4694. DO_(::google::protobuf::internal::WireFormat::SkipField(
  4695. input, tag, mutable_unknown_fields()));
  4696. break;
  4697. }
  4698. }
  4699. }
  4700. return true;
  4701. #undef DO_
  4702. }
  4703. void packetl2c_armedshark_palace_lottery_result::SerializeWithCachedSizes(
  4704. ::google::protobuf::io::CodedOutputStream* output) const {
  4705. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_armedshark_palace_lottery_result];
  4706. if (has_packet_id()) {
  4707. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  4708. 1, this->packet_id(), output);
  4709. }
  4710. // optional int32 result = 2;
  4711. if (has_result()) {
  4712. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  4713. }
  4714. // optional int32 keyId = 3;
  4715. if (has_keyid()) {
  4716. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->keyid(), output);
  4717. }
  4718. // optional int32 gold = 4;
  4719. if (has_gold()) {
  4720. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->gold(), output);
  4721. }
  4722. // optional int32 curJackpot = 5;
  4723. if (has_curjackpot()) {
  4724. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->curjackpot(), output);
  4725. }
  4726. if (!unknown_fields().empty()) {
  4727. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  4728. unknown_fields(), output);
  4729. }
  4730. }
  4731. ::google::protobuf::uint8* packetl2c_armedshark_palace_lottery_result::SerializeWithCachedSizesToArray(
  4732. ::google::protobuf::uint8* target) const {
  4733. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_armedshark_palace_lottery_result];
  4734. if (has_packet_id()) {
  4735. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  4736. 1, this->packet_id(), target);
  4737. }
  4738. // optional int32 result = 2;
  4739. if (has_result()) {
  4740. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  4741. }
  4742. // optional int32 keyId = 3;
  4743. if (has_keyid()) {
  4744. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->keyid(), target);
  4745. }
  4746. // optional int32 gold = 4;
  4747. if (has_gold()) {
  4748. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->gold(), target);
  4749. }
  4750. // optional int32 curJackpot = 5;
  4751. if (has_curjackpot()) {
  4752. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->curjackpot(), target);
  4753. }
  4754. if (!unknown_fields().empty()) {
  4755. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  4756. unknown_fields(), target);
  4757. }
  4758. return target;
  4759. }
  4760. int packetl2c_armedshark_palace_lottery_result::ByteSize() const {
  4761. int total_size = 0;
  4762. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4763. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_armedshark_palace_lottery_result];
  4764. if (has_packet_id()) {
  4765. total_size += 1 +
  4766. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  4767. }
  4768. // optional int32 result = 2;
  4769. if (has_result()) {
  4770. total_size += 1 +
  4771. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4772. this->result());
  4773. }
  4774. // optional int32 keyId = 3;
  4775. if (has_keyid()) {
  4776. total_size += 1 +
  4777. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4778. this->keyid());
  4779. }
  4780. // optional int32 gold = 4;
  4781. if (has_gold()) {
  4782. total_size += 1 +
  4783. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4784. this->gold());
  4785. }
  4786. // optional int32 curJackpot = 5;
  4787. if (has_curjackpot()) {
  4788. total_size += 1 +
  4789. ::google::protobuf::internal::WireFormatLite::Int32Size(
  4790. this->curjackpot());
  4791. }
  4792. }
  4793. if (!unknown_fields().empty()) {
  4794. total_size +=
  4795. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  4796. unknown_fields());
  4797. }
  4798. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  4799. _cached_size_ = total_size;
  4800. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  4801. return total_size;
  4802. }
  4803. void packetl2c_armedshark_palace_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
  4804. GOOGLE_CHECK_NE(&from, this);
  4805. const packetl2c_armedshark_palace_lottery_result* source =
  4806. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_armedshark_palace_lottery_result*>(
  4807. &from);
  4808. if (source == NULL) {
  4809. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  4810. } else {
  4811. MergeFrom(*source);
  4812. }
  4813. }
  4814. void packetl2c_armedshark_palace_lottery_result::MergeFrom(const packetl2c_armedshark_palace_lottery_result& from) {
  4815. GOOGLE_CHECK_NE(&from, this);
  4816. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4817. if (from.has_packet_id()) {
  4818. set_packet_id(from.packet_id());
  4819. }
  4820. if (from.has_result()) {
  4821. set_result(from.result());
  4822. }
  4823. if (from.has_keyid()) {
  4824. set_keyid(from.keyid());
  4825. }
  4826. if (from.has_gold()) {
  4827. set_gold(from.gold());
  4828. }
  4829. if (from.has_curjackpot()) {
  4830. set_curjackpot(from.curjackpot());
  4831. }
  4832. }
  4833. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  4834. }
  4835. void packetl2c_armedshark_palace_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
  4836. if (&from == this) return;
  4837. Clear();
  4838. MergeFrom(from);
  4839. }
  4840. void packetl2c_armedshark_palace_lottery_result::CopyFrom(const packetl2c_armedshark_palace_lottery_result& from) {
  4841. if (&from == this) return;
  4842. Clear();
  4843. MergeFrom(from);
  4844. }
  4845. bool packetl2c_armedshark_palace_lottery_result::IsInitialized() const {
  4846. return true;
  4847. }
  4848. void packetl2c_armedshark_palace_lottery_result::Swap(packetl2c_armedshark_palace_lottery_result* other) {
  4849. if (other != this) {
  4850. std::swap(packet_id_, other->packet_id_);
  4851. std::swap(result_, other->result_);
  4852. std::swap(keyid_, other->keyid_);
  4853. std::swap(gold_, other->gold_);
  4854. std::swap(curjackpot_, other->curjackpot_);
  4855. std::swap(_has_bits_[0], other->_has_bits_[0]);
  4856. _unknown_fields_.Swap(&other->_unknown_fields_);
  4857. std::swap(_cached_size_, other->_cached_size_);
  4858. }
  4859. }
  4860. ::google::protobuf::Metadata packetl2c_armedshark_palace_lottery_result::GetMetadata() const {
  4861. protobuf_AssignDescriptorsOnce();
  4862. ::google::protobuf::Metadata metadata;
  4863. metadata.descriptor = packetl2c_armedshark_palace_lottery_result_descriptor_;
  4864. metadata.reflection = packetl2c_armedshark_palace_lottery_result_reflection_;
  4865. return metadata;
  4866. }
  4867. // @@protoc_insertion_point(namespace_scope)
  4868. } // namespace fish_protocols
  4869. // @@protoc_insertion_point(global_scope)