123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: fish_bombfairyland.proto
- #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
- #include "fish_bombfairyland.pb.h"
- #include <algorithm>
- #include <google/protobuf/stubs/common.h>
- #include <google/protobuf/stubs/once.h>
- #include <google/protobuf/io/coded_stream.h>
- #include <google/protobuf/wire_format_lite_inl.h>
- #include <google/protobuf/descriptor.h>
- #include <google/protobuf/generated_message_reflection.h>
- #include <google/protobuf/reflection_ops.h>
- #include <google/protobuf/wire_format.h>
- // @@protoc_insertion_point(includes)
- namespace fish_protocols {
- namespace {
- const ::google::protobuf::Descriptor* packetc2l_enter_southsea_treasurehunt_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- packetc2l_enter_southsea_treasurehunt_reflection_ = NULL;
- const ::google::protobuf::Descriptor* packetl2c_enter_southsea_treasurehunt_result_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- packetl2c_enter_southsea_treasurehunt_result_reflection_ = NULL;
- const ::google::protobuf::Descriptor* packetc2l_southsea_treasurehunt_get_info_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- packetc2l_southsea_treasurehunt_get_info_reflection_ = NULL;
- const ::google::protobuf::Descriptor* STRoomstate_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- STRoomstate_reflection_ = NULL;
- const ::google::protobuf::Descriptor* packetl2c_southsea_treasurehunt_get_info_result_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- packetl2c_southsea_treasurehunt_get_info_result_reflection_ = NULL;
- const ::google::protobuf::Descriptor* packetc2l_southsea_treasurehunt_enter_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- packetc2l_southsea_treasurehunt_enter_reflection_ = NULL;
- const ::google::protobuf::Descriptor* packetl2c_southsea_treasurehunt_enter_result_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- packetl2c_southsea_treasurehunt_enter_result_reflection_ = NULL;
- const ::google::protobuf::Descriptor* packetc2l_southsea_treasurehunt_lottery_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- packetc2l_southsea_treasurehunt_lottery_reflection_ = NULL;
- const ::google::protobuf::Descriptor* packetl2c_southsea_treasurehunt_lottery_result_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- packetl2c_southsea_treasurehunt_lottery_result_reflection_ = NULL;
- const ::google::protobuf::Descriptor* packetc2l_get_southsea_treasurehunt_notice_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- packetc2l_get_southsea_treasurehunt_notice_reflection_ = NULL;
- const ::google::protobuf::Descriptor* MTreasureHuntNoticeInfo_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- MTreasureHuntNoticeInfo_reflection_ = NULL;
- const ::google::protobuf::Descriptor* packetl2c_get_southsea_treasurehunt_notice_result_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- packetl2c_get_southsea_treasurehunt_notice_result_reflection_ = NULL;
- } // namespace
- void protobuf_AssignDesc_fish_5fbombfairyland_2eproto() {
- protobuf_AddDesc_fish_5fbombfairyland_2eproto();
- const ::google::protobuf::FileDescriptor* file =
- ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
- "fish_bombfairyland.proto");
- GOOGLE_CHECK(file != NULL);
- packetc2l_enter_southsea_treasurehunt_descriptor_ = file->message_type(0);
- static const int packetc2l_enter_southsea_treasurehunt_offsets_[1] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_enter_southsea_treasurehunt, packet_id_),
- };
- packetc2l_enter_southsea_treasurehunt_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- packetc2l_enter_southsea_treasurehunt_descriptor_,
- packetc2l_enter_southsea_treasurehunt::default_instance_,
- packetc2l_enter_southsea_treasurehunt_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_enter_southsea_treasurehunt, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_enter_southsea_treasurehunt, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(packetc2l_enter_southsea_treasurehunt));
- packetl2c_enter_southsea_treasurehunt_result_descriptor_ = file->message_type(1);
- static const int packetl2c_enter_southsea_treasurehunt_result_offsets_[3] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_enter_southsea_treasurehunt_result, packet_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_enter_southsea_treasurehunt_result, sendcoppercount_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_enter_southsea_treasurehunt_result, result_),
- };
- packetl2c_enter_southsea_treasurehunt_result_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- packetl2c_enter_southsea_treasurehunt_result_descriptor_,
- packetl2c_enter_southsea_treasurehunt_result::default_instance_,
- packetl2c_enter_southsea_treasurehunt_result_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_enter_southsea_treasurehunt_result, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_enter_southsea_treasurehunt_result, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(packetl2c_enter_southsea_treasurehunt_result));
- packetc2l_southsea_treasurehunt_get_info_descriptor_ = file->message_type(2);
- static const int packetc2l_southsea_treasurehunt_get_info_offsets_[1] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_southsea_treasurehunt_get_info, packet_id_),
- };
- packetc2l_southsea_treasurehunt_get_info_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- packetc2l_southsea_treasurehunt_get_info_descriptor_,
- packetc2l_southsea_treasurehunt_get_info::default_instance_,
- packetc2l_southsea_treasurehunt_get_info_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_southsea_treasurehunt_get_info, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_southsea_treasurehunt_get_info, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(packetc2l_southsea_treasurehunt_get_info));
- STRoomstate_descriptor_ = file->message_type(3);
- static const int STRoomstate_offsets_[2] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(STRoomstate, roomid_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(STRoomstate, state_),
- };
- STRoomstate_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- STRoomstate_descriptor_,
- STRoomstate::default_instance_,
- STRoomstate_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(STRoomstate, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(STRoomstate, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(STRoomstate));
- packetl2c_southsea_treasurehunt_get_info_result_descriptor_ = file->message_type(4);
- static const int packetl2c_southsea_treasurehunt_get_info_result_offsets_[2] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_southsea_treasurehunt_get_info_result, packet_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_southsea_treasurehunt_get_info_result, roomlist_),
- };
- packetl2c_southsea_treasurehunt_get_info_result_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- packetl2c_southsea_treasurehunt_get_info_result_descriptor_,
- packetl2c_southsea_treasurehunt_get_info_result::default_instance_,
- packetl2c_southsea_treasurehunt_get_info_result_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_southsea_treasurehunt_get_info_result, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_southsea_treasurehunt_get_info_result, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(packetl2c_southsea_treasurehunt_get_info_result));
- packetc2l_southsea_treasurehunt_enter_descriptor_ = file->message_type(5);
- static const int packetc2l_southsea_treasurehunt_enter_offsets_[3] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_southsea_treasurehunt_enter, packet_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_southsea_treasurehunt_enter, roomid_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_southsea_treasurehunt_enter, enterway_),
- };
- packetc2l_southsea_treasurehunt_enter_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- packetc2l_southsea_treasurehunt_enter_descriptor_,
- packetc2l_southsea_treasurehunt_enter::default_instance_,
- packetc2l_southsea_treasurehunt_enter_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_southsea_treasurehunt_enter, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_southsea_treasurehunt_enter, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(packetc2l_southsea_treasurehunt_enter));
- packetl2c_southsea_treasurehunt_enter_result_descriptor_ = file->message_type(6);
- static const int packetl2c_southsea_treasurehunt_enter_result_offsets_[4] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_southsea_treasurehunt_enter_result, packet_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_southsea_treasurehunt_enter_result, result_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_southsea_treasurehunt_enter_result, roomid_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_southsea_treasurehunt_enter_result, enterway_),
- };
- packetl2c_southsea_treasurehunt_enter_result_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- packetl2c_southsea_treasurehunt_enter_result_descriptor_,
- packetl2c_southsea_treasurehunt_enter_result::default_instance_,
- packetl2c_southsea_treasurehunt_enter_result_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_southsea_treasurehunt_enter_result, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_southsea_treasurehunt_enter_result, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(packetl2c_southsea_treasurehunt_enter_result));
- packetc2l_southsea_treasurehunt_lottery_descriptor_ = file->message_type(7);
- static const int packetc2l_southsea_treasurehunt_lottery_offsets_[3] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_southsea_treasurehunt_lottery, packet_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_southsea_treasurehunt_lottery, roomid_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_southsea_treasurehunt_lottery, enterway_),
- };
- packetc2l_southsea_treasurehunt_lottery_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- packetc2l_southsea_treasurehunt_lottery_descriptor_,
- packetc2l_southsea_treasurehunt_lottery::default_instance_,
- packetc2l_southsea_treasurehunt_lottery_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_southsea_treasurehunt_lottery, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_southsea_treasurehunt_lottery, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(packetc2l_southsea_treasurehunt_lottery));
- packetl2c_southsea_treasurehunt_lottery_result_descriptor_ = file->message_type(8);
- static const int packetl2c_southsea_treasurehunt_lottery_result_offsets_[6] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_southsea_treasurehunt_lottery_result, packet_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_southsea_treasurehunt_lottery_result, result_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_southsea_treasurehunt_lottery_result, roomid_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_southsea_treasurehunt_lottery_result, enterway_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_southsea_treasurehunt_lottery_result, rewardid_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_southsea_treasurehunt_lottery_result, rewardlist_),
- };
- packetl2c_southsea_treasurehunt_lottery_result_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- packetl2c_southsea_treasurehunt_lottery_result_descriptor_,
- packetl2c_southsea_treasurehunt_lottery_result::default_instance_,
- packetl2c_southsea_treasurehunt_lottery_result_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_southsea_treasurehunt_lottery_result, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_southsea_treasurehunt_lottery_result, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(packetl2c_southsea_treasurehunt_lottery_result));
- packetc2l_get_southsea_treasurehunt_notice_descriptor_ = file->message_type(9);
- static const int packetc2l_get_southsea_treasurehunt_notice_offsets_[3] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_southsea_treasurehunt_notice, packet_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_southsea_treasurehunt_notice, lastid_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_southsea_treasurehunt_notice, roomid_),
- };
- packetc2l_get_southsea_treasurehunt_notice_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- packetc2l_get_southsea_treasurehunt_notice_descriptor_,
- packetc2l_get_southsea_treasurehunt_notice::default_instance_,
- packetc2l_get_southsea_treasurehunt_notice_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_southsea_treasurehunt_notice, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_southsea_treasurehunt_notice, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(packetc2l_get_southsea_treasurehunt_notice));
- MTreasureHuntNoticeInfo_descriptor_ = file->message_type(10);
- static const int MTreasureHuntNoticeInfo_offsets_[3] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MTreasureHuntNoticeInfo, nickname_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MTreasureHuntNoticeInfo, itemid_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MTreasureHuntNoticeInfo, count_),
- };
- MTreasureHuntNoticeInfo_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- MTreasureHuntNoticeInfo_descriptor_,
- MTreasureHuntNoticeInfo::default_instance_,
- MTreasureHuntNoticeInfo_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MTreasureHuntNoticeInfo, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MTreasureHuntNoticeInfo, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(MTreasureHuntNoticeInfo));
- packetl2c_get_southsea_treasurehunt_notice_result_descriptor_ = file->message_type(11);
- static const int packetl2c_get_southsea_treasurehunt_notice_result_offsets_[4] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_southsea_treasurehunt_notice_result, packet_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_southsea_treasurehunt_notice_result, lastid_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_southsea_treasurehunt_notice_result, noticelist_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_southsea_treasurehunt_notice_result, roomid_),
- };
- packetl2c_get_southsea_treasurehunt_notice_result_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- packetl2c_get_southsea_treasurehunt_notice_result_descriptor_,
- packetl2c_get_southsea_treasurehunt_notice_result::default_instance_,
- packetl2c_get_southsea_treasurehunt_notice_result_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_southsea_treasurehunt_notice_result, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_southsea_treasurehunt_notice_result, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(packetl2c_get_southsea_treasurehunt_notice_result));
- }
- namespace {
- GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
- inline void protobuf_AssignDescriptorsOnce() {
- ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
- &protobuf_AssignDesc_fish_5fbombfairyland_2eproto);
- }
- void protobuf_RegisterTypes(const ::std::string&) {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- packetc2l_enter_southsea_treasurehunt_descriptor_, &packetc2l_enter_southsea_treasurehunt::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- packetl2c_enter_southsea_treasurehunt_result_descriptor_, &packetl2c_enter_southsea_treasurehunt_result::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- packetc2l_southsea_treasurehunt_get_info_descriptor_, &packetc2l_southsea_treasurehunt_get_info::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- STRoomstate_descriptor_, &STRoomstate::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- packetl2c_southsea_treasurehunt_get_info_result_descriptor_, &packetl2c_southsea_treasurehunt_get_info_result::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- packetc2l_southsea_treasurehunt_enter_descriptor_, &packetc2l_southsea_treasurehunt_enter::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- packetl2c_southsea_treasurehunt_enter_result_descriptor_, &packetl2c_southsea_treasurehunt_enter_result::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- packetc2l_southsea_treasurehunt_lottery_descriptor_, &packetc2l_southsea_treasurehunt_lottery::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- packetl2c_southsea_treasurehunt_lottery_result_descriptor_, &packetl2c_southsea_treasurehunt_lottery_result::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- packetc2l_get_southsea_treasurehunt_notice_descriptor_, &packetc2l_get_southsea_treasurehunt_notice::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- MTreasureHuntNoticeInfo_descriptor_, &MTreasureHuntNoticeInfo::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- packetl2c_get_southsea_treasurehunt_notice_result_descriptor_, &packetl2c_get_southsea_treasurehunt_notice_result::default_instance());
- }
- } // namespace
- void protobuf_ShutdownFile_fish_5fbombfairyland_2eproto() {
- delete packetc2l_enter_southsea_treasurehunt::default_instance_;
- delete packetc2l_enter_southsea_treasurehunt_reflection_;
- delete packetl2c_enter_southsea_treasurehunt_result::default_instance_;
- delete packetl2c_enter_southsea_treasurehunt_result_reflection_;
- delete packetc2l_southsea_treasurehunt_get_info::default_instance_;
- delete packetc2l_southsea_treasurehunt_get_info_reflection_;
- delete STRoomstate::default_instance_;
- delete STRoomstate_reflection_;
- delete packetl2c_southsea_treasurehunt_get_info_result::default_instance_;
- delete packetl2c_southsea_treasurehunt_get_info_result_reflection_;
- delete packetc2l_southsea_treasurehunt_enter::default_instance_;
- delete packetc2l_southsea_treasurehunt_enter_reflection_;
- delete packetl2c_southsea_treasurehunt_enter_result::default_instance_;
- delete packetl2c_southsea_treasurehunt_enter_result_reflection_;
- delete packetc2l_southsea_treasurehunt_lottery::default_instance_;
- delete packetc2l_southsea_treasurehunt_lottery_reflection_;
- delete packetl2c_southsea_treasurehunt_lottery_result::default_instance_;
- delete packetl2c_southsea_treasurehunt_lottery_result_reflection_;
- delete packetc2l_get_southsea_treasurehunt_notice::default_instance_;
- delete packetc2l_get_southsea_treasurehunt_notice_reflection_;
- delete MTreasureHuntNoticeInfo::default_instance_;
- delete MTreasureHuntNoticeInfo_reflection_;
- delete packetl2c_get_southsea_treasurehunt_notice_result::default_instance_;
- delete packetl2c_get_southsea_treasurehunt_notice_result_reflection_;
- }
- void protobuf_AddDesc_fish_5fbombfairyland_2eproto() {
- static bool already_here = false;
- if (already_here) return;
- already_here = true;
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- ::fish_protocols::protobuf_AddDesc_fish_5fdef_2eproto();
- ::fish_protocols::protobuf_AddDesc_fish_5ftype_5fdef_2eproto();
- ::msg_type_def::protobuf_AddDesc_msg_5ftype_5fdef_2eproto();
- ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
- "\n\030fish_bombfairyland.proto\022\016fish_protoco"
- "ls\032\016fish_def.proto\032\023fish_type_def.proto\032"
- "\022msg_type_def.proto\"\204\001\n%packetc2l_enter_"
- "southsea_treasurehunt\022[\n\tpacket_id\030\001 \001(\016"
- "2!.fish_protocols.e_server_msg_type:%e_m"
- "st_c2l_enter_southsea_treasurehunt\"\273\001\n,p"
- "acketl2c_enter_southsea_treasurehunt_res"
- "ult\022b\n\tpacket_id\030\001 \001(\0162!.fish_protocols."
- "e_server_msg_type:,e_mst_l2c_enter_south"
- "sea_treasurehunt_result\022\027\n\017sendCopperCou"
- "nt\030\002 \001(\005\022\016\n\006result\030\003 \001(\005\"\212\001\n(packetc2l_s"
- "outhsea_treasurehunt_get_info\022^\n\tpacket_"
- "id\030\001 \001(\0162!.fish_protocols.e_server_msg_t"
- "ype:(e_mst_c2l_southsea_treasurehunt_get"
- "_info\",\n\013STRoomstate\022\016\n\006roomId\030\001 \001(\005\022\r\n\005"
- "state\030\002 \001(\005\"\307\001\n/packetl2c_southsea_treas"
- "urehunt_get_info_result\022e\n\tpacket_id\030\001 \001"
- "(\0162!.fish_protocols.e_server_msg_type:/e"
- "_mst_l2c_southsea_treasurehunt_get_info_"
- "result\022-\n\010roomList\030\002 \003(\0132\033.fish_protocol"
- "s.STRoomstate\"\246\001\n%packetc2l_southsea_tre"
- "asurehunt_enter\022[\n\tpacket_id\030\001 \001(\0162!.fis"
- "h_protocols.e_server_msg_type:%e_mst_c2l"
- "_southsea_treasurehunt_enter\022\016\n\006roomId\030\002"
- " \001(\005\022\020\n\010enterWay\030\003 \001(\005\"\304\001\n,packetl2c_sou"
- "thsea_treasurehunt_enter_result\022b\n\tpacke"
- "t_id\030\001 \001(\0162!.fish_protocols.e_server_msg"
- "_type:,e_mst_l2c_southsea_treasurehunt_e"
- "nter_result\022\016\n\006result\030\002 \001(\005\022\016\n\006roomId\030\003 "
- "\001(\005\022\020\n\010enterWay\030\004 \001(\005\"\252\001\n\'packetc2l_sout"
- "hsea_treasurehunt_lottery\022]\n\tpacket_id\030\001"
- " \001(\0162!.fish_protocols.e_server_msg_type:"
- "\'e_mst_c2l_southsea_treasurehunt_lottery"
- "\022\016\n\006roomId\030\002 \001(\005\022\020\n\010enterWay\030\003 \001(\005\"\210\002\n.p"
- "acketl2c_southsea_treasurehunt_lottery_r"
- "esult\022d\n\tpacket_id\030\001 \001(\0162!.fish_protocol"
- "s.e_server_msg_type:.e_mst_l2c_southsea_"
- "treasurehunt_lottery_result\022\016\n\006result\030\002 "
- "\001(\005\022\016\n\006roomId\030\003 \001(\005\022\020\n\010enterWay\030\004 \001(\005\022\020\n"
- "\010rewardId\030\005 \001(\005\022,\n\nrewardList\030\006 \003(\0132\030.fi"
- "sh_protocols.msg_item\"\256\001\n*packetc2l_get_"
- "southsea_treasurehunt_notice\022`\n\tpacket_i"
- "d\030\001 \001(\0162!.fish_protocols.e_server_msg_ty"
- "pe:*e_mst_c2l_get_southsea_treasurehunt_"
- "notice\022\016\n\006lastId\030\002 \001(\005\022\016\n\006roomId\030\003 \001(\005\"J"
- "\n\027MTreasureHuntNoticeInfo\022\020\n\010nickName\030\001 "
- "\001(\t\022\016\n\006itemId\030\002 \001(\005\022\r\n\005count\030\003 \001(\005\"\371\001\n1p"
- "acketl2c_get_southsea_treasurehunt_notic"
- "e_result\022g\n\tpacket_id\030\001 \001(\0162!.fish_proto"
- "cols.e_server_msg_type:1e_mst_l2c_get_so"
- "uthsea_treasurehunt_notice_result\022\016\n\006las"
- "tId\030\002 \001(\005\022;\n\nnoticeList\030\003 \003(\0132\'.fish_pro"
- "tocols.MTreasureHuntNoticeInfo\022\016\n\006roomId"
- "\030\004 \001(\005", 2126);
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
- "fish_bombfairyland.proto", &protobuf_RegisterTypes);
- packetc2l_enter_southsea_treasurehunt::default_instance_ = new packetc2l_enter_southsea_treasurehunt();
- packetl2c_enter_southsea_treasurehunt_result::default_instance_ = new packetl2c_enter_southsea_treasurehunt_result();
- packetc2l_southsea_treasurehunt_get_info::default_instance_ = new packetc2l_southsea_treasurehunt_get_info();
- STRoomstate::default_instance_ = new STRoomstate();
- packetl2c_southsea_treasurehunt_get_info_result::default_instance_ = new packetl2c_southsea_treasurehunt_get_info_result();
- packetc2l_southsea_treasurehunt_enter::default_instance_ = new packetc2l_southsea_treasurehunt_enter();
- packetl2c_southsea_treasurehunt_enter_result::default_instance_ = new packetl2c_southsea_treasurehunt_enter_result();
- packetc2l_southsea_treasurehunt_lottery::default_instance_ = new packetc2l_southsea_treasurehunt_lottery();
- packetl2c_southsea_treasurehunt_lottery_result::default_instance_ = new packetl2c_southsea_treasurehunt_lottery_result();
- packetc2l_get_southsea_treasurehunt_notice::default_instance_ = new packetc2l_get_southsea_treasurehunt_notice();
- MTreasureHuntNoticeInfo::default_instance_ = new MTreasureHuntNoticeInfo();
- packetl2c_get_southsea_treasurehunt_notice_result::default_instance_ = new packetl2c_get_southsea_treasurehunt_notice_result();
- packetc2l_enter_southsea_treasurehunt::default_instance_->InitAsDefaultInstance();
- packetl2c_enter_southsea_treasurehunt_result::default_instance_->InitAsDefaultInstance();
- packetc2l_southsea_treasurehunt_get_info::default_instance_->InitAsDefaultInstance();
- STRoomstate::default_instance_->InitAsDefaultInstance();
- packetl2c_southsea_treasurehunt_get_info_result::default_instance_->InitAsDefaultInstance();
- packetc2l_southsea_treasurehunt_enter::default_instance_->InitAsDefaultInstance();
- packetl2c_southsea_treasurehunt_enter_result::default_instance_->InitAsDefaultInstance();
- packetc2l_southsea_treasurehunt_lottery::default_instance_->InitAsDefaultInstance();
- packetl2c_southsea_treasurehunt_lottery_result::default_instance_->InitAsDefaultInstance();
- packetc2l_get_southsea_treasurehunt_notice::default_instance_->InitAsDefaultInstance();
- MTreasureHuntNoticeInfo::default_instance_->InitAsDefaultInstance();
- packetl2c_get_southsea_treasurehunt_notice_result::default_instance_->InitAsDefaultInstance();
- ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_fish_5fbombfairyland_2eproto);
- }
- // Force AddDescriptors() to be called at static initialization time.
- struct StaticDescriptorInitializer_fish_5fbombfairyland_2eproto {
- StaticDescriptorInitializer_fish_5fbombfairyland_2eproto() {
- protobuf_AddDesc_fish_5fbombfairyland_2eproto();
- }
- } static_descriptor_initializer_fish_5fbombfairyland_2eproto_;
- // ===================================================================
- #ifndef _MSC_VER
- const int packetc2l_enter_southsea_treasurehunt::kPacketIdFieldNumber;
- #endif // !_MSC_VER
- packetc2l_enter_southsea_treasurehunt::packetc2l_enter_southsea_treasurehunt()
- : ::google::protobuf::Message() {
- SharedCtor();
- }
- void packetc2l_enter_southsea_treasurehunt::InitAsDefaultInstance() {
- }
- packetc2l_enter_southsea_treasurehunt::packetc2l_enter_southsea_treasurehunt(const packetc2l_enter_southsea_treasurehunt& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- }
- void packetc2l_enter_southsea_treasurehunt::SharedCtor() {
- _cached_size_ = 0;
- packet_id_ = 10176;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- packetc2l_enter_southsea_treasurehunt::~packetc2l_enter_southsea_treasurehunt() {
- SharedDtor();
- }
- void packetc2l_enter_southsea_treasurehunt::SharedDtor() {
- if (this != default_instance_) {
- }
- }
- void packetc2l_enter_southsea_treasurehunt::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* packetc2l_enter_southsea_treasurehunt::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return packetc2l_enter_southsea_treasurehunt_descriptor_;
- }
- const packetc2l_enter_southsea_treasurehunt& packetc2l_enter_southsea_treasurehunt::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_fish_5fbombfairyland_2eproto();
- return *default_instance_;
- }
- packetc2l_enter_southsea_treasurehunt* packetc2l_enter_southsea_treasurehunt::default_instance_ = NULL;
- packetc2l_enter_southsea_treasurehunt* packetc2l_enter_southsea_treasurehunt::New() const {
- return new packetc2l_enter_southsea_treasurehunt;
- }
- void packetc2l_enter_southsea_treasurehunt::Clear() {
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- packet_id_ = 10176;
- }
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool packetc2l_enter_southsea_treasurehunt::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
- ::google::protobuf::uint32 tag;
- while ((tag = input->ReadTag()) != 0) {
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_enter_southsea_treasurehunt];
- case 1: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- int value;
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
- input, &value)));
- if (::fish_protocols::e_server_msg_type_IsValid(value)) {
- set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
- } else {
- mutable_unknown_fields()->AddVarint(1, value);
- }
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectAtEnd()) return true;
- break;
- }
- default: {
- handle_uninterpreted:
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- return true;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, mutable_unknown_fields()));
- break;
- }
- }
- }
- return true;
- #undef DO_
- }
- void packetc2l_enter_southsea_treasurehunt::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_enter_southsea_treasurehunt];
- if (has_packet_id()) {
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
- 1, this->packet_id(), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- }
- ::google::protobuf::uint8* packetc2l_enter_southsea_treasurehunt::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_enter_southsea_treasurehunt];
- if (has_packet_id()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
- 1, this->packet_id(), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- return target;
- }
- int packetc2l_enter_southsea_treasurehunt::ByteSize() const {
- int total_size = 0;
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_enter_southsea_treasurehunt];
- if (has_packet_id()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
- }
- }
- if (!unknown_fields().empty()) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- unknown_fields());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void packetc2l_enter_southsea_treasurehunt::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const packetc2l_enter_southsea_treasurehunt* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_enter_southsea_treasurehunt*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void packetc2l_enter_southsea_treasurehunt::MergeFrom(const packetc2l_enter_southsea_treasurehunt& from) {
- GOOGLE_CHECK_NE(&from, this);
- if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- if (from.has_packet_id()) {
- set_packet_id(from.packet_id());
- }
- }
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void packetc2l_enter_southsea_treasurehunt::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void packetc2l_enter_southsea_treasurehunt::CopyFrom(const packetc2l_enter_southsea_treasurehunt& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool packetc2l_enter_southsea_treasurehunt::IsInitialized() const {
- return true;
- }
- void packetc2l_enter_southsea_treasurehunt::Swap(packetc2l_enter_southsea_treasurehunt* other) {
- if (other != this) {
- std::swap(packet_id_, other->packet_id_);
- std::swap(_has_bits_[0], other->_has_bits_[0]);
- _unknown_fields_.Swap(&other->_unknown_fields_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- }
- ::google::protobuf::Metadata packetc2l_enter_southsea_treasurehunt::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = packetc2l_enter_southsea_treasurehunt_descriptor_;
- metadata.reflection = packetc2l_enter_southsea_treasurehunt_reflection_;
- return metadata;
- }
- // ===================================================================
- #ifndef _MSC_VER
- const int packetl2c_enter_southsea_treasurehunt_result::kPacketIdFieldNumber;
- const int packetl2c_enter_southsea_treasurehunt_result::kSendCopperCountFieldNumber;
- const int packetl2c_enter_southsea_treasurehunt_result::kResultFieldNumber;
- #endif // !_MSC_VER
- packetl2c_enter_southsea_treasurehunt_result::packetl2c_enter_southsea_treasurehunt_result()
- : ::google::protobuf::Message() {
- SharedCtor();
- }
- void packetl2c_enter_southsea_treasurehunt_result::InitAsDefaultInstance() {
- }
- packetl2c_enter_southsea_treasurehunt_result::packetl2c_enter_southsea_treasurehunt_result(const packetl2c_enter_southsea_treasurehunt_result& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- }
- void packetl2c_enter_southsea_treasurehunt_result::SharedCtor() {
- _cached_size_ = 0;
- packet_id_ = 16169;
- sendcoppercount_ = 0;
- result_ = 0;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- packetl2c_enter_southsea_treasurehunt_result::~packetl2c_enter_southsea_treasurehunt_result() {
- SharedDtor();
- }
- void packetl2c_enter_southsea_treasurehunt_result::SharedDtor() {
- if (this != default_instance_) {
- }
- }
- void packetl2c_enter_southsea_treasurehunt_result::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* packetl2c_enter_southsea_treasurehunt_result::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return packetl2c_enter_southsea_treasurehunt_result_descriptor_;
- }
- const packetl2c_enter_southsea_treasurehunt_result& packetl2c_enter_southsea_treasurehunt_result::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_fish_5fbombfairyland_2eproto();
- return *default_instance_;
- }
- packetl2c_enter_southsea_treasurehunt_result* packetl2c_enter_southsea_treasurehunt_result::default_instance_ = NULL;
- packetl2c_enter_southsea_treasurehunt_result* packetl2c_enter_southsea_treasurehunt_result::New() const {
- return new packetl2c_enter_southsea_treasurehunt_result;
- }
- void packetl2c_enter_southsea_treasurehunt_result::Clear() {
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- packet_id_ = 16169;
- sendcoppercount_ = 0;
- result_ = 0;
- }
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool packetl2c_enter_southsea_treasurehunt_result::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
- ::google::protobuf::uint32 tag;
- while ((tag = input->ReadTag()) != 0) {
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_enter_southsea_treasurehunt_result];
- case 1: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- int value;
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
- input, &value)));
- if (::fish_protocols::e_server_msg_type_IsValid(value)) {
- set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
- } else {
- mutable_unknown_fields()->AddVarint(1, value);
- }
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(16)) goto parse_sendCopperCount;
- break;
- }
- // optional int32 sendCopperCount = 2;
- case 2: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_sendCopperCount:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &sendcoppercount_)));
- set_has_sendcoppercount();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(24)) goto parse_result;
- break;
- }
- // optional int32 result = 3;
- case 3: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_result:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &result_)));
- set_has_result();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectAtEnd()) return true;
- break;
- }
- default: {
- handle_uninterpreted:
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- return true;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, mutable_unknown_fields()));
- break;
- }
- }
- }
- return true;
- #undef DO_
- }
- void packetl2c_enter_southsea_treasurehunt_result::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_enter_southsea_treasurehunt_result];
- if (has_packet_id()) {
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
- 1, this->packet_id(), output);
- }
- // optional int32 sendCopperCount = 2;
- if (has_sendcoppercount()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->sendcoppercount(), output);
- }
- // optional int32 result = 3;
- if (has_result()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- }
- ::google::protobuf::uint8* packetl2c_enter_southsea_treasurehunt_result::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_enter_southsea_treasurehunt_result];
- if (has_packet_id()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
- 1, this->packet_id(), target);
- }
- // optional int32 sendCopperCount = 2;
- if (has_sendcoppercount()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->sendcoppercount(), target);
- }
- // optional int32 result = 3;
- if (has_result()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- return target;
- }
- int packetl2c_enter_southsea_treasurehunt_result::ByteSize() const {
- int total_size = 0;
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_enter_southsea_treasurehunt_result];
- if (has_packet_id()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
- }
- // optional int32 sendCopperCount = 2;
- if (has_sendcoppercount()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->sendcoppercount());
- }
- // optional int32 result = 3;
- if (has_result()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->result());
- }
- }
- if (!unknown_fields().empty()) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- unknown_fields());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void packetl2c_enter_southsea_treasurehunt_result::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const packetl2c_enter_southsea_treasurehunt_result* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_enter_southsea_treasurehunt_result*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void packetl2c_enter_southsea_treasurehunt_result::MergeFrom(const packetl2c_enter_southsea_treasurehunt_result& from) {
- GOOGLE_CHECK_NE(&from, this);
- if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- if (from.has_packet_id()) {
- set_packet_id(from.packet_id());
- }
- if (from.has_sendcoppercount()) {
- set_sendcoppercount(from.sendcoppercount());
- }
- if (from.has_result()) {
- set_result(from.result());
- }
- }
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void packetl2c_enter_southsea_treasurehunt_result::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void packetl2c_enter_southsea_treasurehunt_result::CopyFrom(const packetl2c_enter_southsea_treasurehunt_result& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool packetl2c_enter_southsea_treasurehunt_result::IsInitialized() const {
- return true;
- }
- void packetl2c_enter_southsea_treasurehunt_result::Swap(packetl2c_enter_southsea_treasurehunt_result* other) {
- if (other != this) {
- std::swap(packet_id_, other->packet_id_);
- std::swap(sendcoppercount_, other->sendcoppercount_);
- std::swap(result_, other->result_);
- std::swap(_has_bits_[0], other->_has_bits_[0]);
- _unknown_fields_.Swap(&other->_unknown_fields_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- }
- ::google::protobuf::Metadata packetl2c_enter_southsea_treasurehunt_result::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = packetl2c_enter_southsea_treasurehunt_result_descriptor_;
- metadata.reflection = packetl2c_enter_southsea_treasurehunt_result_reflection_;
- return metadata;
- }
- // ===================================================================
- #ifndef _MSC_VER
- const int packetc2l_southsea_treasurehunt_get_info::kPacketIdFieldNumber;
- #endif // !_MSC_VER
- packetc2l_southsea_treasurehunt_get_info::packetc2l_southsea_treasurehunt_get_info()
- : ::google::protobuf::Message() {
- SharedCtor();
- }
- void packetc2l_southsea_treasurehunt_get_info::InitAsDefaultInstance() {
- }
- packetc2l_southsea_treasurehunt_get_info::packetc2l_southsea_treasurehunt_get_info(const packetc2l_southsea_treasurehunt_get_info& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- }
- void packetc2l_southsea_treasurehunt_get_info::SharedCtor() {
- _cached_size_ = 0;
- packet_id_ = 10173;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- packetc2l_southsea_treasurehunt_get_info::~packetc2l_southsea_treasurehunt_get_info() {
- SharedDtor();
- }
- void packetc2l_southsea_treasurehunt_get_info::SharedDtor() {
- if (this != default_instance_) {
- }
- }
- void packetc2l_southsea_treasurehunt_get_info::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* packetc2l_southsea_treasurehunt_get_info::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return packetc2l_southsea_treasurehunt_get_info_descriptor_;
- }
- const packetc2l_southsea_treasurehunt_get_info& packetc2l_southsea_treasurehunt_get_info::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_fish_5fbombfairyland_2eproto();
- return *default_instance_;
- }
- packetc2l_southsea_treasurehunt_get_info* packetc2l_southsea_treasurehunt_get_info::default_instance_ = NULL;
- packetc2l_southsea_treasurehunt_get_info* packetc2l_southsea_treasurehunt_get_info::New() const {
- return new packetc2l_southsea_treasurehunt_get_info;
- }
- void packetc2l_southsea_treasurehunt_get_info::Clear() {
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- packet_id_ = 10173;
- }
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool packetc2l_southsea_treasurehunt_get_info::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
- ::google::protobuf::uint32 tag;
- while ((tag = input->ReadTag()) != 0) {
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_southsea_treasurehunt_get_info];
- case 1: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- int value;
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
- input, &value)));
- if (::fish_protocols::e_server_msg_type_IsValid(value)) {
- set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
- } else {
- mutable_unknown_fields()->AddVarint(1, value);
- }
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectAtEnd()) return true;
- break;
- }
- default: {
- handle_uninterpreted:
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- return true;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, mutable_unknown_fields()));
- break;
- }
- }
- }
- return true;
- #undef DO_
- }
- void packetc2l_southsea_treasurehunt_get_info::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_southsea_treasurehunt_get_info];
- if (has_packet_id()) {
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
- 1, this->packet_id(), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- }
- ::google::protobuf::uint8* packetc2l_southsea_treasurehunt_get_info::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_southsea_treasurehunt_get_info];
- if (has_packet_id()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
- 1, this->packet_id(), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- return target;
- }
- int packetc2l_southsea_treasurehunt_get_info::ByteSize() const {
- int total_size = 0;
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_southsea_treasurehunt_get_info];
- if (has_packet_id()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
- }
- }
- if (!unknown_fields().empty()) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- unknown_fields());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void packetc2l_southsea_treasurehunt_get_info::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const packetc2l_southsea_treasurehunt_get_info* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_southsea_treasurehunt_get_info*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void packetc2l_southsea_treasurehunt_get_info::MergeFrom(const packetc2l_southsea_treasurehunt_get_info& from) {
- GOOGLE_CHECK_NE(&from, this);
- if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- if (from.has_packet_id()) {
- set_packet_id(from.packet_id());
- }
- }
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void packetc2l_southsea_treasurehunt_get_info::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void packetc2l_southsea_treasurehunt_get_info::CopyFrom(const packetc2l_southsea_treasurehunt_get_info& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool packetc2l_southsea_treasurehunt_get_info::IsInitialized() const {
- return true;
- }
- void packetc2l_southsea_treasurehunt_get_info::Swap(packetc2l_southsea_treasurehunt_get_info* other) {
- if (other != this) {
- std::swap(packet_id_, other->packet_id_);
- std::swap(_has_bits_[0], other->_has_bits_[0]);
- _unknown_fields_.Swap(&other->_unknown_fields_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- }
- ::google::protobuf::Metadata packetc2l_southsea_treasurehunt_get_info::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = packetc2l_southsea_treasurehunt_get_info_descriptor_;
- metadata.reflection = packetc2l_southsea_treasurehunt_get_info_reflection_;
- return metadata;
- }
- // ===================================================================
- #ifndef _MSC_VER
- const int STRoomstate::kRoomIdFieldNumber;
- const int STRoomstate::kStateFieldNumber;
- #endif // !_MSC_VER
- STRoomstate::STRoomstate()
- : ::google::protobuf::Message() {
- SharedCtor();
- }
- void STRoomstate::InitAsDefaultInstance() {
- }
- STRoomstate::STRoomstate(const STRoomstate& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- }
- void STRoomstate::SharedCtor() {
- _cached_size_ = 0;
- roomid_ = 0;
- state_ = 0;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- STRoomstate::~STRoomstate() {
- SharedDtor();
- }
- void STRoomstate::SharedDtor() {
- if (this != default_instance_) {
- }
- }
- void STRoomstate::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* STRoomstate::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return STRoomstate_descriptor_;
- }
- const STRoomstate& STRoomstate::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_fish_5fbombfairyland_2eproto();
- return *default_instance_;
- }
- STRoomstate* STRoomstate::default_instance_ = NULL;
- STRoomstate* STRoomstate::New() const {
- return new STRoomstate;
- }
- void STRoomstate::Clear() {
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- roomid_ = 0;
- state_ = 0;
- }
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool STRoomstate::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
- ::google::protobuf::uint32 tag;
- while ((tag = input->ReadTag()) != 0) {
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional int32 roomId = 1;
- case 1: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &roomid_)));
- set_has_roomid();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(16)) goto parse_state;
- break;
- }
- // optional int32 state = 2;
- case 2: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_state:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &state_)));
- set_has_state();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectAtEnd()) return true;
- break;
- }
- default: {
- handle_uninterpreted:
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- return true;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, mutable_unknown_fields()));
- break;
- }
- }
- }
- return true;
- #undef DO_
- }
- void STRoomstate::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // optional int32 roomId = 1;
- if (has_roomid()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->roomid(), output);
- }
- // optional int32 state = 2;
- if (has_state()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->state(), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- }
- ::google::protobuf::uint8* STRoomstate::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // optional int32 roomId = 1;
- if (has_roomid()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->roomid(), target);
- }
- // optional int32 state = 2;
- if (has_state()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->state(), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- return target;
- }
- int STRoomstate::ByteSize() const {
- int total_size = 0;
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- // optional int32 roomId = 1;
- if (has_roomid()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->roomid());
- }
- // optional int32 state = 2;
- if (has_state()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->state());
- }
- }
- if (!unknown_fields().empty()) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- unknown_fields());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void STRoomstate::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const STRoomstate* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const STRoomstate*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void STRoomstate::MergeFrom(const STRoomstate& from) {
- GOOGLE_CHECK_NE(&from, this);
- if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- if (from.has_roomid()) {
- set_roomid(from.roomid());
- }
- if (from.has_state()) {
- set_state(from.state());
- }
- }
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void STRoomstate::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void STRoomstate::CopyFrom(const STRoomstate& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool STRoomstate::IsInitialized() const {
- return true;
- }
- void STRoomstate::Swap(STRoomstate* other) {
- if (other != this) {
- std::swap(roomid_, other->roomid_);
- std::swap(state_, other->state_);
- std::swap(_has_bits_[0], other->_has_bits_[0]);
- _unknown_fields_.Swap(&other->_unknown_fields_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- }
- ::google::protobuf::Metadata STRoomstate::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = STRoomstate_descriptor_;
- metadata.reflection = STRoomstate_reflection_;
- return metadata;
- }
- // ===================================================================
- #ifndef _MSC_VER
- const int packetl2c_southsea_treasurehunt_get_info_result::kPacketIdFieldNumber;
- const int packetl2c_southsea_treasurehunt_get_info_result::kRoomListFieldNumber;
- #endif // !_MSC_VER
- packetl2c_southsea_treasurehunt_get_info_result::packetl2c_southsea_treasurehunt_get_info_result()
- : ::google::protobuf::Message() {
- SharedCtor();
- }
- void packetl2c_southsea_treasurehunt_get_info_result::InitAsDefaultInstance() {
- }
- packetl2c_southsea_treasurehunt_get_info_result::packetl2c_southsea_treasurehunt_get_info_result(const packetl2c_southsea_treasurehunt_get_info_result& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- }
- void packetl2c_southsea_treasurehunt_get_info_result::SharedCtor() {
- _cached_size_ = 0;
- packet_id_ = 16166;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- packetl2c_southsea_treasurehunt_get_info_result::~packetl2c_southsea_treasurehunt_get_info_result() {
- SharedDtor();
- }
- void packetl2c_southsea_treasurehunt_get_info_result::SharedDtor() {
- if (this != default_instance_) {
- }
- }
- void packetl2c_southsea_treasurehunt_get_info_result::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* packetl2c_southsea_treasurehunt_get_info_result::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return packetl2c_southsea_treasurehunt_get_info_result_descriptor_;
- }
- const packetl2c_southsea_treasurehunt_get_info_result& packetl2c_southsea_treasurehunt_get_info_result::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_fish_5fbombfairyland_2eproto();
- return *default_instance_;
- }
- packetl2c_southsea_treasurehunt_get_info_result* packetl2c_southsea_treasurehunt_get_info_result::default_instance_ = NULL;
- packetl2c_southsea_treasurehunt_get_info_result* packetl2c_southsea_treasurehunt_get_info_result::New() const {
- return new packetl2c_southsea_treasurehunt_get_info_result;
- }
- void packetl2c_southsea_treasurehunt_get_info_result::Clear() {
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- packet_id_ = 16166;
- }
- roomlist_.Clear();
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool packetl2c_southsea_treasurehunt_get_info_result::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
- ::google::protobuf::uint32 tag;
- while ((tag = input->ReadTag()) != 0) {
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_southsea_treasurehunt_get_info_result];
- case 1: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- int value;
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
- input, &value)));
- if (::fish_protocols::e_server_msg_type_IsValid(value)) {
- set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
- } else {
- mutable_unknown_fields()->AddVarint(1, value);
- }
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(18)) goto parse_roomList;
- break;
- }
- // repeated .fish_protocols.STRoomstate roomList = 2;
- case 2: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
- parse_roomList:
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, add_roomlist()));
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(18)) goto parse_roomList;
- if (input->ExpectAtEnd()) return true;
- break;
- }
- default: {
- handle_uninterpreted:
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- return true;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, mutable_unknown_fields()));
- break;
- }
- }
- }
- return true;
- #undef DO_
- }
- void packetl2c_southsea_treasurehunt_get_info_result::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_southsea_treasurehunt_get_info_result];
- if (has_packet_id()) {
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
- 1, this->packet_id(), output);
- }
- // repeated .fish_protocols.STRoomstate roomList = 2;
- for (int i = 0; i < this->roomlist_size(); i++) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 2, this->roomlist(i), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- }
- ::google::protobuf::uint8* packetl2c_southsea_treasurehunt_get_info_result::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_southsea_treasurehunt_get_info_result];
- if (has_packet_id()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
- 1, this->packet_id(), target);
- }
- // repeated .fish_protocols.STRoomstate roomList = 2;
- for (int i = 0; i < this->roomlist_size(); i++) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 2, this->roomlist(i), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- return target;
- }
- int packetl2c_southsea_treasurehunt_get_info_result::ByteSize() const {
- int total_size = 0;
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_southsea_treasurehunt_get_info_result];
- if (has_packet_id()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
- }
- }
- // repeated .fish_protocols.STRoomstate roomList = 2;
- total_size += 1 * this->roomlist_size();
- for (int i = 0; i < this->roomlist_size(); i++) {
- total_size +=
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- this->roomlist(i));
- }
- if (!unknown_fields().empty()) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- unknown_fields());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void packetl2c_southsea_treasurehunt_get_info_result::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const packetl2c_southsea_treasurehunt_get_info_result* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_southsea_treasurehunt_get_info_result*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void packetl2c_southsea_treasurehunt_get_info_result::MergeFrom(const packetl2c_southsea_treasurehunt_get_info_result& from) {
- GOOGLE_CHECK_NE(&from, this);
- roomlist_.MergeFrom(from.roomlist_);
- if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- if (from.has_packet_id()) {
- set_packet_id(from.packet_id());
- }
- }
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void packetl2c_southsea_treasurehunt_get_info_result::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void packetl2c_southsea_treasurehunt_get_info_result::CopyFrom(const packetl2c_southsea_treasurehunt_get_info_result& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool packetl2c_southsea_treasurehunt_get_info_result::IsInitialized() const {
- return true;
- }
- void packetl2c_southsea_treasurehunt_get_info_result::Swap(packetl2c_southsea_treasurehunt_get_info_result* other) {
- if (other != this) {
- std::swap(packet_id_, other->packet_id_);
- roomlist_.Swap(&other->roomlist_);
- std::swap(_has_bits_[0], other->_has_bits_[0]);
- _unknown_fields_.Swap(&other->_unknown_fields_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- }
- ::google::protobuf::Metadata packetl2c_southsea_treasurehunt_get_info_result::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = packetl2c_southsea_treasurehunt_get_info_result_descriptor_;
- metadata.reflection = packetl2c_southsea_treasurehunt_get_info_result_reflection_;
- return metadata;
- }
- // ===================================================================
- #ifndef _MSC_VER
- const int packetc2l_southsea_treasurehunt_enter::kPacketIdFieldNumber;
- const int packetc2l_southsea_treasurehunt_enter::kRoomIdFieldNumber;
- const int packetc2l_southsea_treasurehunt_enter::kEnterWayFieldNumber;
- #endif // !_MSC_VER
- packetc2l_southsea_treasurehunt_enter::packetc2l_southsea_treasurehunt_enter()
- : ::google::protobuf::Message() {
- SharedCtor();
- }
- void packetc2l_southsea_treasurehunt_enter::InitAsDefaultInstance() {
- }
- packetc2l_southsea_treasurehunt_enter::packetc2l_southsea_treasurehunt_enter(const packetc2l_southsea_treasurehunt_enter& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- }
- void packetc2l_southsea_treasurehunt_enter::SharedCtor() {
- _cached_size_ = 0;
- packet_id_ = 10174;
- roomid_ = 0;
- enterway_ = 0;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- packetc2l_southsea_treasurehunt_enter::~packetc2l_southsea_treasurehunt_enter() {
- SharedDtor();
- }
- void packetc2l_southsea_treasurehunt_enter::SharedDtor() {
- if (this != default_instance_) {
- }
- }
- void packetc2l_southsea_treasurehunt_enter::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* packetc2l_southsea_treasurehunt_enter::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return packetc2l_southsea_treasurehunt_enter_descriptor_;
- }
- const packetc2l_southsea_treasurehunt_enter& packetc2l_southsea_treasurehunt_enter::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_fish_5fbombfairyland_2eproto();
- return *default_instance_;
- }
- packetc2l_southsea_treasurehunt_enter* packetc2l_southsea_treasurehunt_enter::default_instance_ = NULL;
- packetc2l_southsea_treasurehunt_enter* packetc2l_southsea_treasurehunt_enter::New() const {
- return new packetc2l_southsea_treasurehunt_enter;
- }
- void packetc2l_southsea_treasurehunt_enter::Clear() {
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- packet_id_ = 10174;
- roomid_ = 0;
- enterway_ = 0;
- }
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool packetc2l_southsea_treasurehunt_enter::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
- ::google::protobuf::uint32 tag;
- while ((tag = input->ReadTag()) != 0) {
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_southsea_treasurehunt_enter];
- case 1: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- int value;
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
- input, &value)));
- if (::fish_protocols::e_server_msg_type_IsValid(value)) {
- set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
- } else {
- mutable_unknown_fields()->AddVarint(1, value);
- }
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(16)) goto parse_roomId;
- break;
- }
- // optional int32 roomId = 2;
- case 2: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_roomId:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &roomid_)));
- set_has_roomid();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(24)) goto parse_enterWay;
- break;
- }
- // optional int32 enterWay = 3;
- case 3: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_enterWay:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &enterway_)));
- set_has_enterway();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectAtEnd()) return true;
- break;
- }
- default: {
- handle_uninterpreted:
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- return true;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, mutable_unknown_fields()));
- break;
- }
- }
- }
- return true;
- #undef DO_
- }
- void packetc2l_southsea_treasurehunt_enter::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_southsea_treasurehunt_enter];
- if (has_packet_id()) {
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
- 1, this->packet_id(), output);
- }
- // optional int32 roomId = 2;
- if (has_roomid()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->roomid(), output);
- }
- // optional int32 enterWay = 3;
- if (has_enterway()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->enterway(), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- }
- ::google::protobuf::uint8* packetc2l_southsea_treasurehunt_enter::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_southsea_treasurehunt_enter];
- if (has_packet_id()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
- 1, this->packet_id(), target);
- }
- // optional int32 roomId = 2;
- if (has_roomid()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->roomid(), target);
- }
- // optional int32 enterWay = 3;
- if (has_enterway()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->enterway(), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- return target;
- }
- int packetc2l_southsea_treasurehunt_enter::ByteSize() const {
- int total_size = 0;
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_southsea_treasurehunt_enter];
- if (has_packet_id()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
- }
- // optional int32 roomId = 2;
- if (has_roomid()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->roomid());
- }
- // optional int32 enterWay = 3;
- if (has_enterway()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->enterway());
- }
- }
- if (!unknown_fields().empty()) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- unknown_fields());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void packetc2l_southsea_treasurehunt_enter::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const packetc2l_southsea_treasurehunt_enter* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_southsea_treasurehunt_enter*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void packetc2l_southsea_treasurehunt_enter::MergeFrom(const packetc2l_southsea_treasurehunt_enter& from) {
- GOOGLE_CHECK_NE(&from, this);
- if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- if (from.has_packet_id()) {
- set_packet_id(from.packet_id());
- }
- if (from.has_roomid()) {
- set_roomid(from.roomid());
- }
- if (from.has_enterway()) {
- set_enterway(from.enterway());
- }
- }
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void packetc2l_southsea_treasurehunt_enter::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void packetc2l_southsea_treasurehunt_enter::CopyFrom(const packetc2l_southsea_treasurehunt_enter& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool packetc2l_southsea_treasurehunt_enter::IsInitialized() const {
- return true;
- }
- void packetc2l_southsea_treasurehunt_enter::Swap(packetc2l_southsea_treasurehunt_enter* other) {
- if (other != this) {
- std::swap(packet_id_, other->packet_id_);
- std::swap(roomid_, other->roomid_);
- std::swap(enterway_, other->enterway_);
- std::swap(_has_bits_[0], other->_has_bits_[0]);
- _unknown_fields_.Swap(&other->_unknown_fields_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- }
- ::google::protobuf::Metadata packetc2l_southsea_treasurehunt_enter::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = packetc2l_southsea_treasurehunt_enter_descriptor_;
- metadata.reflection = packetc2l_southsea_treasurehunt_enter_reflection_;
- return metadata;
- }
- // ===================================================================
- #ifndef _MSC_VER
- const int packetl2c_southsea_treasurehunt_enter_result::kPacketIdFieldNumber;
- const int packetl2c_southsea_treasurehunt_enter_result::kResultFieldNumber;
- const int packetl2c_southsea_treasurehunt_enter_result::kRoomIdFieldNumber;
- const int packetl2c_southsea_treasurehunt_enter_result::kEnterWayFieldNumber;
- #endif // !_MSC_VER
- packetl2c_southsea_treasurehunt_enter_result::packetl2c_southsea_treasurehunt_enter_result()
- : ::google::protobuf::Message() {
- SharedCtor();
- }
- void packetl2c_southsea_treasurehunt_enter_result::InitAsDefaultInstance() {
- }
- packetl2c_southsea_treasurehunt_enter_result::packetl2c_southsea_treasurehunt_enter_result(const packetl2c_southsea_treasurehunt_enter_result& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- }
- void packetl2c_southsea_treasurehunt_enter_result::SharedCtor() {
- _cached_size_ = 0;
- packet_id_ = 16167;
- result_ = 0;
- roomid_ = 0;
- enterway_ = 0;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- packetl2c_southsea_treasurehunt_enter_result::~packetl2c_southsea_treasurehunt_enter_result() {
- SharedDtor();
- }
- void packetl2c_southsea_treasurehunt_enter_result::SharedDtor() {
- if (this != default_instance_) {
- }
- }
- void packetl2c_southsea_treasurehunt_enter_result::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* packetl2c_southsea_treasurehunt_enter_result::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return packetl2c_southsea_treasurehunt_enter_result_descriptor_;
- }
- const packetl2c_southsea_treasurehunt_enter_result& packetl2c_southsea_treasurehunt_enter_result::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_fish_5fbombfairyland_2eproto();
- return *default_instance_;
- }
- packetl2c_southsea_treasurehunt_enter_result* packetl2c_southsea_treasurehunt_enter_result::default_instance_ = NULL;
- packetl2c_southsea_treasurehunt_enter_result* packetl2c_southsea_treasurehunt_enter_result::New() const {
- return new packetl2c_southsea_treasurehunt_enter_result;
- }
- void packetl2c_southsea_treasurehunt_enter_result::Clear() {
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- packet_id_ = 16167;
- result_ = 0;
- roomid_ = 0;
- enterway_ = 0;
- }
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool packetl2c_southsea_treasurehunt_enter_result::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
- ::google::protobuf::uint32 tag;
- while ((tag = input->ReadTag()) != 0) {
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_southsea_treasurehunt_enter_result];
- case 1: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- int value;
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
- input, &value)));
- if (::fish_protocols::e_server_msg_type_IsValid(value)) {
- set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
- } else {
- mutable_unknown_fields()->AddVarint(1, value);
- }
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(16)) goto parse_result;
- break;
- }
- // optional int32 result = 2;
- case 2: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_result:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &result_)));
- set_has_result();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(24)) goto parse_roomId;
- break;
- }
- // optional int32 roomId = 3;
- case 3: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_roomId:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &roomid_)));
- set_has_roomid();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(32)) goto parse_enterWay;
- break;
- }
- // optional int32 enterWay = 4;
- case 4: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_enterWay:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &enterway_)));
- set_has_enterway();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectAtEnd()) return true;
- break;
- }
- default: {
- handle_uninterpreted:
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- return true;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, mutable_unknown_fields()));
- break;
- }
- }
- }
- return true;
- #undef DO_
- }
- void packetl2c_southsea_treasurehunt_enter_result::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_southsea_treasurehunt_enter_result];
- if (has_packet_id()) {
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
- 1, this->packet_id(), output);
- }
- // optional int32 result = 2;
- if (has_result()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
- }
- // optional int32 roomId = 3;
- if (has_roomid()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->roomid(), output);
- }
- // optional int32 enterWay = 4;
- if (has_enterway()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->enterway(), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- }
- ::google::protobuf::uint8* packetl2c_southsea_treasurehunt_enter_result::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_southsea_treasurehunt_enter_result];
- if (has_packet_id()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
- 1, this->packet_id(), target);
- }
- // optional int32 result = 2;
- if (has_result()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
- }
- // optional int32 roomId = 3;
- if (has_roomid()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->roomid(), target);
- }
- // optional int32 enterWay = 4;
- if (has_enterway()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->enterway(), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- return target;
- }
- int packetl2c_southsea_treasurehunt_enter_result::ByteSize() const {
- int total_size = 0;
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_southsea_treasurehunt_enter_result];
- if (has_packet_id()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
- }
- // optional int32 result = 2;
- if (has_result()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->result());
- }
- // optional int32 roomId = 3;
- if (has_roomid()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->roomid());
- }
- // optional int32 enterWay = 4;
- if (has_enterway()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->enterway());
- }
- }
- if (!unknown_fields().empty()) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- unknown_fields());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void packetl2c_southsea_treasurehunt_enter_result::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const packetl2c_southsea_treasurehunt_enter_result* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_southsea_treasurehunt_enter_result*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void packetl2c_southsea_treasurehunt_enter_result::MergeFrom(const packetl2c_southsea_treasurehunt_enter_result& from) {
- GOOGLE_CHECK_NE(&from, this);
- if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- if (from.has_packet_id()) {
- set_packet_id(from.packet_id());
- }
- if (from.has_result()) {
- set_result(from.result());
- }
- if (from.has_roomid()) {
- set_roomid(from.roomid());
- }
- if (from.has_enterway()) {
- set_enterway(from.enterway());
- }
- }
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void packetl2c_southsea_treasurehunt_enter_result::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void packetl2c_southsea_treasurehunt_enter_result::CopyFrom(const packetl2c_southsea_treasurehunt_enter_result& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool packetl2c_southsea_treasurehunt_enter_result::IsInitialized() const {
- return true;
- }
- void packetl2c_southsea_treasurehunt_enter_result::Swap(packetl2c_southsea_treasurehunt_enter_result* other) {
- if (other != this) {
- std::swap(packet_id_, other->packet_id_);
- std::swap(result_, other->result_);
- std::swap(roomid_, other->roomid_);
- std::swap(enterway_, other->enterway_);
- std::swap(_has_bits_[0], other->_has_bits_[0]);
- _unknown_fields_.Swap(&other->_unknown_fields_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- }
- ::google::protobuf::Metadata packetl2c_southsea_treasurehunt_enter_result::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = packetl2c_southsea_treasurehunt_enter_result_descriptor_;
- metadata.reflection = packetl2c_southsea_treasurehunt_enter_result_reflection_;
- return metadata;
- }
- // ===================================================================
- #ifndef _MSC_VER
- const int packetc2l_southsea_treasurehunt_lottery::kPacketIdFieldNumber;
- const int packetc2l_southsea_treasurehunt_lottery::kRoomIdFieldNumber;
- const int packetc2l_southsea_treasurehunt_lottery::kEnterWayFieldNumber;
- #endif // !_MSC_VER
- packetc2l_southsea_treasurehunt_lottery::packetc2l_southsea_treasurehunt_lottery()
- : ::google::protobuf::Message() {
- SharedCtor();
- }
- void packetc2l_southsea_treasurehunt_lottery::InitAsDefaultInstance() {
- }
- packetc2l_southsea_treasurehunt_lottery::packetc2l_southsea_treasurehunt_lottery(const packetc2l_southsea_treasurehunt_lottery& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- }
- void packetc2l_southsea_treasurehunt_lottery::SharedCtor() {
- _cached_size_ = 0;
- packet_id_ = 10172;
- roomid_ = 0;
- enterway_ = 0;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- packetc2l_southsea_treasurehunt_lottery::~packetc2l_southsea_treasurehunt_lottery() {
- SharedDtor();
- }
- void packetc2l_southsea_treasurehunt_lottery::SharedDtor() {
- if (this != default_instance_) {
- }
- }
- void packetc2l_southsea_treasurehunt_lottery::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* packetc2l_southsea_treasurehunt_lottery::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return packetc2l_southsea_treasurehunt_lottery_descriptor_;
- }
- const packetc2l_southsea_treasurehunt_lottery& packetc2l_southsea_treasurehunt_lottery::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_fish_5fbombfairyland_2eproto();
- return *default_instance_;
- }
- packetc2l_southsea_treasurehunt_lottery* packetc2l_southsea_treasurehunt_lottery::default_instance_ = NULL;
- packetc2l_southsea_treasurehunt_lottery* packetc2l_southsea_treasurehunt_lottery::New() const {
- return new packetc2l_southsea_treasurehunt_lottery;
- }
- void packetc2l_southsea_treasurehunt_lottery::Clear() {
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- packet_id_ = 10172;
- roomid_ = 0;
- enterway_ = 0;
- }
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool packetc2l_southsea_treasurehunt_lottery::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
- ::google::protobuf::uint32 tag;
- while ((tag = input->ReadTag()) != 0) {
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_southsea_treasurehunt_lottery];
- case 1: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- int value;
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
- input, &value)));
- if (::fish_protocols::e_server_msg_type_IsValid(value)) {
- set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
- } else {
- mutable_unknown_fields()->AddVarint(1, value);
- }
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(16)) goto parse_roomId;
- break;
- }
- // optional int32 roomId = 2;
- case 2: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_roomId:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &roomid_)));
- set_has_roomid();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(24)) goto parse_enterWay;
- break;
- }
- // optional int32 enterWay = 3;
- case 3: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_enterWay:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &enterway_)));
- set_has_enterway();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectAtEnd()) return true;
- break;
- }
- default: {
- handle_uninterpreted:
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- return true;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, mutable_unknown_fields()));
- break;
- }
- }
- }
- return true;
- #undef DO_
- }
- void packetc2l_southsea_treasurehunt_lottery::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_southsea_treasurehunt_lottery];
- if (has_packet_id()) {
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
- 1, this->packet_id(), output);
- }
- // optional int32 roomId = 2;
- if (has_roomid()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->roomid(), output);
- }
- // optional int32 enterWay = 3;
- if (has_enterway()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->enterway(), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- }
- ::google::protobuf::uint8* packetc2l_southsea_treasurehunt_lottery::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_southsea_treasurehunt_lottery];
- if (has_packet_id()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
- 1, this->packet_id(), target);
- }
- // optional int32 roomId = 2;
- if (has_roomid()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->roomid(), target);
- }
- // optional int32 enterWay = 3;
- if (has_enterway()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->enterway(), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- return target;
- }
- int packetc2l_southsea_treasurehunt_lottery::ByteSize() const {
- int total_size = 0;
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_southsea_treasurehunt_lottery];
- if (has_packet_id()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
- }
- // optional int32 roomId = 2;
- if (has_roomid()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->roomid());
- }
- // optional int32 enterWay = 3;
- if (has_enterway()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->enterway());
- }
- }
- if (!unknown_fields().empty()) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- unknown_fields());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void packetc2l_southsea_treasurehunt_lottery::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const packetc2l_southsea_treasurehunt_lottery* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_southsea_treasurehunt_lottery*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void packetc2l_southsea_treasurehunt_lottery::MergeFrom(const packetc2l_southsea_treasurehunt_lottery& from) {
- GOOGLE_CHECK_NE(&from, this);
- if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- if (from.has_packet_id()) {
- set_packet_id(from.packet_id());
- }
- if (from.has_roomid()) {
- set_roomid(from.roomid());
- }
- if (from.has_enterway()) {
- set_enterway(from.enterway());
- }
- }
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void packetc2l_southsea_treasurehunt_lottery::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void packetc2l_southsea_treasurehunt_lottery::CopyFrom(const packetc2l_southsea_treasurehunt_lottery& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool packetc2l_southsea_treasurehunt_lottery::IsInitialized() const {
- return true;
- }
- void packetc2l_southsea_treasurehunt_lottery::Swap(packetc2l_southsea_treasurehunt_lottery* other) {
- if (other != this) {
- std::swap(packet_id_, other->packet_id_);
- std::swap(roomid_, other->roomid_);
- std::swap(enterway_, other->enterway_);
- std::swap(_has_bits_[0], other->_has_bits_[0]);
- _unknown_fields_.Swap(&other->_unknown_fields_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- }
- ::google::protobuf::Metadata packetc2l_southsea_treasurehunt_lottery::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = packetc2l_southsea_treasurehunt_lottery_descriptor_;
- metadata.reflection = packetc2l_southsea_treasurehunt_lottery_reflection_;
- return metadata;
- }
- // ===================================================================
- #ifndef _MSC_VER
- const int packetl2c_southsea_treasurehunt_lottery_result::kPacketIdFieldNumber;
- const int packetl2c_southsea_treasurehunt_lottery_result::kResultFieldNumber;
- const int packetl2c_southsea_treasurehunt_lottery_result::kRoomIdFieldNumber;
- const int packetl2c_southsea_treasurehunt_lottery_result::kEnterWayFieldNumber;
- const int packetl2c_southsea_treasurehunt_lottery_result::kRewardIdFieldNumber;
- const int packetl2c_southsea_treasurehunt_lottery_result::kRewardListFieldNumber;
- #endif // !_MSC_VER
- packetl2c_southsea_treasurehunt_lottery_result::packetl2c_southsea_treasurehunt_lottery_result()
- : ::google::protobuf::Message() {
- SharedCtor();
- }
- void packetl2c_southsea_treasurehunt_lottery_result::InitAsDefaultInstance() {
- }
- packetl2c_southsea_treasurehunt_lottery_result::packetl2c_southsea_treasurehunt_lottery_result(const packetl2c_southsea_treasurehunt_lottery_result& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- }
- void packetl2c_southsea_treasurehunt_lottery_result::SharedCtor() {
- _cached_size_ = 0;
- packet_id_ = 16165;
- result_ = 0;
- roomid_ = 0;
- enterway_ = 0;
- rewardid_ = 0;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- packetl2c_southsea_treasurehunt_lottery_result::~packetl2c_southsea_treasurehunt_lottery_result() {
- SharedDtor();
- }
- void packetl2c_southsea_treasurehunt_lottery_result::SharedDtor() {
- if (this != default_instance_) {
- }
- }
- void packetl2c_southsea_treasurehunt_lottery_result::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* packetl2c_southsea_treasurehunt_lottery_result::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return packetl2c_southsea_treasurehunt_lottery_result_descriptor_;
- }
- const packetl2c_southsea_treasurehunt_lottery_result& packetl2c_southsea_treasurehunt_lottery_result::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_fish_5fbombfairyland_2eproto();
- return *default_instance_;
- }
- packetl2c_southsea_treasurehunt_lottery_result* packetl2c_southsea_treasurehunt_lottery_result::default_instance_ = NULL;
- packetl2c_southsea_treasurehunt_lottery_result* packetl2c_southsea_treasurehunt_lottery_result::New() const {
- return new packetl2c_southsea_treasurehunt_lottery_result;
- }
- void packetl2c_southsea_treasurehunt_lottery_result::Clear() {
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- packet_id_ = 16165;
- result_ = 0;
- roomid_ = 0;
- enterway_ = 0;
- rewardid_ = 0;
- }
- rewardlist_.Clear();
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool packetl2c_southsea_treasurehunt_lottery_result::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
- ::google::protobuf::uint32 tag;
- while ((tag = input->ReadTag()) != 0) {
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_southsea_treasurehunt_lottery_result];
- case 1: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- int value;
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
- input, &value)));
- if (::fish_protocols::e_server_msg_type_IsValid(value)) {
- set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
- } else {
- mutable_unknown_fields()->AddVarint(1, value);
- }
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(16)) goto parse_result;
- break;
- }
- // optional int32 result = 2;
- case 2: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_result:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &result_)));
- set_has_result();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(24)) goto parse_roomId;
- break;
- }
- // optional int32 roomId = 3;
- case 3: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_roomId:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &roomid_)));
- set_has_roomid();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(32)) goto parse_enterWay;
- break;
- }
- // optional int32 enterWay = 4;
- case 4: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_enterWay:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &enterway_)));
- set_has_enterway();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(40)) goto parse_rewardId;
- break;
- }
- // optional int32 rewardId = 5;
- case 5: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_rewardId:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &rewardid_)));
- set_has_rewardid();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(50)) goto parse_rewardList;
- break;
- }
- // repeated .fish_protocols.msg_item rewardList = 6;
- case 6: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
- parse_rewardList:
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, add_rewardlist()));
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(50)) goto parse_rewardList;
- if (input->ExpectAtEnd()) return true;
- break;
- }
- default: {
- handle_uninterpreted:
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- return true;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, mutable_unknown_fields()));
- break;
- }
- }
- }
- return true;
- #undef DO_
- }
- void packetl2c_southsea_treasurehunt_lottery_result::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_southsea_treasurehunt_lottery_result];
- if (has_packet_id()) {
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
- 1, this->packet_id(), output);
- }
- // optional int32 result = 2;
- if (has_result()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
- }
- // optional int32 roomId = 3;
- if (has_roomid()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->roomid(), output);
- }
- // optional int32 enterWay = 4;
- if (has_enterway()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->enterway(), output);
- }
- // optional int32 rewardId = 5;
- if (has_rewardid()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->rewardid(), output);
- }
- // repeated .fish_protocols.msg_item rewardList = 6;
- for (int i = 0; i < this->rewardlist_size(); i++) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 6, this->rewardlist(i), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- }
- ::google::protobuf::uint8* packetl2c_southsea_treasurehunt_lottery_result::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_southsea_treasurehunt_lottery_result];
- if (has_packet_id()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
- 1, this->packet_id(), target);
- }
- // optional int32 result = 2;
- if (has_result()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
- }
- // optional int32 roomId = 3;
- if (has_roomid()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->roomid(), target);
- }
- // optional int32 enterWay = 4;
- if (has_enterway()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->enterway(), target);
- }
- // optional int32 rewardId = 5;
- if (has_rewardid()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->rewardid(), target);
- }
- // repeated .fish_protocols.msg_item rewardList = 6;
- for (int i = 0; i < this->rewardlist_size(); i++) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 6, this->rewardlist(i), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- return target;
- }
- int packetl2c_southsea_treasurehunt_lottery_result::ByteSize() const {
- int total_size = 0;
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_southsea_treasurehunt_lottery_result];
- if (has_packet_id()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
- }
- // optional int32 result = 2;
- if (has_result()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->result());
- }
- // optional int32 roomId = 3;
- if (has_roomid()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->roomid());
- }
- // optional int32 enterWay = 4;
- if (has_enterway()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->enterway());
- }
- // optional int32 rewardId = 5;
- if (has_rewardid()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->rewardid());
- }
- }
- // repeated .fish_protocols.msg_item rewardList = 6;
- total_size += 1 * this->rewardlist_size();
- for (int i = 0; i < this->rewardlist_size(); i++) {
- total_size +=
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- this->rewardlist(i));
- }
- if (!unknown_fields().empty()) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- unknown_fields());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void packetl2c_southsea_treasurehunt_lottery_result::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const packetl2c_southsea_treasurehunt_lottery_result* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_southsea_treasurehunt_lottery_result*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void packetl2c_southsea_treasurehunt_lottery_result::MergeFrom(const packetl2c_southsea_treasurehunt_lottery_result& from) {
- GOOGLE_CHECK_NE(&from, this);
- rewardlist_.MergeFrom(from.rewardlist_);
- if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- if (from.has_packet_id()) {
- set_packet_id(from.packet_id());
- }
- if (from.has_result()) {
- set_result(from.result());
- }
- if (from.has_roomid()) {
- set_roomid(from.roomid());
- }
- if (from.has_enterway()) {
- set_enterway(from.enterway());
- }
- if (from.has_rewardid()) {
- set_rewardid(from.rewardid());
- }
- }
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void packetl2c_southsea_treasurehunt_lottery_result::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void packetl2c_southsea_treasurehunt_lottery_result::CopyFrom(const packetl2c_southsea_treasurehunt_lottery_result& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool packetl2c_southsea_treasurehunt_lottery_result::IsInitialized() const {
- return true;
- }
- void packetl2c_southsea_treasurehunt_lottery_result::Swap(packetl2c_southsea_treasurehunt_lottery_result* other) {
- if (other != this) {
- std::swap(packet_id_, other->packet_id_);
- std::swap(result_, other->result_);
- std::swap(roomid_, other->roomid_);
- std::swap(enterway_, other->enterway_);
- std::swap(rewardid_, other->rewardid_);
- rewardlist_.Swap(&other->rewardlist_);
- std::swap(_has_bits_[0], other->_has_bits_[0]);
- _unknown_fields_.Swap(&other->_unknown_fields_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- }
- ::google::protobuf::Metadata packetl2c_southsea_treasurehunt_lottery_result::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = packetl2c_southsea_treasurehunt_lottery_result_descriptor_;
- metadata.reflection = packetl2c_southsea_treasurehunt_lottery_result_reflection_;
- return metadata;
- }
- // ===================================================================
- #ifndef _MSC_VER
- const int packetc2l_get_southsea_treasurehunt_notice::kPacketIdFieldNumber;
- const int packetc2l_get_southsea_treasurehunt_notice::kLastIdFieldNumber;
- const int packetc2l_get_southsea_treasurehunt_notice::kRoomIdFieldNumber;
- #endif // !_MSC_VER
- packetc2l_get_southsea_treasurehunt_notice::packetc2l_get_southsea_treasurehunt_notice()
- : ::google::protobuf::Message() {
- SharedCtor();
- }
- void packetc2l_get_southsea_treasurehunt_notice::InitAsDefaultInstance() {
- }
- packetc2l_get_southsea_treasurehunt_notice::packetc2l_get_southsea_treasurehunt_notice(const packetc2l_get_southsea_treasurehunt_notice& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- }
- void packetc2l_get_southsea_treasurehunt_notice::SharedCtor() {
- _cached_size_ = 0;
- packet_id_ = 10175;
- lastid_ = 0;
- roomid_ = 0;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- packetc2l_get_southsea_treasurehunt_notice::~packetc2l_get_southsea_treasurehunt_notice() {
- SharedDtor();
- }
- void packetc2l_get_southsea_treasurehunt_notice::SharedDtor() {
- if (this != default_instance_) {
- }
- }
- void packetc2l_get_southsea_treasurehunt_notice::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* packetc2l_get_southsea_treasurehunt_notice::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return packetc2l_get_southsea_treasurehunt_notice_descriptor_;
- }
- const packetc2l_get_southsea_treasurehunt_notice& packetc2l_get_southsea_treasurehunt_notice::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_fish_5fbombfairyland_2eproto();
- return *default_instance_;
- }
- packetc2l_get_southsea_treasurehunt_notice* packetc2l_get_southsea_treasurehunt_notice::default_instance_ = NULL;
- packetc2l_get_southsea_treasurehunt_notice* packetc2l_get_southsea_treasurehunt_notice::New() const {
- return new packetc2l_get_southsea_treasurehunt_notice;
- }
- void packetc2l_get_southsea_treasurehunt_notice::Clear() {
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- packet_id_ = 10175;
- lastid_ = 0;
- roomid_ = 0;
- }
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool packetc2l_get_southsea_treasurehunt_notice::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
- ::google::protobuf::uint32 tag;
- while ((tag = input->ReadTag()) != 0) {
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_southsea_treasurehunt_notice];
- case 1: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- int value;
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
- input, &value)));
- if (::fish_protocols::e_server_msg_type_IsValid(value)) {
- set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
- } else {
- mutable_unknown_fields()->AddVarint(1, value);
- }
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(16)) goto parse_lastId;
- break;
- }
- // optional int32 lastId = 2;
- case 2: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_lastId:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &lastid_)));
- set_has_lastid();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(24)) goto parse_roomId;
- break;
- }
- // optional int32 roomId = 3;
- case 3: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_roomId:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &roomid_)));
- set_has_roomid();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectAtEnd()) return true;
- break;
- }
- default: {
- handle_uninterpreted:
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- return true;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, mutable_unknown_fields()));
- break;
- }
- }
- }
- return true;
- #undef DO_
- }
- void packetc2l_get_southsea_treasurehunt_notice::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_southsea_treasurehunt_notice];
- if (has_packet_id()) {
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
- 1, this->packet_id(), output);
- }
- // optional int32 lastId = 2;
- if (has_lastid()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->lastid(), output);
- }
- // optional int32 roomId = 3;
- if (has_roomid()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->roomid(), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- }
- ::google::protobuf::uint8* packetc2l_get_southsea_treasurehunt_notice::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_southsea_treasurehunt_notice];
- if (has_packet_id()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
- 1, this->packet_id(), target);
- }
- // optional int32 lastId = 2;
- if (has_lastid()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->lastid(), target);
- }
- // optional int32 roomId = 3;
- if (has_roomid()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->roomid(), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- return target;
- }
- int packetc2l_get_southsea_treasurehunt_notice::ByteSize() const {
- int total_size = 0;
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_southsea_treasurehunt_notice];
- if (has_packet_id()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
- }
- // optional int32 lastId = 2;
- if (has_lastid()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->lastid());
- }
- // optional int32 roomId = 3;
- if (has_roomid()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->roomid());
- }
- }
- if (!unknown_fields().empty()) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- unknown_fields());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void packetc2l_get_southsea_treasurehunt_notice::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const packetc2l_get_southsea_treasurehunt_notice* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_get_southsea_treasurehunt_notice*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void packetc2l_get_southsea_treasurehunt_notice::MergeFrom(const packetc2l_get_southsea_treasurehunt_notice& from) {
- GOOGLE_CHECK_NE(&from, this);
- if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- if (from.has_packet_id()) {
- set_packet_id(from.packet_id());
- }
- if (from.has_lastid()) {
- set_lastid(from.lastid());
- }
- if (from.has_roomid()) {
- set_roomid(from.roomid());
- }
- }
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void packetc2l_get_southsea_treasurehunt_notice::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void packetc2l_get_southsea_treasurehunt_notice::CopyFrom(const packetc2l_get_southsea_treasurehunt_notice& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool packetc2l_get_southsea_treasurehunt_notice::IsInitialized() const {
- return true;
- }
- void packetc2l_get_southsea_treasurehunt_notice::Swap(packetc2l_get_southsea_treasurehunt_notice* other) {
- if (other != this) {
- std::swap(packet_id_, other->packet_id_);
- std::swap(lastid_, other->lastid_);
- std::swap(roomid_, other->roomid_);
- std::swap(_has_bits_[0], other->_has_bits_[0]);
- _unknown_fields_.Swap(&other->_unknown_fields_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- }
- ::google::protobuf::Metadata packetc2l_get_southsea_treasurehunt_notice::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = packetc2l_get_southsea_treasurehunt_notice_descriptor_;
- metadata.reflection = packetc2l_get_southsea_treasurehunt_notice_reflection_;
- return metadata;
- }
- // ===================================================================
- #ifndef _MSC_VER
- const int MTreasureHuntNoticeInfo::kNickNameFieldNumber;
- const int MTreasureHuntNoticeInfo::kItemIdFieldNumber;
- const int MTreasureHuntNoticeInfo::kCountFieldNumber;
- #endif // !_MSC_VER
- MTreasureHuntNoticeInfo::MTreasureHuntNoticeInfo()
- : ::google::protobuf::Message() {
- SharedCtor();
- }
- void MTreasureHuntNoticeInfo::InitAsDefaultInstance() {
- }
- MTreasureHuntNoticeInfo::MTreasureHuntNoticeInfo(const MTreasureHuntNoticeInfo& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- }
- void MTreasureHuntNoticeInfo::SharedCtor() {
- _cached_size_ = 0;
- nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
- itemid_ = 0;
- count_ = 0;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- MTreasureHuntNoticeInfo::~MTreasureHuntNoticeInfo() {
- SharedDtor();
- }
- void MTreasureHuntNoticeInfo::SharedDtor() {
- if (nickname_ != &::google::protobuf::internal::kEmptyString) {
- delete nickname_;
- }
- if (this != default_instance_) {
- }
- }
- void MTreasureHuntNoticeInfo::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* MTreasureHuntNoticeInfo::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return MTreasureHuntNoticeInfo_descriptor_;
- }
- const MTreasureHuntNoticeInfo& MTreasureHuntNoticeInfo::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_fish_5fbombfairyland_2eproto();
- return *default_instance_;
- }
- MTreasureHuntNoticeInfo* MTreasureHuntNoticeInfo::default_instance_ = NULL;
- MTreasureHuntNoticeInfo* MTreasureHuntNoticeInfo::New() const {
- return new MTreasureHuntNoticeInfo;
- }
- void MTreasureHuntNoticeInfo::Clear() {
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- if (has_nickname()) {
- if (nickname_ != &::google::protobuf::internal::kEmptyString) {
- nickname_->clear();
- }
- }
- itemid_ = 0;
- count_ = 0;
- }
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool MTreasureHuntNoticeInfo::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
- ::google::protobuf::uint32 tag;
- while ((tag = input->ReadTag()) != 0) {
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional string nickName = 1;
- case 1: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_nickname()));
- ::google::protobuf::internal::WireFormat::VerifyUTF8String(
- this->nickname().data(), this->nickname().length(),
- ::google::protobuf::internal::WireFormat::PARSE);
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(16)) goto parse_itemId;
- break;
- }
- // optional int32 itemId = 2;
- case 2: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_itemId:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &itemid_)));
- set_has_itemid();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(24)) goto parse_count;
- break;
- }
- // optional int32 count = 3;
- case 3: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_count:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &count_)));
- set_has_count();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectAtEnd()) return true;
- break;
- }
- default: {
- handle_uninterpreted:
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- return true;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, mutable_unknown_fields()));
- break;
- }
- }
- }
- return true;
- #undef DO_
- }
- void MTreasureHuntNoticeInfo::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // optional string nickName = 1;
- if (has_nickname()) {
- ::google::protobuf::internal::WireFormat::VerifyUTF8String(
- this->nickname().data(), this->nickname().length(),
- ::google::protobuf::internal::WireFormat::SERIALIZE);
- ::google::protobuf::internal::WireFormatLite::WriteString(
- 1, this->nickname(), output);
- }
- // optional int32 itemId = 2;
- if (has_itemid()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->itemid(), output);
- }
- // optional int32 count = 3;
- if (has_count()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->count(), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- }
- ::google::protobuf::uint8* MTreasureHuntNoticeInfo::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // optional string nickName = 1;
- if (has_nickname()) {
- ::google::protobuf::internal::WireFormat::VerifyUTF8String(
- this->nickname().data(), this->nickname().length(),
- ::google::protobuf::internal::WireFormat::SERIALIZE);
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 1, this->nickname(), target);
- }
- // optional int32 itemId = 2;
- if (has_itemid()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->itemid(), target);
- }
- // optional int32 count = 3;
- if (has_count()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->count(), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- return target;
- }
- int MTreasureHuntNoticeInfo::ByteSize() const {
- int total_size = 0;
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- // optional string nickName = 1;
- if (has_nickname()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->nickname());
- }
- // optional int32 itemId = 2;
- if (has_itemid()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->itemid());
- }
- // optional int32 count = 3;
- if (has_count()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->count());
- }
- }
- if (!unknown_fields().empty()) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- unknown_fields());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void MTreasureHuntNoticeInfo::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const MTreasureHuntNoticeInfo* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const MTreasureHuntNoticeInfo*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void MTreasureHuntNoticeInfo::MergeFrom(const MTreasureHuntNoticeInfo& from) {
- GOOGLE_CHECK_NE(&from, this);
- if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- if (from.has_nickname()) {
- set_nickname(from.nickname());
- }
- if (from.has_itemid()) {
- set_itemid(from.itemid());
- }
- if (from.has_count()) {
- set_count(from.count());
- }
- }
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void MTreasureHuntNoticeInfo::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void MTreasureHuntNoticeInfo::CopyFrom(const MTreasureHuntNoticeInfo& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool MTreasureHuntNoticeInfo::IsInitialized() const {
- return true;
- }
- void MTreasureHuntNoticeInfo::Swap(MTreasureHuntNoticeInfo* other) {
- if (other != this) {
- std::swap(nickname_, other->nickname_);
- std::swap(itemid_, other->itemid_);
- std::swap(count_, other->count_);
- std::swap(_has_bits_[0], other->_has_bits_[0]);
- _unknown_fields_.Swap(&other->_unknown_fields_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- }
- ::google::protobuf::Metadata MTreasureHuntNoticeInfo::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = MTreasureHuntNoticeInfo_descriptor_;
- metadata.reflection = MTreasureHuntNoticeInfo_reflection_;
- return metadata;
- }
- // ===================================================================
- #ifndef _MSC_VER
- const int packetl2c_get_southsea_treasurehunt_notice_result::kPacketIdFieldNumber;
- const int packetl2c_get_southsea_treasurehunt_notice_result::kLastIdFieldNumber;
- const int packetl2c_get_southsea_treasurehunt_notice_result::kNoticeListFieldNumber;
- const int packetl2c_get_southsea_treasurehunt_notice_result::kRoomIdFieldNumber;
- #endif // !_MSC_VER
- packetl2c_get_southsea_treasurehunt_notice_result::packetl2c_get_southsea_treasurehunt_notice_result()
- : ::google::protobuf::Message() {
- SharedCtor();
- }
- void packetl2c_get_southsea_treasurehunt_notice_result::InitAsDefaultInstance() {
- }
- packetl2c_get_southsea_treasurehunt_notice_result::packetl2c_get_southsea_treasurehunt_notice_result(const packetl2c_get_southsea_treasurehunt_notice_result& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- }
- void packetl2c_get_southsea_treasurehunt_notice_result::SharedCtor() {
- _cached_size_ = 0;
- packet_id_ = 16168;
- lastid_ = 0;
- roomid_ = 0;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- packetl2c_get_southsea_treasurehunt_notice_result::~packetl2c_get_southsea_treasurehunt_notice_result() {
- SharedDtor();
- }
- void packetl2c_get_southsea_treasurehunt_notice_result::SharedDtor() {
- if (this != default_instance_) {
- }
- }
- void packetl2c_get_southsea_treasurehunt_notice_result::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* packetl2c_get_southsea_treasurehunt_notice_result::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return packetl2c_get_southsea_treasurehunt_notice_result_descriptor_;
- }
- const packetl2c_get_southsea_treasurehunt_notice_result& packetl2c_get_southsea_treasurehunt_notice_result::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_fish_5fbombfairyland_2eproto();
- return *default_instance_;
- }
- packetl2c_get_southsea_treasurehunt_notice_result* packetl2c_get_southsea_treasurehunt_notice_result::default_instance_ = NULL;
- packetl2c_get_southsea_treasurehunt_notice_result* packetl2c_get_southsea_treasurehunt_notice_result::New() const {
- return new packetl2c_get_southsea_treasurehunt_notice_result;
- }
- void packetl2c_get_southsea_treasurehunt_notice_result::Clear() {
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- packet_id_ = 16168;
- lastid_ = 0;
- roomid_ = 0;
- }
- noticelist_.Clear();
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool packetl2c_get_southsea_treasurehunt_notice_result::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
- ::google::protobuf::uint32 tag;
- while ((tag = input->ReadTag()) != 0) {
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_southsea_treasurehunt_notice_result];
- case 1: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- int value;
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
- input, &value)));
- if (::fish_protocols::e_server_msg_type_IsValid(value)) {
- set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
- } else {
- mutable_unknown_fields()->AddVarint(1, value);
- }
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(16)) goto parse_lastId;
- break;
- }
- // optional int32 lastId = 2;
- case 2: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_lastId:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &lastid_)));
- set_has_lastid();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(26)) goto parse_noticeList;
- break;
- }
- // repeated .fish_protocols.MTreasureHuntNoticeInfo noticeList = 3;
- case 3: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
- parse_noticeList:
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, add_noticelist()));
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(26)) goto parse_noticeList;
- if (input->ExpectTag(32)) goto parse_roomId;
- break;
- }
- // optional int32 roomId = 4;
- case 4: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_roomId:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &roomid_)));
- set_has_roomid();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectAtEnd()) return true;
- break;
- }
- default: {
- handle_uninterpreted:
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- return true;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, mutable_unknown_fields()));
- break;
- }
- }
- }
- return true;
- #undef DO_
- }
- void packetl2c_get_southsea_treasurehunt_notice_result::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_southsea_treasurehunt_notice_result];
- if (has_packet_id()) {
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
- 1, this->packet_id(), output);
- }
- // optional int32 lastId = 2;
- if (has_lastid()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->lastid(), output);
- }
- // repeated .fish_protocols.MTreasureHuntNoticeInfo noticeList = 3;
- for (int i = 0; i < this->noticelist_size(); i++) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 3, this->noticelist(i), output);
- }
- // optional int32 roomId = 4;
- if (has_roomid()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->roomid(), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- }
- ::google::protobuf::uint8* packetl2c_get_southsea_treasurehunt_notice_result::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_southsea_treasurehunt_notice_result];
- if (has_packet_id()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
- 1, this->packet_id(), target);
- }
- // optional int32 lastId = 2;
- if (has_lastid()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->lastid(), target);
- }
- // repeated .fish_protocols.MTreasureHuntNoticeInfo noticeList = 3;
- for (int i = 0; i < this->noticelist_size(); i++) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 3, this->noticelist(i), target);
- }
- // optional int32 roomId = 4;
- if (has_roomid()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->roomid(), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- return target;
- }
- int packetl2c_get_southsea_treasurehunt_notice_result::ByteSize() const {
- int total_size = 0;
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_southsea_treasurehunt_notice_result];
- if (has_packet_id()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
- }
- // optional int32 lastId = 2;
- if (has_lastid()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->lastid());
- }
- // optional int32 roomId = 4;
- if (has_roomid()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->roomid());
- }
- }
- // repeated .fish_protocols.MTreasureHuntNoticeInfo noticeList = 3;
- total_size += 1 * this->noticelist_size();
- for (int i = 0; i < this->noticelist_size(); i++) {
- total_size +=
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- this->noticelist(i));
- }
- if (!unknown_fields().empty()) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- unknown_fields());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void packetl2c_get_southsea_treasurehunt_notice_result::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const packetl2c_get_southsea_treasurehunt_notice_result* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_get_southsea_treasurehunt_notice_result*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void packetl2c_get_southsea_treasurehunt_notice_result::MergeFrom(const packetl2c_get_southsea_treasurehunt_notice_result& from) {
- GOOGLE_CHECK_NE(&from, this);
- noticelist_.MergeFrom(from.noticelist_);
- if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- if (from.has_packet_id()) {
- set_packet_id(from.packet_id());
- }
- if (from.has_lastid()) {
- set_lastid(from.lastid());
- }
- if (from.has_roomid()) {
- set_roomid(from.roomid());
- }
- }
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void packetl2c_get_southsea_treasurehunt_notice_result::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void packetl2c_get_southsea_treasurehunt_notice_result::CopyFrom(const packetl2c_get_southsea_treasurehunt_notice_result& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool packetl2c_get_southsea_treasurehunt_notice_result::IsInitialized() const {
- return true;
- }
- void packetl2c_get_southsea_treasurehunt_notice_result::Swap(packetl2c_get_southsea_treasurehunt_notice_result* other) {
- if (other != this) {
- std::swap(packet_id_, other->packet_id_);
- std::swap(lastid_, other->lastid_);
- noticelist_.Swap(&other->noticelist_);
- std::swap(roomid_, other->roomid_);
- std::swap(_has_bits_[0], other->_has_bits_[0]);
- _unknown_fields_.Swap(&other->_unknown_fields_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- }
- ::google::protobuf::Metadata packetl2c_get_southsea_treasurehunt_notice_result::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = packetl2c_get_southsea_treasurehunt_notice_result_descriptor_;
- metadata.reflection = packetl2c_get_southsea_treasurehunt_notice_result_reflection_;
- return metadata;
- }
- // @@protoc_insertion_point(namespace_scope)
- } // namespace fish_protocols
- // @@protoc_insertion_point(global_scope)
|