fish_bombfairyland.pb.cc 145 KB

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