fish_legendaryfish_palace.pb.cc 134 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: fish_legendaryfish_palace.proto
  3. #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
  4. #include "fish_legendaryfish_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* LegendaryShopInfo_descriptor_ = NULL;
  18. const ::google::protobuf::internal::GeneratedMessageReflection*
  19. LegendaryShopInfo_reflection_ = NULL;
  20. const ::google::protobuf::Descriptor* packetc2l_get_legendaryfish_palace_info_descriptor_ = NULL;
  21. const ::google::protobuf::internal::GeneratedMessageReflection*
  22. packetc2l_get_legendaryfish_palace_info_reflection_ = NULL;
  23. const ::google::protobuf::Descriptor* packetl2c_get_legendaryfish_palace_info_result_descriptor_ = NULL;
  24. const ::google::protobuf::internal::GeneratedMessageReflection*
  25. packetl2c_get_legendaryfish_palace_info_result_reflection_ = NULL;
  26. const ::google::protobuf::Descriptor* packetc2l_flush_shop_descriptor_ = NULL;
  27. const ::google::protobuf::internal::GeneratedMessageReflection*
  28. packetc2l_flush_shop_reflection_ = NULL;
  29. const ::google::protobuf::Descriptor* packetl2c_flush_shop_result_descriptor_ = NULL;
  30. const ::google::protobuf::internal::GeneratedMessageReflection*
  31. packetl2c_flush_shop_result_reflection_ = NULL;
  32. const ::google::protobuf::Descriptor* packetc2l_buy_shop_item_descriptor_ = NULL;
  33. const ::google::protobuf::internal::GeneratedMessageReflection*
  34. packetc2l_buy_shop_item_reflection_ = NULL;
  35. const ::google::protobuf::Descriptor* packetl2c_buy_shop_item_result_descriptor_ = NULL;
  36. const ::google::protobuf::internal::GeneratedMessageReflection*
  37. packetl2c_buy_shop_item_result_reflection_ = NULL;
  38. const ::google::protobuf::Descriptor* packetc2l_call_legendaryfish_descriptor_ = NULL;
  39. const ::google::protobuf::internal::GeneratedMessageReflection*
  40. packetc2l_call_legendaryfish_reflection_ = NULL;
  41. const ::google::protobuf::Descriptor* packetl2c_call_legendaryfish_result_descriptor_ = NULL;
  42. const ::google::protobuf::internal::GeneratedMessageReflection*
  43. packetl2c_call_legendaryfish_result_reflection_ = NULL;
  44. const ::google::protobuf::Descriptor* packetc2l_get_boss_info_descriptor_ = NULL;
  45. const ::google::protobuf::internal::GeneratedMessageReflection*
  46. packetc2l_get_boss_info_reflection_ = NULL;
  47. const ::google::protobuf::Descriptor* packetl2c_notice_boss_countdown_descriptor_ = NULL;
  48. const ::google::protobuf::internal::GeneratedMessageReflection*
  49. packetl2c_notice_boss_countdown_reflection_ = NULL;
  50. const ::google::protobuf::Descriptor* packetl2c_get_boss_info_result_descriptor_ = NULL;
  51. const ::google::protobuf::internal::GeneratedMessageReflection*
  52. packetl2c_get_boss_info_result_reflection_ = NULL;
  53. } // namespace
  54. void protobuf_AssignDesc_fish_5flegendaryfish_5fpalace_2eproto() {
  55. protobuf_AddDesc_fish_5flegendaryfish_5fpalace_2eproto();
  56. const ::google::protobuf::FileDescriptor* file =
  57. ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
  58. "fish_legendaryfish_palace.proto");
  59. GOOGLE_CHECK(file != NULL);
  60. LegendaryShopInfo_descriptor_ = file->message_type(0);
  61. static const int LegendaryShopInfo_offsets_[3] = {
  62. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LegendaryShopInfo, itemid_),
  63. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LegendaryShopInfo, shopid_),
  64. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LegendaryShopInfo, isreceived_),
  65. };
  66. LegendaryShopInfo_reflection_ =
  67. new ::google::protobuf::internal::GeneratedMessageReflection(
  68. LegendaryShopInfo_descriptor_,
  69. LegendaryShopInfo::default_instance_,
  70. LegendaryShopInfo_offsets_,
  71. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LegendaryShopInfo, _has_bits_[0]),
  72. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LegendaryShopInfo, _unknown_fields_),
  73. -1,
  74. ::google::protobuf::DescriptorPool::generated_pool(),
  75. ::google::protobuf::MessageFactory::generated_factory(),
  76. sizeof(LegendaryShopInfo));
  77. packetc2l_get_legendaryfish_palace_info_descriptor_ = file->message_type(1);
  78. static const int packetc2l_get_legendaryfish_palace_info_offsets_[1] = {
  79. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_legendaryfish_palace_info, packet_id_),
  80. };
  81. packetc2l_get_legendaryfish_palace_info_reflection_ =
  82. new ::google::protobuf::internal::GeneratedMessageReflection(
  83. packetc2l_get_legendaryfish_palace_info_descriptor_,
  84. packetc2l_get_legendaryfish_palace_info::default_instance_,
  85. packetc2l_get_legendaryfish_palace_info_offsets_,
  86. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_legendaryfish_palace_info, _has_bits_[0]),
  87. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_legendaryfish_palace_info, _unknown_fields_),
  88. -1,
  89. ::google::protobuf::DescriptorPool::generated_pool(),
  90. ::google::protobuf::MessageFactory::generated_factory(),
  91. sizeof(packetc2l_get_legendaryfish_palace_info));
  92. packetl2c_get_legendaryfish_palace_info_result_descriptor_ = file->message_type(2);
  93. static const int packetl2c_get_legendaryfish_palace_info_result_offsets_[7] = {
  94. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_legendaryfish_palace_info_result, packet_id_),
  95. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_legendaryfish_palace_info_result, result_),
  96. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_legendaryfish_palace_info_result, shopinfo_),
  97. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_legendaryfish_palace_info_result, shopflushtime_),
  98. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_legendaryfish_palace_info_result, bosscountdown_),
  99. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_legendaryfish_palace_info_result, bossscoretransrate_),
  100. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_legendaryfish_palace_info_result, curbossscore_),
  101. };
  102. packetl2c_get_legendaryfish_palace_info_result_reflection_ =
  103. new ::google::protobuf::internal::GeneratedMessageReflection(
  104. packetl2c_get_legendaryfish_palace_info_result_descriptor_,
  105. packetl2c_get_legendaryfish_palace_info_result::default_instance_,
  106. packetl2c_get_legendaryfish_palace_info_result_offsets_,
  107. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_legendaryfish_palace_info_result, _has_bits_[0]),
  108. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_legendaryfish_palace_info_result, _unknown_fields_),
  109. -1,
  110. ::google::protobuf::DescriptorPool::generated_pool(),
  111. ::google::protobuf::MessageFactory::generated_factory(),
  112. sizeof(packetl2c_get_legendaryfish_palace_info_result));
  113. packetc2l_flush_shop_descriptor_ = file->message_type(3);
  114. static const int packetc2l_flush_shop_offsets_[2] = {
  115. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_flush_shop, packet_id_),
  116. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_flush_shop, type_),
  117. };
  118. packetc2l_flush_shop_reflection_ =
  119. new ::google::protobuf::internal::GeneratedMessageReflection(
  120. packetc2l_flush_shop_descriptor_,
  121. packetc2l_flush_shop::default_instance_,
  122. packetc2l_flush_shop_offsets_,
  123. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_flush_shop, _has_bits_[0]),
  124. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_flush_shop, _unknown_fields_),
  125. -1,
  126. ::google::protobuf::DescriptorPool::generated_pool(),
  127. ::google::protobuf::MessageFactory::generated_factory(),
  128. sizeof(packetc2l_flush_shop));
  129. packetl2c_flush_shop_result_descriptor_ = file->message_type(4);
  130. static const int packetl2c_flush_shop_result_offsets_[4] = {
  131. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_flush_shop_result, packet_id_),
  132. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_flush_shop_result, result_),
  133. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_flush_shop_result, type_),
  134. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_flush_shop_result, shopinfo_),
  135. };
  136. packetl2c_flush_shop_result_reflection_ =
  137. new ::google::protobuf::internal::GeneratedMessageReflection(
  138. packetl2c_flush_shop_result_descriptor_,
  139. packetl2c_flush_shop_result::default_instance_,
  140. packetl2c_flush_shop_result_offsets_,
  141. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_flush_shop_result, _has_bits_[0]),
  142. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_flush_shop_result, _unknown_fields_),
  143. -1,
  144. ::google::protobuf::DescriptorPool::generated_pool(),
  145. ::google::protobuf::MessageFactory::generated_factory(),
  146. sizeof(packetl2c_flush_shop_result));
  147. packetc2l_buy_shop_item_descriptor_ = file->message_type(5);
  148. static const int packetc2l_buy_shop_item_offsets_[2] = {
  149. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_buy_shop_item, packet_id_),
  150. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_buy_shop_item, itemid_),
  151. };
  152. packetc2l_buy_shop_item_reflection_ =
  153. new ::google::protobuf::internal::GeneratedMessageReflection(
  154. packetc2l_buy_shop_item_descriptor_,
  155. packetc2l_buy_shop_item::default_instance_,
  156. packetc2l_buy_shop_item_offsets_,
  157. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_buy_shop_item, _has_bits_[0]),
  158. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_buy_shop_item, _unknown_fields_),
  159. -1,
  160. ::google::protobuf::DescriptorPool::generated_pool(),
  161. ::google::protobuf::MessageFactory::generated_factory(),
  162. sizeof(packetc2l_buy_shop_item));
  163. packetl2c_buy_shop_item_result_descriptor_ = file->message_type(6);
  164. static const int packetl2c_buy_shop_item_result_offsets_[4] = {
  165. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_buy_shop_item_result, packet_id_),
  166. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_buy_shop_item_result, result_),
  167. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_buy_shop_item_result, itemid_),
  168. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_buy_shop_item_result, shopinfo_),
  169. };
  170. packetl2c_buy_shop_item_result_reflection_ =
  171. new ::google::protobuf::internal::GeneratedMessageReflection(
  172. packetl2c_buy_shop_item_result_descriptor_,
  173. packetl2c_buy_shop_item_result::default_instance_,
  174. packetl2c_buy_shop_item_result_offsets_,
  175. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_buy_shop_item_result, _has_bits_[0]),
  176. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_buy_shop_item_result, _unknown_fields_),
  177. -1,
  178. ::google::protobuf::DescriptorPool::generated_pool(),
  179. ::google::protobuf::MessageFactory::generated_factory(),
  180. sizeof(packetl2c_buy_shop_item_result));
  181. packetc2l_call_legendaryfish_descriptor_ = file->message_type(7);
  182. static const int packetc2l_call_legendaryfish_offsets_[1] = {
  183. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_call_legendaryfish, packet_id_),
  184. };
  185. packetc2l_call_legendaryfish_reflection_ =
  186. new ::google::protobuf::internal::GeneratedMessageReflection(
  187. packetc2l_call_legendaryfish_descriptor_,
  188. packetc2l_call_legendaryfish::default_instance_,
  189. packetc2l_call_legendaryfish_offsets_,
  190. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_call_legendaryfish, _has_bits_[0]),
  191. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_call_legendaryfish, _unknown_fields_),
  192. -1,
  193. ::google::protobuf::DescriptorPool::generated_pool(),
  194. ::google::protobuf::MessageFactory::generated_factory(),
  195. sizeof(packetc2l_call_legendaryfish));
  196. packetl2c_call_legendaryfish_result_descriptor_ = file->message_type(8);
  197. static const int packetl2c_call_legendaryfish_result_offsets_[2] = {
  198. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_call_legendaryfish_result, packet_id_),
  199. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_call_legendaryfish_result, result_),
  200. };
  201. packetl2c_call_legendaryfish_result_reflection_ =
  202. new ::google::protobuf::internal::GeneratedMessageReflection(
  203. packetl2c_call_legendaryfish_result_descriptor_,
  204. packetl2c_call_legendaryfish_result::default_instance_,
  205. packetl2c_call_legendaryfish_result_offsets_,
  206. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_call_legendaryfish_result, _has_bits_[0]),
  207. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_call_legendaryfish_result, _unknown_fields_),
  208. -1,
  209. ::google::protobuf::DescriptorPool::generated_pool(),
  210. ::google::protobuf::MessageFactory::generated_factory(),
  211. sizeof(packetl2c_call_legendaryfish_result));
  212. packetc2l_get_boss_info_descriptor_ = file->message_type(9);
  213. static const int packetc2l_get_boss_info_offsets_[1] = {
  214. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_boss_info, packet_id_),
  215. };
  216. packetc2l_get_boss_info_reflection_ =
  217. new ::google::protobuf::internal::GeneratedMessageReflection(
  218. packetc2l_get_boss_info_descriptor_,
  219. packetc2l_get_boss_info::default_instance_,
  220. packetc2l_get_boss_info_offsets_,
  221. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_boss_info, _has_bits_[0]),
  222. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_boss_info, _unknown_fields_),
  223. -1,
  224. ::google::protobuf::DescriptorPool::generated_pool(),
  225. ::google::protobuf::MessageFactory::generated_factory(),
  226. sizeof(packetc2l_get_boss_info));
  227. packetl2c_notice_boss_countdown_descriptor_ = file->message_type(10);
  228. static const int packetl2c_notice_boss_countdown_offsets_[2] = {
  229. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_notice_boss_countdown, packet_id_),
  230. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_notice_boss_countdown, bosscountdown_),
  231. };
  232. packetl2c_notice_boss_countdown_reflection_ =
  233. new ::google::protobuf::internal::GeneratedMessageReflection(
  234. packetl2c_notice_boss_countdown_descriptor_,
  235. packetl2c_notice_boss_countdown::default_instance_,
  236. packetl2c_notice_boss_countdown_offsets_,
  237. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_notice_boss_countdown, _has_bits_[0]),
  238. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_notice_boss_countdown, _unknown_fields_),
  239. -1,
  240. ::google::protobuf::DescriptorPool::generated_pool(),
  241. ::google::protobuf::MessageFactory::generated_factory(),
  242. sizeof(packetl2c_notice_boss_countdown));
  243. packetl2c_get_boss_info_result_descriptor_ = file->message_type(11);
  244. static const int packetl2c_get_boss_info_result_offsets_[3] = {
  245. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_boss_info_result, packet_id_),
  246. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_boss_info_result, bossscoretransrate_),
  247. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_boss_info_result, curbossscore_),
  248. };
  249. packetl2c_get_boss_info_result_reflection_ =
  250. new ::google::protobuf::internal::GeneratedMessageReflection(
  251. packetl2c_get_boss_info_result_descriptor_,
  252. packetl2c_get_boss_info_result::default_instance_,
  253. packetl2c_get_boss_info_result_offsets_,
  254. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_boss_info_result, _has_bits_[0]),
  255. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_boss_info_result, _unknown_fields_),
  256. -1,
  257. ::google::protobuf::DescriptorPool::generated_pool(),
  258. ::google::protobuf::MessageFactory::generated_factory(),
  259. sizeof(packetl2c_get_boss_info_result));
  260. }
  261. namespace {
  262. GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
  263. inline void protobuf_AssignDescriptorsOnce() {
  264. ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
  265. &protobuf_AssignDesc_fish_5flegendaryfish_5fpalace_2eproto);
  266. }
  267. void protobuf_RegisterTypes(const ::std::string&) {
  268. protobuf_AssignDescriptorsOnce();
  269. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  270. LegendaryShopInfo_descriptor_, &LegendaryShopInfo::default_instance());
  271. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  272. packetc2l_get_legendaryfish_palace_info_descriptor_, &packetc2l_get_legendaryfish_palace_info::default_instance());
  273. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  274. packetl2c_get_legendaryfish_palace_info_result_descriptor_, &packetl2c_get_legendaryfish_palace_info_result::default_instance());
  275. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  276. packetc2l_flush_shop_descriptor_, &packetc2l_flush_shop::default_instance());
  277. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  278. packetl2c_flush_shop_result_descriptor_, &packetl2c_flush_shop_result::default_instance());
  279. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  280. packetc2l_buy_shop_item_descriptor_, &packetc2l_buy_shop_item::default_instance());
  281. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  282. packetl2c_buy_shop_item_result_descriptor_, &packetl2c_buy_shop_item_result::default_instance());
  283. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  284. packetc2l_call_legendaryfish_descriptor_, &packetc2l_call_legendaryfish::default_instance());
  285. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  286. packetl2c_call_legendaryfish_result_descriptor_, &packetl2c_call_legendaryfish_result::default_instance());
  287. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  288. packetc2l_get_boss_info_descriptor_, &packetc2l_get_boss_info::default_instance());
  289. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  290. packetl2c_notice_boss_countdown_descriptor_, &packetl2c_notice_boss_countdown::default_instance());
  291. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  292. packetl2c_get_boss_info_result_descriptor_, &packetl2c_get_boss_info_result::default_instance());
  293. }
  294. } // namespace
  295. void protobuf_ShutdownFile_fish_5flegendaryfish_5fpalace_2eproto() {
  296. delete LegendaryShopInfo::default_instance_;
  297. delete LegendaryShopInfo_reflection_;
  298. delete packetc2l_get_legendaryfish_palace_info::default_instance_;
  299. delete packetc2l_get_legendaryfish_palace_info_reflection_;
  300. delete packetl2c_get_legendaryfish_palace_info_result::default_instance_;
  301. delete packetl2c_get_legendaryfish_palace_info_result_reflection_;
  302. delete packetc2l_flush_shop::default_instance_;
  303. delete packetc2l_flush_shop_reflection_;
  304. delete packetl2c_flush_shop_result::default_instance_;
  305. delete packetl2c_flush_shop_result_reflection_;
  306. delete packetc2l_buy_shop_item::default_instance_;
  307. delete packetc2l_buy_shop_item_reflection_;
  308. delete packetl2c_buy_shop_item_result::default_instance_;
  309. delete packetl2c_buy_shop_item_result_reflection_;
  310. delete packetc2l_call_legendaryfish::default_instance_;
  311. delete packetc2l_call_legendaryfish_reflection_;
  312. delete packetl2c_call_legendaryfish_result::default_instance_;
  313. delete packetl2c_call_legendaryfish_result_reflection_;
  314. delete packetc2l_get_boss_info::default_instance_;
  315. delete packetc2l_get_boss_info_reflection_;
  316. delete packetl2c_notice_boss_countdown::default_instance_;
  317. delete packetl2c_notice_boss_countdown_reflection_;
  318. delete packetl2c_get_boss_info_result::default_instance_;
  319. delete packetl2c_get_boss_info_result_reflection_;
  320. }
  321. void protobuf_AddDesc_fish_5flegendaryfish_5fpalace_2eproto() {
  322. static bool already_here = false;
  323. if (already_here) return;
  324. already_here = true;
  325. GOOGLE_PROTOBUF_VERIFY_VERSION;
  326. ::fish_protocols::protobuf_AddDesc_fish_5fdef_2eproto();
  327. ::msg_type_def::protobuf_AddDesc_msg_5ftype_5fdef_2eproto();
  328. ::fish_protocols::protobuf_AddDesc_fish_5ftype_5fdef_2eproto();
  329. ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
  330. "\n\037fish_legendaryfish_palace.proto\022\016fish_"
  331. "protocols\032\016fish_def.proto\032\022msg_type_def."
  332. "proto\032\023fish_type_def.proto\"G\n\021LegendaryS"
  333. "hopInfo\022\016\n\006itemId\030\001 \001(\005\022\016\n\006shopId\030\002 \001(\005\022"
  334. "\022\n\nisReceived\030\003 \001(\010\"\210\001\n\'packetc2l_get_le"
  335. "gendaryfish_palace_info\022]\n\tpacket_id\030\001 \001"
  336. "(\0162!.fish_protocols.e_server_msg_type:\'e"
  337. "_mst_c2l_get_legendaryfish_palace_info\"\273"
  338. "\002\n.packetl2c_get_legendaryfish_palace_in"
  339. "fo_result\022d\n\tpacket_id\030\001 \001(\0162!.fish_prot"
  340. "ocols.e_server_msg_type:.e_mst_l2c_get_l"
  341. "egendaryfish_palace_info_result\022\016\n\006resul"
  342. "t\030\002 \001(\005\0223\n\010shopInfo\030\003 \003(\0132!.fish_protoco"
  343. "ls.LegendaryShopInfo\022\025\n\rshopFlushTime\030\004 "
  344. "\001(\005\022\025\n\rbossCountDown\030\005 \001(\005\022\032\n\022bossScoreT"
  345. "ransRate\030\006 \001(\005\022\024\n\014curBossScore\030\007 \001(\005\"p\n\024"
  346. "packetc2l_flush_shop\022J\n\tpacket_id\030\001 \001(\0162"
  347. "!.fish_protocols.e_server_msg_type:\024e_ms"
  348. "t_c2l_flush_shop\022\014\n\004type\030\002 \001(\005\"\303\001\n\033packe"
  349. "tl2c_flush_shop_result\022Q\n\tpacket_id\030\001 \001("
  350. "\0162!.fish_protocols.e_server_msg_type:\033e_"
  351. "mst_l2c_flush_shop_result\022\016\n\006result\030\002 \001("
  352. "\005\022\014\n\004type\030\003 \001(\005\0223\n\010shopInfo\030\004 \003(\0132!.fish"
  353. "_protocols.LegendaryShopInfo\"x\n\027packetc2"
  354. "l_buy_shop_item\022M\n\tpacket_id\030\001 \001(\0162!.fis"
  355. "h_protocols.e_server_msg_type:\027e_mst_c2l"
  356. "_buy_shop_item\022\016\n\006itemId\030\002 \001(\005\"\313\001\n\036packe"
  357. "tl2c_buy_shop_item_result\022T\n\tpacket_id\030\001"
  358. " \001(\0162!.fish_protocols.e_server_msg_type:"
  359. "\036e_mst_l2c_buy_shop_item_result\022\016\n\006resul"
  360. "t\030\002 \001(\005\022\016\n\006itemId\030\003 \001(\005\0223\n\010shopInfo\030\004 \003("
  361. "\0132!.fish_protocols.LegendaryShopInfo\"r\n\034"
  362. "packetc2l_call_legendaryfish\022R\n\tpacket_i"
  363. "d\030\001 \001(\0162!.fish_protocols.e_server_msg_ty"
  364. "pe:\034e_mst_c2l_call_legendaryfish\"\220\001\n#pac"
  365. "ketl2c_call_legendaryfish_result\022Y\n\tpack"
  366. "et_id\030\001 \001(\0162!.fish_protocols.e_server_ms"
  367. "g_type:#e_mst_l2c_call_legendaryfish_res"
  368. "ult\022\016\n\006result\030\002 \001(\005\"h\n\027packetc2l_get_bos"
  369. "s_info\022M\n\tpacket_id\030\001 \001(\0162!.fish_protoco"
  370. "ls.e_server_msg_type:\027e_mst_c2l_get_boss"
  371. "_info\"\217\001\n\037packetl2c_notice_boss_countdow"
  372. "n\022U\n\tpacket_id\030\001 \001(\0162!.fish_protocols.e_"
  373. "server_msg_type:\037e_mst_l2c_notice_boss_c"
  374. "ountdown\022\025\n\rbossCountDown\030\002 \001(\005\"\250\001\n\036pack"
  375. "etl2c_get_boss_info_result\022T\n\tpacket_id\030"
  376. "\001 \001(\0162!.fish_protocols.e_server_msg_type"
  377. ":\036e_mst_l2c_get_boss_info_result\022\032\n\022boss"
  378. "ScoreTransRate\030\002 \001(\005\022\024\n\014curBossScore\030\003 \001"
  379. "(\005", 1962);
  380. ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
  381. "fish_legendaryfish_palace.proto", &protobuf_RegisterTypes);
  382. LegendaryShopInfo::default_instance_ = new LegendaryShopInfo();
  383. packetc2l_get_legendaryfish_palace_info::default_instance_ = new packetc2l_get_legendaryfish_palace_info();
  384. packetl2c_get_legendaryfish_palace_info_result::default_instance_ = new packetl2c_get_legendaryfish_palace_info_result();
  385. packetc2l_flush_shop::default_instance_ = new packetc2l_flush_shop();
  386. packetl2c_flush_shop_result::default_instance_ = new packetl2c_flush_shop_result();
  387. packetc2l_buy_shop_item::default_instance_ = new packetc2l_buy_shop_item();
  388. packetl2c_buy_shop_item_result::default_instance_ = new packetl2c_buy_shop_item_result();
  389. packetc2l_call_legendaryfish::default_instance_ = new packetc2l_call_legendaryfish();
  390. packetl2c_call_legendaryfish_result::default_instance_ = new packetl2c_call_legendaryfish_result();
  391. packetc2l_get_boss_info::default_instance_ = new packetc2l_get_boss_info();
  392. packetl2c_notice_boss_countdown::default_instance_ = new packetl2c_notice_boss_countdown();
  393. packetl2c_get_boss_info_result::default_instance_ = new packetl2c_get_boss_info_result();
  394. LegendaryShopInfo::default_instance_->InitAsDefaultInstance();
  395. packetc2l_get_legendaryfish_palace_info::default_instance_->InitAsDefaultInstance();
  396. packetl2c_get_legendaryfish_palace_info_result::default_instance_->InitAsDefaultInstance();
  397. packetc2l_flush_shop::default_instance_->InitAsDefaultInstance();
  398. packetl2c_flush_shop_result::default_instance_->InitAsDefaultInstance();
  399. packetc2l_buy_shop_item::default_instance_->InitAsDefaultInstance();
  400. packetl2c_buy_shop_item_result::default_instance_->InitAsDefaultInstance();
  401. packetc2l_call_legendaryfish::default_instance_->InitAsDefaultInstance();
  402. packetl2c_call_legendaryfish_result::default_instance_->InitAsDefaultInstance();
  403. packetc2l_get_boss_info::default_instance_->InitAsDefaultInstance();
  404. packetl2c_notice_boss_countdown::default_instance_->InitAsDefaultInstance();
  405. packetl2c_get_boss_info_result::default_instance_->InitAsDefaultInstance();
  406. ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_fish_5flegendaryfish_5fpalace_2eproto);
  407. }
  408. // Force AddDescriptors() to be called at static initialization time.
  409. struct StaticDescriptorInitializer_fish_5flegendaryfish_5fpalace_2eproto {
  410. StaticDescriptorInitializer_fish_5flegendaryfish_5fpalace_2eproto() {
  411. protobuf_AddDesc_fish_5flegendaryfish_5fpalace_2eproto();
  412. }
  413. } static_descriptor_initializer_fish_5flegendaryfish_5fpalace_2eproto_;
  414. // ===================================================================
  415. #ifndef _MSC_VER
  416. const int LegendaryShopInfo::kItemIdFieldNumber;
  417. const int LegendaryShopInfo::kShopIdFieldNumber;
  418. const int LegendaryShopInfo::kIsReceivedFieldNumber;
  419. #endif // !_MSC_VER
  420. LegendaryShopInfo::LegendaryShopInfo()
  421. : ::google::protobuf::Message() {
  422. SharedCtor();
  423. }
  424. void LegendaryShopInfo::InitAsDefaultInstance() {
  425. }
  426. LegendaryShopInfo::LegendaryShopInfo(const LegendaryShopInfo& from)
  427. : ::google::protobuf::Message() {
  428. SharedCtor();
  429. MergeFrom(from);
  430. }
  431. void LegendaryShopInfo::SharedCtor() {
  432. _cached_size_ = 0;
  433. itemid_ = 0;
  434. shopid_ = 0;
  435. isreceived_ = false;
  436. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  437. }
  438. LegendaryShopInfo::~LegendaryShopInfo() {
  439. SharedDtor();
  440. }
  441. void LegendaryShopInfo::SharedDtor() {
  442. if (this != default_instance_) {
  443. }
  444. }
  445. void LegendaryShopInfo::SetCachedSize(int size) const {
  446. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  447. _cached_size_ = size;
  448. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  449. }
  450. const ::google::protobuf::Descriptor* LegendaryShopInfo::descriptor() {
  451. protobuf_AssignDescriptorsOnce();
  452. return LegendaryShopInfo_descriptor_;
  453. }
  454. const LegendaryShopInfo& LegendaryShopInfo::default_instance() {
  455. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flegendaryfish_5fpalace_2eproto();
  456. return *default_instance_;
  457. }
  458. LegendaryShopInfo* LegendaryShopInfo::default_instance_ = NULL;
  459. LegendaryShopInfo* LegendaryShopInfo::New() const {
  460. return new LegendaryShopInfo;
  461. }
  462. void LegendaryShopInfo::Clear() {
  463. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  464. itemid_ = 0;
  465. shopid_ = 0;
  466. isreceived_ = false;
  467. }
  468. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  469. mutable_unknown_fields()->Clear();
  470. }
  471. bool LegendaryShopInfo::MergePartialFromCodedStream(
  472. ::google::protobuf::io::CodedInputStream* input) {
  473. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  474. ::google::protobuf::uint32 tag;
  475. while ((tag = input->ReadTag()) != 0) {
  476. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  477. // optional int32 itemId = 1;
  478. case 1: {
  479. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  480. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  481. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  482. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  483. input, &itemid_)));
  484. set_has_itemid();
  485. } else {
  486. goto handle_uninterpreted;
  487. }
  488. if (input->ExpectTag(16)) goto parse_shopId;
  489. break;
  490. }
  491. // optional int32 shopId = 2;
  492. case 2: {
  493. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  494. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  495. parse_shopId:
  496. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  497. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  498. input, &shopid_)));
  499. set_has_shopid();
  500. } else {
  501. goto handle_uninterpreted;
  502. }
  503. if (input->ExpectTag(24)) goto parse_isReceived;
  504. break;
  505. }
  506. // optional bool isReceived = 3;
  507. case 3: {
  508. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  509. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  510. parse_isReceived:
  511. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  512. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  513. input, &isreceived_)));
  514. set_has_isreceived();
  515. } else {
  516. goto handle_uninterpreted;
  517. }
  518. if (input->ExpectAtEnd()) return true;
  519. break;
  520. }
  521. default: {
  522. handle_uninterpreted:
  523. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  524. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  525. return true;
  526. }
  527. DO_(::google::protobuf::internal::WireFormat::SkipField(
  528. input, tag, mutable_unknown_fields()));
  529. break;
  530. }
  531. }
  532. }
  533. return true;
  534. #undef DO_
  535. }
  536. void LegendaryShopInfo::SerializeWithCachedSizes(
  537. ::google::protobuf::io::CodedOutputStream* output) const {
  538. // optional int32 itemId = 1;
  539. if (has_itemid()) {
  540. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->itemid(), output);
  541. }
  542. // optional int32 shopId = 2;
  543. if (has_shopid()) {
  544. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->shopid(), output);
  545. }
  546. // optional bool isReceived = 3;
  547. if (has_isreceived()) {
  548. ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->isreceived(), output);
  549. }
  550. if (!unknown_fields().empty()) {
  551. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  552. unknown_fields(), output);
  553. }
  554. }
  555. ::google::protobuf::uint8* LegendaryShopInfo::SerializeWithCachedSizesToArray(
  556. ::google::protobuf::uint8* target) const {
  557. // optional int32 itemId = 1;
  558. if (has_itemid()) {
  559. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->itemid(), target);
  560. }
  561. // optional int32 shopId = 2;
  562. if (has_shopid()) {
  563. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->shopid(), target);
  564. }
  565. // optional bool isReceived = 3;
  566. if (has_isreceived()) {
  567. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->isreceived(), target);
  568. }
  569. if (!unknown_fields().empty()) {
  570. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  571. unknown_fields(), target);
  572. }
  573. return target;
  574. }
  575. int LegendaryShopInfo::ByteSize() const {
  576. int total_size = 0;
  577. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  578. // optional int32 itemId = 1;
  579. if (has_itemid()) {
  580. total_size += 1 +
  581. ::google::protobuf::internal::WireFormatLite::Int32Size(
  582. this->itemid());
  583. }
  584. // optional int32 shopId = 2;
  585. if (has_shopid()) {
  586. total_size += 1 +
  587. ::google::protobuf::internal::WireFormatLite::Int32Size(
  588. this->shopid());
  589. }
  590. // optional bool isReceived = 3;
  591. if (has_isreceived()) {
  592. total_size += 1 + 1;
  593. }
  594. }
  595. if (!unknown_fields().empty()) {
  596. total_size +=
  597. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  598. unknown_fields());
  599. }
  600. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  601. _cached_size_ = total_size;
  602. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  603. return total_size;
  604. }
  605. void LegendaryShopInfo::MergeFrom(const ::google::protobuf::Message& from) {
  606. GOOGLE_CHECK_NE(&from, this);
  607. const LegendaryShopInfo* source =
  608. ::google::protobuf::internal::dynamic_cast_if_available<const LegendaryShopInfo*>(
  609. &from);
  610. if (source == NULL) {
  611. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  612. } else {
  613. MergeFrom(*source);
  614. }
  615. }
  616. void LegendaryShopInfo::MergeFrom(const LegendaryShopInfo& from) {
  617. GOOGLE_CHECK_NE(&from, this);
  618. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  619. if (from.has_itemid()) {
  620. set_itemid(from.itemid());
  621. }
  622. if (from.has_shopid()) {
  623. set_shopid(from.shopid());
  624. }
  625. if (from.has_isreceived()) {
  626. set_isreceived(from.isreceived());
  627. }
  628. }
  629. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  630. }
  631. void LegendaryShopInfo::CopyFrom(const ::google::protobuf::Message& from) {
  632. if (&from == this) return;
  633. Clear();
  634. MergeFrom(from);
  635. }
  636. void LegendaryShopInfo::CopyFrom(const LegendaryShopInfo& from) {
  637. if (&from == this) return;
  638. Clear();
  639. MergeFrom(from);
  640. }
  641. bool LegendaryShopInfo::IsInitialized() const {
  642. return true;
  643. }
  644. void LegendaryShopInfo::Swap(LegendaryShopInfo* other) {
  645. if (other != this) {
  646. std::swap(itemid_, other->itemid_);
  647. std::swap(shopid_, other->shopid_);
  648. std::swap(isreceived_, other->isreceived_);
  649. std::swap(_has_bits_[0], other->_has_bits_[0]);
  650. _unknown_fields_.Swap(&other->_unknown_fields_);
  651. std::swap(_cached_size_, other->_cached_size_);
  652. }
  653. }
  654. ::google::protobuf::Metadata LegendaryShopInfo::GetMetadata() const {
  655. protobuf_AssignDescriptorsOnce();
  656. ::google::protobuf::Metadata metadata;
  657. metadata.descriptor = LegendaryShopInfo_descriptor_;
  658. metadata.reflection = LegendaryShopInfo_reflection_;
  659. return metadata;
  660. }
  661. // ===================================================================
  662. #ifndef _MSC_VER
  663. const int packetc2l_get_legendaryfish_palace_info::kPacketIdFieldNumber;
  664. #endif // !_MSC_VER
  665. packetc2l_get_legendaryfish_palace_info::packetc2l_get_legendaryfish_palace_info()
  666. : ::google::protobuf::Message() {
  667. SharedCtor();
  668. }
  669. void packetc2l_get_legendaryfish_palace_info::InitAsDefaultInstance() {
  670. }
  671. packetc2l_get_legendaryfish_palace_info::packetc2l_get_legendaryfish_palace_info(const packetc2l_get_legendaryfish_palace_info& from)
  672. : ::google::protobuf::Message() {
  673. SharedCtor();
  674. MergeFrom(from);
  675. }
  676. void packetc2l_get_legendaryfish_palace_info::SharedCtor() {
  677. _cached_size_ = 0;
  678. packet_id_ = 10192;
  679. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  680. }
  681. packetc2l_get_legendaryfish_palace_info::~packetc2l_get_legendaryfish_palace_info() {
  682. SharedDtor();
  683. }
  684. void packetc2l_get_legendaryfish_palace_info::SharedDtor() {
  685. if (this != default_instance_) {
  686. }
  687. }
  688. void packetc2l_get_legendaryfish_palace_info::SetCachedSize(int size) const {
  689. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  690. _cached_size_ = size;
  691. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  692. }
  693. const ::google::protobuf::Descriptor* packetc2l_get_legendaryfish_palace_info::descriptor() {
  694. protobuf_AssignDescriptorsOnce();
  695. return packetc2l_get_legendaryfish_palace_info_descriptor_;
  696. }
  697. const packetc2l_get_legendaryfish_palace_info& packetc2l_get_legendaryfish_palace_info::default_instance() {
  698. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flegendaryfish_5fpalace_2eproto();
  699. return *default_instance_;
  700. }
  701. packetc2l_get_legendaryfish_palace_info* packetc2l_get_legendaryfish_palace_info::default_instance_ = NULL;
  702. packetc2l_get_legendaryfish_palace_info* packetc2l_get_legendaryfish_palace_info::New() const {
  703. return new packetc2l_get_legendaryfish_palace_info;
  704. }
  705. void packetc2l_get_legendaryfish_palace_info::Clear() {
  706. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  707. packet_id_ = 10192;
  708. }
  709. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  710. mutable_unknown_fields()->Clear();
  711. }
  712. bool packetc2l_get_legendaryfish_palace_info::MergePartialFromCodedStream(
  713. ::google::protobuf::io::CodedInputStream* input) {
  714. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  715. ::google::protobuf::uint32 tag;
  716. while ((tag = input->ReadTag()) != 0) {
  717. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  718. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_legendaryfish_palace_info];
  719. case 1: {
  720. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  721. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  722. int value;
  723. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  724. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  725. input, &value)));
  726. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  727. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  728. } else {
  729. mutable_unknown_fields()->AddVarint(1, value);
  730. }
  731. } else {
  732. goto handle_uninterpreted;
  733. }
  734. if (input->ExpectAtEnd()) return true;
  735. break;
  736. }
  737. default: {
  738. handle_uninterpreted:
  739. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  740. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  741. return true;
  742. }
  743. DO_(::google::protobuf::internal::WireFormat::SkipField(
  744. input, tag, mutable_unknown_fields()));
  745. break;
  746. }
  747. }
  748. }
  749. return true;
  750. #undef DO_
  751. }
  752. void packetc2l_get_legendaryfish_palace_info::SerializeWithCachedSizes(
  753. ::google::protobuf::io::CodedOutputStream* output) const {
  754. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_legendaryfish_palace_info];
  755. if (has_packet_id()) {
  756. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  757. 1, this->packet_id(), output);
  758. }
  759. if (!unknown_fields().empty()) {
  760. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  761. unknown_fields(), output);
  762. }
  763. }
  764. ::google::protobuf::uint8* packetc2l_get_legendaryfish_palace_info::SerializeWithCachedSizesToArray(
  765. ::google::protobuf::uint8* target) const {
  766. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_legendaryfish_palace_info];
  767. if (has_packet_id()) {
  768. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  769. 1, this->packet_id(), target);
  770. }
  771. if (!unknown_fields().empty()) {
  772. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  773. unknown_fields(), target);
  774. }
  775. return target;
  776. }
  777. int packetc2l_get_legendaryfish_palace_info::ByteSize() const {
  778. int total_size = 0;
  779. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  780. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_legendaryfish_palace_info];
  781. if (has_packet_id()) {
  782. total_size += 1 +
  783. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  784. }
  785. }
  786. if (!unknown_fields().empty()) {
  787. total_size +=
  788. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  789. unknown_fields());
  790. }
  791. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  792. _cached_size_ = total_size;
  793. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  794. return total_size;
  795. }
  796. void packetc2l_get_legendaryfish_palace_info::MergeFrom(const ::google::protobuf::Message& from) {
  797. GOOGLE_CHECK_NE(&from, this);
  798. const packetc2l_get_legendaryfish_palace_info* source =
  799. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_get_legendaryfish_palace_info*>(
  800. &from);
  801. if (source == NULL) {
  802. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  803. } else {
  804. MergeFrom(*source);
  805. }
  806. }
  807. void packetc2l_get_legendaryfish_palace_info::MergeFrom(const packetc2l_get_legendaryfish_palace_info& from) {
  808. GOOGLE_CHECK_NE(&from, this);
  809. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  810. if (from.has_packet_id()) {
  811. set_packet_id(from.packet_id());
  812. }
  813. }
  814. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  815. }
  816. void packetc2l_get_legendaryfish_palace_info::CopyFrom(const ::google::protobuf::Message& from) {
  817. if (&from == this) return;
  818. Clear();
  819. MergeFrom(from);
  820. }
  821. void packetc2l_get_legendaryfish_palace_info::CopyFrom(const packetc2l_get_legendaryfish_palace_info& from) {
  822. if (&from == this) return;
  823. Clear();
  824. MergeFrom(from);
  825. }
  826. bool packetc2l_get_legendaryfish_palace_info::IsInitialized() const {
  827. return true;
  828. }
  829. void packetc2l_get_legendaryfish_palace_info::Swap(packetc2l_get_legendaryfish_palace_info* other) {
  830. if (other != this) {
  831. std::swap(packet_id_, other->packet_id_);
  832. std::swap(_has_bits_[0], other->_has_bits_[0]);
  833. _unknown_fields_.Swap(&other->_unknown_fields_);
  834. std::swap(_cached_size_, other->_cached_size_);
  835. }
  836. }
  837. ::google::protobuf::Metadata packetc2l_get_legendaryfish_palace_info::GetMetadata() const {
  838. protobuf_AssignDescriptorsOnce();
  839. ::google::protobuf::Metadata metadata;
  840. metadata.descriptor = packetc2l_get_legendaryfish_palace_info_descriptor_;
  841. metadata.reflection = packetc2l_get_legendaryfish_palace_info_reflection_;
  842. return metadata;
  843. }
  844. // ===================================================================
  845. #ifndef _MSC_VER
  846. const int packetl2c_get_legendaryfish_palace_info_result::kPacketIdFieldNumber;
  847. const int packetl2c_get_legendaryfish_palace_info_result::kResultFieldNumber;
  848. const int packetl2c_get_legendaryfish_palace_info_result::kShopInfoFieldNumber;
  849. const int packetl2c_get_legendaryfish_palace_info_result::kShopFlushTimeFieldNumber;
  850. const int packetl2c_get_legendaryfish_palace_info_result::kBossCountDownFieldNumber;
  851. const int packetl2c_get_legendaryfish_palace_info_result::kBossScoreTransRateFieldNumber;
  852. const int packetl2c_get_legendaryfish_palace_info_result::kCurBossScoreFieldNumber;
  853. #endif // !_MSC_VER
  854. packetl2c_get_legendaryfish_palace_info_result::packetl2c_get_legendaryfish_palace_info_result()
  855. : ::google::protobuf::Message() {
  856. SharedCtor();
  857. }
  858. void packetl2c_get_legendaryfish_palace_info_result::InitAsDefaultInstance() {
  859. }
  860. packetl2c_get_legendaryfish_palace_info_result::packetl2c_get_legendaryfish_palace_info_result(const packetl2c_get_legendaryfish_palace_info_result& from)
  861. : ::google::protobuf::Message() {
  862. SharedCtor();
  863. MergeFrom(from);
  864. }
  865. void packetl2c_get_legendaryfish_palace_info_result::SharedCtor() {
  866. _cached_size_ = 0;
  867. packet_id_ = 16185;
  868. result_ = 0;
  869. shopflushtime_ = 0;
  870. bosscountdown_ = 0;
  871. bossscoretransrate_ = 0;
  872. curbossscore_ = 0;
  873. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  874. }
  875. packetl2c_get_legendaryfish_palace_info_result::~packetl2c_get_legendaryfish_palace_info_result() {
  876. SharedDtor();
  877. }
  878. void packetl2c_get_legendaryfish_palace_info_result::SharedDtor() {
  879. if (this != default_instance_) {
  880. }
  881. }
  882. void packetl2c_get_legendaryfish_palace_info_result::SetCachedSize(int size) const {
  883. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  884. _cached_size_ = size;
  885. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  886. }
  887. const ::google::protobuf::Descriptor* packetl2c_get_legendaryfish_palace_info_result::descriptor() {
  888. protobuf_AssignDescriptorsOnce();
  889. return packetl2c_get_legendaryfish_palace_info_result_descriptor_;
  890. }
  891. const packetl2c_get_legendaryfish_palace_info_result& packetl2c_get_legendaryfish_palace_info_result::default_instance() {
  892. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flegendaryfish_5fpalace_2eproto();
  893. return *default_instance_;
  894. }
  895. packetl2c_get_legendaryfish_palace_info_result* packetl2c_get_legendaryfish_palace_info_result::default_instance_ = NULL;
  896. packetl2c_get_legendaryfish_palace_info_result* packetl2c_get_legendaryfish_palace_info_result::New() const {
  897. return new packetl2c_get_legendaryfish_palace_info_result;
  898. }
  899. void packetl2c_get_legendaryfish_palace_info_result::Clear() {
  900. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  901. packet_id_ = 16185;
  902. result_ = 0;
  903. shopflushtime_ = 0;
  904. bosscountdown_ = 0;
  905. bossscoretransrate_ = 0;
  906. curbossscore_ = 0;
  907. }
  908. shopinfo_.Clear();
  909. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  910. mutable_unknown_fields()->Clear();
  911. }
  912. bool packetl2c_get_legendaryfish_palace_info_result::MergePartialFromCodedStream(
  913. ::google::protobuf::io::CodedInputStream* input) {
  914. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  915. ::google::protobuf::uint32 tag;
  916. while ((tag = input->ReadTag()) != 0) {
  917. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  918. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_legendaryfish_palace_info_result];
  919. case 1: {
  920. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  921. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  922. int value;
  923. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  924. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  925. input, &value)));
  926. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  927. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  928. } else {
  929. mutable_unknown_fields()->AddVarint(1, value);
  930. }
  931. } else {
  932. goto handle_uninterpreted;
  933. }
  934. if (input->ExpectTag(16)) goto parse_result;
  935. break;
  936. }
  937. // optional int32 result = 2;
  938. case 2: {
  939. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  940. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  941. parse_result:
  942. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  943. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  944. input, &result_)));
  945. set_has_result();
  946. } else {
  947. goto handle_uninterpreted;
  948. }
  949. if (input->ExpectTag(26)) goto parse_shopInfo;
  950. break;
  951. }
  952. // repeated .fish_protocols.LegendaryShopInfo shopInfo = 3;
  953. case 3: {
  954. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  955. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  956. parse_shopInfo:
  957. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  958. input, add_shopinfo()));
  959. } else {
  960. goto handle_uninterpreted;
  961. }
  962. if (input->ExpectTag(26)) goto parse_shopInfo;
  963. if (input->ExpectTag(32)) goto parse_shopFlushTime;
  964. break;
  965. }
  966. // optional int32 shopFlushTime = 4;
  967. case 4: {
  968. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  969. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  970. parse_shopFlushTime:
  971. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  972. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  973. input, &shopflushtime_)));
  974. set_has_shopflushtime();
  975. } else {
  976. goto handle_uninterpreted;
  977. }
  978. if (input->ExpectTag(40)) goto parse_bossCountDown;
  979. break;
  980. }
  981. // optional int32 bossCountDown = 5;
  982. case 5: {
  983. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  984. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  985. parse_bossCountDown:
  986. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  987. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  988. input, &bosscountdown_)));
  989. set_has_bosscountdown();
  990. } else {
  991. goto handle_uninterpreted;
  992. }
  993. if (input->ExpectTag(48)) goto parse_bossScoreTransRate;
  994. break;
  995. }
  996. // optional int32 bossScoreTransRate = 6;
  997. case 6: {
  998. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  999. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1000. parse_bossScoreTransRate:
  1001. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1002. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1003. input, &bossscoretransrate_)));
  1004. set_has_bossscoretransrate();
  1005. } else {
  1006. goto handle_uninterpreted;
  1007. }
  1008. if (input->ExpectTag(56)) goto parse_curBossScore;
  1009. break;
  1010. }
  1011. // optional int32 curBossScore = 7;
  1012. case 7: {
  1013. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1014. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1015. parse_curBossScore:
  1016. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1017. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1018. input, &curbossscore_)));
  1019. set_has_curbossscore();
  1020. } else {
  1021. goto handle_uninterpreted;
  1022. }
  1023. if (input->ExpectAtEnd()) return true;
  1024. break;
  1025. }
  1026. default: {
  1027. handle_uninterpreted:
  1028. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1029. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  1030. return true;
  1031. }
  1032. DO_(::google::protobuf::internal::WireFormat::SkipField(
  1033. input, tag, mutable_unknown_fields()));
  1034. break;
  1035. }
  1036. }
  1037. }
  1038. return true;
  1039. #undef DO_
  1040. }
  1041. void packetl2c_get_legendaryfish_palace_info_result::SerializeWithCachedSizes(
  1042. ::google::protobuf::io::CodedOutputStream* output) const {
  1043. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_legendaryfish_palace_info_result];
  1044. if (has_packet_id()) {
  1045. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  1046. 1, this->packet_id(), output);
  1047. }
  1048. // optional int32 result = 2;
  1049. if (has_result()) {
  1050. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  1051. }
  1052. // repeated .fish_protocols.LegendaryShopInfo shopInfo = 3;
  1053. for (int i = 0; i < this->shopinfo_size(); i++) {
  1054. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  1055. 3, this->shopinfo(i), output);
  1056. }
  1057. // optional int32 shopFlushTime = 4;
  1058. if (has_shopflushtime()) {
  1059. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->shopflushtime(), output);
  1060. }
  1061. // optional int32 bossCountDown = 5;
  1062. if (has_bosscountdown()) {
  1063. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->bosscountdown(), output);
  1064. }
  1065. // optional int32 bossScoreTransRate = 6;
  1066. if (has_bossscoretransrate()) {
  1067. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->bossscoretransrate(), output);
  1068. }
  1069. // optional int32 curBossScore = 7;
  1070. if (has_curbossscore()) {
  1071. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->curbossscore(), output);
  1072. }
  1073. if (!unknown_fields().empty()) {
  1074. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  1075. unknown_fields(), output);
  1076. }
  1077. }
  1078. ::google::protobuf::uint8* packetl2c_get_legendaryfish_palace_info_result::SerializeWithCachedSizesToArray(
  1079. ::google::protobuf::uint8* target) const {
  1080. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_legendaryfish_palace_info_result];
  1081. if (has_packet_id()) {
  1082. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  1083. 1, this->packet_id(), target);
  1084. }
  1085. // optional int32 result = 2;
  1086. if (has_result()) {
  1087. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  1088. }
  1089. // repeated .fish_protocols.LegendaryShopInfo shopInfo = 3;
  1090. for (int i = 0; i < this->shopinfo_size(); i++) {
  1091. target = ::google::protobuf::internal::WireFormatLite::
  1092. WriteMessageNoVirtualToArray(
  1093. 3, this->shopinfo(i), target);
  1094. }
  1095. // optional int32 shopFlushTime = 4;
  1096. if (has_shopflushtime()) {
  1097. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->shopflushtime(), target);
  1098. }
  1099. // optional int32 bossCountDown = 5;
  1100. if (has_bosscountdown()) {
  1101. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->bosscountdown(), target);
  1102. }
  1103. // optional int32 bossScoreTransRate = 6;
  1104. if (has_bossscoretransrate()) {
  1105. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->bossscoretransrate(), target);
  1106. }
  1107. // optional int32 curBossScore = 7;
  1108. if (has_curbossscore()) {
  1109. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->curbossscore(), target);
  1110. }
  1111. if (!unknown_fields().empty()) {
  1112. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  1113. unknown_fields(), target);
  1114. }
  1115. return target;
  1116. }
  1117. int packetl2c_get_legendaryfish_palace_info_result::ByteSize() const {
  1118. int total_size = 0;
  1119. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1120. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_legendaryfish_palace_info_result];
  1121. if (has_packet_id()) {
  1122. total_size += 1 +
  1123. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  1124. }
  1125. // optional int32 result = 2;
  1126. if (has_result()) {
  1127. total_size += 1 +
  1128. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1129. this->result());
  1130. }
  1131. // optional int32 shopFlushTime = 4;
  1132. if (has_shopflushtime()) {
  1133. total_size += 1 +
  1134. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1135. this->shopflushtime());
  1136. }
  1137. // optional int32 bossCountDown = 5;
  1138. if (has_bosscountdown()) {
  1139. total_size += 1 +
  1140. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1141. this->bosscountdown());
  1142. }
  1143. // optional int32 bossScoreTransRate = 6;
  1144. if (has_bossscoretransrate()) {
  1145. total_size += 1 +
  1146. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1147. this->bossscoretransrate());
  1148. }
  1149. // optional int32 curBossScore = 7;
  1150. if (has_curbossscore()) {
  1151. total_size += 1 +
  1152. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1153. this->curbossscore());
  1154. }
  1155. }
  1156. // repeated .fish_protocols.LegendaryShopInfo shopInfo = 3;
  1157. total_size += 1 * this->shopinfo_size();
  1158. for (int i = 0; i < this->shopinfo_size(); i++) {
  1159. total_size +=
  1160. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  1161. this->shopinfo(i));
  1162. }
  1163. if (!unknown_fields().empty()) {
  1164. total_size +=
  1165. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  1166. unknown_fields());
  1167. }
  1168. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1169. _cached_size_ = total_size;
  1170. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1171. return total_size;
  1172. }
  1173. void packetl2c_get_legendaryfish_palace_info_result::MergeFrom(const ::google::protobuf::Message& from) {
  1174. GOOGLE_CHECK_NE(&from, this);
  1175. const packetl2c_get_legendaryfish_palace_info_result* source =
  1176. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_get_legendaryfish_palace_info_result*>(
  1177. &from);
  1178. if (source == NULL) {
  1179. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  1180. } else {
  1181. MergeFrom(*source);
  1182. }
  1183. }
  1184. void packetl2c_get_legendaryfish_palace_info_result::MergeFrom(const packetl2c_get_legendaryfish_palace_info_result& from) {
  1185. GOOGLE_CHECK_NE(&from, this);
  1186. shopinfo_.MergeFrom(from.shopinfo_);
  1187. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1188. if (from.has_packet_id()) {
  1189. set_packet_id(from.packet_id());
  1190. }
  1191. if (from.has_result()) {
  1192. set_result(from.result());
  1193. }
  1194. if (from.has_shopflushtime()) {
  1195. set_shopflushtime(from.shopflushtime());
  1196. }
  1197. if (from.has_bosscountdown()) {
  1198. set_bosscountdown(from.bosscountdown());
  1199. }
  1200. if (from.has_bossscoretransrate()) {
  1201. set_bossscoretransrate(from.bossscoretransrate());
  1202. }
  1203. if (from.has_curbossscore()) {
  1204. set_curbossscore(from.curbossscore());
  1205. }
  1206. }
  1207. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  1208. }
  1209. void packetl2c_get_legendaryfish_palace_info_result::CopyFrom(const ::google::protobuf::Message& from) {
  1210. if (&from == this) return;
  1211. Clear();
  1212. MergeFrom(from);
  1213. }
  1214. void packetl2c_get_legendaryfish_palace_info_result::CopyFrom(const packetl2c_get_legendaryfish_palace_info_result& from) {
  1215. if (&from == this) return;
  1216. Clear();
  1217. MergeFrom(from);
  1218. }
  1219. bool packetl2c_get_legendaryfish_palace_info_result::IsInitialized() const {
  1220. return true;
  1221. }
  1222. void packetl2c_get_legendaryfish_palace_info_result::Swap(packetl2c_get_legendaryfish_palace_info_result* other) {
  1223. if (other != this) {
  1224. std::swap(packet_id_, other->packet_id_);
  1225. std::swap(result_, other->result_);
  1226. shopinfo_.Swap(&other->shopinfo_);
  1227. std::swap(shopflushtime_, other->shopflushtime_);
  1228. std::swap(bosscountdown_, other->bosscountdown_);
  1229. std::swap(bossscoretransrate_, other->bossscoretransrate_);
  1230. std::swap(curbossscore_, other->curbossscore_);
  1231. std::swap(_has_bits_[0], other->_has_bits_[0]);
  1232. _unknown_fields_.Swap(&other->_unknown_fields_);
  1233. std::swap(_cached_size_, other->_cached_size_);
  1234. }
  1235. }
  1236. ::google::protobuf::Metadata packetl2c_get_legendaryfish_palace_info_result::GetMetadata() const {
  1237. protobuf_AssignDescriptorsOnce();
  1238. ::google::protobuf::Metadata metadata;
  1239. metadata.descriptor = packetl2c_get_legendaryfish_palace_info_result_descriptor_;
  1240. metadata.reflection = packetl2c_get_legendaryfish_palace_info_result_reflection_;
  1241. return metadata;
  1242. }
  1243. // ===================================================================
  1244. #ifndef _MSC_VER
  1245. const int packetc2l_flush_shop::kPacketIdFieldNumber;
  1246. const int packetc2l_flush_shop::kTypeFieldNumber;
  1247. #endif // !_MSC_VER
  1248. packetc2l_flush_shop::packetc2l_flush_shop()
  1249. : ::google::protobuf::Message() {
  1250. SharedCtor();
  1251. }
  1252. void packetc2l_flush_shop::InitAsDefaultInstance() {
  1253. }
  1254. packetc2l_flush_shop::packetc2l_flush_shop(const packetc2l_flush_shop& from)
  1255. : ::google::protobuf::Message() {
  1256. SharedCtor();
  1257. MergeFrom(from);
  1258. }
  1259. void packetc2l_flush_shop::SharedCtor() {
  1260. _cached_size_ = 0;
  1261. packet_id_ = 10193;
  1262. type_ = 0;
  1263. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1264. }
  1265. packetc2l_flush_shop::~packetc2l_flush_shop() {
  1266. SharedDtor();
  1267. }
  1268. void packetc2l_flush_shop::SharedDtor() {
  1269. if (this != default_instance_) {
  1270. }
  1271. }
  1272. void packetc2l_flush_shop::SetCachedSize(int size) const {
  1273. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1274. _cached_size_ = size;
  1275. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1276. }
  1277. const ::google::protobuf::Descriptor* packetc2l_flush_shop::descriptor() {
  1278. protobuf_AssignDescriptorsOnce();
  1279. return packetc2l_flush_shop_descriptor_;
  1280. }
  1281. const packetc2l_flush_shop& packetc2l_flush_shop::default_instance() {
  1282. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flegendaryfish_5fpalace_2eproto();
  1283. return *default_instance_;
  1284. }
  1285. packetc2l_flush_shop* packetc2l_flush_shop::default_instance_ = NULL;
  1286. packetc2l_flush_shop* packetc2l_flush_shop::New() const {
  1287. return new packetc2l_flush_shop;
  1288. }
  1289. void packetc2l_flush_shop::Clear() {
  1290. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1291. packet_id_ = 10193;
  1292. type_ = 0;
  1293. }
  1294. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1295. mutable_unknown_fields()->Clear();
  1296. }
  1297. bool packetc2l_flush_shop::MergePartialFromCodedStream(
  1298. ::google::protobuf::io::CodedInputStream* input) {
  1299. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  1300. ::google::protobuf::uint32 tag;
  1301. while ((tag = input->ReadTag()) != 0) {
  1302. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1303. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_flush_shop];
  1304. case 1: {
  1305. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1306. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1307. int value;
  1308. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1309. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  1310. input, &value)));
  1311. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  1312. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  1313. } else {
  1314. mutable_unknown_fields()->AddVarint(1, value);
  1315. }
  1316. } else {
  1317. goto handle_uninterpreted;
  1318. }
  1319. if (input->ExpectTag(16)) goto parse_type;
  1320. break;
  1321. }
  1322. // optional int32 type = 2;
  1323. case 2: {
  1324. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1325. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1326. parse_type:
  1327. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1328. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1329. input, &type_)));
  1330. set_has_type();
  1331. } else {
  1332. goto handle_uninterpreted;
  1333. }
  1334. if (input->ExpectAtEnd()) return true;
  1335. break;
  1336. }
  1337. default: {
  1338. handle_uninterpreted:
  1339. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1340. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  1341. return true;
  1342. }
  1343. DO_(::google::protobuf::internal::WireFormat::SkipField(
  1344. input, tag, mutable_unknown_fields()));
  1345. break;
  1346. }
  1347. }
  1348. }
  1349. return true;
  1350. #undef DO_
  1351. }
  1352. void packetc2l_flush_shop::SerializeWithCachedSizes(
  1353. ::google::protobuf::io::CodedOutputStream* output) const {
  1354. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_flush_shop];
  1355. if (has_packet_id()) {
  1356. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  1357. 1, this->packet_id(), output);
  1358. }
  1359. // optional int32 type = 2;
  1360. if (has_type()) {
  1361. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->type(), output);
  1362. }
  1363. if (!unknown_fields().empty()) {
  1364. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  1365. unknown_fields(), output);
  1366. }
  1367. }
  1368. ::google::protobuf::uint8* packetc2l_flush_shop::SerializeWithCachedSizesToArray(
  1369. ::google::protobuf::uint8* target) const {
  1370. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_flush_shop];
  1371. if (has_packet_id()) {
  1372. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  1373. 1, this->packet_id(), target);
  1374. }
  1375. // optional int32 type = 2;
  1376. if (has_type()) {
  1377. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->type(), target);
  1378. }
  1379. if (!unknown_fields().empty()) {
  1380. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  1381. unknown_fields(), target);
  1382. }
  1383. return target;
  1384. }
  1385. int packetc2l_flush_shop::ByteSize() const {
  1386. int total_size = 0;
  1387. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1388. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_flush_shop];
  1389. if (has_packet_id()) {
  1390. total_size += 1 +
  1391. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  1392. }
  1393. // optional int32 type = 2;
  1394. if (has_type()) {
  1395. total_size += 1 +
  1396. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1397. this->type());
  1398. }
  1399. }
  1400. if (!unknown_fields().empty()) {
  1401. total_size +=
  1402. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  1403. unknown_fields());
  1404. }
  1405. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1406. _cached_size_ = total_size;
  1407. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1408. return total_size;
  1409. }
  1410. void packetc2l_flush_shop::MergeFrom(const ::google::protobuf::Message& from) {
  1411. GOOGLE_CHECK_NE(&from, this);
  1412. const packetc2l_flush_shop* source =
  1413. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_flush_shop*>(
  1414. &from);
  1415. if (source == NULL) {
  1416. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  1417. } else {
  1418. MergeFrom(*source);
  1419. }
  1420. }
  1421. void packetc2l_flush_shop::MergeFrom(const packetc2l_flush_shop& from) {
  1422. GOOGLE_CHECK_NE(&from, this);
  1423. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1424. if (from.has_packet_id()) {
  1425. set_packet_id(from.packet_id());
  1426. }
  1427. if (from.has_type()) {
  1428. set_type(from.type());
  1429. }
  1430. }
  1431. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  1432. }
  1433. void packetc2l_flush_shop::CopyFrom(const ::google::protobuf::Message& from) {
  1434. if (&from == this) return;
  1435. Clear();
  1436. MergeFrom(from);
  1437. }
  1438. void packetc2l_flush_shop::CopyFrom(const packetc2l_flush_shop& from) {
  1439. if (&from == this) return;
  1440. Clear();
  1441. MergeFrom(from);
  1442. }
  1443. bool packetc2l_flush_shop::IsInitialized() const {
  1444. return true;
  1445. }
  1446. void packetc2l_flush_shop::Swap(packetc2l_flush_shop* other) {
  1447. if (other != this) {
  1448. std::swap(packet_id_, other->packet_id_);
  1449. std::swap(type_, other->type_);
  1450. std::swap(_has_bits_[0], other->_has_bits_[0]);
  1451. _unknown_fields_.Swap(&other->_unknown_fields_);
  1452. std::swap(_cached_size_, other->_cached_size_);
  1453. }
  1454. }
  1455. ::google::protobuf::Metadata packetc2l_flush_shop::GetMetadata() const {
  1456. protobuf_AssignDescriptorsOnce();
  1457. ::google::protobuf::Metadata metadata;
  1458. metadata.descriptor = packetc2l_flush_shop_descriptor_;
  1459. metadata.reflection = packetc2l_flush_shop_reflection_;
  1460. return metadata;
  1461. }
  1462. // ===================================================================
  1463. #ifndef _MSC_VER
  1464. const int packetl2c_flush_shop_result::kPacketIdFieldNumber;
  1465. const int packetl2c_flush_shop_result::kResultFieldNumber;
  1466. const int packetl2c_flush_shop_result::kTypeFieldNumber;
  1467. const int packetl2c_flush_shop_result::kShopInfoFieldNumber;
  1468. #endif // !_MSC_VER
  1469. packetl2c_flush_shop_result::packetl2c_flush_shop_result()
  1470. : ::google::protobuf::Message() {
  1471. SharedCtor();
  1472. }
  1473. void packetl2c_flush_shop_result::InitAsDefaultInstance() {
  1474. }
  1475. packetl2c_flush_shop_result::packetl2c_flush_shop_result(const packetl2c_flush_shop_result& from)
  1476. : ::google::protobuf::Message() {
  1477. SharedCtor();
  1478. MergeFrom(from);
  1479. }
  1480. void packetl2c_flush_shop_result::SharedCtor() {
  1481. _cached_size_ = 0;
  1482. packet_id_ = 16186;
  1483. result_ = 0;
  1484. type_ = 0;
  1485. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1486. }
  1487. packetl2c_flush_shop_result::~packetl2c_flush_shop_result() {
  1488. SharedDtor();
  1489. }
  1490. void packetl2c_flush_shop_result::SharedDtor() {
  1491. if (this != default_instance_) {
  1492. }
  1493. }
  1494. void packetl2c_flush_shop_result::SetCachedSize(int size) const {
  1495. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1496. _cached_size_ = size;
  1497. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1498. }
  1499. const ::google::protobuf::Descriptor* packetl2c_flush_shop_result::descriptor() {
  1500. protobuf_AssignDescriptorsOnce();
  1501. return packetl2c_flush_shop_result_descriptor_;
  1502. }
  1503. const packetl2c_flush_shop_result& packetl2c_flush_shop_result::default_instance() {
  1504. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flegendaryfish_5fpalace_2eproto();
  1505. return *default_instance_;
  1506. }
  1507. packetl2c_flush_shop_result* packetl2c_flush_shop_result::default_instance_ = NULL;
  1508. packetl2c_flush_shop_result* packetl2c_flush_shop_result::New() const {
  1509. return new packetl2c_flush_shop_result;
  1510. }
  1511. void packetl2c_flush_shop_result::Clear() {
  1512. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1513. packet_id_ = 16186;
  1514. result_ = 0;
  1515. type_ = 0;
  1516. }
  1517. shopinfo_.Clear();
  1518. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1519. mutable_unknown_fields()->Clear();
  1520. }
  1521. bool packetl2c_flush_shop_result::MergePartialFromCodedStream(
  1522. ::google::protobuf::io::CodedInputStream* input) {
  1523. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  1524. ::google::protobuf::uint32 tag;
  1525. while ((tag = input->ReadTag()) != 0) {
  1526. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1527. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_flush_shop_result];
  1528. case 1: {
  1529. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1530. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1531. int value;
  1532. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1533. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  1534. input, &value)));
  1535. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  1536. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  1537. } else {
  1538. mutable_unknown_fields()->AddVarint(1, value);
  1539. }
  1540. } else {
  1541. goto handle_uninterpreted;
  1542. }
  1543. if (input->ExpectTag(16)) goto parse_result;
  1544. break;
  1545. }
  1546. // optional int32 result = 2;
  1547. case 2: {
  1548. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1549. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1550. parse_result:
  1551. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1552. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1553. input, &result_)));
  1554. set_has_result();
  1555. } else {
  1556. goto handle_uninterpreted;
  1557. }
  1558. if (input->ExpectTag(24)) goto parse_type;
  1559. break;
  1560. }
  1561. // optional int32 type = 3;
  1562. case 3: {
  1563. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1564. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1565. parse_type:
  1566. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1567. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1568. input, &type_)));
  1569. set_has_type();
  1570. } else {
  1571. goto handle_uninterpreted;
  1572. }
  1573. if (input->ExpectTag(34)) goto parse_shopInfo;
  1574. break;
  1575. }
  1576. // repeated .fish_protocols.LegendaryShopInfo shopInfo = 4;
  1577. case 4: {
  1578. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1579. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  1580. parse_shopInfo:
  1581. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  1582. input, add_shopinfo()));
  1583. } else {
  1584. goto handle_uninterpreted;
  1585. }
  1586. if (input->ExpectTag(34)) goto parse_shopInfo;
  1587. if (input->ExpectAtEnd()) return true;
  1588. break;
  1589. }
  1590. default: {
  1591. handle_uninterpreted:
  1592. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1593. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  1594. return true;
  1595. }
  1596. DO_(::google::protobuf::internal::WireFormat::SkipField(
  1597. input, tag, mutable_unknown_fields()));
  1598. break;
  1599. }
  1600. }
  1601. }
  1602. return true;
  1603. #undef DO_
  1604. }
  1605. void packetl2c_flush_shop_result::SerializeWithCachedSizes(
  1606. ::google::protobuf::io::CodedOutputStream* output) const {
  1607. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_flush_shop_result];
  1608. if (has_packet_id()) {
  1609. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  1610. 1, this->packet_id(), output);
  1611. }
  1612. // optional int32 result = 2;
  1613. if (has_result()) {
  1614. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  1615. }
  1616. // optional int32 type = 3;
  1617. if (has_type()) {
  1618. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->type(), output);
  1619. }
  1620. // repeated .fish_protocols.LegendaryShopInfo shopInfo = 4;
  1621. for (int i = 0; i < this->shopinfo_size(); i++) {
  1622. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  1623. 4, this->shopinfo(i), output);
  1624. }
  1625. if (!unknown_fields().empty()) {
  1626. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  1627. unknown_fields(), output);
  1628. }
  1629. }
  1630. ::google::protobuf::uint8* packetl2c_flush_shop_result::SerializeWithCachedSizesToArray(
  1631. ::google::protobuf::uint8* target) const {
  1632. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_flush_shop_result];
  1633. if (has_packet_id()) {
  1634. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  1635. 1, this->packet_id(), target);
  1636. }
  1637. // optional int32 result = 2;
  1638. if (has_result()) {
  1639. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  1640. }
  1641. // optional int32 type = 3;
  1642. if (has_type()) {
  1643. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->type(), target);
  1644. }
  1645. // repeated .fish_protocols.LegendaryShopInfo shopInfo = 4;
  1646. for (int i = 0; i < this->shopinfo_size(); i++) {
  1647. target = ::google::protobuf::internal::WireFormatLite::
  1648. WriteMessageNoVirtualToArray(
  1649. 4, this->shopinfo(i), target);
  1650. }
  1651. if (!unknown_fields().empty()) {
  1652. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  1653. unknown_fields(), target);
  1654. }
  1655. return target;
  1656. }
  1657. int packetl2c_flush_shop_result::ByteSize() const {
  1658. int total_size = 0;
  1659. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1660. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_flush_shop_result];
  1661. if (has_packet_id()) {
  1662. total_size += 1 +
  1663. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  1664. }
  1665. // optional int32 result = 2;
  1666. if (has_result()) {
  1667. total_size += 1 +
  1668. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1669. this->result());
  1670. }
  1671. // optional int32 type = 3;
  1672. if (has_type()) {
  1673. total_size += 1 +
  1674. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1675. this->type());
  1676. }
  1677. }
  1678. // repeated .fish_protocols.LegendaryShopInfo shopInfo = 4;
  1679. total_size += 1 * this->shopinfo_size();
  1680. for (int i = 0; i < this->shopinfo_size(); i++) {
  1681. total_size +=
  1682. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  1683. this->shopinfo(i));
  1684. }
  1685. if (!unknown_fields().empty()) {
  1686. total_size +=
  1687. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  1688. unknown_fields());
  1689. }
  1690. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1691. _cached_size_ = total_size;
  1692. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1693. return total_size;
  1694. }
  1695. void packetl2c_flush_shop_result::MergeFrom(const ::google::protobuf::Message& from) {
  1696. GOOGLE_CHECK_NE(&from, this);
  1697. const packetl2c_flush_shop_result* source =
  1698. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_flush_shop_result*>(
  1699. &from);
  1700. if (source == NULL) {
  1701. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  1702. } else {
  1703. MergeFrom(*source);
  1704. }
  1705. }
  1706. void packetl2c_flush_shop_result::MergeFrom(const packetl2c_flush_shop_result& from) {
  1707. GOOGLE_CHECK_NE(&from, this);
  1708. shopinfo_.MergeFrom(from.shopinfo_);
  1709. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1710. if (from.has_packet_id()) {
  1711. set_packet_id(from.packet_id());
  1712. }
  1713. if (from.has_result()) {
  1714. set_result(from.result());
  1715. }
  1716. if (from.has_type()) {
  1717. set_type(from.type());
  1718. }
  1719. }
  1720. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  1721. }
  1722. void packetl2c_flush_shop_result::CopyFrom(const ::google::protobuf::Message& from) {
  1723. if (&from == this) return;
  1724. Clear();
  1725. MergeFrom(from);
  1726. }
  1727. void packetl2c_flush_shop_result::CopyFrom(const packetl2c_flush_shop_result& from) {
  1728. if (&from == this) return;
  1729. Clear();
  1730. MergeFrom(from);
  1731. }
  1732. bool packetl2c_flush_shop_result::IsInitialized() const {
  1733. return true;
  1734. }
  1735. void packetl2c_flush_shop_result::Swap(packetl2c_flush_shop_result* other) {
  1736. if (other != this) {
  1737. std::swap(packet_id_, other->packet_id_);
  1738. std::swap(result_, other->result_);
  1739. std::swap(type_, other->type_);
  1740. shopinfo_.Swap(&other->shopinfo_);
  1741. std::swap(_has_bits_[0], other->_has_bits_[0]);
  1742. _unknown_fields_.Swap(&other->_unknown_fields_);
  1743. std::swap(_cached_size_, other->_cached_size_);
  1744. }
  1745. }
  1746. ::google::protobuf::Metadata packetl2c_flush_shop_result::GetMetadata() const {
  1747. protobuf_AssignDescriptorsOnce();
  1748. ::google::protobuf::Metadata metadata;
  1749. metadata.descriptor = packetl2c_flush_shop_result_descriptor_;
  1750. metadata.reflection = packetl2c_flush_shop_result_reflection_;
  1751. return metadata;
  1752. }
  1753. // ===================================================================
  1754. #ifndef _MSC_VER
  1755. const int packetc2l_buy_shop_item::kPacketIdFieldNumber;
  1756. const int packetc2l_buy_shop_item::kItemIdFieldNumber;
  1757. #endif // !_MSC_VER
  1758. packetc2l_buy_shop_item::packetc2l_buy_shop_item()
  1759. : ::google::protobuf::Message() {
  1760. SharedCtor();
  1761. }
  1762. void packetc2l_buy_shop_item::InitAsDefaultInstance() {
  1763. }
  1764. packetc2l_buy_shop_item::packetc2l_buy_shop_item(const packetc2l_buy_shop_item& from)
  1765. : ::google::protobuf::Message() {
  1766. SharedCtor();
  1767. MergeFrom(from);
  1768. }
  1769. void packetc2l_buy_shop_item::SharedCtor() {
  1770. _cached_size_ = 0;
  1771. packet_id_ = 10195;
  1772. itemid_ = 0;
  1773. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1774. }
  1775. packetc2l_buy_shop_item::~packetc2l_buy_shop_item() {
  1776. SharedDtor();
  1777. }
  1778. void packetc2l_buy_shop_item::SharedDtor() {
  1779. if (this != default_instance_) {
  1780. }
  1781. }
  1782. void packetc2l_buy_shop_item::SetCachedSize(int size) const {
  1783. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1784. _cached_size_ = size;
  1785. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1786. }
  1787. const ::google::protobuf::Descriptor* packetc2l_buy_shop_item::descriptor() {
  1788. protobuf_AssignDescriptorsOnce();
  1789. return packetc2l_buy_shop_item_descriptor_;
  1790. }
  1791. const packetc2l_buy_shop_item& packetc2l_buy_shop_item::default_instance() {
  1792. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flegendaryfish_5fpalace_2eproto();
  1793. return *default_instance_;
  1794. }
  1795. packetc2l_buy_shop_item* packetc2l_buy_shop_item::default_instance_ = NULL;
  1796. packetc2l_buy_shop_item* packetc2l_buy_shop_item::New() const {
  1797. return new packetc2l_buy_shop_item;
  1798. }
  1799. void packetc2l_buy_shop_item::Clear() {
  1800. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1801. packet_id_ = 10195;
  1802. itemid_ = 0;
  1803. }
  1804. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1805. mutable_unknown_fields()->Clear();
  1806. }
  1807. bool packetc2l_buy_shop_item::MergePartialFromCodedStream(
  1808. ::google::protobuf::io::CodedInputStream* input) {
  1809. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  1810. ::google::protobuf::uint32 tag;
  1811. while ((tag = input->ReadTag()) != 0) {
  1812. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1813. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_buy_shop_item];
  1814. case 1: {
  1815. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1816. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1817. int value;
  1818. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1819. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  1820. input, &value)));
  1821. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  1822. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  1823. } else {
  1824. mutable_unknown_fields()->AddVarint(1, value);
  1825. }
  1826. } else {
  1827. goto handle_uninterpreted;
  1828. }
  1829. if (input->ExpectTag(16)) goto parse_itemId;
  1830. break;
  1831. }
  1832. // optional int32 itemId = 2;
  1833. case 2: {
  1834. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1835. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1836. parse_itemId:
  1837. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1838. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1839. input, &itemid_)));
  1840. set_has_itemid();
  1841. } else {
  1842. goto handle_uninterpreted;
  1843. }
  1844. if (input->ExpectAtEnd()) return true;
  1845. break;
  1846. }
  1847. default: {
  1848. handle_uninterpreted:
  1849. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1850. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  1851. return true;
  1852. }
  1853. DO_(::google::protobuf::internal::WireFormat::SkipField(
  1854. input, tag, mutable_unknown_fields()));
  1855. break;
  1856. }
  1857. }
  1858. }
  1859. return true;
  1860. #undef DO_
  1861. }
  1862. void packetc2l_buy_shop_item::SerializeWithCachedSizes(
  1863. ::google::protobuf::io::CodedOutputStream* output) const {
  1864. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_buy_shop_item];
  1865. if (has_packet_id()) {
  1866. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  1867. 1, this->packet_id(), output);
  1868. }
  1869. // optional int32 itemId = 2;
  1870. if (has_itemid()) {
  1871. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->itemid(), output);
  1872. }
  1873. if (!unknown_fields().empty()) {
  1874. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  1875. unknown_fields(), output);
  1876. }
  1877. }
  1878. ::google::protobuf::uint8* packetc2l_buy_shop_item::SerializeWithCachedSizesToArray(
  1879. ::google::protobuf::uint8* target) const {
  1880. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_buy_shop_item];
  1881. if (has_packet_id()) {
  1882. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  1883. 1, this->packet_id(), target);
  1884. }
  1885. // optional int32 itemId = 2;
  1886. if (has_itemid()) {
  1887. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->itemid(), target);
  1888. }
  1889. if (!unknown_fields().empty()) {
  1890. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  1891. unknown_fields(), target);
  1892. }
  1893. return target;
  1894. }
  1895. int packetc2l_buy_shop_item::ByteSize() const {
  1896. int total_size = 0;
  1897. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1898. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_buy_shop_item];
  1899. if (has_packet_id()) {
  1900. total_size += 1 +
  1901. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  1902. }
  1903. // optional int32 itemId = 2;
  1904. if (has_itemid()) {
  1905. total_size += 1 +
  1906. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1907. this->itemid());
  1908. }
  1909. }
  1910. if (!unknown_fields().empty()) {
  1911. total_size +=
  1912. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  1913. unknown_fields());
  1914. }
  1915. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1916. _cached_size_ = total_size;
  1917. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1918. return total_size;
  1919. }
  1920. void packetc2l_buy_shop_item::MergeFrom(const ::google::protobuf::Message& from) {
  1921. GOOGLE_CHECK_NE(&from, this);
  1922. const packetc2l_buy_shop_item* source =
  1923. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_buy_shop_item*>(
  1924. &from);
  1925. if (source == NULL) {
  1926. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  1927. } else {
  1928. MergeFrom(*source);
  1929. }
  1930. }
  1931. void packetc2l_buy_shop_item::MergeFrom(const packetc2l_buy_shop_item& from) {
  1932. GOOGLE_CHECK_NE(&from, this);
  1933. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1934. if (from.has_packet_id()) {
  1935. set_packet_id(from.packet_id());
  1936. }
  1937. if (from.has_itemid()) {
  1938. set_itemid(from.itemid());
  1939. }
  1940. }
  1941. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  1942. }
  1943. void packetc2l_buy_shop_item::CopyFrom(const ::google::protobuf::Message& from) {
  1944. if (&from == this) return;
  1945. Clear();
  1946. MergeFrom(from);
  1947. }
  1948. void packetc2l_buy_shop_item::CopyFrom(const packetc2l_buy_shop_item& from) {
  1949. if (&from == this) return;
  1950. Clear();
  1951. MergeFrom(from);
  1952. }
  1953. bool packetc2l_buy_shop_item::IsInitialized() const {
  1954. return true;
  1955. }
  1956. void packetc2l_buy_shop_item::Swap(packetc2l_buy_shop_item* other) {
  1957. if (other != this) {
  1958. std::swap(packet_id_, other->packet_id_);
  1959. std::swap(itemid_, other->itemid_);
  1960. std::swap(_has_bits_[0], other->_has_bits_[0]);
  1961. _unknown_fields_.Swap(&other->_unknown_fields_);
  1962. std::swap(_cached_size_, other->_cached_size_);
  1963. }
  1964. }
  1965. ::google::protobuf::Metadata packetc2l_buy_shop_item::GetMetadata() const {
  1966. protobuf_AssignDescriptorsOnce();
  1967. ::google::protobuf::Metadata metadata;
  1968. metadata.descriptor = packetc2l_buy_shop_item_descriptor_;
  1969. metadata.reflection = packetc2l_buy_shop_item_reflection_;
  1970. return metadata;
  1971. }
  1972. // ===================================================================
  1973. #ifndef _MSC_VER
  1974. const int packetl2c_buy_shop_item_result::kPacketIdFieldNumber;
  1975. const int packetl2c_buy_shop_item_result::kResultFieldNumber;
  1976. const int packetl2c_buy_shop_item_result::kItemIdFieldNumber;
  1977. const int packetl2c_buy_shop_item_result::kShopInfoFieldNumber;
  1978. #endif // !_MSC_VER
  1979. packetl2c_buy_shop_item_result::packetl2c_buy_shop_item_result()
  1980. : ::google::protobuf::Message() {
  1981. SharedCtor();
  1982. }
  1983. void packetl2c_buy_shop_item_result::InitAsDefaultInstance() {
  1984. }
  1985. packetl2c_buy_shop_item_result::packetl2c_buy_shop_item_result(const packetl2c_buy_shop_item_result& from)
  1986. : ::google::protobuf::Message() {
  1987. SharedCtor();
  1988. MergeFrom(from);
  1989. }
  1990. void packetl2c_buy_shop_item_result::SharedCtor() {
  1991. _cached_size_ = 0;
  1992. packet_id_ = 16189;
  1993. result_ = 0;
  1994. itemid_ = 0;
  1995. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1996. }
  1997. packetl2c_buy_shop_item_result::~packetl2c_buy_shop_item_result() {
  1998. SharedDtor();
  1999. }
  2000. void packetl2c_buy_shop_item_result::SharedDtor() {
  2001. if (this != default_instance_) {
  2002. }
  2003. }
  2004. void packetl2c_buy_shop_item_result::SetCachedSize(int size) const {
  2005. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2006. _cached_size_ = size;
  2007. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2008. }
  2009. const ::google::protobuf::Descriptor* packetl2c_buy_shop_item_result::descriptor() {
  2010. protobuf_AssignDescriptorsOnce();
  2011. return packetl2c_buy_shop_item_result_descriptor_;
  2012. }
  2013. const packetl2c_buy_shop_item_result& packetl2c_buy_shop_item_result::default_instance() {
  2014. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flegendaryfish_5fpalace_2eproto();
  2015. return *default_instance_;
  2016. }
  2017. packetl2c_buy_shop_item_result* packetl2c_buy_shop_item_result::default_instance_ = NULL;
  2018. packetl2c_buy_shop_item_result* packetl2c_buy_shop_item_result::New() const {
  2019. return new packetl2c_buy_shop_item_result;
  2020. }
  2021. void packetl2c_buy_shop_item_result::Clear() {
  2022. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2023. packet_id_ = 16189;
  2024. result_ = 0;
  2025. itemid_ = 0;
  2026. }
  2027. shopinfo_.Clear();
  2028. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2029. mutable_unknown_fields()->Clear();
  2030. }
  2031. bool packetl2c_buy_shop_item_result::MergePartialFromCodedStream(
  2032. ::google::protobuf::io::CodedInputStream* input) {
  2033. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  2034. ::google::protobuf::uint32 tag;
  2035. while ((tag = input->ReadTag()) != 0) {
  2036. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2037. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_buy_shop_item_result];
  2038. case 1: {
  2039. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2040. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2041. int value;
  2042. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2043. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  2044. input, &value)));
  2045. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  2046. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  2047. } else {
  2048. mutable_unknown_fields()->AddVarint(1, value);
  2049. }
  2050. } else {
  2051. goto handle_uninterpreted;
  2052. }
  2053. if (input->ExpectTag(16)) goto parse_result;
  2054. break;
  2055. }
  2056. // optional int32 result = 2;
  2057. case 2: {
  2058. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2059. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2060. parse_result:
  2061. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2062. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2063. input, &result_)));
  2064. set_has_result();
  2065. } else {
  2066. goto handle_uninterpreted;
  2067. }
  2068. if (input->ExpectTag(24)) goto parse_itemId;
  2069. break;
  2070. }
  2071. // optional int32 itemId = 3;
  2072. case 3: {
  2073. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2074. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2075. parse_itemId:
  2076. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2077. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2078. input, &itemid_)));
  2079. set_has_itemid();
  2080. } else {
  2081. goto handle_uninterpreted;
  2082. }
  2083. if (input->ExpectTag(34)) goto parse_shopInfo;
  2084. break;
  2085. }
  2086. // repeated .fish_protocols.LegendaryShopInfo shopInfo = 4;
  2087. case 4: {
  2088. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2089. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  2090. parse_shopInfo:
  2091. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  2092. input, add_shopinfo()));
  2093. } else {
  2094. goto handle_uninterpreted;
  2095. }
  2096. if (input->ExpectTag(34)) goto parse_shopInfo;
  2097. if (input->ExpectAtEnd()) return true;
  2098. break;
  2099. }
  2100. default: {
  2101. handle_uninterpreted:
  2102. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2103. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2104. return true;
  2105. }
  2106. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2107. input, tag, mutable_unknown_fields()));
  2108. break;
  2109. }
  2110. }
  2111. }
  2112. return true;
  2113. #undef DO_
  2114. }
  2115. void packetl2c_buy_shop_item_result::SerializeWithCachedSizes(
  2116. ::google::protobuf::io::CodedOutputStream* output) const {
  2117. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_buy_shop_item_result];
  2118. if (has_packet_id()) {
  2119. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  2120. 1, this->packet_id(), output);
  2121. }
  2122. // optional int32 result = 2;
  2123. if (has_result()) {
  2124. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  2125. }
  2126. // optional int32 itemId = 3;
  2127. if (has_itemid()) {
  2128. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->itemid(), output);
  2129. }
  2130. // repeated .fish_protocols.LegendaryShopInfo shopInfo = 4;
  2131. for (int i = 0; i < this->shopinfo_size(); i++) {
  2132. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2133. 4, this->shopinfo(i), output);
  2134. }
  2135. if (!unknown_fields().empty()) {
  2136. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2137. unknown_fields(), output);
  2138. }
  2139. }
  2140. ::google::protobuf::uint8* packetl2c_buy_shop_item_result::SerializeWithCachedSizesToArray(
  2141. ::google::protobuf::uint8* target) const {
  2142. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_buy_shop_item_result];
  2143. if (has_packet_id()) {
  2144. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  2145. 1, this->packet_id(), target);
  2146. }
  2147. // optional int32 result = 2;
  2148. if (has_result()) {
  2149. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  2150. }
  2151. // optional int32 itemId = 3;
  2152. if (has_itemid()) {
  2153. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->itemid(), target);
  2154. }
  2155. // repeated .fish_protocols.LegendaryShopInfo shopInfo = 4;
  2156. for (int i = 0; i < this->shopinfo_size(); i++) {
  2157. target = ::google::protobuf::internal::WireFormatLite::
  2158. WriteMessageNoVirtualToArray(
  2159. 4, this->shopinfo(i), target);
  2160. }
  2161. if (!unknown_fields().empty()) {
  2162. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2163. unknown_fields(), target);
  2164. }
  2165. return target;
  2166. }
  2167. int packetl2c_buy_shop_item_result::ByteSize() const {
  2168. int total_size = 0;
  2169. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2170. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_buy_shop_item_result];
  2171. if (has_packet_id()) {
  2172. total_size += 1 +
  2173. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  2174. }
  2175. // optional int32 result = 2;
  2176. if (has_result()) {
  2177. total_size += 1 +
  2178. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2179. this->result());
  2180. }
  2181. // optional int32 itemId = 3;
  2182. if (has_itemid()) {
  2183. total_size += 1 +
  2184. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2185. this->itemid());
  2186. }
  2187. }
  2188. // repeated .fish_protocols.LegendaryShopInfo shopInfo = 4;
  2189. total_size += 1 * this->shopinfo_size();
  2190. for (int i = 0; i < this->shopinfo_size(); i++) {
  2191. total_size +=
  2192. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  2193. this->shopinfo(i));
  2194. }
  2195. if (!unknown_fields().empty()) {
  2196. total_size +=
  2197. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2198. unknown_fields());
  2199. }
  2200. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2201. _cached_size_ = total_size;
  2202. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2203. return total_size;
  2204. }
  2205. void packetl2c_buy_shop_item_result::MergeFrom(const ::google::protobuf::Message& from) {
  2206. GOOGLE_CHECK_NE(&from, this);
  2207. const packetl2c_buy_shop_item_result* source =
  2208. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_buy_shop_item_result*>(
  2209. &from);
  2210. if (source == NULL) {
  2211. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2212. } else {
  2213. MergeFrom(*source);
  2214. }
  2215. }
  2216. void packetl2c_buy_shop_item_result::MergeFrom(const packetl2c_buy_shop_item_result& from) {
  2217. GOOGLE_CHECK_NE(&from, this);
  2218. shopinfo_.MergeFrom(from.shopinfo_);
  2219. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2220. if (from.has_packet_id()) {
  2221. set_packet_id(from.packet_id());
  2222. }
  2223. if (from.has_result()) {
  2224. set_result(from.result());
  2225. }
  2226. if (from.has_itemid()) {
  2227. set_itemid(from.itemid());
  2228. }
  2229. }
  2230. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  2231. }
  2232. void packetl2c_buy_shop_item_result::CopyFrom(const ::google::protobuf::Message& from) {
  2233. if (&from == this) return;
  2234. Clear();
  2235. MergeFrom(from);
  2236. }
  2237. void packetl2c_buy_shop_item_result::CopyFrom(const packetl2c_buy_shop_item_result& from) {
  2238. if (&from == this) return;
  2239. Clear();
  2240. MergeFrom(from);
  2241. }
  2242. bool packetl2c_buy_shop_item_result::IsInitialized() const {
  2243. return true;
  2244. }
  2245. void packetl2c_buy_shop_item_result::Swap(packetl2c_buy_shop_item_result* other) {
  2246. if (other != this) {
  2247. std::swap(packet_id_, other->packet_id_);
  2248. std::swap(result_, other->result_);
  2249. std::swap(itemid_, other->itemid_);
  2250. shopinfo_.Swap(&other->shopinfo_);
  2251. std::swap(_has_bits_[0], other->_has_bits_[0]);
  2252. _unknown_fields_.Swap(&other->_unknown_fields_);
  2253. std::swap(_cached_size_, other->_cached_size_);
  2254. }
  2255. }
  2256. ::google::protobuf::Metadata packetl2c_buy_shop_item_result::GetMetadata() const {
  2257. protobuf_AssignDescriptorsOnce();
  2258. ::google::protobuf::Metadata metadata;
  2259. metadata.descriptor = packetl2c_buy_shop_item_result_descriptor_;
  2260. metadata.reflection = packetl2c_buy_shop_item_result_reflection_;
  2261. return metadata;
  2262. }
  2263. // ===================================================================
  2264. #ifndef _MSC_VER
  2265. const int packetc2l_call_legendaryfish::kPacketIdFieldNumber;
  2266. #endif // !_MSC_VER
  2267. packetc2l_call_legendaryfish::packetc2l_call_legendaryfish()
  2268. : ::google::protobuf::Message() {
  2269. SharedCtor();
  2270. }
  2271. void packetc2l_call_legendaryfish::InitAsDefaultInstance() {
  2272. }
  2273. packetc2l_call_legendaryfish::packetc2l_call_legendaryfish(const packetc2l_call_legendaryfish& from)
  2274. : ::google::protobuf::Message() {
  2275. SharedCtor();
  2276. MergeFrom(from);
  2277. }
  2278. void packetc2l_call_legendaryfish::SharedCtor() {
  2279. _cached_size_ = 0;
  2280. packet_id_ = 10194;
  2281. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2282. }
  2283. packetc2l_call_legendaryfish::~packetc2l_call_legendaryfish() {
  2284. SharedDtor();
  2285. }
  2286. void packetc2l_call_legendaryfish::SharedDtor() {
  2287. if (this != default_instance_) {
  2288. }
  2289. }
  2290. void packetc2l_call_legendaryfish::SetCachedSize(int size) const {
  2291. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2292. _cached_size_ = size;
  2293. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2294. }
  2295. const ::google::protobuf::Descriptor* packetc2l_call_legendaryfish::descriptor() {
  2296. protobuf_AssignDescriptorsOnce();
  2297. return packetc2l_call_legendaryfish_descriptor_;
  2298. }
  2299. const packetc2l_call_legendaryfish& packetc2l_call_legendaryfish::default_instance() {
  2300. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flegendaryfish_5fpalace_2eproto();
  2301. return *default_instance_;
  2302. }
  2303. packetc2l_call_legendaryfish* packetc2l_call_legendaryfish::default_instance_ = NULL;
  2304. packetc2l_call_legendaryfish* packetc2l_call_legendaryfish::New() const {
  2305. return new packetc2l_call_legendaryfish;
  2306. }
  2307. void packetc2l_call_legendaryfish::Clear() {
  2308. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2309. packet_id_ = 10194;
  2310. }
  2311. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2312. mutable_unknown_fields()->Clear();
  2313. }
  2314. bool packetc2l_call_legendaryfish::MergePartialFromCodedStream(
  2315. ::google::protobuf::io::CodedInputStream* input) {
  2316. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  2317. ::google::protobuf::uint32 tag;
  2318. while ((tag = input->ReadTag()) != 0) {
  2319. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2320. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_call_legendaryfish];
  2321. case 1: {
  2322. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2323. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2324. int value;
  2325. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2326. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  2327. input, &value)));
  2328. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  2329. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  2330. } else {
  2331. mutable_unknown_fields()->AddVarint(1, value);
  2332. }
  2333. } else {
  2334. goto handle_uninterpreted;
  2335. }
  2336. if (input->ExpectAtEnd()) return true;
  2337. break;
  2338. }
  2339. default: {
  2340. handle_uninterpreted:
  2341. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2342. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2343. return true;
  2344. }
  2345. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2346. input, tag, mutable_unknown_fields()));
  2347. break;
  2348. }
  2349. }
  2350. }
  2351. return true;
  2352. #undef DO_
  2353. }
  2354. void packetc2l_call_legendaryfish::SerializeWithCachedSizes(
  2355. ::google::protobuf::io::CodedOutputStream* output) const {
  2356. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_call_legendaryfish];
  2357. if (has_packet_id()) {
  2358. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  2359. 1, this->packet_id(), output);
  2360. }
  2361. if (!unknown_fields().empty()) {
  2362. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2363. unknown_fields(), output);
  2364. }
  2365. }
  2366. ::google::protobuf::uint8* packetc2l_call_legendaryfish::SerializeWithCachedSizesToArray(
  2367. ::google::protobuf::uint8* target) const {
  2368. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_call_legendaryfish];
  2369. if (has_packet_id()) {
  2370. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  2371. 1, this->packet_id(), target);
  2372. }
  2373. if (!unknown_fields().empty()) {
  2374. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2375. unknown_fields(), target);
  2376. }
  2377. return target;
  2378. }
  2379. int packetc2l_call_legendaryfish::ByteSize() const {
  2380. int total_size = 0;
  2381. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2382. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_call_legendaryfish];
  2383. if (has_packet_id()) {
  2384. total_size += 1 +
  2385. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  2386. }
  2387. }
  2388. if (!unknown_fields().empty()) {
  2389. total_size +=
  2390. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2391. unknown_fields());
  2392. }
  2393. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2394. _cached_size_ = total_size;
  2395. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2396. return total_size;
  2397. }
  2398. void packetc2l_call_legendaryfish::MergeFrom(const ::google::protobuf::Message& from) {
  2399. GOOGLE_CHECK_NE(&from, this);
  2400. const packetc2l_call_legendaryfish* source =
  2401. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_call_legendaryfish*>(
  2402. &from);
  2403. if (source == NULL) {
  2404. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2405. } else {
  2406. MergeFrom(*source);
  2407. }
  2408. }
  2409. void packetc2l_call_legendaryfish::MergeFrom(const packetc2l_call_legendaryfish& from) {
  2410. GOOGLE_CHECK_NE(&from, this);
  2411. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2412. if (from.has_packet_id()) {
  2413. set_packet_id(from.packet_id());
  2414. }
  2415. }
  2416. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  2417. }
  2418. void packetc2l_call_legendaryfish::CopyFrom(const ::google::protobuf::Message& from) {
  2419. if (&from == this) return;
  2420. Clear();
  2421. MergeFrom(from);
  2422. }
  2423. void packetc2l_call_legendaryfish::CopyFrom(const packetc2l_call_legendaryfish& from) {
  2424. if (&from == this) return;
  2425. Clear();
  2426. MergeFrom(from);
  2427. }
  2428. bool packetc2l_call_legendaryfish::IsInitialized() const {
  2429. return true;
  2430. }
  2431. void packetc2l_call_legendaryfish::Swap(packetc2l_call_legendaryfish* other) {
  2432. if (other != this) {
  2433. std::swap(packet_id_, other->packet_id_);
  2434. std::swap(_has_bits_[0], other->_has_bits_[0]);
  2435. _unknown_fields_.Swap(&other->_unknown_fields_);
  2436. std::swap(_cached_size_, other->_cached_size_);
  2437. }
  2438. }
  2439. ::google::protobuf::Metadata packetc2l_call_legendaryfish::GetMetadata() const {
  2440. protobuf_AssignDescriptorsOnce();
  2441. ::google::protobuf::Metadata metadata;
  2442. metadata.descriptor = packetc2l_call_legendaryfish_descriptor_;
  2443. metadata.reflection = packetc2l_call_legendaryfish_reflection_;
  2444. return metadata;
  2445. }
  2446. // ===================================================================
  2447. #ifndef _MSC_VER
  2448. const int packetl2c_call_legendaryfish_result::kPacketIdFieldNumber;
  2449. const int packetl2c_call_legendaryfish_result::kResultFieldNumber;
  2450. #endif // !_MSC_VER
  2451. packetl2c_call_legendaryfish_result::packetl2c_call_legendaryfish_result()
  2452. : ::google::protobuf::Message() {
  2453. SharedCtor();
  2454. }
  2455. void packetl2c_call_legendaryfish_result::InitAsDefaultInstance() {
  2456. }
  2457. packetl2c_call_legendaryfish_result::packetl2c_call_legendaryfish_result(const packetl2c_call_legendaryfish_result& from)
  2458. : ::google::protobuf::Message() {
  2459. SharedCtor();
  2460. MergeFrom(from);
  2461. }
  2462. void packetl2c_call_legendaryfish_result::SharedCtor() {
  2463. _cached_size_ = 0;
  2464. packet_id_ = 16188;
  2465. result_ = 0;
  2466. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2467. }
  2468. packetl2c_call_legendaryfish_result::~packetl2c_call_legendaryfish_result() {
  2469. SharedDtor();
  2470. }
  2471. void packetl2c_call_legendaryfish_result::SharedDtor() {
  2472. if (this != default_instance_) {
  2473. }
  2474. }
  2475. void packetl2c_call_legendaryfish_result::SetCachedSize(int size) const {
  2476. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2477. _cached_size_ = size;
  2478. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2479. }
  2480. const ::google::protobuf::Descriptor* packetl2c_call_legendaryfish_result::descriptor() {
  2481. protobuf_AssignDescriptorsOnce();
  2482. return packetl2c_call_legendaryfish_result_descriptor_;
  2483. }
  2484. const packetl2c_call_legendaryfish_result& packetl2c_call_legendaryfish_result::default_instance() {
  2485. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flegendaryfish_5fpalace_2eproto();
  2486. return *default_instance_;
  2487. }
  2488. packetl2c_call_legendaryfish_result* packetl2c_call_legendaryfish_result::default_instance_ = NULL;
  2489. packetl2c_call_legendaryfish_result* packetl2c_call_legendaryfish_result::New() const {
  2490. return new packetl2c_call_legendaryfish_result;
  2491. }
  2492. void packetl2c_call_legendaryfish_result::Clear() {
  2493. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2494. packet_id_ = 16188;
  2495. result_ = 0;
  2496. }
  2497. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2498. mutable_unknown_fields()->Clear();
  2499. }
  2500. bool packetl2c_call_legendaryfish_result::MergePartialFromCodedStream(
  2501. ::google::protobuf::io::CodedInputStream* input) {
  2502. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  2503. ::google::protobuf::uint32 tag;
  2504. while ((tag = input->ReadTag()) != 0) {
  2505. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2506. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_call_legendaryfish_result];
  2507. case 1: {
  2508. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2509. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2510. int value;
  2511. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2512. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  2513. input, &value)));
  2514. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  2515. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  2516. } else {
  2517. mutable_unknown_fields()->AddVarint(1, value);
  2518. }
  2519. } else {
  2520. goto handle_uninterpreted;
  2521. }
  2522. if (input->ExpectTag(16)) goto parse_result;
  2523. break;
  2524. }
  2525. // optional int32 result = 2;
  2526. case 2: {
  2527. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2528. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2529. parse_result:
  2530. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2531. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2532. input, &result_)));
  2533. set_has_result();
  2534. } else {
  2535. goto handle_uninterpreted;
  2536. }
  2537. if (input->ExpectAtEnd()) return true;
  2538. break;
  2539. }
  2540. default: {
  2541. handle_uninterpreted:
  2542. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2543. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2544. return true;
  2545. }
  2546. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2547. input, tag, mutable_unknown_fields()));
  2548. break;
  2549. }
  2550. }
  2551. }
  2552. return true;
  2553. #undef DO_
  2554. }
  2555. void packetl2c_call_legendaryfish_result::SerializeWithCachedSizes(
  2556. ::google::protobuf::io::CodedOutputStream* output) const {
  2557. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_call_legendaryfish_result];
  2558. if (has_packet_id()) {
  2559. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  2560. 1, this->packet_id(), output);
  2561. }
  2562. // optional int32 result = 2;
  2563. if (has_result()) {
  2564. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  2565. }
  2566. if (!unknown_fields().empty()) {
  2567. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2568. unknown_fields(), output);
  2569. }
  2570. }
  2571. ::google::protobuf::uint8* packetl2c_call_legendaryfish_result::SerializeWithCachedSizesToArray(
  2572. ::google::protobuf::uint8* target) const {
  2573. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_call_legendaryfish_result];
  2574. if (has_packet_id()) {
  2575. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  2576. 1, this->packet_id(), target);
  2577. }
  2578. // optional int32 result = 2;
  2579. if (has_result()) {
  2580. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  2581. }
  2582. if (!unknown_fields().empty()) {
  2583. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2584. unknown_fields(), target);
  2585. }
  2586. return target;
  2587. }
  2588. int packetl2c_call_legendaryfish_result::ByteSize() const {
  2589. int total_size = 0;
  2590. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2591. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_call_legendaryfish_result];
  2592. if (has_packet_id()) {
  2593. total_size += 1 +
  2594. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  2595. }
  2596. // optional int32 result = 2;
  2597. if (has_result()) {
  2598. total_size += 1 +
  2599. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2600. this->result());
  2601. }
  2602. }
  2603. if (!unknown_fields().empty()) {
  2604. total_size +=
  2605. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2606. unknown_fields());
  2607. }
  2608. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2609. _cached_size_ = total_size;
  2610. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2611. return total_size;
  2612. }
  2613. void packetl2c_call_legendaryfish_result::MergeFrom(const ::google::protobuf::Message& from) {
  2614. GOOGLE_CHECK_NE(&from, this);
  2615. const packetl2c_call_legendaryfish_result* source =
  2616. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_call_legendaryfish_result*>(
  2617. &from);
  2618. if (source == NULL) {
  2619. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2620. } else {
  2621. MergeFrom(*source);
  2622. }
  2623. }
  2624. void packetl2c_call_legendaryfish_result::MergeFrom(const packetl2c_call_legendaryfish_result& from) {
  2625. GOOGLE_CHECK_NE(&from, this);
  2626. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2627. if (from.has_packet_id()) {
  2628. set_packet_id(from.packet_id());
  2629. }
  2630. if (from.has_result()) {
  2631. set_result(from.result());
  2632. }
  2633. }
  2634. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  2635. }
  2636. void packetl2c_call_legendaryfish_result::CopyFrom(const ::google::protobuf::Message& from) {
  2637. if (&from == this) return;
  2638. Clear();
  2639. MergeFrom(from);
  2640. }
  2641. void packetl2c_call_legendaryfish_result::CopyFrom(const packetl2c_call_legendaryfish_result& from) {
  2642. if (&from == this) return;
  2643. Clear();
  2644. MergeFrom(from);
  2645. }
  2646. bool packetl2c_call_legendaryfish_result::IsInitialized() const {
  2647. return true;
  2648. }
  2649. void packetl2c_call_legendaryfish_result::Swap(packetl2c_call_legendaryfish_result* other) {
  2650. if (other != this) {
  2651. std::swap(packet_id_, other->packet_id_);
  2652. std::swap(result_, other->result_);
  2653. std::swap(_has_bits_[0], other->_has_bits_[0]);
  2654. _unknown_fields_.Swap(&other->_unknown_fields_);
  2655. std::swap(_cached_size_, other->_cached_size_);
  2656. }
  2657. }
  2658. ::google::protobuf::Metadata packetl2c_call_legendaryfish_result::GetMetadata() const {
  2659. protobuf_AssignDescriptorsOnce();
  2660. ::google::protobuf::Metadata metadata;
  2661. metadata.descriptor = packetl2c_call_legendaryfish_result_descriptor_;
  2662. metadata.reflection = packetl2c_call_legendaryfish_result_reflection_;
  2663. return metadata;
  2664. }
  2665. // ===================================================================
  2666. #ifndef _MSC_VER
  2667. const int packetc2l_get_boss_info::kPacketIdFieldNumber;
  2668. #endif // !_MSC_VER
  2669. packetc2l_get_boss_info::packetc2l_get_boss_info()
  2670. : ::google::protobuf::Message() {
  2671. SharedCtor();
  2672. }
  2673. void packetc2l_get_boss_info::InitAsDefaultInstance() {
  2674. }
  2675. packetc2l_get_boss_info::packetc2l_get_boss_info(const packetc2l_get_boss_info& from)
  2676. : ::google::protobuf::Message() {
  2677. SharedCtor();
  2678. MergeFrom(from);
  2679. }
  2680. void packetc2l_get_boss_info::SharedCtor() {
  2681. _cached_size_ = 0;
  2682. packet_id_ = 10198;
  2683. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2684. }
  2685. packetc2l_get_boss_info::~packetc2l_get_boss_info() {
  2686. SharedDtor();
  2687. }
  2688. void packetc2l_get_boss_info::SharedDtor() {
  2689. if (this != default_instance_) {
  2690. }
  2691. }
  2692. void packetc2l_get_boss_info::SetCachedSize(int size) const {
  2693. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2694. _cached_size_ = size;
  2695. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2696. }
  2697. const ::google::protobuf::Descriptor* packetc2l_get_boss_info::descriptor() {
  2698. protobuf_AssignDescriptorsOnce();
  2699. return packetc2l_get_boss_info_descriptor_;
  2700. }
  2701. const packetc2l_get_boss_info& packetc2l_get_boss_info::default_instance() {
  2702. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flegendaryfish_5fpalace_2eproto();
  2703. return *default_instance_;
  2704. }
  2705. packetc2l_get_boss_info* packetc2l_get_boss_info::default_instance_ = NULL;
  2706. packetc2l_get_boss_info* packetc2l_get_boss_info::New() const {
  2707. return new packetc2l_get_boss_info;
  2708. }
  2709. void packetc2l_get_boss_info::Clear() {
  2710. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2711. packet_id_ = 10198;
  2712. }
  2713. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2714. mutable_unknown_fields()->Clear();
  2715. }
  2716. bool packetc2l_get_boss_info::MergePartialFromCodedStream(
  2717. ::google::protobuf::io::CodedInputStream* input) {
  2718. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  2719. ::google::protobuf::uint32 tag;
  2720. while ((tag = input->ReadTag()) != 0) {
  2721. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2722. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_boss_info];
  2723. case 1: {
  2724. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2725. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2726. int value;
  2727. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2728. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  2729. input, &value)));
  2730. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  2731. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  2732. } else {
  2733. mutable_unknown_fields()->AddVarint(1, value);
  2734. }
  2735. } else {
  2736. goto handle_uninterpreted;
  2737. }
  2738. if (input->ExpectAtEnd()) return true;
  2739. break;
  2740. }
  2741. default: {
  2742. handle_uninterpreted:
  2743. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2744. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2745. return true;
  2746. }
  2747. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2748. input, tag, mutable_unknown_fields()));
  2749. break;
  2750. }
  2751. }
  2752. }
  2753. return true;
  2754. #undef DO_
  2755. }
  2756. void packetc2l_get_boss_info::SerializeWithCachedSizes(
  2757. ::google::protobuf::io::CodedOutputStream* output) const {
  2758. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_boss_info];
  2759. if (has_packet_id()) {
  2760. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  2761. 1, this->packet_id(), output);
  2762. }
  2763. if (!unknown_fields().empty()) {
  2764. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2765. unknown_fields(), output);
  2766. }
  2767. }
  2768. ::google::protobuf::uint8* packetc2l_get_boss_info::SerializeWithCachedSizesToArray(
  2769. ::google::protobuf::uint8* target) const {
  2770. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_boss_info];
  2771. if (has_packet_id()) {
  2772. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  2773. 1, this->packet_id(), target);
  2774. }
  2775. if (!unknown_fields().empty()) {
  2776. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2777. unknown_fields(), target);
  2778. }
  2779. return target;
  2780. }
  2781. int packetc2l_get_boss_info::ByteSize() const {
  2782. int total_size = 0;
  2783. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2784. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_boss_info];
  2785. if (has_packet_id()) {
  2786. total_size += 1 +
  2787. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  2788. }
  2789. }
  2790. if (!unknown_fields().empty()) {
  2791. total_size +=
  2792. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2793. unknown_fields());
  2794. }
  2795. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2796. _cached_size_ = total_size;
  2797. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2798. return total_size;
  2799. }
  2800. void packetc2l_get_boss_info::MergeFrom(const ::google::protobuf::Message& from) {
  2801. GOOGLE_CHECK_NE(&from, this);
  2802. const packetc2l_get_boss_info* source =
  2803. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_get_boss_info*>(
  2804. &from);
  2805. if (source == NULL) {
  2806. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2807. } else {
  2808. MergeFrom(*source);
  2809. }
  2810. }
  2811. void packetc2l_get_boss_info::MergeFrom(const packetc2l_get_boss_info& from) {
  2812. GOOGLE_CHECK_NE(&from, this);
  2813. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2814. if (from.has_packet_id()) {
  2815. set_packet_id(from.packet_id());
  2816. }
  2817. }
  2818. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  2819. }
  2820. void packetc2l_get_boss_info::CopyFrom(const ::google::protobuf::Message& from) {
  2821. if (&from == this) return;
  2822. Clear();
  2823. MergeFrom(from);
  2824. }
  2825. void packetc2l_get_boss_info::CopyFrom(const packetc2l_get_boss_info& from) {
  2826. if (&from == this) return;
  2827. Clear();
  2828. MergeFrom(from);
  2829. }
  2830. bool packetc2l_get_boss_info::IsInitialized() const {
  2831. return true;
  2832. }
  2833. void packetc2l_get_boss_info::Swap(packetc2l_get_boss_info* other) {
  2834. if (other != this) {
  2835. std::swap(packet_id_, other->packet_id_);
  2836. std::swap(_has_bits_[0], other->_has_bits_[0]);
  2837. _unknown_fields_.Swap(&other->_unknown_fields_);
  2838. std::swap(_cached_size_, other->_cached_size_);
  2839. }
  2840. }
  2841. ::google::protobuf::Metadata packetc2l_get_boss_info::GetMetadata() const {
  2842. protobuf_AssignDescriptorsOnce();
  2843. ::google::protobuf::Metadata metadata;
  2844. metadata.descriptor = packetc2l_get_boss_info_descriptor_;
  2845. metadata.reflection = packetc2l_get_boss_info_reflection_;
  2846. return metadata;
  2847. }
  2848. // ===================================================================
  2849. #ifndef _MSC_VER
  2850. const int packetl2c_notice_boss_countdown::kPacketIdFieldNumber;
  2851. const int packetl2c_notice_boss_countdown::kBossCountDownFieldNumber;
  2852. #endif // !_MSC_VER
  2853. packetl2c_notice_boss_countdown::packetl2c_notice_boss_countdown()
  2854. : ::google::protobuf::Message() {
  2855. SharedCtor();
  2856. }
  2857. void packetl2c_notice_boss_countdown::InitAsDefaultInstance() {
  2858. }
  2859. packetl2c_notice_boss_countdown::packetl2c_notice_boss_countdown(const packetl2c_notice_boss_countdown& from)
  2860. : ::google::protobuf::Message() {
  2861. SharedCtor();
  2862. MergeFrom(from);
  2863. }
  2864. void packetl2c_notice_boss_countdown::SharedCtor() {
  2865. _cached_size_ = 0;
  2866. packet_id_ = 16191;
  2867. bosscountdown_ = 0;
  2868. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2869. }
  2870. packetl2c_notice_boss_countdown::~packetl2c_notice_boss_countdown() {
  2871. SharedDtor();
  2872. }
  2873. void packetl2c_notice_boss_countdown::SharedDtor() {
  2874. if (this != default_instance_) {
  2875. }
  2876. }
  2877. void packetl2c_notice_boss_countdown::SetCachedSize(int size) const {
  2878. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2879. _cached_size_ = size;
  2880. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2881. }
  2882. const ::google::protobuf::Descriptor* packetl2c_notice_boss_countdown::descriptor() {
  2883. protobuf_AssignDescriptorsOnce();
  2884. return packetl2c_notice_boss_countdown_descriptor_;
  2885. }
  2886. const packetl2c_notice_boss_countdown& packetl2c_notice_boss_countdown::default_instance() {
  2887. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flegendaryfish_5fpalace_2eproto();
  2888. return *default_instance_;
  2889. }
  2890. packetl2c_notice_boss_countdown* packetl2c_notice_boss_countdown::default_instance_ = NULL;
  2891. packetl2c_notice_boss_countdown* packetl2c_notice_boss_countdown::New() const {
  2892. return new packetl2c_notice_boss_countdown;
  2893. }
  2894. void packetl2c_notice_boss_countdown::Clear() {
  2895. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2896. packet_id_ = 16191;
  2897. bosscountdown_ = 0;
  2898. }
  2899. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2900. mutable_unknown_fields()->Clear();
  2901. }
  2902. bool packetl2c_notice_boss_countdown::MergePartialFromCodedStream(
  2903. ::google::protobuf::io::CodedInputStream* input) {
  2904. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  2905. ::google::protobuf::uint32 tag;
  2906. while ((tag = input->ReadTag()) != 0) {
  2907. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2908. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_notice_boss_countdown];
  2909. case 1: {
  2910. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2911. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2912. int value;
  2913. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2914. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  2915. input, &value)));
  2916. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  2917. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  2918. } else {
  2919. mutable_unknown_fields()->AddVarint(1, value);
  2920. }
  2921. } else {
  2922. goto handle_uninterpreted;
  2923. }
  2924. if (input->ExpectTag(16)) goto parse_bossCountDown;
  2925. break;
  2926. }
  2927. // optional int32 bossCountDown = 2;
  2928. case 2: {
  2929. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2930. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2931. parse_bossCountDown:
  2932. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2933. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2934. input, &bosscountdown_)));
  2935. set_has_bosscountdown();
  2936. } else {
  2937. goto handle_uninterpreted;
  2938. }
  2939. if (input->ExpectAtEnd()) return true;
  2940. break;
  2941. }
  2942. default: {
  2943. handle_uninterpreted:
  2944. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2945. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2946. return true;
  2947. }
  2948. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2949. input, tag, mutable_unknown_fields()));
  2950. break;
  2951. }
  2952. }
  2953. }
  2954. return true;
  2955. #undef DO_
  2956. }
  2957. void packetl2c_notice_boss_countdown::SerializeWithCachedSizes(
  2958. ::google::protobuf::io::CodedOutputStream* output) const {
  2959. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_notice_boss_countdown];
  2960. if (has_packet_id()) {
  2961. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  2962. 1, this->packet_id(), output);
  2963. }
  2964. // optional int32 bossCountDown = 2;
  2965. if (has_bosscountdown()) {
  2966. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->bosscountdown(), output);
  2967. }
  2968. if (!unknown_fields().empty()) {
  2969. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2970. unknown_fields(), output);
  2971. }
  2972. }
  2973. ::google::protobuf::uint8* packetl2c_notice_boss_countdown::SerializeWithCachedSizesToArray(
  2974. ::google::protobuf::uint8* target) const {
  2975. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_notice_boss_countdown];
  2976. if (has_packet_id()) {
  2977. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  2978. 1, this->packet_id(), target);
  2979. }
  2980. // optional int32 bossCountDown = 2;
  2981. if (has_bosscountdown()) {
  2982. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->bosscountdown(), target);
  2983. }
  2984. if (!unknown_fields().empty()) {
  2985. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2986. unknown_fields(), target);
  2987. }
  2988. return target;
  2989. }
  2990. int packetl2c_notice_boss_countdown::ByteSize() const {
  2991. int total_size = 0;
  2992. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2993. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_notice_boss_countdown];
  2994. if (has_packet_id()) {
  2995. total_size += 1 +
  2996. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  2997. }
  2998. // optional int32 bossCountDown = 2;
  2999. if (has_bosscountdown()) {
  3000. total_size += 1 +
  3001. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3002. this->bosscountdown());
  3003. }
  3004. }
  3005. if (!unknown_fields().empty()) {
  3006. total_size +=
  3007. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3008. unknown_fields());
  3009. }
  3010. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3011. _cached_size_ = total_size;
  3012. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3013. return total_size;
  3014. }
  3015. void packetl2c_notice_boss_countdown::MergeFrom(const ::google::protobuf::Message& from) {
  3016. GOOGLE_CHECK_NE(&from, this);
  3017. const packetl2c_notice_boss_countdown* source =
  3018. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_notice_boss_countdown*>(
  3019. &from);
  3020. if (source == NULL) {
  3021. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3022. } else {
  3023. MergeFrom(*source);
  3024. }
  3025. }
  3026. void packetl2c_notice_boss_countdown::MergeFrom(const packetl2c_notice_boss_countdown& from) {
  3027. GOOGLE_CHECK_NE(&from, this);
  3028. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3029. if (from.has_packet_id()) {
  3030. set_packet_id(from.packet_id());
  3031. }
  3032. if (from.has_bosscountdown()) {
  3033. set_bosscountdown(from.bosscountdown());
  3034. }
  3035. }
  3036. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  3037. }
  3038. void packetl2c_notice_boss_countdown::CopyFrom(const ::google::protobuf::Message& from) {
  3039. if (&from == this) return;
  3040. Clear();
  3041. MergeFrom(from);
  3042. }
  3043. void packetl2c_notice_boss_countdown::CopyFrom(const packetl2c_notice_boss_countdown& from) {
  3044. if (&from == this) return;
  3045. Clear();
  3046. MergeFrom(from);
  3047. }
  3048. bool packetl2c_notice_boss_countdown::IsInitialized() const {
  3049. return true;
  3050. }
  3051. void packetl2c_notice_boss_countdown::Swap(packetl2c_notice_boss_countdown* other) {
  3052. if (other != this) {
  3053. std::swap(packet_id_, other->packet_id_);
  3054. std::swap(bosscountdown_, other->bosscountdown_);
  3055. std::swap(_has_bits_[0], other->_has_bits_[0]);
  3056. _unknown_fields_.Swap(&other->_unknown_fields_);
  3057. std::swap(_cached_size_, other->_cached_size_);
  3058. }
  3059. }
  3060. ::google::protobuf::Metadata packetl2c_notice_boss_countdown::GetMetadata() const {
  3061. protobuf_AssignDescriptorsOnce();
  3062. ::google::protobuf::Metadata metadata;
  3063. metadata.descriptor = packetl2c_notice_boss_countdown_descriptor_;
  3064. metadata.reflection = packetl2c_notice_boss_countdown_reflection_;
  3065. return metadata;
  3066. }
  3067. // ===================================================================
  3068. #ifndef _MSC_VER
  3069. const int packetl2c_get_boss_info_result::kPacketIdFieldNumber;
  3070. const int packetl2c_get_boss_info_result::kBossScoreTransRateFieldNumber;
  3071. const int packetl2c_get_boss_info_result::kCurBossScoreFieldNumber;
  3072. #endif // !_MSC_VER
  3073. packetl2c_get_boss_info_result::packetl2c_get_boss_info_result()
  3074. : ::google::protobuf::Message() {
  3075. SharedCtor();
  3076. }
  3077. void packetl2c_get_boss_info_result::InitAsDefaultInstance() {
  3078. }
  3079. packetl2c_get_boss_info_result::packetl2c_get_boss_info_result(const packetl2c_get_boss_info_result& from)
  3080. : ::google::protobuf::Message() {
  3081. SharedCtor();
  3082. MergeFrom(from);
  3083. }
  3084. void packetl2c_get_boss_info_result::SharedCtor() {
  3085. _cached_size_ = 0;
  3086. packet_id_ = 16192;
  3087. bossscoretransrate_ = 0;
  3088. curbossscore_ = 0;
  3089. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3090. }
  3091. packetl2c_get_boss_info_result::~packetl2c_get_boss_info_result() {
  3092. SharedDtor();
  3093. }
  3094. void packetl2c_get_boss_info_result::SharedDtor() {
  3095. if (this != default_instance_) {
  3096. }
  3097. }
  3098. void packetl2c_get_boss_info_result::SetCachedSize(int size) const {
  3099. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3100. _cached_size_ = size;
  3101. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3102. }
  3103. const ::google::protobuf::Descriptor* packetl2c_get_boss_info_result::descriptor() {
  3104. protobuf_AssignDescriptorsOnce();
  3105. return packetl2c_get_boss_info_result_descriptor_;
  3106. }
  3107. const packetl2c_get_boss_info_result& packetl2c_get_boss_info_result::default_instance() {
  3108. if (default_instance_ == NULL) protobuf_AddDesc_fish_5flegendaryfish_5fpalace_2eproto();
  3109. return *default_instance_;
  3110. }
  3111. packetl2c_get_boss_info_result* packetl2c_get_boss_info_result::default_instance_ = NULL;
  3112. packetl2c_get_boss_info_result* packetl2c_get_boss_info_result::New() const {
  3113. return new packetl2c_get_boss_info_result;
  3114. }
  3115. void packetl2c_get_boss_info_result::Clear() {
  3116. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3117. packet_id_ = 16192;
  3118. bossscoretransrate_ = 0;
  3119. curbossscore_ = 0;
  3120. }
  3121. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3122. mutable_unknown_fields()->Clear();
  3123. }
  3124. bool packetl2c_get_boss_info_result::MergePartialFromCodedStream(
  3125. ::google::protobuf::io::CodedInputStream* input) {
  3126. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  3127. ::google::protobuf::uint32 tag;
  3128. while ((tag = input->ReadTag()) != 0) {
  3129. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3130. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_boss_info_result];
  3131. case 1: {
  3132. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3133. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3134. int value;
  3135. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3136. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  3137. input, &value)));
  3138. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  3139. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  3140. } else {
  3141. mutable_unknown_fields()->AddVarint(1, value);
  3142. }
  3143. } else {
  3144. goto handle_uninterpreted;
  3145. }
  3146. if (input->ExpectTag(16)) goto parse_bossScoreTransRate;
  3147. break;
  3148. }
  3149. // optional int32 bossScoreTransRate = 2;
  3150. case 2: {
  3151. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3152. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3153. parse_bossScoreTransRate:
  3154. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3155. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3156. input, &bossscoretransrate_)));
  3157. set_has_bossscoretransrate();
  3158. } else {
  3159. goto handle_uninterpreted;
  3160. }
  3161. if (input->ExpectTag(24)) goto parse_curBossScore;
  3162. break;
  3163. }
  3164. // optional int32 curBossScore = 3;
  3165. case 3: {
  3166. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3167. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3168. parse_curBossScore:
  3169. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3170. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3171. input, &curbossscore_)));
  3172. set_has_curbossscore();
  3173. } else {
  3174. goto handle_uninterpreted;
  3175. }
  3176. if (input->ExpectAtEnd()) return true;
  3177. break;
  3178. }
  3179. default: {
  3180. handle_uninterpreted:
  3181. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3182. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  3183. return true;
  3184. }
  3185. DO_(::google::protobuf::internal::WireFormat::SkipField(
  3186. input, tag, mutable_unknown_fields()));
  3187. break;
  3188. }
  3189. }
  3190. }
  3191. return true;
  3192. #undef DO_
  3193. }
  3194. void packetl2c_get_boss_info_result::SerializeWithCachedSizes(
  3195. ::google::protobuf::io::CodedOutputStream* output) const {
  3196. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_boss_info_result];
  3197. if (has_packet_id()) {
  3198. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  3199. 1, this->packet_id(), output);
  3200. }
  3201. // optional int32 bossScoreTransRate = 2;
  3202. if (has_bossscoretransrate()) {
  3203. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->bossscoretransrate(), output);
  3204. }
  3205. // optional int32 curBossScore = 3;
  3206. if (has_curbossscore()) {
  3207. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->curbossscore(), output);
  3208. }
  3209. if (!unknown_fields().empty()) {
  3210. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  3211. unknown_fields(), output);
  3212. }
  3213. }
  3214. ::google::protobuf::uint8* packetl2c_get_boss_info_result::SerializeWithCachedSizesToArray(
  3215. ::google::protobuf::uint8* target) const {
  3216. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_boss_info_result];
  3217. if (has_packet_id()) {
  3218. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  3219. 1, this->packet_id(), target);
  3220. }
  3221. // optional int32 bossScoreTransRate = 2;
  3222. if (has_bossscoretransrate()) {
  3223. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->bossscoretransrate(), target);
  3224. }
  3225. // optional int32 curBossScore = 3;
  3226. if (has_curbossscore()) {
  3227. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->curbossscore(), target);
  3228. }
  3229. if (!unknown_fields().empty()) {
  3230. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3231. unknown_fields(), target);
  3232. }
  3233. return target;
  3234. }
  3235. int packetl2c_get_boss_info_result::ByteSize() const {
  3236. int total_size = 0;
  3237. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3238. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_boss_info_result];
  3239. if (has_packet_id()) {
  3240. total_size += 1 +
  3241. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  3242. }
  3243. // optional int32 bossScoreTransRate = 2;
  3244. if (has_bossscoretransrate()) {
  3245. total_size += 1 +
  3246. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3247. this->bossscoretransrate());
  3248. }
  3249. // optional int32 curBossScore = 3;
  3250. if (has_curbossscore()) {
  3251. total_size += 1 +
  3252. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3253. this->curbossscore());
  3254. }
  3255. }
  3256. if (!unknown_fields().empty()) {
  3257. total_size +=
  3258. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3259. unknown_fields());
  3260. }
  3261. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3262. _cached_size_ = total_size;
  3263. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3264. return total_size;
  3265. }
  3266. void packetl2c_get_boss_info_result::MergeFrom(const ::google::protobuf::Message& from) {
  3267. GOOGLE_CHECK_NE(&from, this);
  3268. const packetl2c_get_boss_info_result* source =
  3269. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_get_boss_info_result*>(
  3270. &from);
  3271. if (source == NULL) {
  3272. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3273. } else {
  3274. MergeFrom(*source);
  3275. }
  3276. }
  3277. void packetl2c_get_boss_info_result::MergeFrom(const packetl2c_get_boss_info_result& from) {
  3278. GOOGLE_CHECK_NE(&from, this);
  3279. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3280. if (from.has_packet_id()) {
  3281. set_packet_id(from.packet_id());
  3282. }
  3283. if (from.has_bossscoretransrate()) {
  3284. set_bossscoretransrate(from.bossscoretransrate());
  3285. }
  3286. if (from.has_curbossscore()) {
  3287. set_curbossscore(from.curbossscore());
  3288. }
  3289. }
  3290. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  3291. }
  3292. void packetl2c_get_boss_info_result::CopyFrom(const ::google::protobuf::Message& from) {
  3293. if (&from == this) return;
  3294. Clear();
  3295. MergeFrom(from);
  3296. }
  3297. void packetl2c_get_boss_info_result::CopyFrom(const packetl2c_get_boss_info_result& from) {
  3298. if (&from == this) return;
  3299. Clear();
  3300. MergeFrom(from);
  3301. }
  3302. bool packetl2c_get_boss_info_result::IsInitialized() const {
  3303. return true;
  3304. }
  3305. void packetl2c_get_boss_info_result::Swap(packetl2c_get_boss_info_result* other) {
  3306. if (other != this) {
  3307. std::swap(packet_id_, other->packet_id_);
  3308. std::swap(bossscoretransrate_, other->bossscoretransrate_);
  3309. std::swap(curbossscore_, other->curbossscore_);
  3310. std::swap(_has_bits_[0], other->_has_bits_[0]);
  3311. _unknown_fields_.Swap(&other->_unknown_fields_);
  3312. std::swap(_cached_size_, other->_cached_size_);
  3313. }
  3314. }
  3315. ::google::protobuf::Metadata packetl2c_get_boss_info_result::GetMetadata() const {
  3316. protobuf_AssignDescriptorsOnce();
  3317. ::google::protobuf::Metadata metadata;
  3318. metadata.descriptor = packetl2c_get_boss_info_result_descriptor_;
  3319. metadata.reflection = packetl2c_get_boss_info_result_reflection_;
  3320. return metadata;
  3321. }
  3322. // @@protoc_insertion_point(namespace_scope)
  3323. } // namespace fish_protocols
  3324. // @@protoc_insertion_point(global_scope)