123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: fish_dragon_palace.proto
- #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
- #include "fish_dragon_palace.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* DragonPalaceRankInfo_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- DragonPalaceRankInfo_reflection_ = NULL;
- const ::google::protobuf::Descriptor* packetc2l_get_dragon_palace_info_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- packetc2l_get_dragon_palace_info_reflection_ = NULL;
- const ::google::protobuf::Descriptor* ExchangePriceInfo_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- ExchangePriceInfo_reflection_ = NULL;
- const ::google::protobuf::Descriptor* ExchangeItemInfo_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- ExchangeItemInfo_reflection_ = NULL;
- const ::google::protobuf::Descriptor* packetl2c_get_dragon_palace_info_result_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- packetl2c_get_dragon_palace_info_result_reflection_ = NULL;
- const ::google::protobuf::Descriptor* packetc2l_get_dragon_palace_rank_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- packetc2l_get_dragon_palace_rank_reflection_ = NULL;
- const ::google::protobuf::Descriptor* packetl2c_get_dragon_palace_rank_result_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- packetl2c_get_dragon_palace_rank_result_reflection_ = NULL;
- const ::google::protobuf::Descriptor* packetc2l_dragon_palace_exchange_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- packetc2l_dragon_palace_exchange_reflection_ = NULL;
- const ::google::protobuf::Descriptor* packetl2c_dragon_palace_exchange_result_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- packetl2c_dragon_palace_exchange_result_reflection_ = NULL;
- const ::google::protobuf::Descriptor* packetc2l_dragon_add_exchange_count_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- packetc2l_dragon_add_exchange_count_reflection_ = NULL;
- const ::google::protobuf::Descriptor* packetl2c_dragon_add_exchange_count_result_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- packetl2c_dragon_add_exchange_count_result_reflection_ = NULL;
- const ::google::protobuf::Descriptor* packetc2l_daily_dimensity_exchange_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- packetc2l_daily_dimensity_exchange_reflection_ = NULL;
- const ::google::protobuf::Descriptor* packetl2c_daily_dimensity_exchange_result_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- packetl2c_daily_dimensity_exchange_result_reflection_ = NULL;
- } // namespace
- void protobuf_AssignDesc_fish_5fdragon_5fpalace_2eproto() {
- protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
- const ::google::protobuf::FileDescriptor* file =
- ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
- "fish_dragon_palace.proto");
- GOOGLE_CHECK(file != NULL);
- DragonPalaceRankInfo_descriptor_ = file->message_type(0);
- static const int DragonPalaceRankInfo_offsets_[6] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DragonPalaceRankInfo, playerid_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DragonPalaceRankInfo, nickname_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DragonPalaceRankInfo, gaindimensity_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DragonPalaceRankInfo, headid_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DragonPalaceRankInfo, frameid_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DragonPalaceRankInfo, gender_),
- };
- DragonPalaceRankInfo_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- DragonPalaceRankInfo_descriptor_,
- DragonPalaceRankInfo::default_instance_,
- DragonPalaceRankInfo_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DragonPalaceRankInfo, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DragonPalaceRankInfo, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(DragonPalaceRankInfo));
- packetc2l_get_dragon_palace_info_descriptor_ = file->message_type(1);
- static const int packetc2l_get_dragon_palace_info_offsets_[2] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_dragon_palace_info, packet_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_dragon_palace_info, isgetrankinfo_),
- };
- packetc2l_get_dragon_palace_info_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- packetc2l_get_dragon_palace_info_descriptor_,
- packetc2l_get_dragon_palace_info::default_instance_,
- packetc2l_get_dragon_palace_info_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_dragon_palace_info, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_dragon_palace_info, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(packetc2l_get_dragon_palace_info));
- ExchangePriceInfo_descriptor_ = file->message_type(2);
- static const int ExchangePriceInfo_offsets_[2] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ExchangePriceInfo, exchangeid_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ExchangePriceInfo, price_),
- };
- ExchangePriceInfo_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- ExchangePriceInfo_descriptor_,
- ExchangePriceInfo::default_instance_,
- ExchangePriceInfo_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ExchangePriceInfo, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ExchangePriceInfo, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(ExchangePriceInfo));
- ExchangeItemInfo_descriptor_ = file->message_type(3);
- static const int ExchangeItemInfo_offsets_[2] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ExchangeItemInfo, itemid_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ExchangeItemInfo, itemcount_),
- };
- ExchangeItemInfo_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- ExchangeItemInfo_descriptor_,
- ExchangeItemInfo::default_instance_,
- ExchangeItemInfo_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ExchangeItemInfo, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ExchangeItemInfo, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(ExchangeItemInfo));
- packetl2c_get_dragon_palace_info_result_descriptor_ = file->message_type(4);
- static const int packetl2c_get_dragon_palace_info_result_offsets_[12] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_info_result, packet_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_info_result, dimensitycount_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_info_result, exchangecount_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_info_result, exchangecountex_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_info_result, discountexchangecountlv_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_info_result, curranklist_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_info_result, gaindimensitycurweek_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_info_result, selffunbufflist_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_info_result, priceinfolist_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_info_result, exchangeaddcount_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_info_result, dailydimensity_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_info_result, dragonslayercheck_),
- };
- packetl2c_get_dragon_palace_info_result_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- packetl2c_get_dragon_palace_info_result_descriptor_,
- packetl2c_get_dragon_palace_info_result::default_instance_,
- packetl2c_get_dragon_palace_info_result_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_info_result, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_info_result, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(packetl2c_get_dragon_palace_info_result));
- packetc2l_get_dragon_palace_rank_descriptor_ = file->message_type(5);
- static const int packetc2l_get_dragon_palace_rank_offsets_[2] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_dragon_palace_rank, packet_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_dragon_palace_rank, ranktype_),
- };
- packetc2l_get_dragon_palace_rank_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- packetc2l_get_dragon_palace_rank_descriptor_,
- packetc2l_get_dragon_palace_rank::default_instance_,
- packetc2l_get_dragon_palace_rank_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_dragon_palace_rank, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_dragon_palace_rank, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(packetc2l_get_dragon_palace_rank));
- packetl2c_get_dragon_palace_rank_result_descriptor_ = file->message_type(6);
- static const int packetl2c_get_dragon_palace_rank_result_offsets_[3] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_rank_result, packet_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_rank_result, ranktype_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_rank_result, ranklist_),
- };
- packetl2c_get_dragon_palace_rank_result_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- packetl2c_get_dragon_palace_rank_result_descriptor_,
- packetl2c_get_dragon_palace_rank_result::default_instance_,
- packetl2c_get_dragon_palace_rank_result_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_rank_result, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_rank_result, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(packetl2c_get_dragon_palace_rank_result));
- packetc2l_dragon_palace_exchange_descriptor_ = file->message_type(7);
- static const int packetc2l_dragon_palace_exchange_offsets_[3] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_dragon_palace_exchange, packet_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_dragon_palace_exchange, exchangeid_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_dragon_palace_exchange, exchangecount_),
- };
- packetc2l_dragon_palace_exchange_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- packetc2l_dragon_palace_exchange_descriptor_,
- packetc2l_dragon_palace_exchange::default_instance_,
- packetc2l_dragon_palace_exchange_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_dragon_palace_exchange, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_dragon_palace_exchange, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(packetc2l_dragon_palace_exchange));
- packetl2c_dragon_palace_exchange_result_descriptor_ = file->message_type(8);
- static const int packetl2c_dragon_palace_exchange_result_offsets_[5] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_dragon_palace_exchange_result, packet_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_dragon_palace_exchange_result, result_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_dragon_palace_exchange_result, exchangeitems_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_dragon_palace_exchange_result, priceinfolist_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_dragon_palace_exchange_result, nextprice_),
- };
- packetl2c_dragon_palace_exchange_result_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- packetl2c_dragon_palace_exchange_result_descriptor_,
- packetl2c_dragon_palace_exchange_result::default_instance_,
- packetl2c_dragon_palace_exchange_result_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_dragon_palace_exchange_result, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_dragon_palace_exchange_result, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(packetl2c_dragon_palace_exchange_result));
- packetc2l_dragon_add_exchange_count_descriptor_ = file->message_type(9);
- static const int packetc2l_dragon_add_exchange_count_offsets_[2] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_dragon_add_exchange_count, packet_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_dragon_add_exchange_count, addcount_),
- };
- packetc2l_dragon_add_exchange_count_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- packetc2l_dragon_add_exchange_count_descriptor_,
- packetc2l_dragon_add_exchange_count::default_instance_,
- packetc2l_dragon_add_exchange_count_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_dragon_add_exchange_count, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_dragon_add_exchange_count, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(packetc2l_dragon_add_exchange_count));
- packetl2c_dragon_add_exchange_count_result_descriptor_ = file->message_type(10);
- static const int packetl2c_dragon_add_exchange_count_result_offsets_[3] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_dragon_add_exchange_count_result, packet_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_dragon_add_exchange_count_result, result_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_dragon_add_exchange_count_result, addcount_),
- };
- packetl2c_dragon_add_exchange_count_result_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- packetl2c_dragon_add_exchange_count_result_descriptor_,
- packetl2c_dragon_add_exchange_count_result::default_instance_,
- packetl2c_dragon_add_exchange_count_result_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_dragon_add_exchange_count_result, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_dragon_add_exchange_count_result, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(packetl2c_dragon_add_exchange_count_result));
- packetc2l_daily_dimensity_exchange_descriptor_ = file->message_type(11);
- static const int packetc2l_daily_dimensity_exchange_offsets_[1] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_daily_dimensity_exchange, packet_id_),
- };
- packetc2l_daily_dimensity_exchange_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- packetc2l_daily_dimensity_exchange_descriptor_,
- packetc2l_daily_dimensity_exchange::default_instance_,
- packetc2l_daily_dimensity_exchange_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_daily_dimensity_exchange, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_daily_dimensity_exchange, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(packetc2l_daily_dimensity_exchange));
- packetl2c_daily_dimensity_exchange_result_descriptor_ = file->message_type(12);
- static const int packetl2c_daily_dimensity_exchange_result_offsets_[3] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_daily_dimensity_exchange_result, packet_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_daily_dimensity_exchange_result, result_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_daily_dimensity_exchange_result, exchangeinfo_),
- };
- packetl2c_daily_dimensity_exchange_result_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- packetl2c_daily_dimensity_exchange_result_descriptor_,
- packetl2c_daily_dimensity_exchange_result::default_instance_,
- packetl2c_daily_dimensity_exchange_result_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_daily_dimensity_exchange_result, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_daily_dimensity_exchange_result, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(packetl2c_daily_dimensity_exchange_result));
- }
- namespace {
- GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
- inline void protobuf_AssignDescriptorsOnce() {
- ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
- &protobuf_AssignDesc_fish_5fdragon_5fpalace_2eproto);
- }
- void protobuf_RegisterTypes(const ::std::string&) {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- DragonPalaceRankInfo_descriptor_, &DragonPalaceRankInfo::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- packetc2l_get_dragon_palace_info_descriptor_, &packetc2l_get_dragon_palace_info::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- ExchangePriceInfo_descriptor_, &ExchangePriceInfo::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- ExchangeItemInfo_descriptor_, &ExchangeItemInfo::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- packetl2c_get_dragon_palace_info_result_descriptor_, &packetl2c_get_dragon_palace_info_result::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- packetc2l_get_dragon_palace_rank_descriptor_, &packetc2l_get_dragon_palace_rank::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- packetl2c_get_dragon_palace_rank_result_descriptor_, &packetl2c_get_dragon_palace_rank_result::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- packetc2l_dragon_palace_exchange_descriptor_, &packetc2l_dragon_palace_exchange::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- packetl2c_dragon_palace_exchange_result_descriptor_, &packetl2c_dragon_palace_exchange_result::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- packetc2l_dragon_add_exchange_count_descriptor_, &packetc2l_dragon_add_exchange_count::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- packetl2c_dragon_add_exchange_count_result_descriptor_, &packetl2c_dragon_add_exchange_count_result::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- packetc2l_daily_dimensity_exchange_descriptor_, &packetc2l_daily_dimensity_exchange::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- packetl2c_daily_dimensity_exchange_result_descriptor_, &packetl2c_daily_dimensity_exchange_result::default_instance());
- }
- } // namespace
- void protobuf_ShutdownFile_fish_5fdragon_5fpalace_2eproto() {
- delete DragonPalaceRankInfo::default_instance_;
- delete DragonPalaceRankInfo_reflection_;
- delete packetc2l_get_dragon_palace_info::default_instance_;
- delete packetc2l_get_dragon_palace_info_reflection_;
- delete ExchangePriceInfo::default_instance_;
- delete ExchangePriceInfo_reflection_;
- delete ExchangeItemInfo::default_instance_;
- delete ExchangeItemInfo_reflection_;
- delete packetl2c_get_dragon_palace_info_result::default_instance_;
- delete packetl2c_get_dragon_palace_info_result_reflection_;
- delete packetc2l_get_dragon_palace_rank::default_instance_;
- delete packetc2l_get_dragon_palace_rank_reflection_;
- delete packetl2c_get_dragon_palace_rank_result::default_instance_;
- delete packetl2c_get_dragon_palace_rank_result_reflection_;
- delete packetc2l_dragon_palace_exchange::default_instance_;
- delete packetc2l_dragon_palace_exchange_reflection_;
- delete packetl2c_dragon_palace_exchange_result::default_instance_;
- delete packetl2c_dragon_palace_exchange_result_reflection_;
- delete packetc2l_dragon_add_exchange_count::default_instance_;
- delete packetc2l_dragon_add_exchange_count_reflection_;
- delete packetl2c_dragon_add_exchange_count_result::default_instance_;
- delete packetl2c_dragon_add_exchange_count_result_reflection_;
- delete packetc2l_daily_dimensity_exchange::default_instance_;
- delete packetc2l_daily_dimensity_exchange_reflection_;
- delete packetl2c_daily_dimensity_exchange_result::default_instance_;
- delete packetl2c_daily_dimensity_exchange_result_reflection_;
- }
- void protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto() {
- static bool already_here = false;
- if (already_here) return;
- already_here = true;
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- ::fish_protocols::protobuf_AddDesc_fish_5fdef_2eproto();
- ::msg_type_def::protobuf_AddDesc_msg_5ftype_5fdef_2eproto();
- ::fish_protocols::protobuf_AddDesc_fish_5ftype_5fdef_2eproto();
- ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
- "\n\030fish_dragon_palace.proto\022\016fish_protoco"
- "ls\032\016fish_def.proto\032\022msg_type_def.proto\032\023"
- "fish_type_def.proto\"\202\001\n\024DragonPalaceRank"
- "Info\022\020\n\010playerId\030\001 \001(\005\022\020\n\010nickName\030\002 \001(\t"
- "\022\025\n\rgainDimensity\030\003 \001(\005\022\016\n\006headid\030\004 \001(\005\022"
- "\017\n\007frameid\030\005 \001(\005\022\016\n\006gender\030\006 \001(\005\"\221\001\n pac"
- "ketc2l_get_dragon_palace_info\022V\n\tpacket_"
- "id\030\001 \001(\0162!.fish_protocols.e_server_msg_t"
- "ype: e_mst_c2l_get_dragon_palace_info\022\025\n"
- "\risGetRankInfo\030\002 \001(\010\"6\n\021ExchangePriceInf"
- "o\022\022\n\nexchangeId\030\001 \001(\005\022\r\n\005price\030\002 \001(\005\"5\n\020"
- "ExchangeItemInfo\022\016\n\006itemid\030\001 \001(\005\022\021\n\titem"
- "count\030\002 \001(\005\"\203\004\n\'packetl2c_get_dragon_pal"
- "ace_info_result\022]\n\tpacket_id\030\001 \001(\0162!.fis"
- "h_protocols.e_server_msg_type:\'e_mst_l2c"
- "_get_dragon_palace_info_result\022\026\n\016dimens"
- "ityCount\030\002 \001(\005\022\025\n\rexchangeCount\030\003 \001(\005\022\027\n"
- "\017exchangeCountEx\030\004 \001(\005\022\037\n\027discountExchan"
- "geCountLv\030\005 \001(\005\0229\n\013curRankList\030\006 \003(\0132$.f"
- "ish_protocols.DragonPalaceRankInfo\022\034\n\024ga"
- "inDimensityCurWeek\030\007 \001(\005\0220\n\017selfFunBuffL"
- "ist\030\010 \003(\0132\027.fish_protocols.FunBuff\0228\n\rpr"
- "iceInfoList\030\t \003(\0132!.fish_protocols.Excha"
- "ngePriceInfo\022\030\n\020exchangeAddCount\030\n \001(\005\022\026"
- "\n\016dailyDimensity\030\013 \001(\005\022\031\n\021dragonSlayerCh"
- "eck\030\014 \003(\010\"\214\001\n packetc2l_get_dragon_palac"
- "e_rank\022V\n\tpacket_id\030\001 \001(\0162!.fish_protoco"
- "ls.e_server_msg_type: e_mst_c2l_get_drag"
- "on_palace_rank\022\020\n\010rankType\030\002 \001(\005\"\322\001\n\'pac"
- "ketl2c_get_dragon_palace_rank_result\022]\n\t"
- "packet_id\030\001 \001(\0162!.fish_protocols.e_serve"
- "r_msg_type:\'e_mst_l2c_get_dragon_palace_"
- "rank_result\022\020\n\010rankType\030\002 \001(\005\0226\n\010rankLis"
- "t\030\003 \003(\0132$.fish_protocols.DragonPalaceRan"
- "kInfo\"\245\001\n packetc2l_dragon_palace_exchan"
- "ge\022V\n\tpacket_id\030\001 \001(\0162!.fish_protocols.e"
- "_server_msg_type: e_mst_c2l_dragon_palac"
- "e_exchange\022\022\n\nexchangeId\030\002 \001(\005\022\025\n\rexchan"
- "geCount\030\003 \001(\005\"\236\002\n\'packetl2c_dragon_palac"
- "e_exchange_result\022]\n\tpacket_id\030\001 \001(\0162!.f"
- "ish_protocols.e_server_msg_type:\'e_mst_l"
- "2c_dragon_palace_exchange_result\022\016\n\006resu"
- "lt\030\002 \001(\005\0227\n\rexchangeItems\030\003 \003(\0132 .fish_p"
- "rotocols.ExchangeItemInfo\0228\n\rpriceInfoLi"
- "st\030\004 \003(\0132!.fish_protocols.ExchangePriceI"
- "nfo\022\021\n\tnextPrice\030\005 \001(\005\"\222\001\n#packetc2l_dra"
- "gon_add_exchange_count\022Y\n\tpacket_id\030\001 \001("
- "\0162!.fish_protocols.e_server_msg_type:#e_"
- "mst_c2l_dragon_add_exchange_count\022\020\n\010add"
- "Count\030\002 \001(\005\"\260\001\n*packetl2c_dragon_add_exc"
- "hange_count_result\022`\n\tpacket_id\030\001 \001(\0162!."
- "fish_protocols.e_server_msg_type:*e_mst_"
- "l2c_dragon_add_exchange_count_result\022\016\n\006"
- "result\030\002 \001(\005\022\020\n\010addCount\030\003 \001(\005\"~\n\"packet"
- "c2l_daily_dimensity_exchange\022X\n\tpacket_i"
- "d\030\001 \001(\0162!.fish_protocols.e_server_msg_ty"
- "pe:\"e_mst_c2l_daily_dimensity_exchange\"\324"
- "\001\n)packetl2c_daily_dimensity_exchange_re"
- "sult\022_\n\tpacket_id\030\001 \001(\0162!.fish_protocols"
- ".e_server_msg_type:)e_mst_l2c_daily_dime"
- "nsity_exchange_result\022\016\n\006result\030\002 \001(\005\0226\n"
- "\014exchangeInfo\030\003 \003(\0132 .fish_protocols.Exc"
- "hangeItemInfo", 2493);
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
- "fish_dragon_palace.proto", &protobuf_RegisterTypes);
- DragonPalaceRankInfo::default_instance_ = new DragonPalaceRankInfo();
- packetc2l_get_dragon_palace_info::default_instance_ = new packetc2l_get_dragon_palace_info();
- ExchangePriceInfo::default_instance_ = new ExchangePriceInfo();
- ExchangeItemInfo::default_instance_ = new ExchangeItemInfo();
- packetl2c_get_dragon_palace_info_result::default_instance_ = new packetl2c_get_dragon_palace_info_result();
- packetc2l_get_dragon_palace_rank::default_instance_ = new packetc2l_get_dragon_palace_rank();
- packetl2c_get_dragon_palace_rank_result::default_instance_ = new packetl2c_get_dragon_palace_rank_result();
- packetc2l_dragon_palace_exchange::default_instance_ = new packetc2l_dragon_palace_exchange();
- packetl2c_dragon_palace_exchange_result::default_instance_ = new packetl2c_dragon_palace_exchange_result();
- packetc2l_dragon_add_exchange_count::default_instance_ = new packetc2l_dragon_add_exchange_count();
- packetl2c_dragon_add_exchange_count_result::default_instance_ = new packetl2c_dragon_add_exchange_count_result();
- packetc2l_daily_dimensity_exchange::default_instance_ = new packetc2l_daily_dimensity_exchange();
- packetl2c_daily_dimensity_exchange_result::default_instance_ = new packetl2c_daily_dimensity_exchange_result();
- DragonPalaceRankInfo::default_instance_->InitAsDefaultInstance();
- packetc2l_get_dragon_palace_info::default_instance_->InitAsDefaultInstance();
- ExchangePriceInfo::default_instance_->InitAsDefaultInstance();
- ExchangeItemInfo::default_instance_->InitAsDefaultInstance();
- packetl2c_get_dragon_palace_info_result::default_instance_->InitAsDefaultInstance();
- packetc2l_get_dragon_palace_rank::default_instance_->InitAsDefaultInstance();
- packetl2c_get_dragon_palace_rank_result::default_instance_->InitAsDefaultInstance();
- packetc2l_dragon_palace_exchange::default_instance_->InitAsDefaultInstance();
- packetl2c_dragon_palace_exchange_result::default_instance_->InitAsDefaultInstance();
- packetc2l_dragon_add_exchange_count::default_instance_->InitAsDefaultInstance();
- packetl2c_dragon_add_exchange_count_result::default_instance_->InitAsDefaultInstance();
- packetc2l_daily_dimensity_exchange::default_instance_->InitAsDefaultInstance();
- packetl2c_daily_dimensity_exchange_result::default_instance_->InitAsDefaultInstance();
- ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_fish_5fdragon_5fpalace_2eproto);
- }
- // Force AddDescriptors() to be called at static initialization time.
- struct StaticDescriptorInitializer_fish_5fdragon_5fpalace_2eproto {
- StaticDescriptorInitializer_fish_5fdragon_5fpalace_2eproto() {
- protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
- }
- } static_descriptor_initializer_fish_5fdragon_5fpalace_2eproto_;
- // ===================================================================
- #ifndef _MSC_VER
- const int DragonPalaceRankInfo::kPlayerIdFieldNumber;
- const int DragonPalaceRankInfo::kNickNameFieldNumber;
- const int DragonPalaceRankInfo::kGainDimensityFieldNumber;
- const int DragonPalaceRankInfo::kHeadidFieldNumber;
- const int DragonPalaceRankInfo::kFrameidFieldNumber;
- const int DragonPalaceRankInfo::kGenderFieldNumber;
- #endif // !_MSC_VER
- DragonPalaceRankInfo::DragonPalaceRankInfo()
- : ::google::protobuf::Message() {
- SharedCtor();
- }
- void DragonPalaceRankInfo::InitAsDefaultInstance() {
- }
- DragonPalaceRankInfo::DragonPalaceRankInfo(const DragonPalaceRankInfo& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- }
- void DragonPalaceRankInfo::SharedCtor() {
- _cached_size_ = 0;
- playerid_ = 0;
- nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
- gaindimensity_ = 0;
- headid_ = 0;
- frameid_ = 0;
- gender_ = 0;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- DragonPalaceRankInfo::~DragonPalaceRankInfo() {
- SharedDtor();
- }
- void DragonPalaceRankInfo::SharedDtor() {
- if (nickname_ != &::google::protobuf::internal::kEmptyString) {
- delete nickname_;
- }
- if (this != default_instance_) {
- }
- }
- void DragonPalaceRankInfo::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* DragonPalaceRankInfo::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return DragonPalaceRankInfo_descriptor_;
- }
- const DragonPalaceRankInfo& DragonPalaceRankInfo::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
- return *default_instance_;
- }
- DragonPalaceRankInfo* DragonPalaceRankInfo::default_instance_ = NULL;
- DragonPalaceRankInfo* DragonPalaceRankInfo::New() const {
- return new DragonPalaceRankInfo;
- }
- void DragonPalaceRankInfo::Clear() {
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- playerid_ = 0;
- if (has_nickname()) {
- if (nickname_ != &::google::protobuf::internal::kEmptyString) {
- nickname_->clear();
- }
- }
- gaindimensity_ = 0;
- headid_ = 0;
- frameid_ = 0;
- gender_ = 0;
- }
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool DragonPalaceRankInfo::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 playerId = 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, &playerid_)));
- set_has_playerid();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(18)) goto parse_nickName;
- break;
- }
- // optional string nickName = 2;
- case 2: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
- parse_nickName:
- 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(24)) goto parse_gainDimensity;
- break;
- }
- // optional int32 gainDimensity = 3;
- case 3: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_gainDimensity:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &gaindimensity_)));
- set_has_gaindimensity();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(32)) goto parse_headid;
- break;
- }
- // optional int32 headid = 4;
- case 4: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_headid:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &headid_)));
- set_has_headid();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(40)) goto parse_frameid;
- break;
- }
- // optional int32 frameid = 5;
- case 5: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_frameid:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &frameid_)));
- set_has_frameid();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(48)) goto parse_gender;
- break;
- }
- // optional int32 gender = 6;
- case 6: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_gender:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &gender_)));
- set_has_gender();
- } 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 DragonPalaceRankInfo::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // optional int32 playerId = 1;
- if (has_playerid()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->playerid(), output);
- }
- // optional string nickName = 2;
- if (has_nickname()) {
- ::google::protobuf::internal::WireFormat::VerifyUTF8String(
- this->nickname().data(), this->nickname().length(),
- ::google::protobuf::internal::WireFormat::SERIALIZE);
- ::google::protobuf::internal::WireFormatLite::WriteString(
- 2, this->nickname(), output);
- }
- // optional int32 gainDimensity = 3;
- if (has_gaindimensity()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->gaindimensity(), output);
- }
- // optional int32 headid = 4;
- if (has_headid()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->headid(), output);
- }
- // optional int32 frameid = 5;
- if (has_frameid()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->frameid(), output);
- }
- // optional int32 gender = 6;
- if (has_gender()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->gender(), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- }
- ::google::protobuf::uint8* DragonPalaceRankInfo::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // optional int32 playerId = 1;
- if (has_playerid()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->playerid(), target);
- }
- // optional string nickName = 2;
- 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(
- 2, this->nickname(), target);
- }
- // optional int32 gainDimensity = 3;
- if (has_gaindimensity()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->gaindimensity(), target);
- }
- // optional int32 headid = 4;
- if (has_headid()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->headid(), target);
- }
- // optional int32 frameid = 5;
- if (has_frameid()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->frameid(), target);
- }
- // optional int32 gender = 6;
- if (has_gender()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->gender(), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- return target;
- }
- int DragonPalaceRankInfo::ByteSize() const {
- int total_size = 0;
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- // optional int32 playerId = 1;
- if (has_playerid()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->playerid());
- }
- // optional string nickName = 2;
- if (has_nickname()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->nickname());
- }
- // optional int32 gainDimensity = 3;
- if (has_gaindimensity()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->gaindimensity());
- }
- // optional int32 headid = 4;
- if (has_headid()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->headid());
- }
- // optional int32 frameid = 5;
- if (has_frameid()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->frameid());
- }
- // optional int32 gender = 6;
- if (has_gender()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->gender());
- }
- }
- 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 DragonPalaceRankInfo::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const DragonPalaceRankInfo* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const DragonPalaceRankInfo*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void DragonPalaceRankInfo::MergeFrom(const DragonPalaceRankInfo& from) {
- GOOGLE_CHECK_NE(&from, this);
- if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- if (from.has_playerid()) {
- set_playerid(from.playerid());
- }
- if (from.has_nickname()) {
- set_nickname(from.nickname());
- }
- if (from.has_gaindimensity()) {
- set_gaindimensity(from.gaindimensity());
- }
- if (from.has_headid()) {
- set_headid(from.headid());
- }
- if (from.has_frameid()) {
- set_frameid(from.frameid());
- }
- if (from.has_gender()) {
- set_gender(from.gender());
- }
- }
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void DragonPalaceRankInfo::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void DragonPalaceRankInfo::CopyFrom(const DragonPalaceRankInfo& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool DragonPalaceRankInfo::IsInitialized() const {
- return true;
- }
- void DragonPalaceRankInfo::Swap(DragonPalaceRankInfo* other) {
- if (other != this) {
- std::swap(playerid_, other->playerid_);
- std::swap(nickname_, other->nickname_);
- std::swap(gaindimensity_, other->gaindimensity_);
- std::swap(headid_, other->headid_);
- std::swap(frameid_, other->frameid_);
- std::swap(gender_, other->gender_);
- 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 DragonPalaceRankInfo::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = DragonPalaceRankInfo_descriptor_;
- metadata.reflection = DragonPalaceRankInfo_reflection_;
- return metadata;
- }
- // ===================================================================
- #ifndef _MSC_VER
- const int packetc2l_get_dragon_palace_info::kPacketIdFieldNumber;
- const int packetc2l_get_dragon_palace_info::kIsGetRankInfoFieldNumber;
- #endif // !_MSC_VER
- packetc2l_get_dragon_palace_info::packetc2l_get_dragon_palace_info()
- : ::google::protobuf::Message() {
- SharedCtor();
- }
- void packetc2l_get_dragon_palace_info::InitAsDefaultInstance() {
- }
- packetc2l_get_dragon_palace_info::packetc2l_get_dragon_palace_info(const packetc2l_get_dragon_palace_info& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- }
- void packetc2l_get_dragon_palace_info::SharedCtor() {
- _cached_size_ = 0;
- packet_id_ = 10148;
- isgetrankinfo_ = false;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- packetc2l_get_dragon_palace_info::~packetc2l_get_dragon_palace_info() {
- SharedDtor();
- }
- void packetc2l_get_dragon_palace_info::SharedDtor() {
- if (this != default_instance_) {
- }
- }
- void packetc2l_get_dragon_palace_info::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* packetc2l_get_dragon_palace_info::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return packetc2l_get_dragon_palace_info_descriptor_;
- }
- const packetc2l_get_dragon_palace_info& packetc2l_get_dragon_palace_info::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
- return *default_instance_;
- }
- packetc2l_get_dragon_palace_info* packetc2l_get_dragon_palace_info::default_instance_ = NULL;
- packetc2l_get_dragon_palace_info* packetc2l_get_dragon_palace_info::New() const {
- return new packetc2l_get_dragon_palace_info;
- }
- void packetc2l_get_dragon_palace_info::Clear() {
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- packet_id_ = 10148;
- isgetrankinfo_ = false;
- }
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool packetc2l_get_dragon_palace_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_get_dragon_palace_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->ExpectTag(16)) goto parse_isGetRankInfo;
- break;
- }
- // optional bool isGetRankInfo = 2;
- case 2: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_isGetRankInfo:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
- input, &isgetrankinfo_)));
- set_has_isgetrankinfo();
- } 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_dragon_palace_info::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_dragon_palace_info];
- if (has_packet_id()) {
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
- 1, this->packet_id(), output);
- }
- // optional bool isGetRankInfo = 2;
- if (has_isgetrankinfo()) {
- ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->isgetrankinfo(), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- }
- ::google::protobuf::uint8* packetc2l_get_dragon_palace_info::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_dragon_palace_info];
- if (has_packet_id()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
- 1, this->packet_id(), target);
- }
- // optional bool isGetRankInfo = 2;
- if (has_isgetrankinfo()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->isgetrankinfo(), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- return target;
- }
- int packetc2l_get_dragon_palace_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_get_dragon_palace_info];
- if (has_packet_id()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
- }
- // optional bool isGetRankInfo = 2;
- if (has_isgetrankinfo()) {
- total_size += 1 + 1;
- }
- }
- 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_dragon_palace_info::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const packetc2l_get_dragon_palace_info* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_get_dragon_palace_info*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void packetc2l_get_dragon_palace_info::MergeFrom(const packetc2l_get_dragon_palace_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());
- }
- if (from.has_isgetrankinfo()) {
- set_isgetrankinfo(from.isgetrankinfo());
- }
- }
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void packetc2l_get_dragon_palace_info::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void packetc2l_get_dragon_palace_info::CopyFrom(const packetc2l_get_dragon_palace_info& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool packetc2l_get_dragon_palace_info::IsInitialized() const {
- return true;
- }
- void packetc2l_get_dragon_palace_info::Swap(packetc2l_get_dragon_palace_info* other) {
- if (other != this) {
- std::swap(packet_id_, other->packet_id_);
- std::swap(isgetrankinfo_, other->isgetrankinfo_);
- 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_dragon_palace_info::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = packetc2l_get_dragon_palace_info_descriptor_;
- metadata.reflection = packetc2l_get_dragon_palace_info_reflection_;
- return metadata;
- }
- // ===================================================================
- #ifndef _MSC_VER
- const int ExchangePriceInfo::kExchangeIdFieldNumber;
- const int ExchangePriceInfo::kPriceFieldNumber;
- #endif // !_MSC_VER
- ExchangePriceInfo::ExchangePriceInfo()
- : ::google::protobuf::Message() {
- SharedCtor();
- }
- void ExchangePriceInfo::InitAsDefaultInstance() {
- }
- ExchangePriceInfo::ExchangePriceInfo(const ExchangePriceInfo& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- }
- void ExchangePriceInfo::SharedCtor() {
- _cached_size_ = 0;
- exchangeid_ = 0;
- price_ = 0;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- ExchangePriceInfo::~ExchangePriceInfo() {
- SharedDtor();
- }
- void ExchangePriceInfo::SharedDtor() {
- if (this != default_instance_) {
- }
- }
- void ExchangePriceInfo::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* ExchangePriceInfo::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return ExchangePriceInfo_descriptor_;
- }
- const ExchangePriceInfo& ExchangePriceInfo::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
- return *default_instance_;
- }
- ExchangePriceInfo* ExchangePriceInfo::default_instance_ = NULL;
- ExchangePriceInfo* ExchangePriceInfo::New() const {
- return new ExchangePriceInfo;
- }
- void ExchangePriceInfo::Clear() {
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- exchangeid_ = 0;
- price_ = 0;
- }
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool ExchangePriceInfo::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 exchangeId = 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, &exchangeid_)));
- set_has_exchangeid();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(16)) goto parse_price;
- break;
- }
- // optional int32 price = 2;
- case 2: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_price:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &price_)));
- set_has_price();
- } 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 ExchangePriceInfo::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // optional int32 exchangeId = 1;
- if (has_exchangeid()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->exchangeid(), output);
- }
- // optional int32 price = 2;
- if (has_price()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->price(), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- }
- ::google::protobuf::uint8* ExchangePriceInfo::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // optional int32 exchangeId = 1;
- if (has_exchangeid()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->exchangeid(), target);
- }
- // optional int32 price = 2;
- if (has_price()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->price(), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- return target;
- }
- int ExchangePriceInfo::ByteSize() const {
- int total_size = 0;
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- // optional int32 exchangeId = 1;
- if (has_exchangeid()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->exchangeid());
- }
- // optional int32 price = 2;
- if (has_price()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->price());
- }
- }
- 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 ExchangePriceInfo::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const ExchangePriceInfo* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const ExchangePriceInfo*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void ExchangePriceInfo::MergeFrom(const ExchangePriceInfo& from) {
- GOOGLE_CHECK_NE(&from, this);
- if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- if (from.has_exchangeid()) {
- set_exchangeid(from.exchangeid());
- }
- if (from.has_price()) {
- set_price(from.price());
- }
- }
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void ExchangePriceInfo::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void ExchangePriceInfo::CopyFrom(const ExchangePriceInfo& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool ExchangePriceInfo::IsInitialized() const {
- return true;
- }
- void ExchangePriceInfo::Swap(ExchangePriceInfo* other) {
- if (other != this) {
- std::swap(exchangeid_, other->exchangeid_);
- std::swap(price_, other->price_);
- 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 ExchangePriceInfo::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = ExchangePriceInfo_descriptor_;
- metadata.reflection = ExchangePriceInfo_reflection_;
- return metadata;
- }
- // ===================================================================
- #ifndef _MSC_VER
- const int ExchangeItemInfo::kItemidFieldNumber;
- const int ExchangeItemInfo::kItemcountFieldNumber;
- #endif // !_MSC_VER
- ExchangeItemInfo::ExchangeItemInfo()
- : ::google::protobuf::Message() {
- SharedCtor();
- }
- void ExchangeItemInfo::InitAsDefaultInstance() {
- }
- ExchangeItemInfo::ExchangeItemInfo(const ExchangeItemInfo& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- }
- void ExchangeItemInfo::SharedCtor() {
- _cached_size_ = 0;
- itemid_ = 0;
- itemcount_ = 0;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- ExchangeItemInfo::~ExchangeItemInfo() {
- SharedDtor();
- }
- void ExchangeItemInfo::SharedDtor() {
- if (this != default_instance_) {
- }
- }
- void ExchangeItemInfo::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* ExchangeItemInfo::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return ExchangeItemInfo_descriptor_;
- }
- const ExchangeItemInfo& ExchangeItemInfo::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
- return *default_instance_;
- }
- ExchangeItemInfo* ExchangeItemInfo::default_instance_ = NULL;
- ExchangeItemInfo* ExchangeItemInfo::New() const {
- return new ExchangeItemInfo;
- }
- void ExchangeItemInfo::Clear() {
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- itemid_ = 0;
- itemcount_ = 0;
- }
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool ExchangeItemInfo::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 itemid = 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, &itemid_)));
- set_has_itemid();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(16)) goto parse_itemcount;
- break;
- }
- // optional int32 itemcount = 2;
- case 2: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_itemcount:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &itemcount_)));
- set_has_itemcount();
- } 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 ExchangeItemInfo::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // optional int32 itemid = 1;
- if (has_itemid()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->itemid(), output);
- }
- // optional int32 itemcount = 2;
- if (has_itemcount()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->itemcount(), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- }
- ::google::protobuf::uint8* ExchangeItemInfo::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // optional int32 itemid = 1;
- if (has_itemid()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->itemid(), target);
- }
- // optional int32 itemcount = 2;
- if (has_itemcount()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->itemcount(), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- return target;
- }
- int ExchangeItemInfo::ByteSize() const {
- int total_size = 0;
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- // optional int32 itemid = 1;
- if (has_itemid()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->itemid());
- }
- // optional int32 itemcount = 2;
- if (has_itemcount()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->itemcount());
- }
- }
- 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 ExchangeItemInfo::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const ExchangeItemInfo* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const ExchangeItemInfo*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void ExchangeItemInfo::MergeFrom(const ExchangeItemInfo& from) {
- GOOGLE_CHECK_NE(&from, this);
- if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- if (from.has_itemid()) {
- set_itemid(from.itemid());
- }
- if (from.has_itemcount()) {
- set_itemcount(from.itemcount());
- }
- }
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void ExchangeItemInfo::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void ExchangeItemInfo::CopyFrom(const ExchangeItemInfo& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool ExchangeItemInfo::IsInitialized() const {
- return true;
- }
- void ExchangeItemInfo::Swap(ExchangeItemInfo* other) {
- if (other != this) {
- std::swap(itemid_, other->itemid_);
- std::swap(itemcount_, other->itemcount_);
- 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 ExchangeItemInfo::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = ExchangeItemInfo_descriptor_;
- metadata.reflection = ExchangeItemInfo_reflection_;
- return metadata;
- }
- // ===================================================================
- #ifndef _MSC_VER
- const int packetl2c_get_dragon_palace_info_result::kPacketIdFieldNumber;
- const int packetl2c_get_dragon_palace_info_result::kDimensityCountFieldNumber;
- const int packetl2c_get_dragon_palace_info_result::kExchangeCountFieldNumber;
- const int packetl2c_get_dragon_palace_info_result::kExchangeCountExFieldNumber;
- const int packetl2c_get_dragon_palace_info_result::kDiscountExchangeCountLvFieldNumber;
- const int packetl2c_get_dragon_palace_info_result::kCurRankListFieldNumber;
- const int packetl2c_get_dragon_palace_info_result::kGainDimensityCurWeekFieldNumber;
- const int packetl2c_get_dragon_palace_info_result::kSelfFunBuffListFieldNumber;
- const int packetl2c_get_dragon_palace_info_result::kPriceInfoListFieldNumber;
- const int packetl2c_get_dragon_palace_info_result::kExchangeAddCountFieldNumber;
- const int packetl2c_get_dragon_palace_info_result::kDailyDimensityFieldNumber;
- const int packetl2c_get_dragon_palace_info_result::kDragonSlayerCheckFieldNumber;
- #endif // !_MSC_VER
- packetl2c_get_dragon_palace_info_result::packetl2c_get_dragon_palace_info_result()
- : ::google::protobuf::Message() {
- SharedCtor();
- }
- void packetl2c_get_dragon_palace_info_result::InitAsDefaultInstance() {
- }
- packetl2c_get_dragon_palace_info_result::packetl2c_get_dragon_palace_info_result(const packetl2c_get_dragon_palace_info_result& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- }
- void packetl2c_get_dragon_palace_info_result::SharedCtor() {
- _cached_size_ = 0;
- packet_id_ = 16137;
- dimensitycount_ = 0;
- exchangecount_ = 0;
- exchangecountex_ = 0;
- discountexchangecountlv_ = 0;
- gaindimensitycurweek_ = 0;
- exchangeaddcount_ = 0;
- dailydimensity_ = 0;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- packetl2c_get_dragon_palace_info_result::~packetl2c_get_dragon_palace_info_result() {
- SharedDtor();
- }
- void packetl2c_get_dragon_palace_info_result::SharedDtor() {
- if (this != default_instance_) {
- }
- }
- void packetl2c_get_dragon_palace_info_result::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* packetl2c_get_dragon_palace_info_result::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return packetl2c_get_dragon_palace_info_result_descriptor_;
- }
- const packetl2c_get_dragon_palace_info_result& packetl2c_get_dragon_palace_info_result::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
- return *default_instance_;
- }
- packetl2c_get_dragon_palace_info_result* packetl2c_get_dragon_palace_info_result::default_instance_ = NULL;
- packetl2c_get_dragon_palace_info_result* packetl2c_get_dragon_palace_info_result::New() const {
- return new packetl2c_get_dragon_palace_info_result;
- }
- void packetl2c_get_dragon_palace_info_result::Clear() {
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- packet_id_ = 16137;
- dimensitycount_ = 0;
- exchangecount_ = 0;
- exchangecountex_ = 0;
- discountexchangecountlv_ = 0;
- gaindimensitycurweek_ = 0;
- }
- if (_has_bits_[9 / 32] & (0xffu << (9 % 32))) {
- exchangeaddcount_ = 0;
- dailydimensity_ = 0;
- }
- curranklist_.Clear();
- selffunbufflist_.Clear();
- priceinfolist_.Clear();
- dragonslayercheck_.Clear();
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool packetl2c_get_dragon_palace_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_get_dragon_palace_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(16)) goto parse_dimensityCount;
- break;
- }
- // optional int32 dimensityCount = 2;
- case 2: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_dimensityCount:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &dimensitycount_)));
- set_has_dimensitycount();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(24)) goto parse_exchangeCount;
- break;
- }
- // optional int32 exchangeCount = 3;
- case 3: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_exchangeCount:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &exchangecount_)));
- set_has_exchangecount();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(32)) goto parse_exchangeCountEx;
- break;
- }
- // optional int32 exchangeCountEx = 4;
- case 4: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_exchangeCountEx:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &exchangecountex_)));
- set_has_exchangecountex();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(40)) goto parse_discountExchangeCountLv;
- break;
- }
- // optional int32 discountExchangeCountLv = 5;
- case 5: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_discountExchangeCountLv:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &discountexchangecountlv_)));
- set_has_discountexchangecountlv();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(50)) goto parse_curRankList;
- break;
- }
- // repeated .fish_protocols.DragonPalaceRankInfo curRankList = 6;
- case 6: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
- parse_curRankList:
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, add_curranklist()));
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(50)) goto parse_curRankList;
- if (input->ExpectTag(56)) goto parse_gainDimensityCurWeek;
- break;
- }
- // optional int32 gainDimensityCurWeek = 7;
- case 7: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_gainDimensityCurWeek:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &gaindimensitycurweek_)));
- set_has_gaindimensitycurweek();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(66)) goto parse_selfFunBuffList;
- break;
- }
- // repeated .fish_protocols.FunBuff selfFunBuffList = 8;
- case 8: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
- parse_selfFunBuffList:
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, add_selffunbufflist()));
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(66)) goto parse_selfFunBuffList;
- if (input->ExpectTag(74)) goto parse_priceInfoList;
- break;
- }
- // repeated .fish_protocols.ExchangePriceInfo priceInfoList = 9;
- case 9: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
- parse_priceInfoList:
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, add_priceinfolist()));
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(74)) goto parse_priceInfoList;
- if (input->ExpectTag(80)) goto parse_exchangeAddCount;
- break;
- }
- // optional int32 exchangeAddCount = 10;
- case 10: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_exchangeAddCount:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &exchangeaddcount_)));
- set_has_exchangeaddcount();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(88)) goto parse_dailyDimensity;
- break;
- }
- // optional int32 dailyDimensity = 11;
- case 11: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_dailyDimensity:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &dailydimensity_)));
- set_has_dailydimensity();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(96)) goto parse_dragonSlayerCheck;
- break;
- }
- // repeated bool dragonSlayerCheck = 12;
- case 12: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_dragonSlayerCheck:
- DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
- bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
- 1, 96, input, this->mutable_dragonslayercheck())));
- } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
- == ::google::protobuf::internal::WireFormatLite::
- WIRETYPE_LENGTH_DELIMITED) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
- bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
- input, this->mutable_dragonslayercheck())));
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(96)) goto parse_dragonSlayerCheck;
- 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_dragon_palace_info_result::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_dragon_palace_info_result];
- if (has_packet_id()) {
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
- 1, this->packet_id(), output);
- }
- // optional int32 dimensityCount = 2;
- if (has_dimensitycount()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->dimensitycount(), output);
- }
- // optional int32 exchangeCount = 3;
- if (has_exchangecount()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->exchangecount(), output);
- }
- // optional int32 exchangeCountEx = 4;
- if (has_exchangecountex()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->exchangecountex(), output);
- }
- // optional int32 discountExchangeCountLv = 5;
- if (has_discountexchangecountlv()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->discountexchangecountlv(), output);
- }
- // repeated .fish_protocols.DragonPalaceRankInfo curRankList = 6;
- for (int i = 0; i < this->curranklist_size(); i++) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 6, this->curranklist(i), output);
- }
- // optional int32 gainDimensityCurWeek = 7;
- if (has_gaindimensitycurweek()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->gaindimensitycurweek(), output);
- }
- // repeated .fish_protocols.FunBuff selfFunBuffList = 8;
- for (int i = 0; i < this->selffunbufflist_size(); i++) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 8, this->selffunbufflist(i), output);
- }
- // repeated .fish_protocols.ExchangePriceInfo priceInfoList = 9;
- for (int i = 0; i < this->priceinfolist_size(); i++) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 9, this->priceinfolist(i), output);
- }
- // optional int32 exchangeAddCount = 10;
- if (has_exchangeaddcount()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->exchangeaddcount(), output);
- }
- // optional int32 dailyDimensity = 11;
- if (has_dailydimensity()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(11, this->dailydimensity(), output);
- }
- // repeated bool dragonSlayerCheck = 12;
- for (int i = 0; i < this->dragonslayercheck_size(); i++) {
- ::google::protobuf::internal::WireFormatLite::WriteBool(
- 12, this->dragonslayercheck(i), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- }
- ::google::protobuf::uint8* packetl2c_get_dragon_palace_info_result::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_dragon_palace_info_result];
- if (has_packet_id()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
- 1, this->packet_id(), target);
- }
- // optional int32 dimensityCount = 2;
- if (has_dimensitycount()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->dimensitycount(), target);
- }
- // optional int32 exchangeCount = 3;
- if (has_exchangecount()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->exchangecount(), target);
- }
- // optional int32 exchangeCountEx = 4;
- if (has_exchangecountex()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->exchangecountex(), target);
- }
- // optional int32 discountExchangeCountLv = 5;
- if (has_discountexchangecountlv()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->discountexchangecountlv(), target);
- }
- // repeated .fish_protocols.DragonPalaceRankInfo curRankList = 6;
- for (int i = 0; i < this->curranklist_size(); i++) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 6, this->curranklist(i), target);
- }
- // optional int32 gainDimensityCurWeek = 7;
- if (has_gaindimensitycurweek()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->gaindimensitycurweek(), target);
- }
- // repeated .fish_protocols.FunBuff selfFunBuffList = 8;
- for (int i = 0; i < this->selffunbufflist_size(); i++) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 8, this->selffunbufflist(i), target);
- }
- // repeated .fish_protocols.ExchangePriceInfo priceInfoList = 9;
- for (int i = 0; i < this->priceinfolist_size(); i++) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 9, this->priceinfolist(i), target);
- }
- // optional int32 exchangeAddCount = 10;
- if (has_exchangeaddcount()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->exchangeaddcount(), target);
- }
- // optional int32 dailyDimensity = 11;
- if (has_dailydimensity()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(11, this->dailydimensity(), target);
- }
- // repeated bool dragonSlayerCheck = 12;
- for (int i = 0; i < this->dragonslayercheck_size(); i++) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteBoolToArray(12, this->dragonslayercheck(i), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- return target;
- }
- int packetl2c_get_dragon_palace_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_get_dragon_palace_info_result];
- if (has_packet_id()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
- }
- // optional int32 dimensityCount = 2;
- if (has_dimensitycount()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->dimensitycount());
- }
- // optional int32 exchangeCount = 3;
- if (has_exchangecount()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->exchangecount());
- }
- // optional int32 exchangeCountEx = 4;
- if (has_exchangecountex()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->exchangecountex());
- }
- // optional int32 discountExchangeCountLv = 5;
- if (has_discountexchangecountlv()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->discountexchangecountlv());
- }
- // optional int32 gainDimensityCurWeek = 7;
- if (has_gaindimensitycurweek()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->gaindimensitycurweek());
- }
- }
- if (_has_bits_[9 / 32] & (0xffu << (9 % 32))) {
- // optional int32 exchangeAddCount = 10;
- if (has_exchangeaddcount()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->exchangeaddcount());
- }
- // optional int32 dailyDimensity = 11;
- if (has_dailydimensity()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->dailydimensity());
- }
- }
- // repeated .fish_protocols.DragonPalaceRankInfo curRankList = 6;
- total_size += 1 * this->curranklist_size();
- for (int i = 0; i < this->curranklist_size(); i++) {
- total_size +=
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- this->curranklist(i));
- }
- // repeated .fish_protocols.FunBuff selfFunBuffList = 8;
- total_size += 1 * this->selffunbufflist_size();
- for (int i = 0; i < this->selffunbufflist_size(); i++) {
- total_size +=
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- this->selffunbufflist(i));
- }
- // repeated .fish_protocols.ExchangePriceInfo priceInfoList = 9;
- total_size += 1 * this->priceinfolist_size();
- for (int i = 0; i < this->priceinfolist_size(); i++) {
- total_size +=
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- this->priceinfolist(i));
- }
- // repeated bool dragonSlayerCheck = 12;
- {
- int data_size = 0;
- data_size = 1 * this->dragonslayercheck_size();
- total_size += 1 * this->dragonslayercheck_size() + data_size;
- }
- 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_dragon_palace_info_result::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const packetl2c_get_dragon_palace_info_result* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_get_dragon_palace_info_result*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void packetl2c_get_dragon_palace_info_result::MergeFrom(const packetl2c_get_dragon_palace_info_result& from) {
- GOOGLE_CHECK_NE(&from, this);
- curranklist_.MergeFrom(from.curranklist_);
- selffunbufflist_.MergeFrom(from.selffunbufflist_);
- priceinfolist_.MergeFrom(from.priceinfolist_);
- dragonslayercheck_.MergeFrom(from.dragonslayercheck_);
- if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- if (from.has_packet_id()) {
- set_packet_id(from.packet_id());
- }
- if (from.has_dimensitycount()) {
- set_dimensitycount(from.dimensitycount());
- }
- if (from.has_exchangecount()) {
- set_exchangecount(from.exchangecount());
- }
- if (from.has_exchangecountex()) {
- set_exchangecountex(from.exchangecountex());
- }
- if (from.has_discountexchangecountlv()) {
- set_discountexchangecountlv(from.discountexchangecountlv());
- }
- if (from.has_gaindimensitycurweek()) {
- set_gaindimensitycurweek(from.gaindimensitycurweek());
- }
- }
- if (from._has_bits_[9 / 32] & (0xffu << (9 % 32))) {
- if (from.has_exchangeaddcount()) {
- set_exchangeaddcount(from.exchangeaddcount());
- }
- if (from.has_dailydimensity()) {
- set_dailydimensity(from.dailydimensity());
- }
- }
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void packetl2c_get_dragon_palace_info_result::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void packetl2c_get_dragon_palace_info_result::CopyFrom(const packetl2c_get_dragon_palace_info_result& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool packetl2c_get_dragon_palace_info_result::IsInitialized() const {
- return true;
- }
- void packetl2c_get_dragon_palace_info_result::Swap(packetl2c_get_dragon_palace_info_result* other) {
- if (other != this) {
- std::swap(packet_id_, other->packet_id_);
- std::swap(dimensitycount_, other->dimensitycount_);
- std::swap(exchangecount_, other->exchangecount_);
- std::swap(exchangecountex_, other->exchangecountex_);
- std::swap(discountexchangecountlv_, other->discountexchangecountlv_);
- curranklist_.Swap(&other->curranklist_);
- std::swap(gaindimensitycurweek_, other->gaindimensitycurweek_);
- selffunbufflist_.Swap(&other->selffunbufflist_);
- priceinfolist_.Swap(&other->priceinfolist_);
- std::swap(exchangeaddcount_, other->exchangeaddcount_);
- std::swap(dailydimensity_, other->dailydimensity_);
- dragonslayercheck_.Swap(&other->dragonslayercheck_);
- 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_dragon_palace_info_result::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = packetl2c_get_dragon_palace_info_result_descriptor_;
- metadata.reflection = packetl2c_get_dragon_palace_info_result_reflection_;
- return metadata;
- }
- // ===================================================================
- #ifndef _MSC_VER
- const int packetc2l_get_dragon_palace_rank::kPacketIdFieldNumber;
- const int packetc2l_get_dragon_palace_rank::kRankTypeFieldNumber;
- #endif // !_MSC_VER
- packetc2l_get_dragon_palace_rank::packetc2l_get_dragon_palace_rank()
- : ::google::protobuf::Message() {
- SharedCtor();
- }
- void packetc2l_get_dragon_palace_rank::InitAsDefaultInstance() {
- }
- packetc2l_get_dragon_palace_rank::packetc2l_get_dragon_palace_rank(const packetc2l_get_dragon_palace_rank& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- }
- void packetc2l_get_dragon_palace_rank::SharedCtor() {
- _cached_size_ = 0;
- packet_id_ = 10149;
- ranktype_ = 0;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- packetc2l_get_dragon_palace_rank::~packetc2l_get_dragon_palace_rank() {
- SharedDtor();
- }
- void packetc2l_get_dragon_palace_rank::SharedDtor() {
- if (this != default_instance_) {
- }
- }
- void packetc2l_get_dragon_palace_rank::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* packetc2l_get_dragon_palace_rank::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return packetc2l_get_dragon_palace_rank_descriptor_;
- }
- const packetc2l_get_dragon_palace_rank& packetc2l_get_dragon_palace_rank::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
- return *default_instance_;
- }
- packetc2l_get_dragon_palace_rank* packetc2l_get_dragon_palace_rank::default_instance_ = NULL;
- packetc2l_get_dragon_palace_rank* packetc2l_get_dragon_palace_rank::New() const {
- return new packetc2l_get_dragon_palace_rank;
- }
- void packetc2l_get_dragon_palace_rank::Clear() {
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- packet_id_ = 10149;
- ranktype_ = 0;
- }
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool packetc2l_get_dragon_palace_rank::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_dragon_palace_rank];
- 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_rankType;
- break;
- }
- // optional int32 rankType = 2;
- case 2: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_rankType:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &ranktype_)));
- set_has_ranktype();
- } 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_dragon_palace_rank::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_dragon_palace_rank];
- if (has_packet_id()) {
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
- 1, this->packet_id(), output);
- }
- // optional int32 rankType = 2;
- if (has_ranktype()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->ranktype(), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- }
- ::google::protobuf::uint8* packetc2l_get_dragon_palace_rank::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_dragon_palace_rank];
- if (has_packet_id()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
- 1, this->packet_id(), target);
- }
- // optional int32 rankType = 2;
- if (has_ranktype()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->ranktype(), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- return target;
- }
- int packetc2l_get_dragon_palace_rank::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_dragon_palace_rank];
- if (has_packet_id()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
- }
- // optional int32 rankType = 2;
- if (has_ranktype()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->ranktype());
- }
- }
- 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_dragon_palace_rank::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const packetc2l_get_dragon_palace_rank* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_get_dragon_palace_rank*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void packetc2l_get_dragon_palace_rank::MergeFrom(const packetc2l_get_dragon_palace_rank& 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_ranktype()) {
- set_ranktype(from.ranktype());
- }
- }
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void packetc2l_get_dragon_palace_rank::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void packetc2l_get_dragon_palace_rank::CopyFrom(const packetc2l_get_dragon_palace_rank& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool packetc2l_get_dragon_palace_rank::IsInitialized() const {
- return true;
- }
- void packetc2l_get_dragon_palace_rank::Swap(packetc2l_get_dragon_palace_rank* other) {
- if (other != this) {
- std::swap(packet_id_, other->packet_id_);
- std::swap(ranktype_, other->ranktype_);
- 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_dragon_palace_rank::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = packetc2l_get_dragon_palace_rank_descriptor_;
- metadata.reflection = packetc2l_get_dragon_palace_rank_reflection_;
- return metadata;
- }
- // ===================================================================
- #ifndef _MSC_VER
- const int packetl2c_get_dragon_palace_rank_result::kPacketIdFieldNumber;
- const int packetl2c_get_dragon_palace_rank_result::kRankTypeFieldNumber;
- const int packetl2c_get_dragon_palace_rank_result::kRankListFieldNumber;
- #endif // !_MSC_VER
- packetl2c_get_dragon_palace_rank_result::packetl2c_get_dragon_palace_rank_result()
- : ::google::protobuf::Message() {
- SharedCtor();
- }
- void packetl2c_get_dragon_palace_rank_result::InitAsDefaultInstance() {
- }
- packetl2c_get_dragon_palace_rank_result::packetl2c_get_dragon_palace_rank_result(const packetl2c_get_dragon_palace_rank_result& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- }
- void packetl2c_get_dragon_palace_rank_result::SharedCtor() {
- _cached_size_ = 0;
- packet_id_ = 16138;
- ranktype_ = 0;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- packetl2c_get_dragon_palace_rank_result::~packetl2c_get_dragon_palace_rank_result() {
- SharedDtor();
- }
- void packetl2c_get_dragon_palace_rank_result::SharedDtor() {
- if (this != default_instance_) {
- }
- }
- void packetl2c_get_dragon_palace_rank_result::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* packetl2c_get_dragon_palace_rank_result::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return packetl2c_get_dragon_palace_rank_result_descriptor_;
- }
- const packetl2c_get_dragon_palace_rank_result& packetl2c_get_dragon_palace_rank_result::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
- return *default_instance_;
- }
- packetl2c_get_dragon_palace_rank_result* packetl2c_get_dragon_palace_rank_result::default_instance_ = NULL;
- packetl2c_get_dragon_palace_rank_result* packetl2c_get_dragon_palace_rank_result::New() const {
- return new packetl2c_get_dragon_palace_rank_result;
- }
- void packetl2c_get_dragon_palace_rank_result::Clear() {
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- packet_id_ = 16138;
- ranktype_ = 0;
- }
- ranklist_.Clear();
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool packetl2c_get_dragon_palace_rank_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_dragon_palace_rank_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_rankType;
- break;
- }
- // optional int32 rankType = 2;
- case 2: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_rankType:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &ranktype_)));
- set_has_ranktype();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(26)) goto parse_rankList;
- break;
- }
- // repeated .fish_protocols.DragonPalaceRankInfo rankList = 3;
- case 3: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
- parse_rankList:
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, add_ranklist()));
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(26)) goto parse_rankList;
- 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_dragon_palace_rank_result::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_dragon_palace_rank_result];
- if (has_packet_id()) {
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
- 1, this->packet_id(), output);
- }
- // optional int32 rankType = 2;
- if (has_ranktype()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->ranktype(), output);
- }
- // repeated .fish_protocols.DragonPalaceRankInfo rankList = 3;
- for (int i = 0; i < this->ranklist_size(); i++) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 3, this->ranklist(i), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- }
- ::google::protobuf::uint8* packetl2c_get_dragon_palace_rank_result::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_dragon_palace_rank_result];
- if (has_packet_id()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
- 1, this->packet_id(), target);
- }
- // optional int32 rankType = 2;
- if (has_ranktype()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->ranktype(), target);
- }
- // repeated .fish_protocols.DragonPalaceRankInfo rankList = 3;
- for (int i = 0; i < this->ranklist_size(); i++) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 3, this->ranklist(i), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- return target;
- }
- int packetl2c_get_dragon_palace_rank_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_dragon_palace_rank_result];
- if (has_packet_id()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
- }
- // optional int32 rankType = 2;
- if (has_ranktype()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->ranktype());
- }
- }
- // repeated .fish_protocols.DragonPalaceRankInfo rankList = 3;
- total_size += 1 * this->ranklist_size();
- for (int i = 0; i < this->ranklist_size(); i++) {
- total_size +=
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- this->ranklist(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_dragon_palace_rank_result::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const packetl2c_get_dragon_palace_rank_result* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_get_dragon_palace_rank_result*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void packetl2c_get_dragon_palace_rank_result::MergeFrom(const packetl2c_get_dragon_palace_rank_result& from) {
- GOOGLE_CHECK_NE(&from, this);
- ranklist_.MergeFrom(from.ranklist_);
- if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- if (from.has_packet_id()) {
- set_packet_id(from.packet_id());
- }
- if (from.has_ranktype()) {
- set_ranktype(from.ranktype());
- }
- }
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void packetl2c_get_dragon_palace_rank_result::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void packetl2c_get_dragon_palace_rank_result::CopyFrom(const packetl2c_get_dragon_palace_rank_result& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool packetl2c_get_dragon_palace_rank_result::IsInitialized() const {
- return true;
- }
- void packetl2c_get_dragon_palace_rank_result::Swap(packetl2c_get_dragon_palace_rank_result* other) {
- if (other != this) {
- std::swap(packet_id_, other->packet_id_);
- std::swap(ranktype_, other->ranktype_);
- ranklist_.Swap(&other->ranklist_);
- 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_dragon_palace_rank_result::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = packetl2c_get_dragon_palace_rank_result_descriptor_;
- metadata.reflection = packetl2c_get_dragon_palace_rank_result_reflection_;
- return metadata;
- }
- // ===================================================================
- #ifndef _MSC_VER
- const int packetc2l_dragon_palace_exchange::kPacketIdFieldNumber;
- const int packetc2l_dragon_palace_exchange::kExchangeIdFieldNumber;
- const int packetc2l_dragon_palace_exchange::kExchangeCountFieldNumber;
- #endif // !_MSC_VER
- packetc2l_dragon_palace_exchange::packetc2l_dragon_palace_exchange()
- : ::google::protobuf::Message() {
- SharedCtor();
- }
- void packetc2l_dragon_palace_exchange::InitAsDefaultInstance() {
- }
- packetc2l_dragon_palace_exchange::packetc2l_dragon_palace_exchange(const packetc2l_dragon_palace_exchange& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- }
- void packetc2l_dragon_palace_exchange::SharedCtor() {
- _cached_size_ = 0;
- packet_id_ = 10150;
- exchangeid_ = 0;
- exchangecount_ = 0;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- packetc2l_dragon_palace_exchange::~packetc2l_dragon_palace_exchange() {
- SharedDtor();
- }
- void packetc2l_dragon_palace_exchange::SharedDtor() {
- if (this != default_instance_) {
- }
- }
- void packetc2l_dragon_palace_exchange::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* packetc2l_dragon_palace_exchange::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return packetc2l_dragon_palace_exchange_descriptor_;
- }
- const packetc2l_dragon_palace_exchange& packetc2l_dragon_palace_exchange::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
- return *default_instance_;
- }
- packetc2l_dragon_palace_exchange* packetc2l_dragon_palace_exchange::default_instance_ = NULL;
- packetc2l_dragon_palace_exchange* packetc2l_dragon_palace_exchange::New() const {
- return new packetc2l_dragon_palace_exchange;
- }
- void packetc2l_dragon_palace_exchange::Clear() {
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- packet_id_ = 10150;
- exchangeid_ = 0;
- exchangecount_ = 0;
- }
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool packetc2l_dragon_palace_exchange::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_dragon_palace_exchange];
- 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_exchangeId;
- break;
- }
- // optional int32 exchangeId = 2;
- case 2: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_exchangeId:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &exchangeid_)));
- set_has_exchangeid();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(24)) goto parse_exchangeCount;
- break;
- }
- // optional int32 exchangeCount = 3;
- case 3: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_exchangeCount:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &exchangecount_)));
- set_has_exchangecount();
- } 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_dragon_palace_exchange::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_dragon_palace_exchange];
- if (has_packet_id()) {
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
- 1, this->packet_id(), output);
- }
- // optional int32 exchangeId = 2;
- if (has_exchangeid()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->exchangeid(), output);
- }
- // optional int32 exchangeCount = 3;
- if (has_exchangecount()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->exchangecount(), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- }
- ::google::protobuf::uint8* packetc2l_dragon_palace_exchange::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_dragon_palace_exchange];
- if (has_packet_id()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
- 1, this->packet_id(), target);
- }
- // optional int32 exchangeId = 2;
- if (has_exchangeid()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->exchangeid(), target);
- }
- // optional int32 exchangeCount = 3;
- if (has_exchangecount()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->exchangecount(), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- return target;
- }
- int packetc2l_dragon_palace_exchange::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_dragon_palace_exchange];
- if (has_packet_id()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
- }
- // optional int32 exchangeId = 2;
- if (has_exchangeid()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->exchangeid());
- }
- // optional int32 exchangeCount = 3;
- if (has_exchangecount()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->exchangecount());
- }
- }
- 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_dragon_palace_exchange::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const packetc2l_dragon_palace_exchange* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_dragon_palace_exchange*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void packetc2l_dragon_palace_exchange::MergeFrom(const packetc2l_dragon_palace_exchange& 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_exchangeid()) {
- set_exchangeid(from.exchangeid());
- }
- if (from.has_exchangecount()) {
- set_exchangecount(from.exchangecount());
- }
- }
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void packetc2l_dragon_palace_exchange::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void packetc2l_dragon_palace_exchange::CopyFrom(const packetc2l_dragon_palace_exchange& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool packetc2l_dragon_palace_exchange::IsInitialized() const {
- return true;
- }
- void packetc2l_dragon_palace_exchange::Swap(packetc2l_dragon_palace_exchange* other) {
- if (other != this) {
- std::swap(packet_id_, other->packet_id_);
- std::swap(exchangeid_, other->exchangeid_);
- std::swap(exchangecount_, other->exchangecount_);
- 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_dragon_palace_exchange::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = packetc2l_dragon_palace_exchange_descriptor_;
- metadata.reflection = packetc2l_dragon_palace_exchange_reflection_;
- return metadata;
- }
- // ===================================================================
- #ifndef _MSC_VER
- const int packetl2c_dragon_palace_exchange_result::kPacketIdFieldNumber;
- const int packetl2c_dragon_palace_exchange_result::kResultFieldNumber;
- const int packetl2c_dragon_palace_exchange_result::kExchangeItemsFieldNumber;
- const int packetl2c_dragon_palace_exchange_result::kPriceInfoListFieldNumber;
- const int packetl2c_dragon_palace_exchange_result::kNextPriceFieldNumber;
- #endif // !_MSC_VER
- packetl2c_dragon_palace_exchange_result::packetl2c_dragon_palace_exchange_result()
- : ::google::protobuf::Message() {
- SharedCtor();
- }
- void packetl2c_dragon_palace_exchange_result::InitAsDefaultInstance() {
- }
- packetl2c_dragon_palace_exchange_result::packetl2c_dragon_palace_exchange_result(const packetl2c_dragon_palace_exchange_result& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- }
- void packetl2c_dragon_palace_exchange_result::SharedCtor() {
- _cached_size_ = 0;
- packet_id_ = 16139;
- result_ = 0;
- nextprice_ = 0;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- packetl2c_dragon_palace_exchange_result::~packetl2c_dragon_palace_exchange_result() {
- SharedDtor();
- }
- void packetl2c_dragon_palace_exchange_result::SharedDtor() {
- if (this != default_instance_) {
- }
- }
- void packetl2c_dragon_palace_exchange_result::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* packetl2c_dragon_palace_exchange_result::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return packetl2c_dragon_palace_exchange_result_descriptor_;
- }
- const packetl2c_dragon_palace_exchange_result& packetl2c_dragon_palace_exchange_result::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
- return *default_instance_;
- }
- packetl2c_dragon_palace_exchange_result* packetl2c_dragon_palace_exchange_result::default_instance_ = NULL;
- packetl2c_dragon_palace_exchange_result* packetl2c_dragon_palace_exchange_result::New() const {
- return new packetl2c_dragon_palace_exchange_result;
- }
- void packetl2c_dragon_palace_exchange_result::Clear() {
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- packet_id_ = 16139;
- result_ = 0;
- nextprice_ = 0;
- }
- exchangeitems_.Clear();
- priceinfolist_.Clear();
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool packetl2c_dragon_palace_exchange_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_dragon_palace_exchange_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(26)) goto parse_exchangeItems;
- break;
- }
- // repeated .fish_protocols.ExchangeItemInfo exchangeItems = 3;
- case 3: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
- parse_exchangeItems:
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, add_exchangeitems()));
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(26)) goto parse_exchangeItems;
- if (input->ExpectTag(34)) goto parse_priceInfoList;
- break;
- }
- // repeated .fish_protocols.ExchangePriceInfo priceInfoList = 4;
- case 4: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
- parse_priceInfoList:
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, add_priceinfolist()));
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(34)) goto parse_priceInfoList;
- if (input->ExpectTag(40)) goto parse_nextPrice;
- break;
- }
- // optional int32 nextPrice = 5;
- case 5: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_nextPrice:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &nextprice_)));
- set_has_nextprice();
- } 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_dragon_palace_exchange_result::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_dragon_palace_exchange_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);
- }
- // repeated .fish_protocols.ExchangeItemInfo exchangeItems = 3;
- for (int i = 0; i < this->exchangeitems_size(); i++) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 3, this->exchangeitems(i), output);
- }
- // repeated .fish_protocols.ExchangePriceInfo priceInfoList = 4;
- for (int i = 0; i < this->priceinfolist_size(); i++) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 4, this->priceinfolist(i), output);
- }
- // optional int32 nextPrice = 5;
- if (has_nextprice()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->nextprice(), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- }
- ::google::protobuf::uint8* packetl2c_dragon_palace_exchange_result::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_dragon_palace_exchange_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);
- }
- // repeated .fish_protocols.ExchangeItemInfo exchangeItems = 3;
- for (int i = 0; i < this->exchangeitems_size(); i++) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 3, this->exchangeitems(i), target);
- }
- // repeated .fish_protocols.ExchangePriceInfo priceInfoList = 4;
- for (int i = 0; i < this->priceinfolist_size(); i++) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 4, this->priceinfolist(i), target);
- }
- // optional int32 nextPrice = 5;
- if (has_nextprice()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->nextprice(), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- return target;
- }
- int packetl2c_dragon_palace_exchange_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_dragon_palace_exchange_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 nextPrice = 5;
- if (has_nextprice()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->nextprice());
- }
- }
- // repeated .fish_protocols.ExchangeItemInfo exchangeItems = 3;
- total_size += 1 * this->exchangeitems_size();
- for (int i = 0; i < this->exchangeitems_size(); i++) {
- total_size +=
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- this->exchangeitems(i));
- }
- // repeated .fish_protocols.ExchangePriceInfo priceInfoList = 4;
- total_size += 1 * this->priceinfolist_size();
- for (int i = 0; i < this->priceinfolist_size(); i++) {
- total_size +=
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- this->priceinfolist(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_dragon_palace_exchange_result::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const packetl2c_dragon_palace_exchange_result* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_dragon_palace_exchange_result*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void packetl2c_dragon_palace_exchange_result::MergeFrom(const packetl2c_dragon_palace_exchange_result& from) {
- GOOGLE_CHECK_NE(&from, this);
- exchangeitems_.MergeFrom(from.exchangeitems_);
- priceinfolist_.MergeFrom(from.priceinfolist_);
- 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_nextprice()) {
- set_nextprice(from.nextprice());
- }
- }
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void packetl2c_dragon_palace_exchange_result::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void packetl2c_dragon_palace_exchange_result::CopyFrom(const packetl2c_dragon_palace_exchange_result& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool packetl2c_dragon_palace_exchange_result::IsInitialized() const {
- return true;
- }
- void packetl2c_dragon_palace_exchange_result::Swap(packetl2c_dragon_palace_exchange_result* other) {
- if (other != this) {
- std::swap(packet_id_, other->packet_id_);
- std::swap(result_, other->result_);
- exchangeitems_.Swap(&other->exchangeitems_);
- priceinfolist_.Swap(&other->priceinfolist_);
- std::swap(nextprice_, other->nextprice_);
- 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_dragon_palace_exchange_result::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = packetl2c_dragon_palace_exchange_result_descriptor_;
- metadata.reflection = packetl2c_dragon_palace_exchange_result_reflection_;
- return metadata;
- }
- // ===================================================================
- #ifndef _MSC_VER
- const int packetc2l_dragon_add_exchange_count::kPacketIdFieldNumber;
- const int packetc2l_dragon_add_exchange_count::kAddCountFieldNumber;
- #endif // !_MSC_VER
- packetc2l_dragon_add_exchange_count::packetc2l_dragon_add_exchange_count()
- : ::google::protobuf::Message() {
- SharedCtor();
- }
- void packetc2l_dragon_add_exchange_count::InitAsDefaultInstance() {
- }
- packetc2l_dragon_add_exchange_count::packetc2l_dragon_add_exchange_count(const packetc2l_dragon_add_exchange_count& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- }
- void packetc2l_dragon_add_exchange_count::SharedCtor() {
- _cached_size_ = 0;
- packet_id_ = 10151;
- addcount_ = 0;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- packetc2l_dragon_add_exchange_count::~packetc2l_dragon_add_exchange_count() {
- SharedDtor();
- }
- void packetc2l_dragon_add_exchange_count::SharedDtor() {
- if (this != default_instance_) {
- }
- }
- void packetc2l_dragon_add_exchange_count::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* packetc2l_dragon_add_exchange_count::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return packetc2l_dragon_add_exchange_count_descriptor_;
- }
- const packetc2l_dragon_add_exchange_count& packetc2l_dragon_add_exchange_count::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
- return *default_instance_;
- }
- packetc2l_dragon_add_exchange_count* packetc2l_dragon_add_exchange_count::default_instance_ = NULL;
- packetc2l_dragon_add_exchange_count* packetc2l_dragon_add_exchange_count::New() const {
- return new packetc2l_dragon_add_exchange_count;
- }
- void packetc2l_dragon_add_exchange_count::Clear() {
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- packet_id_ = 10151;
- addcount_ = 0;
- }
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool packetc2l_dragon_add_exchange_count::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_dragon_add_exchange_count];
- 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_addCount;
- break;
- }
- // optional int32 addCount = 2;
- case 2: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_addCount:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &addcount_)));
- set_has_addcount();
- } 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_dragon_add_exchange_count::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_dragon_add_exchange_count];
- if (has_packet_id()) {
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
- 1, this->packet_id(), output);
- }
- // optional int32 addCount = 2;
- if (has_addcount()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->addcount(), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- }
- ::google::protobuf::uint8* packetc2l_dragon_add_exchange_count::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_dragon_add_exchange_count];
- if (has_packet_id()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
- 1, this->packet_id(), target);
- }
- // optional int32 addCount = 2;
- if (has_addcount()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->addcount(), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- return target;
- }
- int packetc2l_dragon_add_exchange_count::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_dragon_add_exchange_count];
- if (has_packet_id()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
- }
- // optional int32 addCount = 2;
- if (has_addcount()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->addcount());
- }
- }
- 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_dragon_add_exchange_count::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const packetc2l_dragon_add_exchange_count* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_dragon_add_exchange_count*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void packetc2l_dragon_add_exchange_count::MergeFrom(const packetc2l_dragon_add_exchange_count& 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_addcount()) {
- set_addcount(from.addcount());
- }
- }
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void packetc2l_dragon_add_exchange_count::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void packetc2l_dragon_add_exchange_count::CopyFrom(const packetc2l_dragon_add_exchange_count& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool packetc2l_dragon_add_exchange_count::IsInitialized() const {
- return true;
- }
- void packetc2l_dragon_add_exchange_count::Swap(packetc2l_dragon_add_exchange_count* other) {
- if (other != this) {
- std::swap(packet_id_, other->packet_id_);
- std::swap(addcount_, other->addcount_);
- 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_dragon_add_exchange_count::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = packetc2l_dragon_add_exchange_count_descriptor_;
- metadata.reflection = packetc2l_dragon_add_exchange_count_reflection_;
- return metadata;
- }
- // ===================================================================
- #ifndef _MSC_VER
- const int packetl2c_dragon_add_exchange_count_result::kPacketIdFieldNumber;
- const int packetl2c_dragon_add_exchange_count_result::kResultFieldNumber;
- const int packetl2c_dragon_add_exchange_count_result::kAddCountFieldNumber;
- #endif // !_MSC_VER
- packetl2c_dragon_add_exchange_count_result::packetl2c_dragon_add_exchange_count_result()
- : ::google::protobuf::Message() {
- SharedCtor();
- }
- void packetl2c_dragon_add_exchange_count_result::InitAsDefaultInstance() {
- }
- packetl2c_dragon_add_exchange_count_result::packetl2c_dragon_add_exchange_count_result(const packetl2c_dragon_add_exchange_count_result& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- }
- void packetl2c_dragon_add_exchange_count_result::SharedCtor() {
- _cached_size_ = 0;
- packet_id_ = 16140;
- result_ = 0;
- addcount_ = 0;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- packetl2c_dragon_add_exchange_count_result::~packetl2c_dragon_add_exchange_count_result() {
- SharedDtor();
- }
- void packetl2c_dragon_add_exchange_count_result::SharedDtor() {
- if (this != default_instance_) {
- }
- }
- void packetl2c_dragon_add_exchange_count_result::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* packetl2c_dragon_add_exchange_count_result::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return packetl2c_dragon_add_exchange_count_result_descriptor_;
- }
- const packetl2c_dragon_add_exchange_count_result& packetl2c_dragon_add_exchange_count_result::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
- return *default_instance_;
- }
- packetl2c_dragon_add_exchange_count_result* packetl2c_dragon_add_exchange_count_result::default_instance_ = NULL;
- packetl2c_dragon_add_exchange_count_result* packetl2c_dragon_add_exchange_count_result::New() const {
- return new packetl2c_dragon_add_exchange_count_result;
- }
- void packetl2c_dragon_add_exchange_count_result::Clear() {
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- packet_id_ = 16140;
- result_ = 0;
- addcount_ = 0;
- }
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool packetl2c_dragon_add_exchange_count_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_dragon_add_exchange_count_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_addCount;
- break;
- }
- // optional int32 addCount = 3;
- case 3: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_addCount:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &addcount_)));
- set_has_addcount();
- } 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_dragon_add_exchange_count_result::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_dragon_add_exchange_count_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 addCount = 3;
- if (has_addcount()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->addcount(), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- }
- ::google::protobuf::uint8* packetl2c_dragon_add_exchange_count_result::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_dragon_add_exchange_count_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 addCount = 3;
- if (has_addcount()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->addcount(), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- return target;
- }
- int packetl2c_dragon_add_exchange_count_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_dragon_add_exchange_count_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 addCount = 3;
- if (has_addcount()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->addcount());
- }
- }
- 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_dragon_add_exchange_count_result::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const packetl2c_dragon_add_exchange_count_result* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_dragon_add_exchange_count_result*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void packetl2c_dragon_add_exchange_count_result::MergeFrom(const packetl2c_dragon_add_exchange_count_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_addcount()) {
- set_addcount(from.addcount());
- }
- }
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void packetl2c_dragon_add_exchange_count_result::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void packetl2c_dragon_add_exchange_count_result::CopyFrom(const packetl2c_dragon_add_exchange_count_result& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool packetl2c_dragon_add_exchange_count_result::IsInitialized() const {
- return true;
- }
- void packetl2c_dragon_add_exchange_count_result::Swap(packetl2c_dragon_add_exchange_count_result* other) {
- if (other != this) {
- std::swap(packet_id_, other->packet_id_);
- std::swap(result_, other->result_);
- std::swap(addcount_, other->addcount_);
- 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_dragon_add_exchange_count_result::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = packetl2c_dragon_add_exchange_count_result_descriptor_;
- metadata.reflection = packetl2c_dragon_add_exchange_count_result_reflection_;
- return metadata;
- }
- // ===================================================================
- #ifndef _MSC_VER
- const int packetc2l_daily_dimensity_exchange::kPacketIdFieldNumber;
- #endif // !_MSC_VER
- packetc2l_daily_dimensity_exchange::packetc2l_daily_dimensity_exchange()
- : ::google::protobuf::Message() {
- SharedCtor();
- }
- void packetc2l_daily_dimensity_exchange::InitAsDefaultInstance() {
- }
- packetc2l_daily_dimensity_exchange::packetc2l_daily_dimensity_exchange(const packetc2l_daily_dimensity_exchange& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- }
- void packetc2l_daily_dimensity_exchange::SharedCtor() {
- _cached_size_ = 0;
- packet_id_ = 10152;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- packetc2l_daily_dimensity_exchange::~packetc2l_daily_dimensity_exchange() {
- SharedDtor();
- }
- void packetc2l_daily_dimensity_exchange::SharedDtor() {
- if (this != default_instance_) {
- }
- }
- void packetc2l_daily_dimensity_exchange::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* packetc2l_daily_dimensity_exchange::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return packetc2l_daily_dimensity_exchange_descriptor_;
- }
- const packetc2l_daily_dimensity_exchange& packetc2l_daily_dimensity_exchange::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
- return *default_instance_;
- }
- packetc2l_daily_dimensity_exchange* packetc2l_daily_dimensity_exchange::default_instance_ = NULL;
- packetc2l_daily_dimensity_exchange* packetc2l_daily_dimensity_exchange::New() const {
- return new packetc2l_daily_dimensity_exchange;
- }
- void packetc2l_daily_dimensity_exchange::Clear() {
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- packet_id_ = 10152;
- }
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool packetc2l_daily_dimensity_exchange::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_daily_dimensity_exchange];
- 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_daily_dimensity_exchange::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_daily_dimensity_exchange];
- 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_daily_dimensity_exchange::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_daily_dimensity_exchange];
- 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_daily_dimensity_exchange::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_daily_dimensity_exchange];
- 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_daily_dimensity_exchange::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const packetc2l_daily_dimensity_exchange* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_daily_dimensity_exchange*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void packetc2l_daily_dimensity_exchange::MergeFrom(const packetc2l_daily_dimensity_exchange& 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_daily_dimensity_exchange::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void packetc2l_daily_dimensity_exchange::CopyFrom(const packetc2l_daily_dimensity_exchange& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool packetc2l_daily_dimensity_exchange::IsInitialized() const {
- return true;
- }
- void packetc2l_daily_dimensity_exchange::Swap(packetc2l_daily_dimensity_exchange* 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_daily_dimensity_exchange::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = packetc2l_daily_dimensity_exchange_descriptor_;
- metadata.reflection = packetc2l_daily_dimensity_exchange_reflection_;
- return metadata;
- }
- // ===================================================================
- #ifndef _MSC_VER
- const int packetl2c_daily_dimensity_exchange_result::kPacketIdFieldNumber;
- const int packetl2c_daily_dimensity_exchange_result::kResultFieldNumber;
- const int packetl2c_daily_dimensity_exchange_result::kExchangeInfoFieldNumber;
- #endif // !_MSC_VER
- packetl2c_daily_dimensity_exchange_result::packetl2c_daily_dimensity_exchange_result()
- : ::google::protobuf::Message() {
- SharedCtor();
- }
- void packetl2c_daily_dimensity_exchange_result::InitAsDefaultInstance() {
- }
- packetl2c_daily_dimensity_exchange_result::packetl2c_daily_dimensity_exchange_result(const packetl2c_daily_dimensity_exchange_result& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- }
- void packetl2c_daily_dimensity_exchange_result::SharedCtor() {
- _cached_size_ = 0;
- packet_id_ = 16141;
- result_ = 0;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- packetl2c_daily_dimensity_exchange_result::~packetl2c_daily_dimensity_exchange_result() {
- SharedDtor();
- }
- void packetl2c_daily_dimensity_exchange_result::SharedDtor() {
- if (this != default_instance_) {
- }
- }
- void packetl2c_daily_dimensity_exchange_result::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* packetl2c_daily_dimensity_exchange_result::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return packetl2c_daily_dimensity_exchange_result_descriptor_;
- }
- const packetl2c_daily_dimensity_exchange_result& packetl2c_daily_dimensity_exchange_result::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
- return *default_instance_;
- }
- packetl2c_daily_dimensity_exchange_result* packetl2c_daily_dimensity_exchange_result::default_instance_ = NULL;
- packetl2c_daily_dimensity_exchange_result* packetl2c_daily_dimensity_exchange_result::New() const {
- return new packetl2c_daily_dimensity_exchange_result;
- }
- void packetl2c_daily_dimensity_exchange_result::Clear() {
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- packet_id_ = 16141;
- result_ = 0;
- }
- exchangeinfo_.Clear();
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool packetl2c_daily_dimensity_exchange_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_daily_dimensity_exchange_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(26)) goto parse_exchangeInfo;
- break;
- }
- // repeated .fish_protocols.ExchangeItemInfo exchangeInfo = 3;
- case 3: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
- parse_exchangeInfo:
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, add_exchangeinfo()));
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(26)) goto parse_exchangeInfo;
- 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_daily_dimensity_exchange_result::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_daily_dimensity_exchange_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);
- }
- // repeated .fish_protocols.ExchangeItemInfo exchangeInfo = 3;
- for (int i = 0; i < this->exchangeinfo_size(); i++) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 3, this->exchangeinfo(i), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- }
- ::google::protobuf::uint8* packetl2c_daily_dimensity_exchange_result::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_daily_dimensity_exchange_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);
- }
- // repeated .fish_protocols.ExchangeItemInfo exchangeInfo = 3;
- for (int i = 0; i < this->exchangeinfo_size(); i++) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 3, this->exchangeinfo(i), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- return target;
- }
- int packetl2c_daily_dimensity_exchange_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_daily_dimensity_exchange_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());
- }
- }
- // repeated .fish_protocols.ExchangeItemInfo exchangeInfo = 3;
- total_size += 1 * this->exchangeinfo_size();
- for (int i = 0; i < this->exchangeinfo_size(); i++) {
- total_size +=
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- this->exchangeinfo(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_daily_dimensity_exchange_result::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const packetl2c_daily_dimensity_exchange_result* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_daily_dimensity_exchange_result*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void packetl2c_daily_dimensity_exchange_result::MergeFrom(const packetl2c_daily_dimensity_exchange_result& from) {
- GOOGLE_CHECK_NE(&from, this);
- exchangeinfo_.MergeFrom(from.exchangeinfo_);
- 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());
- }
- }
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void packetl2c_daily_dimensity_exchange_result::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void packetl2c_daily_dimensity_exchange_result::CopyFrom(const packetl2c_daily_dimensity_exchange_result& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool packetl2c_daily_dimensity_exchange_result::IsInitialized() const {
- return true;
- }
- void packetl2c_daily_dimensity_exchange_result::Swap(packetl2c_daily_dimensity_exchange_result* other) {
- if (other != this) {
- std::swap(packet_id_, other->packet_id_);
- std::swap(result_, other->result_);
- exchangeinfo_.Swap(&other->exchangeinfo_);
- 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_daily_dimensity_exchange_result::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = packetl2c_daily_dimensity_exchange_result_descriptor_;
- metadata.reflection = packetl2c_daily_dimensity_exchange_result_reflection_;
- return metadata;
- }
- // @@protoc_insertion_point(namespace_scope)
- } // namespace fish_protocols
- // @@protoc_insertion_point(global_scope)
|