fish_dragon_palace.pb.cc 167 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: fish_dragon_palace.proto
  3. #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
  4. #include "fish_dragon_palace.pb.h"
  5. #include <algorithm>
  6. #include <google/protobuf/stubs/common.h>
  7. #include <google/protobuf/stubs/once.h>
  8. #include <google/protobuf/io/coded_stream.h>
  9. #include <google/protobuf/wire_format_lite_inl.h>
  10. #include <google/protobuf/descriptor.h>
  11. #include <google/protobuf/generated_message_reflection.h>
  12. #include <google/protobuf/reflection_ops.h>
  13. #include <google/protobuf/wire_format.h>
  14. // @@protoc_insertion_point(includes)
  15. namespace fish_protocols {
  16. namespace {
  17. const ::google::protobuf::Descriptor* DragonPalaceRankInfo_descriptor_ = NULL;
  18. const ::google::protobuf::internal::GeneratedMessageReflection*
  19. DragonPalaceRankInfo_reflection_ = NULL;
  20. const ::google::protobuf::Descriptor* packetc2l_get_dragon_palace_info_descriptor_ = NULL;
  21. const ::google::protobuf::internal::GeneratedMessageReflection*
  22. packetc2l_get_dragon_palace_info_reflection_ = NULL;
  23. const ::google::protobuf::Descriptor* ExchangePriceInfo_descriptor_ = NULL;
  24. const ::google::protobuf::internal::GeneratedMessageReflection*
  25. ExchangePriceInfo_reflection_ = NULL;
  26. const ::google::protobuf::Descriptor* ExchangeItemInfo_descriptor_ = NULL;
  27. const ::google::protobuf::internal::GeneratedMessageReflection*
  28. ExchangeItemInfo_reflection_ = NULL;
  29. const ::google::protobuf::Descriptor* packetl2c_get_dragon_palace_info_result_descriptor_ = NULL;
  30. const ::google::protobuf::internal::GeneratedMessageReflection*
  31. packetl2c_get_dragon_palace_info_result_reflection_ = NULL;
  32. const ::google::protobuf::Descriptor* packetc2l_get_dragon_palace_rank_descriptor_ = NULL;
  33. const ::google::protobuf::internal::GeneratedMessageReflection*
  34. packetc2l_get_dragon_palace_rank_reflection_ = NULL;
  35. const ::google::protobuf::Descriptor* packetl2c_get_dragon_palace_rank_result_descriptor_ = NULL;
  36. const ::google::protobuf::internal::GeneratedMessageReflection*
  37. packetl2c_get_dragon_palace_rank_result_reflection_ = NULL;
  38. const ::google::protobuf::Descriptor* packetc2l_dragon_palace_exchange_descriptor_ = NULL;
  39. const ::google::protobuf::internal::GeneratedMessageReflection*
  40. packetc2l_dragon_palace_exchange_reflection_ = NULL;
  41. const ::google::protobuf::Descriptor* packetl2c_dragon_palace_exchange_result_descriptor_ = NULL;
  42. const ::google::protobuf::internal::GeneratedMessageReflection*
  43. packetl2c_dragon_palace_exchange_result_reflection_ = NULL;
  44. const ::google::protobuf::Descriptor* packetc2l_dragon_add_exchange_count_descriptor_ = NULL;
  45. const ::google::protobuf::internal::GeneratedMessageReflection*
  46. packetc2l_dragon_add_exchange_count_reflection_ = NULL;
  47. const ::google::protobuf::Descriptor* packetl2c_dragon_add_exchange_count_result_descriptor_ = NULL;
  48. const ::google::protobuf::internal::GeneratedMessageReflection*
  49. packetl2c_dragon_add_exchange_count_result_reflection_ = NULL;
  50. const ::google::protobuf::Descriptor* packetc2l_daily_dimensity_exchange_descriptor_ = NULL;
  51. const ::google::protobuf::internal::GeneratedMessageReflection*
  52. packetc2l_daily_dimensity_exchange_reflection_ = NULL;
  53. const ::google::protobuf::Descriptor* packetl2c_daily_dimensity_exchange_result_descriptor_ = NULL;
  54. const ::google::protobuf::internal::GeneratedMessageReflection*
  55. packetl2c_daily_dimensity_exchange_result_reflection_ = NULL;
  56. } // namespace
  57. void protobuf_AssignDesc_fish_5fdragon_5fpalace_2eproto() {
  58. protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  59. const ::google::protobuf::FileDescriptor* file =
  60. ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
  61. "fish_dragon_palace.proto");
  62. GOOGLE_CHECK(file != NULL);
  63. DragonPalaceRankInfo_descriptor_ = file->message_type(0);
  64. static const int DragonPalaceRankInfo_offsets_[6] = {
  65. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DragonPalaceRankInfo, playerid_),
  66. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DragonPalaceRankInfo, nickname_),
  67. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DragonPalaceRankInfo, gaindimensity_),
  68. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DragonPalaceRankInfo, headid_),
  69. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DragonPalaceRankInfo, frameid_),
  70. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DragonPalaceRankInfo, gender_),
  71. };
  72. DragonPalaceRankInfo_reflection_ =
  73. new ::google::protobuf::internal::GeneratedMessageReflection(
  74. DragonPalaceRankInfo_descriptor_,
  75. DragonPalaceRankInfo::default_instance_,
  76. DragonPalaceRankInfo_offsets_,
  77. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DragonPalaceRankInfo, _has_bits_[0]),
  78. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DragonPalaceRankInfo, _unknown_fields_),
  79. -1,
  80. ::google::protobuf::DescriptorPool::generated_pool(),
  81. ::google::protobuf::MessageFactory::generated_factory(),
  82. sizeof(DragonPalaceRankInfo));
  83. packetc2l_get_dragon_palace_info_descriptor_ = file->message_type(1);
  84. static const int packetc2l_get_dragon_palace_info_offsets_[2] = {
  85. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_dragon_palace_info, packet_id_),
  86. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_dragon_palace_info, isgetrankinfo_),
  87. };
  88. packetc2l_get_dragon_palace_info_reflection_ =
  89. new ::google::protobuf::internal::GeneratedMessageReflection(
  90. packetc2l_get_dragon_palace_info_descriptor_,
  91. packetc2l_get_dragon_palace_info::default_instance_,
  92. packetc2l_get_dragon_palace_info_offsets_,
  93. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_dragon_palace_info, _has_bits_[0]),
  94. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_dragon_palace_info, _unknown_fields_),
  95. -1,
  96. ::google::protobuf::DescriptorPool::generated_pool(),
  97. ::google::protobuf::MessageFactory::generated_factory(),
  98. sizeof(packetc2l_get_dragon_palace_info));
  99. ExchangePriceInfo_descriptor_ = file->message_type(2);
  100. static const int ExchangePriceInfo_offsets_[2] = {
  101. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ExchangePriceInfo, exchangeid_),
  102. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ExchangePriceInfo, price_),
  103. };
  104. ExchangePriceInfo_reflection_ =
  105. new ::google::protobuf::internal::GeneratedMessageReflection(
  106. ExchangePriceInfo_descriptor_,
  107. ExchangePriceInfo::default_instance_,
  108. ExchangePriceInfo_offsets_,
  109. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ExchangePriceInfo, _has_bits_[0]),
  110. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ExchangePriceInfo, _unknown_fields_),
  111. -1,
  112. ::google::protobuf::DescriptorPool::generated_pool(),
  113. ::google::protobuf::MessageFactory::generated_factory(),
  114. sizeof(ExchangePriceInfo));
  115. ExchangeItemInfo_descriptor_ = file->message_type(3);
  116. static const int ExchangeItemInfo_offsets_[2] = {
  117. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ExchangeItemInfo, itemid_),
  118. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ExchangeItemInfo, itemcount_),
  119. };
  120. ExchangeItemInfo_reflection_ =
  121. new ::google::protobuf::internal::GeneratedMessageReflection(
  122. ExchangeItemInfo_descriptor_,
  123. ExchangeItemInfo::default_instance_,
  124. ExchangeItemInfo_offsets_,
  125. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ExchangeItemInfo, _has_bits_[0]),
  126. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ExchangeItemInfo, _unknown_fields_),
  127. -1,
  128. ::google::protobuf::DescriptorPool::generated_pool(),
  129. ::google::protobuf::MessageFactory::generated_factory(),
  130. sizeof(ExchangeItemInfo));
  131. packetl2c_get_dragon_palace_info_result_descriptor_ = file->message_type(4);
  132. static const int packetl2c_get_dragon_palace_info_result_offsets_[12] = {
  133. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_info_result, packet_id_),
  134. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_info_result, dimensitycount_),
  135. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_info_result, exchangecount_),
  136. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_info_result, exchangecountex_),
  137. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_info_result, discountexchangecountlv_),
  138. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_info_result, curranklist_),
  139. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_info_result, gaindimensitycurweek_),
  140. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_info_result, selffunbufflist_),
  141. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_info_result, priceinfolist_),
  142. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_info_result, exchangeaddcount_),
  143. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_info_result, dailydimensity_),
  144. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_info_result, dragonslayercheck_),
  145. };
  146. packetl2c_get_dragon_palace_info_result_reflection_ =
  147. new ::google::protobuf::internal::GeneratedMessageReflection(
  148. packetl2c_get_dragon_palace_info_result_descriptor_,
  149. packetl2c_get_dragon_palace_info_result::default_instance_,
  150. packetl2c_get_dragon_palace_info_result_offsets_,
  151. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_info_result, _has_bits_[0]),
  152. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_info_result, _unknown_fields_),
  153. -1,
  154. ::google::protobuf::DescriptorPool::generated_pool(),
  155. ::google::protobuf::MessageFactory::generated_factory(),
  156. sizeof(packetl2c_get_dragon_palace_info_result));
  157. packetc2l_get_dragon_palace_rank_descriptor_ = file->message_type(5);
  158. static const int packetc2l_get_dragon_palace_rank_offsets_[2] = {
  159. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_dragon_palace_rank, packet_id_),
  160. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_dragon_palace_rank, ranktype_),
  161. };
  162. packetc2l_get_dragon_palace_rank_reflection_ =
  163. new ::google::protobuf::internal::GeneratedMessageReflection(
  164. packetc2l_get_dragon_palace_rank_descriptor_,
  165. packetc2l_get_dragon_palace_rank::default_instance_,
  166. packetc2l_get_dragon_palace_rank_offsets_,
  167. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_dragon_palace_rank, _has_bits_[0]),
  168. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_dragon_palace_rank, _unknown_fields_),
  169. -1,
  170. ::google::protobuf::DescriptorPool::generated_pool(),
  171. ::google::protobuf::MessageFactory::generated_factory(),
  172. sizeof(packetc2l_get_dragon_palace_rank));
  173. packetl2c_get_dragon_palace_rank_result_descriptor_ = file->message_type(6);
  174. static const int packetl2c_get_dragon_palace_rank_result_offsets_[3] = {
  175. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_rank_result, packet_id_),
  176. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_rank_result, ranktype_),
  177. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_rank_result, ranklist_),
  178. };
  179. packetl2c_get_dragon_palace_rank_result_reflection_ =
  180. new ::google::protobuf::internal::GeneratedMessageReflection(
  181. packetl2c_get_dragon_palace_rank_result_descriptor_,
  182. packetl2c_get_dragon_palace_rank_result::default_instance_,
  183. packetl2c_get_dragon_palace_rank_result_offsets_,
  184. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_rank_result, _has_bits_[0]),
  185. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_dragon_palace_rank_result, _unknown_fields_),
  186. -1,
  187. ::google::protobuf::DescriptorPool::generated_pool(),
  188. ::google::protobuf::MessageFactory::generated_factory(),
  189. sizeof(packetl2c_get_dragon_palace_rank_result));
  190. packetc2l_dragon_palace_exchange_descriptor_ = file->message_type(7);
  191. static const int packetc2l_dragon_palace_exchange_offsets_[3] = {
  192. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_dragon_palace_exchange, packet_id_),
  193. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_dragon_palace_exchange, exchangeid_),
  194. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_dragon_palace_exchange, exchangecount_),
  195. };
  196. packetc2l_dragon_palace_exchange_reflection_ =
  197. new ::google::protobuf::internal::GeneratedMessageReflection(
  198. packetc2l_dragon_palace_exchange_descriptor_,
  199. packetc2l_dragon_palace_exchange::default_instance_,
  200. packetc2l_dragon_palace_exchange_offsets_,
  201. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_dragon_palace_exchange, _has_bits_[0]),
  202. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_dragon_palace_exchange, _unknown_fields_),
  203. -1,
  204. ::google::protobuf::DescriptorPool::generated_pool(),
  205. ::google::protobuf::MessageFactory::generated_factory(),
  206. sizeof(packetc2l_dragon_palace_exchange));
  207. packetl2c_dragon_palace_exchange_result_descriptor_ = file->message_type(8);
  208. static const int packetl2c_dragon_palace_exchange_result_offsets_[5] = {
  209. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_dragon_palace_exchange_result, packet_id_),
  210. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_dragon_palace_exchange_result, result_),
  211. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_dragon_palace_exchange_result, exchangeitems_),
  212. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_dragon_palace_exchange_result, priceinfolist_),
  213. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_dragon_palace_exchange_result, nextprice_),
  214. };
  215. packetl2c_dragon_palace_exchange_result_reflection_ =
  216. new ::google::protobuf::internal::GeneratedMessageReflection(
  217. packetl2c_dragon_palace_exchange_result_descriptor_,
  218. packetl2c_dragon_palace_exchange_result::default_instance_,
  219. packetl2c_dragon_palace_exchange_result_offsets_,
  220. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_dragon_palace_exchange_result, _has_bits_[0]),
  221. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_dragon_palace_exchange_result, _unknown_fields_),
  222. -1,
  223. ::google::protobuf::DescriptorPool::generated_pool(),
  224. ::google::protobuf::MessageFactory::generated_factory(),
  225. sizeof(packetl2c_dragon_palace_exchange_result));
  226. packetc2l_dragon_add_exchange_count_descriptor_ = file->message_type(9);
  227. static const int packetc2l_dragon_add_exchange_count_offsets_[2] = {
  228. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_dragon_add_exchange_count, packet_id_),
  229. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_dragon_add_exchange_count, addcount_),
  230. };
  231. packetc2l_dragon_add_exchange_count_reflection_ =
  232. new ::google::protobuf::internal::GeneratedMessageReflection(
  233. packetc2l_dragon_add_exchange_count_descriptor_,
  234. packetc2l_dragon_add_exchange_count::default_instance_,
  235. packetc2l_dragon_add_exchange_count_offsets_,
  236. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_dragon_add_exchange_count, _has_bits_[0]),
  237. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_dragon_add_exchange_count, _unknown_fields_),
  238. -1,
  239. ::google::protobuf::DescriptorPool::generated_pool(),
  240. ::google::protobuf::MessageFactory::generated_factory(),
  241. sizeof(packetc2l_dragon_add_exchange_count));
  242. packetl2c_dragon_add_exchange_count_result_descriptor_ = file->message_type(10);
  243. static const int packetl2c_dragon_add_exchange_count_result_offsets_[3] = {
  244. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_dragon_add_exchange_count_result, packet_id_),
  245. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_dragon_add_exchange_count_result, result_),
  246. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_dragon_add_exchange_count_result, addcount_),
  247. };
  248. packetl2c_dragon_add_exchange_count_result_reflection_ =
  249. new ::google::protobuf::internal::GeneratedMessageReflection(
  250. packetl2c_dragon_add_exchange_count_result_descriptor_,
  251. packetl2c_dragon_add_exchange_count_result::default_instance_,
  252. packetl2c_dragon_add_exchange_count_result_offsets_,
  253. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_dragon_add_exchange_count_result, _has_bits_[0]),
  254. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_dragon_add_exchange_count_result, _unknown_fields_),
  255. -1,
  256. ::google::protobuf::DescriptorPool::generated_pool(),
  257. ::google::protobuf::MessageFactory::generated_factory(),
  258. sizeof(packetl2c_dragon_add_exchange_count_result));
  259. packetc2l_daily_dimensity_exchange_descriptor_ = file->message_type(11);
  260. static const int packetc2l_daily_dimensity_exchange_offsets_[1] = {
  261. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_daily_dimensity_exchange, packet_id_),
  262. };
  263. packetc2l_daily_dimensity_exchange_reflection_ =
  264. new ::google::protobuf::internal::GeneratedMessageReflection(
  265. packetc2l_daily_dimensity_exchange_descriptor_,
  266. packetc2l_daily_dimensity_exchange::default_instance_,
  267. packetc2l_daily_dimensity_exchange_offsets_,
  268. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_daily_dimensity_exchange, _has_bits_[0]),
  269. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_daily_dimensity_exchange, _unknown_fields_),
  270. -1,
  271. ::google::protobuf::DescriptorPool::generated_pool(),
  272. ::google::protobuf::MessageFactory::generated_factory(),
  273. sizeof(packetc2l_daily_dimensity_exchange));
  274. packetl2c_daily_dimensity_exchange_result_descriptor_ = file->message_type(12);
  275. static const int packetl2c_daily_dimensity_exchange_result_offsets_[3] = {
  276. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_daily_dimensity_exchange_result, packet_id_),
  277. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_daily_dimensity_exchange_result, result_),
  278. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_daily_dimensity_exchange_result, exchangeinfo_),
  279. };
  280. packetl2c_daily_dimensity_exchange_result_reflection_ =
  281. new ::google::protobuf::internal::GeneratedMessageReflection(
  282. packetl2c_daily_dimensity_exchange_result_descriptor_,
  283. packetl2c_daily_dimensity_exchange_result::default_instance_,
  284. packetl2c_daily_dimensity_exchange_result_offsets_,
  285. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_daily_dimensity_exchange_result, _has_bits_[0]),
  286. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_daily_dimensity_exchange_result, _unknown_fields_),
  287. -1,
  288. ::google::protobuf::DescriptorPool::generated_pool(),
  289. ::google::protobuf::MessageFactory::generated_factory(),
  290. sizeof(packetl2c_daily_dimensity_exchange_result));
  291. }
  292. namespace {
  293. GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
  294. inline void protobuf_AssignDescriptorsOnce() {
  295. ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
  296. &protobuf_AssignDesc_fish_5fdragon_5fpalace_2eproto);
  297. }
  298. void protobuf_RegisterTypes(const ::std::string&) {
  299. protobuf_AssignDescriptorsOnce();
  300. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  301. DragonPalaceRankInfo_descriptor_, &DragonPalaceRankInfo::default_instance());
  302. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  303. packetc2l_get_dragon_palace_info_descriptor_, &packetc2l_get_dragon_palace_info::default_instance());
  304. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  305. ExchangePriceInfo_descriptor_, &ExchangePriceInfo::default_instance());
  306. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  307. ExchangeItemInfo_descriptor_, &ExchangeItemInfo::default_instance());
  308. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  309. packetl2c_get_dragon_palace_info_result_descriptor_, &packetl2c_get_dragon_palace_info_result::default_instance());
  310. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  311. packetc2l_get_dragon_palace_rank_descriptor_, &packetc2l_get_dragon_palace_rank::default_instance());
  312. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  313. packetl2c_get_dragon_palace_rank_result_descriptor_, &packetl2c_get_dragon_palace_rank_result::default_instance());
  314. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  315. packetc2l_dragon_palace_exchange_descriptor_, &packetc2l_dragon_palace_exchange::default_instance());
  316. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  317. packetl2c_dragon_palace_exchange_result_descriptor_, &packetl2c_dragon_palace_exchange_result::default_instance());
  318. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  319. packetc2l_dragon_add_exchange_count_descriptor_, &packetc2l_dragon_add_exchange_count::default_instance());
  320. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  321. packetl2c_dragon_add_exchange_count_result_descriptor_, &packetl2c_dragon_add_exchange_count_result::default_instance());
  322. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  323. packetc2l_daily_dimensity_exchange_descriptor_, &packetc2l_daily_dimensity_exchange::default_instance());
  324. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  325. packetl2c_daily_dimensity_exchange_result_descriptor_, &packetl2c_daily_dimensity_exchange_result::default_instance());
  326. }
  327. } // namespace
  328. void protobuf_ShutdownFile_fish_5fdragon_5fpalace_2eproto() {
  329. delete DragonPalaceRankInfo::default_instance_;
  330. delete DragonPalaceRankInfo_reflection_;
  331. delete packetc2l_get_dragon_palace_info::default_instance_;
  332. delete packetc2l_get_dragon_palace_info_reflection_;
  333. delete ExchangePriceInfo::default_instance_;
  334. delete ExchangePriceInfo_reflection_;
  335. delete ExchangeItemInfo::default_instance_;
  336. delete ExchangeItemInfo_reflection_;
  337. delete packetl2c_get_dragon_palace_info_result::default_instance_;
  338. delete packetl2c_get_dragon_palace_info_result_reflection_;
  339. delete packetc2l_get_dragon_palace_rank::default_instance_;
  340. delete packetc2l_get_dragon_palace_rank_reflection_;
  341. delete packetl2c_get_dragon_palace_rank_result::default_instance_;
  342. delete packetl2c_get_dragon_palace_rank_result_reflection_;
  343. delete packetc2l_dragon_palace_exchange::default_instance_;
  344. delete packetc2l_dragon_palace_exchange_reflection_;
  345. delete packetl2c_dragon_palace_exchange_result::default_instance_;
  346. delete packetl2c_dragon_palace_exchange_result_reflection_;
  347. delete packetc2l_dragon_add_exchange_count::default_instance_;
  348. delete packetc2l_dragon_add_exchange_count_reflection_;
  349. delete packetl2c_dragon_add_exchange_count_result::default_instance_;
  350. delete packetl2c_dragon_add_exchange_count_result_reflection_;
  351. delete packetc2l_daily_dimensity_exchange::default_instance_;
  352. delete packetc2l_daily_dimensity_exchange_reflection_;
  353. delete packetl2c_daily_dimensity_exchange_result::default_instance_;
  354. delete packetl2c_daily_dimensity_exchange_result_reflection_;
  355. }
  356. void protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto() {
  357. static bool already_here = false;
  358. if (already_here) return;
  359. already_here = true;
  360. GOOGLE_PROTOBUF_VERIFY_VERSION;
  361. ::fish_protocols::protobuf_AddDesc_fish_5fdef_2eproto();
  362. ::msg_type_def::protobuf_AddDesc_msg_5ftype_5fdef_2eproto();
  363. ::fish_protocols::protobuf_AddDesc_fish_5ftype_5fdef_2eproto();
  364. ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
  365. "\n\030fish_dragon_palace.proto\022\016fish_protoco"
  366. "ls\032\016fish_def.proto\032\022msg_type_def.proto\032\023"
  367. "fish_type_def.proto\"\202\001\n\024DragonPalaceRank"
  368. "Info\022\020\n\010playerId\030\001 \001(\005\022\020\n\010nickName\030\002 \001(\t"
  369. "\022\025\n\rgainDimensity\030\003 \001(\005\022\016\n\006headid\030\004 \001(\005\022"
  370. "\017\n\007frameid\030\005 \001(\005\022\016\n\006gender\030\006 \001(\005\"\221\001\n pac"
  371. "ketc2l_get_dragon_palace_info\022V\n\tpacket_"
  372. "id\030\001 \001(\0162!.fish_protocols.e_server_msg_t"
  373. "ype: e_mst_c2l_get_dragon_palace_info\022\025\n"
  374. "\risGetRankInfo\030\002 \001(\010\"6\n\021ExchangePriceInf"
  375. "o\022\022\n\nexchangeId\030\001 \001(\005\022\r\n\005price\030\002 \001(\005\"5\n\020"
  376. "ExchangeItemInfo\022\016\n\006itemid\030\001 \001(\005\022\021\n\titem"
  377. "count\030\002 \001(\005\"\203\004\n\'packetl2c_get_dragon_pal"
  378. "ace_info_result\022]\n\tpacket_id\030\001 \001(\0162!.fis"
  379. "h_protocols.e_server_msg_type:\'e_mst_l2c"
  380. "_get_dragon_palace_info_result\022\026\n\016dimens"
  381. "ityCount\030\002 \001(\005\022\025\n\rexchangeCount\030\003 \001(\005\022\027\n"
  382. "\017exchangeCountEx\030\004 \001(\005\022\037\n\027discountExchan"
  383. "geCountLv\030\005 \001(\005\0229\n\013curRankList\030\006 \003(\0132$.f"
  384. "ish_protocols.DragonPalaceRankInfo\022\034\n\024ga"
  385. "inDimensityCurWeek\030\007 \001(\005\0220\n\017selfFunBuffL"
  386. "ist\030\010 \003(\0132\027.fish_protocols.FunBuff\0228\n\rpr"
  387. "iceInfoList\030\t \003(\0132!.fish_protocols.Excha"
  388. "ngePriceInfo\022\030\n\020exchangeAddCount\030\n \001(\005\022\026"
  389. "\n\016dailyDimensity\030\013 \001(\005\022\031\n\021dragonSlayerCh"
  390. "eck\030\014 \003(\010\"\214\001\n packetc2l_get_dragon_palac"
  391. "e_rank\022V\n\tpacket_id\030\001 \001(\0162!.fish_protoco"
  392. "ls.e_server_msg_type: e_mst_c2l_get_drag"
  393. "on_palace_rank\022\020\n\010rankType\030\002 \001(\005\"\322\001\n\'pac"
  394. "ketl2c_get_dragon_palace_rank_result\022]\n\t"
  395. "packet_id\030\001 \001(\0162!.fish_protocols.e_serve"
  396. "r_msg_type:\'e_mst_l2c_get_dragon_palace_"
  397. "rank_result\022\020\n\010rankType\030\002 \001(\005\0226\n\010rankLis"
  398. "t\030\003 \003(\0132$.fish_protocols.DragonPalaceRan"
  399. "kInfo\"\245\001\n packetc2l_dragon_palace_exchan"
  400. "ge\022V\n\tpacket_id\030\001 \001(\0162!.fish_protocols.e"
  401. "_server_msg_type: e_mst_c2l_dragon_palac"
  402. "e_exchange\022\022\n\nexchangeId\030\002 \001(\005\022\025\n\rexchan"
  403. "geCount\030\003 \001(\005\"\236\002\n\'packetl2c_dragon_palac"
  404. "e_exchange_result\022]\n\tpacket_id\030\001 \001(\0162!.f"
  405. "ish_protocols.e_server_msg_type:\'e_mst_l"
  406. "2c_dragon_palace_exchange_result\022\016\n\006resu"
  407. "lt\030\002 \001(\005\0227\n\rexchangeItems\030\003 \003(\0132 .fish_p"
  408. "rotocols.ExchangeItemInfo\0228\n\rpriceInfoLi"
  409. "st\030\004 \003(\0132!.fish_protocols.ExchangePriceI"
  410. "nfo\022\021\n\tnextPrice\030\005 \001(\005\"\222\001\n#packetc2l_dra"
  411. "gon_add_exchange_count\022Y\n\tpacket_id\030\001 \001("
  412. "\0162!.fish_protocols.e_server_msg_type:#e_"
  413. "mst_c2l_dragon_add_exchange_count\022\020\n\010add"
  414. "Count\030\002 \001(\005\"\260\001\n*packetl2c_dragon_add_exc"
  415. "hange_count_result\022`\n\tpacket_id\030\001 \001(\0162!."
  416. "fish_protocols.e_server_msg_type:*e_mst_"
  417. "l2c_dragon_add_exchange_count_result\022\016\n\006"
  418. "result\030\002 \001(\005\022\020\n\010addCount\030\003 \001(\005\"~\n\"packet"
  419. "c2l_daily_dimensity_exchange\022X\n\tpacket_i"
  420. "d\030\001 \001(\0162!.fish_protocols.e_server_msg_ty"
  421. "pe:\"e_mst_c2l_daily_dimensity_exchange\"\324"
  422. "\001\n)packetl2c_daily_dimensity_exchange_re"
  423. "sult\022_\n\tpacket_id\030\001 \001(\0162!.fish_protocols"
  424. ".e_server_msg_type:)e_mst_l2c_daily_dime"
  425. "nsity_exchange_result\022\016\n\006result\030\002 \001(\005\0226\n"
  426. "\014exchangeInfo\030\003 \003(\0132 .fish_protocols.Exc"
  427. "hangeItemInfo", 2493);
  428. ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
  429. "fish_dragon_palace.proto", &protobuf_RegisterTypes);
  430. DragonPalaceRankInfo::default_instance_ = new DragonPalaceRankInfo();
  431. packetc2l_get_dragon_palace_info::default_instance_ = new packetc2l_get_dragon_palace_info();
  432. ExchangePriceInfo::default_instance_ = new ExchangePriceInfo();
  433. ExchangeItemInfo::default_instance_ = new ExchangeItemInfo();
  434. packetl2c_get_dragon_palace_info_result::default_instance_ = new packetl2c_get_dragon_palace_info_result();
  435. packetc2l_get_dragon_palace_rank::default_instance_ = new packetc2l_get_dragon_palace_rank();
  436. packetl2c_get_dragon_palace_rank_result::default_instance_ = new packetl2c_get_dragon_palace_rank_result();
  437. packetc2l_dragon_palace_exchange::default_instance_ = new packetc2l_dragon_palace_exchange();
  438. packetl2c_dragon_palace_exchange_result::default_instance_ = new packetl2c_dragon_palace_exchange_result();
  439. packetc2l_dragon_add_exchange_count::default_instance_ = new packetc2l_dragon_add_exchange_count();
  440. packetl2c_dragon_add_exchange_count_result::default_instance_ = new packetl2c_dragon_add_exchange_count_result();
  441. packetc2l_daily_dimensity_exchange::default_instance_ = new packetc2l_daily_dimensity_exchange();
  442. packetl2c_daily_dimensity_exchange_result::default_instance_ = new packetl2c_daily_dimensity_exchange_result();
  443. DragonPalaceRankInfo::default_instance_->InitAsDefaultInstance();
  444. packetc2l_get_dragon_palace_info::default_instance_->InitAsDefaultInstance();
  445. ExchangePriceInfo::default_instance_->InitAsDefaultInstance();
  446. ExchangeItemInfo::default_instance_->InitAsDefaultInstance();
  447. packetl2c_get_dragon_palace_info_result::default_instance_->InitAsDefaultInstance();
  448. packetc2l_get_dragon_palace_rank::default_instance_->InitAsDefaultInstance();
  449. packetl2c_get_dragon_palace_rank_result::default_instance_->InitAsDefaultInstance();
  450. packetc2l_dragon_palace_exchange::default_instance_->InitAsDefaultInstance();
  451. packetl2c_dragon_palace_exchange_result::default_instance_->InitAsDefaultInstance();
  452. packetc2l_dragon_add_exchange_count::default_instance_->InitAsDefaultInstance();
  453. packetl2c_dragon_add_exchange_count_result::default_instance_->InitAsDefaultInstance();
  454. packetc2l_daily_dimensity_exchange::default_instance_->InitAsDefaultInstance();
  455. packetl2c_daily_dimensity_exchange_result::default_instance_->InitAsDefaultInstance();
  456. ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_fish_5fdragon_5fpalace_2eproto);
  457. }
  458. // Force AddDescriptors() to be called at static initialization time.
  459. struct StaticDescriptorInitializer_fish_5fdragon_5fpalace_2eproto {
  460. StaticDescriptorInitializer_fish_5fdragon_5fpalace_2eproto() {
  461. protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  462. }
  463. } static_descriptor_initializer_fish_5fdragon_5fpalace_2eproto_;
  464. // ===================================================================
  465. #ifndef _MSC_VER
  466. const int DragonPalaceRankInfo::kPlayerIdFieldNumber;
  467. const int DragonPalaceRankInfo::kNickNameFieldNumber;
  468. const int DragonPalaceRankInfo::kGainDimensityFieldNumber;
  469. const int DragonPalaceRankInfo::kHeadidFieldNumber;
  470. const int DragonPalaceRankInfo::kFrameidFieldNumber;
  471. const int DragonPalaceRankInfo::kGenderFieldNumber;
  472. #endif // !_MSC_VER
  473. DragonPalaceRankInfo::DragonPalaceRankInfo()
  474. : ::google::protobuf::Message() {
  475. SharedCtor();
  476. }
  477. void DragonPalaceRankInfo::InitAsDefaultInstance() {
  478. }
  479. DragonPalaceRankInfo::DragonPalaceRankInfo(const DragonPalaceRankInfo& from)
  480. : ::google::protobuf::Message() {
  481. SharedCtor();
  482. MergeFrom(from);
  483. }
  484. void DragonPalaceRankInfo::SharedCtor() {
  485. _cached_size_ = 0;
  486. playerid_ = 0;
  487. nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  488. gaindimensity_ = 0;
  489. headid_ = 0;
  490. frameid_ = 0;
  491. gender_ = 0;
  492. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  493. }
  494. DragonPalaceRankInfo::~DragonPalaceRankInfo() {
  495. SharedDtor();
  496. }
  497. void DragonPalaceRankInfo::SharedDtor() {
  498. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  499. delete nickname_;
  500. }
  501. if (this != default_instance_) {
  502. }
  503. }
  504. void DragonPalaceRankInfo::SetCachedSize(int size) const {
  505. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  506. _cached_size_ = size;
  507. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  508. }
  509. const ::google::protobuf::Descriptor* DragonPalaceRankInfo::descriptor() {
  510. protobuf_AssignDescriptorsOnce();
  511. return DragonPalaceRankInfo_descriptor_;
  512. }
  513. const DragonPalaceRankInfo& DragonPalaceRankInfo::default_instance() {
  514. if (default_instance_ == NULL) protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  515. return *default_instance_;
  516. }
  517. DragonPalaceRankInfo* DragonPalaceRankInfo::default_instance_ = NULL;
  518. DragonPalaceRankInfo* DragonPalaceRankInfo::New() const {
  519. return new DragonPalaceRankInfo;
  520. }
  521. void DragonPalaceRankInfo::Clear() {
  522. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  523. playerid_ = 0;
  524. if (has_nickname()) {
  525. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  526. nickname_->clear();
  527. }
  528. }
  529. gaindimensity_ = 0;
  530. headid_ = 0;
  531. frameid_ = 0;
  532. gender_ = 0;
  533. }
  534. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  535. mutable_unknown_fields()->Clear();
  536. }
  537. bool DragonPalaceRankInfo::MergePartialFromCodedStream(
  538. ::google::protobuf::io::CodedInputStream* input) {
  539. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  540. ::google::protobuf::uint32 tag;
  541. while ((tag = input->ReadTag()) != 0) {
  542. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  543. // optional int32 playerId = 1;
  544. case 1: {
  545. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  546. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  547. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  548. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  549. input, &playerid_)));
  550. set_has_playerid();
  551. } else {
  552. goto handle_uninterpreted;
  553. }
  554. if (input->ExpectTag(18)) goto parse_nickName;
  555. break;
  556. }
  557. // optional string nickName = 2;
  558. case 2: {
  559. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  560. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  561. parse_nickName:
  562. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  563. input, this->mutable_nickname()));
  564. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  565. this->nickname().data(), this->nickname().length(),
  566. ::google::protobuf::internal::WireFormat::PARSE);
  567. } else {
  568. goto handle_uninterpreted;
  569. }
  570. if (input->ExpectTag(24)) goto parse_gainDimensity;
  571. break;
  572. }
  573. // optional int32 gainDimensity = 3;
  574. case 3: {
  575. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  576. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  577. parse_gainDimensity:
  578. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  579. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  580. input, &gaindimensity_)));
  581. set_has_gaindimensity();
  582. } else {
  583. goto handle_uninterpreted;
  584. }
  585. if (input->ExpectTag(32)) goto parse_headid;
  586. break;
  587. }
  588. // optional int32 headid = 4;
  589. case 4: {
  590. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  591. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  592. parse_headid:
  593. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  594. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  595. input, &headid_)));
  596. set_has_headid();
  597. } else {
  598. goto handle_uninterpreted;
  599. }
  600. if (input->ExpectTag(40)) goto parse_frameid;
  601. break;
  602. }
  603. // optional int32 frameid = 5;
  604. case 5: {
  605. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  606. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  607. parse_frameid:
  608. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  609. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  610. input, &frameid_)));
  611. set_has_frameid();
  612. } else {
  613. goto handle_uninterpreted;
  614. }
  615. if (input->ExpectTag(48)) goto parse_gender;
  616. break;
  617. }
  618. // optional int32 gender = 6;
  619. case 6: {
  620. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  621. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  622. parse_gender:
  623. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  624. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  625. input, &gender_)));
  626. set_has_gender();
  627. } else {
  628. goto handle_uninterpreted;
  629. }
  630. if (input->ExpectAtEnd()) return true;
  631. break;
  632. }
  633. default: {
  634. handle_uninterpreted:
  635. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  636. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  637. return true;
  638. }
  639. DO_(::google::protobuf::internal::WireFormat::SkipField(
  640. input, tag, mutable_unknown_fields()));
  641. break;
  642. }
  643. }
  644. }
  645. return true;
  646. #undef DO_
  647. }
  648. void DragonPalaceRankInfo::SerializeWithCachedSizes(
  649. ::google::protobuf::io::CodedOutputStream* output) const {
  650. // optional int32 playerId = 1;
  651. if (has_playerid()) {
  652. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->playerid(), output);
  653. }
  654. // optional string nickName = 2;
  655. if (has_nickname()) {
  656. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  657. this->nickname().data(), this->nickname().length(),
  658. ::google::protobuf::internal::WireFormat::SERIALIZE);
  659. ::google::protobuf::internal::WireFormatLite::WriteString(
  660. 2, this->nickname(), output);
  661. }
  662. // optional int32 gainDimensity = 3;
  663. if (has_gaindimensity()) {
  664. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->gaindimensity(), output);
  665. }
  666. // optional int32 headid = 4;
  667. if (has_headid()) {
  668. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->headid(), output);
  669. }
  670. // optional int32 frameid = 5;
  671. if (has_frameid()) {
  672. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->frameid(), output);
  673. }
  674. // optional int32 gender = 6;
  675. if (has_gender()) {
  676. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->gender(), output);
  677. }
  678. if (!unknown_fields().empty()) {
  679. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  680. unknown_fields(), output);
  681. }
  682. }
  683. ::google::protobuf::uint8* DragonPalaceRankInfo::SerializeWithCachedSizesToArray(
  684. ::google::protobuf::uint8* target) const {
  685. // optional int32 playerId = 1;
  686. if (has_playerid()) {
  687. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->playerid(), target);
  688. }
  689. // optional string nickName = 2;
  690. if (has_nickname()) {
  691. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  692. this->nickname().data(), this->nickname().length(),
  693. ::google::protobuf::internal::WireFormat::SERIALIZE);
  694. target =
  695. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  696. 2, this->nickname(), target);
  697. }
  698. // optional int32 gainDimensity = 3;
  699. if (has_gaindimensity()) {
  700. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->gaindimensity(), target);
  701. }
  702. // optional int32 headid = 4;
  703. if (has_headid()) {
  704. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->headid(), target);
  705. }
  706. // optional int32 frameid = 5;
  707. if (has_frameid()) {
  708. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->frameid(), target);
  709. }
  710. // optional int32 gender = 6;
  711. if (has_gender()) {
  712. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->gender(), target);
  713. }
  714. if (!unknown_fields().empty()) {
  715. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  716. unknown_fields(), target);
  717. }
  718. return target;
  719. }
  720. int DragonPalaceRankInfo::ByteSize() const {
  721. int total_size = 0;
  722. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  723. // optional int32 playerId = 1;
  724. if (has_playerid()) {
  725. total_size += 1 +
  726. ::google::protobuf::internal::WireFormatLite::Int32Size(
  727. this->playerid());
  728. }
  729. // optional string nickName = 2;
  730. if (has_nickname()) {
  731. total_size += 1 +
  732. ::google::protobuf::internal::WireFormatLite::StringSize(
  733. this->nickname());
  734. }
  735. // optional int32 gainDimensity = 3;
  736. if (has_gaindimensity()) {
  737. total_size += 1 +
  738. ::google::protobuf::internal::WireFormatLite::Int32Size(
  739. this->gaindimensity());
  740. }
  741. // optional int32 headid = 4;
  742. if (has_headid()) {
  743. total_size += 1 +
  744. ::google::protobuf::internal::WireFormatLite::Int32Size(
  745. this->headid());
  746. }
  747. // optional int32 frameid = 5;
  748. if (has_frameid()) {
  749. total_size += 1 +
  750. ::google::protobuf::internal::WireFormatLite::Int32Size(
  751. this->frameid());
  752. }
  753. // optional int32 gender = 6;
  754. if (has_gender()) {
  755. total_size += 1 +
  756. ::google::protobuf::internal::WireFormatLite::Int32Size(
  757. this->gender());
  758. }
  759. }
  760. if (!unknown_fields().empty()) {
  761. total_size +=
  762. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  763. unknown_fields());
  764. }
  765. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  766. _cached_size_ = total_size;
  767. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  768. return total_size;
  769. }
  770. void DragonPalaceRankInfo::MergeFrom(const ::google::protobuf::Message& from) {
  771. GOOGLE_CHECK_NE(&from, this);
  772. const DragonPalaceRankInfo* source =
  773. ::google::protobuf::internal::dynamic_cast_if_available<const DragonPalaceRankInfo*>(
  774. &from);
  775. if (source == NULL) {
  776. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  777. } else {
  778. MergeFrom(*source);
  779. }
  780. }
  781. void DragonPalaceRankInfo::MergeFrom(const DragonPalaceRankInfo& from) {
  782. GOOGLE_CHECK_NE(&from, this);
  783. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  784. if (from.has_playerid()) {
  785. set_playerid(from.playerid());
  786. }
  787. if (from.has_nickname()) {
  788. set_nickname(from.nickname());
  789. }
  790. if (from.has_gaindimensity()) {
  791. set_gaindimensity(from.gaindimensity());
  792. }
  793. if (from.has_headid()) {
  794. set_headid(from.headid());
  795. }
  796. if (from.has_frameid()) {
  797. set_frameid(from.frameid());
  798. }
  799. if (from.has_gender()) {
  800. set_gender(from.gender());
  801. }
  802. }
  803. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  804. }
  805. void DragonPalaceRankInfo::CopyFrom(const ::google::protobuf::Message& from) {
  806. if (&from == this) return;
  807. Clear();
  808. MergeFrom(from);
  809. }
  810. void DragonPalaceRankInfo::CopyFrom(const DragonPalaceRankInfo& from) {
  811. if (&from == this) return;
  812. Clear();
  813. MergeFrom(from);
  814. }
  815. bool DragonPalaceRankInfo::IsInitialized() const {
  816. return true;
  817. }
  818. void DragonPalaceRankInfo::Swap(DragonPalaceRankInfo* other) {
  819. if (other != this) {
  820. std::swap(playerid_, other->playerid_);
  821. std::swap(nickname_, other->nickname_);
  822. std::swap(gaindimensity_, other->gaindimensity_);
  823. std::swap(headid_, other->headid_);
  824. std::swap(frameid_, other->frameid_);
  825. std::swap(gender_, other->gender_);
  826. std::swap(_has_bits_[0], other->_has_bits_[0]);
  827. _unknown_fields_.Swap(&other->_unknown_fields_);
  828. std::swap(_cached_size_, other->_cached_size_);
  829. }
  830. }
  831. ::google::protobuf::Metadata DragonPalaceRankInfo::GetMetadata() const {
  832. protobuf_AssignDescriptorsOnce();
  833. ::google::protobuf::Metadata metadata;
  834. metadata.descriptor = DragonPalaceRankInfo_descriptor_;
  835. metadata.reflection = DragonPalaceRankInfo_reflection_;
  836. return metadata;
  837. }
  838. // ===================================================================
  839. #ifndef _MSC_VER
  840. const int packetc2l_get_dragon_palace_info::kPacketIdFieldNumber;
  841. const int packetc2l_get_dragon_palace_info::kIsGetRankInfoFieldNumber;
  842. #endif // !_MSC_VER
  843. packetc2l_get_dragon_palace_info::packetc2l_get_dragon_palace_info()
  844. : ::google::protobuf::Message() {
  845. SharedCtor();
  846. }
  847. void packetc2l_get_dragon_palace_info::InitAsDefaultInstance() {
  848. }
  849. packetc2l_get_dragon_palace_info::packetc2l_get_dragon_palace_info(const packetc2l_get_dragon_palace_info& from)
  850. : ::google::protobuf::Message() {
  851. SharedCtor();
  852. MergeFrom(from);
  853. }
  854. void packetc2l_get_dragon_palace_info::SharedCtor() {
  855. _cached_size_ = 0;
  856. packet_id_ = 10148;
  857. isgetrankinfo_ = false;
  858. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  859. }
  860. packetc2l_get_dragon_palace_info::~packetc2l_get_dragon_palace_info() {
  861. SharedDtor();
  862. }
  863. void packetc2l_get_dragon_palace_info::SharedDtor() {
  864. if (this != default_instance_) {
  865. }
  866. }
  867. void packetc2l_get_dragon_palace_info::SetCachedSize(int size) const {
  868. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  869. _cached_size_ = size;
  870. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  871. }
  872. const ::google::protobuf::Descriptor* packetc2l_get_dragon_palace_info::descriptor() {
  873. protobuf_AssignDescriptorsOnce();
  874. return packetc2l_get_dragon_palace_info_descriptor_;
  875. }
  876. const packetc2l_get_dragon_palace_info& packetc2l_get_dragon_palace_info::default_instance() {
  877. if (default_instance_ == NULL) protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  878. return *default_instance_;
  879. }
  880. packetc2l_get_dragon_palace_info* packetc2l_get_dragon_palace_info::default_instance_ = NULL;
  881. packetc2l_get_dragon_palace_info* packetc2l_get_dragon_palace_info::New() const {
  882. return new packetc2l_get_dragon_palace_info;
  883. }
  884. void packetc2l_get_dragon_palace_info::Clear() {
  885. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  886. packet_id_ = 10148;
  887. isgetrankinfo_ = false;
  888. }
  889. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  890. mutable_unknown_fields()->Clear();
  891. }
  892. bool packetc2l_get_dragon_palace_info::MergePartialFromCodedStream(
  893. ::google::protobuf::io::CodedInputStream* input) {
  894. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  895. ::google::protobuf::uint32 tag;
  896. while ((tag = input->ReadTag()) != 0) {
  897. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  898. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_dragon_palace_info];
  899. case 1: {
  900. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  901. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  902. int value;
  903. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  904. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  905. input, &value)));
  906. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  907. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  908. } else {
  909. mutable_unknown_fields()->AddVarint(1, value);
  910. }
  911. } else {
  912. goto handle_uninterpreted;
  913. }
  914. if (input->ExpectTag(16)) goto parse_isGetRankInfo;
  915. break;
  916. }
  917. // optional bool isGetRankInfo = 2;
  918. case 2: {
  919. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  920. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  921. parse_isGetRankInfo:
  922. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  923. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  924. input, &isgetrankinfo_)));
  925. set_has_isgetrankinfo();
  926. } else {
  927. goto handle_uninterpreted;
  928. }
  929. if (input->ExpectAtEnd()) return true;
  930. break;
  931. }
  932. default: {
  933. handle_uninterpreted:
  934. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  935. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  936. return true;
  937. }
  938. DO_(::google::protobuf::internal::WireFormat::SkipField(
  939. input, tag, mutable_unknown_fields()));
  940. break;
  941. }
  942. }
  943. }
  944. return true;
  945. #undef DO_
  946. }
  947. void packetc2l_get_dragon_palace_info::SerializeWithCachedSizes(
  948. ::google::protobuf::io::CodedOutputStream* output) const {
  949. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_dragon_palace_info];
  950. if (has_packet_id()) {
  951. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  952. 1, this->packet_id(), output);
  953. }
  954. // optional bool isGetRankInfo = 2;
  955. if (has_isgetrankinfo()) {
  956. ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->isgetrankinfo(), output);
  957. }
  958. if (!unknown_fields().empty()) {
  959. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  960. unknown_fields(), output);
  961. }
  962. }
  963. ::google::protobuf::uint8* packetc2l_get_dragon_palace_info::SerializeWithCachedSizesToArray(
  964. ::google::protobuf::uint8* target) const {
  965. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_dragon_palace_info];
  966. if (has_packet_id()) {
  967. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  968. 1, this->packet_id(), target);
  969. }
  970. // optional bool isGetRankInfo = 2;
  971. if (has_isgetrankinfo()) {
  972. target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->isgetrankinfo(), target);
  973. }
  974. if (!unknown_fields().empty()) {
  975. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  976. unknown_fields(), target);
  977. }
  978. return target;
  979. }
  980. int packetc2l_get_dragon_palace_info::ByteSize() const {
  981. int total_size = 0;
  982. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  983. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_dragon_palace_info];
  984. if (has_packet_id()) {
  985. total_size += 1 +
  986. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  987. }
  988. // optional bool isGetRankInfo = 2;
  989. if (has_isgetrankinfo()) {
  990. total_size += 1 + 1;
  991. }
  992. }
  993. if (!unknown_fields().empty()) {
  994. total_size +=
  995. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  996. unknown_fields());
  997. }
  998. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  999. _cached_size_ = total_size;
  1000. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1001. return total_size;
  1002. }
  1003. void packetc2l_get_dragon_palace_info::MergeFrom(const ::google::protobuf::Message& from) {
  1004. GOOGLE_CHECK_NE(&from, this);
  1005. const packetc2l_get_dragon_palace_info* source =
  1006. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_get_dragon_palace_info*>(
  1007. &from);
  1008. if (source == NULL) {
  1009. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  1010. } else {
  1011. MergeFrom(*source);
  1012. }
  1013. }
  1014. void packetc2l_get_dragon_palace_info::MergeFrom(const packetc2l_get_dragon_palace_info& from) {
  1015. GOOGLE_CHECK_NE(&from, this);
  1016. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1017. if (from.has_packet_id()) {
  1018. set_packet_id(from.packet_id());
  1019. }
  1020. if (from.has_isgetrankinfo()) {
  1021. set_isgetrankinfo(from.isgetrankinfo());
  1022. }
  1023. }
  1024. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  1025. }
  1026. void packetc2l_get_dragon_palace_info::CopyFrom(const ::google::protobuf::Message& from) {
  1027. if (&from == this) return;
  1028. Clear();
  1029. MergeFrom(from);
  1030. }
  1031. void packetc2l_get_dragon_palace_info::CopyFrom(const packetc2l_get_dragon_palace_info& from) {
  1032. if (&from == this) return;
  1033. Clear();
  1034. MergeFrom(from);
  1035. }
  1036. bool packetc2l_get_dragon_palace_info::IsInitialized() const {
  1037. return true;
  1038. }
  1039. void packetc2l_get_dragon_palace_info::Swap(packetc2l_get_dragon_palace_info* other) {
  1040. if (other != this) {
  1041. std::swap(packet_id_, other->packet_id_);
  1042. std::swap(isgetrankinfo_, other->isgetrankinfo_);
  1043. std::swap(_has_bits_[0], other->_has_bits_[0]);
  1044. _unknown_fields_.Swap(&other->_unknown_fields_);
  1045. std::swap(_cached_size_, other->_cached_size_);
  1046. }
  1047. }
  1048. ::google::protobuf::Metadata packetc2l_get_dragon_palace_info::GetMetadata() const {
  1049. protobuf_AssignDescriptorsOnce();
  1050. ::google::protobuf::Metadata metadata;
  1051. metadata.descriptor = packetc2l_get_dragon_palace_info_descriptor_;
  1052. metadata.reflection = packetc2l_get_dragon_palace_info_reflection_;
  1053. return metadata;
  1054. }
  1055. // ===================================================================
  1056. #ifndef _MSC_VER
  1057. const int ExchangePriceInfo::kExchangeIdFieldNumber;
  1058. const int ExchangePriceInfo::kPriceFieldNumber;
  1059. #endif // !_MSC_VER
  1060. ExchangePriceInfo::ExchangePriceInfo()
  1061. : ::google::protobuf::Message() {
  1062. SharedCtor();
  1063. }
  1064. void ExchangePriceInfo::InitAsDefaultInstance() {
  1065. }
  1066. ExchangePriceInfo::ExchangePriceInfo(const ExchangePriceInfo& from)
  1067. : ::google::protobuf::Message() {
  1068. SharedCtor();
  1069. MergeFrom(from);
  1070. }
  1071. void ExchangePriceInfo::SharedCtor() {
  1072. _cached_size_ = 0;
  1073. exchangeid_ = 0;
  1074. price_ = 0;
  1075. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1076. }
  1077. ExchangePriceInfo::~ExchangePriceInfo() {
  1078. SharedDtor();
  1079. }
  1080. void ExchangePriceInfo::SharedDtor() {
  1081. if (this != default_instance_) {
  1082. }
  1083. }
  1084. void ExchangePriceInfo::SetCachedSize(int size) const {
  1085. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1086. _cached_size_ = size;
  1087. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1088. }
  1089. const ::google::protobuf::Descriptor* ExchangePriceInfo::descriptor() {
  1090. protobuf_AssignDescriptorsOnce();
  1091. return ExchangePriceInfo_descriptor_;
  1092. }
  1093. const ExchangePriceInfo& ExchangePriceInfo::default_instance() {
  1094. if (default_instance_ == NULL) protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  1095. return *default_instance_;
  1096. }
  1097. ExchangePriceInfo* ExchangePriceInfo::default_instance_ = NULL;
  1098. ExchangePriceInfo* ExchangePriceInfo::New() const {
  1099. return new ExchangePriceInfo;
  1100. }
  1101. void ExchangePriceInfo::Clear() {
  1102. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1103. exchangeid_ = 0;
  1104. price_ = 0;
  1105. }
  1106. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1107. mutable_unknown_fields()->Clear();
  1108. }
  1109. bool ExchangePriceInfo::MergePartialFromCodedStream(
  1110. ::google::protobuf::io::CodedInputStream* input) {
  1111. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  1112. ::google::protobuf::uint32 tag;
  1113. while ((tag = input->ReadTag()) != 0) {
  1114. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1115. // optional int32 exchangeId = 1;
  1116. case 1: {
  1117. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1118. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1119. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1120. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1121. input, &exchangeid_)));
  1122. set_has_exchangeid();
  1123. } else {
  1124. goto handle_uninterpreted;
  1125. }
  1126. if (input->ExpectTag(16)) goto parse_price;
  1127. break;
  1128. }
  1129. // optional int32 price = 2;
  1130. case 2: {
  1131. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1132. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1133. parse_price:
  1134. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1135. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1136. input, &price_)));
  1137. set_has_price();
  1138. } else {
  1139. goto handle_uninterpreted;
  1140. }
  1141. if (input->ExpectAtEnd()) return true;
  1142. break;
  1143. }
  1144. default: {
  1145. handle_uninterpreted:
  1146. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1147. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  1148. return true;
  1149. }
  1150. DO_(::google::protobuf::internal::WireFormat::SkipField(
  1151. input, tag, mutable_unknown_fields()));
  1152. break;
  1153. }
  1154. }
  1155. }
  1156. return true;
  1157. #undef DO_
  1158. }
  1159. void ExchangePriceInfo::SerializeWithCachedSizes(
  1160. ::google::protobuf::io::CodedOutputStream* output) const {
  1161. // optional int32 exchangeId = 1;
  1162. if (has_exchangeid()) {
  1163. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->exchangeid(), output);
  1164. }
  1165. // optional int32 price = 2;
  1166. if (has_price()) {
  1167. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->price(), output);
  1168. }
  1169. if (!unknown_fields().empty()) {
  1170. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  1171. unknown_fields(), output);
  1172. }
  1173. }
  1174. ::google::protobuf::uint8* ExchangePriceInfo::SerializeWithCachedSizesToArray(
  1175. ::google::protobuf::uint8* target) const {
  1176. // optional int32 exchangeId = 1;
  1177. if (has_exchangeid()) {
  1178. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->exchangeid(), target);
  1179. }
  1180. // optional int32 price = 2;
  1181. if (has_price()) {
  1182. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->price(), target);
  1183. }
  1184. if (!unknown_fields().empty()) {
  1185. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  1186. unknown_fields(), target);
  1187. }
  1188. return target;
  1189. }
  1190. int ExchangePriceInfo::ByteSize() const {
  1191. int total_size = 0;
  1192. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1193. // optional int32 exchangeId = 1;
  1194. if (has_exchangeid()) {
  1195. total_size += 1 +
  1196. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1197. this->exchangeid());
  1198. }
  1199. // optional int32 price = 2;
  1200. if (has_price()) {
  1201. total_size += 1 +
  1202. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1203. this->price());
  1204. }
  1205. }
  1206. if (!unknown_fields().empty()) {
  1207. total_size +=
  1208. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  1209. unknown_fields());
  1210. }
  1211. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1212. _cached_size_ = total_size;
  1213. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1214. return total_size;
  1215. }
  1216. void ExchangePriceInfo::MergeFrom(const ::google::protobuf::Message& from) {
  1217. GOOGLE_CHECK_NE(&from, this);
  1218. const ExchangePriceInfo* source =
  1219. ::google::protobuf::internal::dynamic_cast_if_available<const ExchangePriceInfo*>(
  1220. &from);
  1221. if (source == NULL) {
  1222. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  1223. } else {
  1224. MergeFrom(*source);
  1225. }
  1226. }
  1227. void ExchangePriceInfo::MergeFrom(const ExchangePriceInfo& from) {
  1228. GOOGLE_CHECK_NE(&from, this);
  1229. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1230. if (from.has_exchangeid()) {
  1231. set_exchangeid(from.exchangeid());
  1232. }
  1233. if (from.has_price()) {
  1234. set_price(from.price());
  1235. }
  1236. }
  1237. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  1238. }
  1239. void ExchangePriceInfo::CopyFrom(const ::google::protobuf::Message& from) {
  1240. if (&from == this) return;
  1241. Clear();
  1242. MergeFrom(from);
  1243. }
  1244. void ExchangePriceInfo::CopyFrom(const ExchangePriceInfo& from) {
  1245. if (&from == this) return;
  1246. Clear();
  1247. MergeFrom(from);
  1248. }
  1249. bool ExchangePriceInfo::IsInitialized() const {
  1250. return true;
  1251. }
  1252. void ExchangePriceInfo::Swap(ExchangePriceInfo* other) {
  1253. if (other != this) {
  1254. std::swap(exchangeid_, other->exchangeid_);
  1255. std::swap(price_, other->price_);
  1256. std::swap(_has_bits_[0], other->_has_bits_[0]);
  1257. _unknown_fields_.Swap(&other->_unknown_fields_);
  1258. std::swap(_cached_size_, other->_cached_size_);
  1259. }
  1260. }
  1261. ::google::protobuf::Metadata ExchangePriceInfo::GetMetadata() const {
  1262. protobuf_AssignDescriptorsOnce();
  1263. ::google::protobuf::Metadata metadata;
  1264. metadata.descriptor = ExchangePriceInfo_descriptor_;
  1265. metadata.reflection = ExchangePriceInfo_reflection_;
  1266. return metadata;
  1267. }
  1268. // ===================================================================
  1269. #ifndef _MSC_VER
  1270. const int ExchangeItemInfo::kItemidFieldNumber;
  1271. const int ExchangeItemInfo::kItemcountFieldNumber;
  1272. #endif // !_MSC_VER
  1273. ExchangeItemInfo::ExchangeItemInfo()
  1274. : ::google::protobuf::Message() {
  1275. SharedCtor();
  1276. }
  1277. void ExchangeItemInfo::InitAsDefaultInstance() {
  1278. }
  1279. ExchangeItemInfo::ExchangeItemInfo(const ExchangeItemInfo& from)
  1280. : ::google::protobuf::Message() {
  1281. SharedCtor();
  1282. MergeFrom(from);
  1283. }
  1284. void ExchangeItemInfo::SharedCtor() {
  1285. _cached_size_ = 0;
  1286. itemid_ = 0;
  1287. itemcount_ = 0;
  1288. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1289. }
  1290. ExchangeItemInfo::~ExchangeItemInfo() {
  1291. SharedDtor();
  1292. }
  1293. void ExchangeItemInfo::SharedDtor() {
  1294. if (this != default_instance_) {
  1295. }
  1296. }
  1297. void ExchangeItemInfo::SetCachedSize(int size) const {
  1298. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1299. _cached_size_ = size;
  1300. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1301. }
  1302. const ::google::protobuf::Descriptor* ExchangeItemInfo::descriptor() {
  1303. protobuf_AssignDescriptorsOnce();
  1304. return ExchangeItemInfo_descriptor_;
  1305. }
  1306. const ExchangeItemInfo& ExchangeItemInfo::default_instance() {
  1307. if (default_instance_ == NULL) protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  1308. return *default_instance_;
  1309. }
  1310. ExchangeItemInfo* ExchangeItemInfo::default_instance_ = NULL;
  1311. ExchangeItemInfo* ExchangeItemInfo::New() const {
  1312. return new ExchangeItemInfo;
  1313. }
  1314. void ExchangeItemInfo::Clear() {
  1315. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1316. itemid_ = 0;
  1317. itemcount_ = 0;
  1318. }
  1319. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1320. mutable_unknown_fields()->Clear();
  1321. }
  1322. bool ExchangeItemInfo::MergePartialFromCodedStream(
  1323. ::google::protobuf::io::CodedInputStream* input) {
  1324. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  1325. ::google::protobuf::uint32 tag;
  1326. while ((tag = input->ReadTag()) != 0) {
  1327. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1328. // optional int32 itemid = 1;
  1329. case 1: {
  1330. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1331. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1332. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1333. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1334. input, &itemid_)));
  1335. set_has_itemid();
  1336. } else {
  1337. goto handle_uninterpreted;
  1338. }
  1339. if (input->ExpectTag(16)) goto parse_itemcount;
  1340. break;
  1341. }
  1342. // optional int32 itemcount = 2;
  1343. case 2: {
  1344. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1345. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1346. parse_itemcount:
  1347. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1348. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1349. input, &itemcount_)));
  1350. set_has_itemcount();
  1351. } else {
  1352. goto handle_uninterpreted;
  1353. }
  1354. if (input->ExpectAtEnd()) return true;
  1355. break;
  1356. }
  1357. default: {
  1358. handle_uninterpreted:
  1359. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1360. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  1361. return true;
  1362. }
  1363. DO_(::google::protobuf::internal::WireFormat::SkipField(
  1364. input, tag, mutable_unknown_fields()));
  1365. break;
  1366. }
  1367. }
  1368. }
  1369. return true;
  1370. #undef DO_
  1371. }
  1372. void ExchangeItemInfo::SerializeWithCachedSizes(
  1373. ::google::protobuf::io::CodedOutputStream* output) const {
  1374. // optional int32 itemid = 1;
  1375. if (has_itemid()) {
  1376. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->itemid(), output);
  1377. }
  1378. // optional int32 itemcount = 2;
  1379. if (has_itemcount()) {
  1380. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->itemcount(), output);
  1381. }
  1382. if (!unknown_fields().empty()) {
  1383. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  1384. unknown_fields(), output);
  1385. }
  1386. }
  1387. ::google::protobuf::uint8* ExchangeItemInfo::SerializeWithCachedSizesToArray(
  1388. ::google::protobuf::uint8* target) const {
  1389. // optional int32 itemid = 1;
  1390. if (has_itemid()) {
  1391. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->itemid(), target);
  1392. }
  1393. // optional int32 itemcount = 2;
  1394. if (has_itemcount()) {
  1395. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->itemcount(), target);
  1396. }
  1397. if (!unknown_fields().empty()) {
  1398. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  1399. unknown_fields(), target);
  1400. }
  1401. return target;
  1402. }
  1403. int ExchangeItemInfo::ByteSize() const {
  1404. int total_size = 0;
  1405. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1406. // optional int32 itemid = 1;
  1407. if (has_itemid()) {
  1408. total_size += 1 +
  1409. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1410. this->itemid());
  1411. }
  1412. // optional int32 itemcount = 2;
  1413. if (has_itemcount()) {
  1414. total_size += 1 +
  1415. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1416. this->itemcount());
  1417. }
  1418. }
  1419. if (!unknown_fields().empty()) {
  1420. total_size +=
  1421. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  1422. unknown_fields());
  1423. }
  1424. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1425. _cached_size_ = total_size;
  1426. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1427. return total_size;
  1428. }
  1429. void ExchangeItemInfo::MergeFrom(const ::google::protobuf::Message& from) {
  1430. GOOGLE_CHECK_NE(&from, this);
  1431. const ExchangeItemInfo* source =
  1432. ::google::protobuf::internal::dynamic_cast_if_available<const ExchangeItemInfo*>(
  1433. &from);
  1434. if (source == NULL) {
  1435. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  1436. } else {
  1437. MergeFrom(*source);
  1438. }
  1439. }
  1440. void ExchangeItemInfo::MergeFrom(const ExchangeItemInfo& from) {
  1441. GOOGLE_CHECK_NE(&from, this);
  1442. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1443. if (from.has_itemid()) {
  1444. set_itemid(from.itemid());
  1445. }
  1446. if (from.has_itemcount()) {
  1447. set_itemcount(from.itemcount());
  1448. }
  1449. }
  1450. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  1451. }
  1452. void ExchangeItemInfo::CopyFrom(const ::google::protobuf::Message& from) {
  1453. if (&from == this) return;
  1454. Clear();
  1455. MergeFrom(from);
  1456. }
  1457. void ExchangeItemInfo::CopyFrom(const ExchangeItemInfo& from) {
  1458. if (&from == this) return;
  1459. Clear();
  1460. MergeFrom(from);
  1461. }
  1462. bool ExchangeItemInfo::IsInitialized() const {
  1463. return true;
  1464. }
  1465. void ExchangeItemInfo::Swap(ExchangeItemInfo* other) {
  1466. if (other != this) {
  1467. std::swap(itemid_, other->itemid_);
  1468. std::swap(itemcount_, other->itemcount_);
  1469. std::swap(_has_bits_[0], other->_has_bits_[0]);
  1470. _unknown_fields_.Swap(&other->_unknown_fields_);
  1471. std::swap(_cached_size_, other->_cached_size_);
  1472. }
  1473. }
  1474. ::google::protobuf::Metadata ExchangeItemInfo::GetMetadata() const {
  1475. protobuf_AssignDescriptorsOnce();
  1476. ::google::protobuf::Metadata metadata;
  1477. metadata.descriptor = ExchangeItemInfo_descriptor_;
  1478. metadata.reflection = ExchangeItemInfo_reflection_;
  1479. return metadata;
  1480. }
  1481. // ===================================================================
  1482. #ifndef _MSC_VER
  1483. const int packetl2c_get_dragon_palace_info_result::kPacketIdFieldNumber;
  1484. const int packetl2c_get_dragon_palace_info_result::kDimensityCountFieldNumber;
  1485. const int packetl2c_get_dragon_palace_info_result::kExchangeCountFieldNumber;
  1486. const int packetl2c_get_dragon_palace_info_result::kExchangeCountExFieldNumber;
  1487. const int packetl2c_get_dragon_palace_info_result::kDiscountExchangeCountLvFieldNumber;
  1488. const int packetl2c_get_dragon_palace_info_result::kCurRankListFieldNumber;
  1489. const int packetl2c_get_dragon_palace_info_result::kGainDimensityCurWeekFieldNumber;
  1490. const int packetl2c_get_dragon_palace_info_result::kSelfFunBuffListFieldNumber;
  1491. const int packetl2c_get_dragon_palace_info_result::kPriceInfoListFieldNumber;
  1492. const int packetl2c_get_dragon_palace_info_result::kExchangeAddCountFieldNumber;
  1493. const int packetl2c_get_dragon_palace_info_result::kDailyDimensityFieldNumber;
  1494. const int packetl2c_get_dragon_palace_info_result::kDragonSlayerCheckFieldNumber;
  1495. #endif // !_MSC_VER
  1496. packetl2c_get_dragon_palace_info_result::packetl2c_get_dragon_palace_info_result()
  1497. : ::google::protobuf::Message() {
  1498. SharedCtor();
  1499. }
  1500. void packetl2c_get_dragon_palace_info_result::InitAsDefaultInstance() {
  1501. }
  1502. packetl2c_get_dragon_palace_info_result::packetl2c_get_dragon_palace_info_result(const packetl2c_get_dragon_palace_info_result& from)
  1503. : ::google::protobuf::Message() {
  1504. SharedCtor();
  1505. MergeFrom(from);
  1506. }
  1507. void packetl2c_get_dragon_palace_info_result::SharedCtor() {
  1508. _cached_size_ = 0;
  1509. packet_id_ = 16137;
  1510. dimensitycount_ = 0;
  1511. exchangecount_ = 0;
  1512. exchangecountex_ = 0;
  1513. discountexchangecountlv_ = 0;
  1514. gaindimensitycurweek_ = 0;
  1515. exchangeaddcount_ = 0;
  1516. dailydimensity_ = 0;
  1517. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1518. }
  1519. packetl2c_get_dragon_palace_info_result::~packetl2c_get_dragon_palace_info_result() {
  1520. SharedDtor();
  1521. }
  1522. void packetl2c_get_dragon_palace_info_result::SharedDtor() {
  1523. if (this != default_instance_) {
  1524. }
  1525. }
  1526. void packetl2c_get_dragon_palace_info_result::SetCachedSize(int size) const {
  1527. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1528. _cached_size_ = size;
  1529. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1530. }
  1531. const ::google::protobuf::Descriptor* packetl2c_get_dragon_palace_info_result::descriptor() {
  1532. protobuf_AssignDescriptorsOnce();
  1533. return packetl2c_get_dragon_palace_info_result_descriptor_;
  1534. }
  1535. const packetl2c_get_dragon_palace_info_result& packetl2c_get_dragon_palace_info_result::default_instance() {
  1536. if (default_instance_ == NULL) protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  1537. return *default_instance_;
  1538. }
  1539. packetl2c_get_dragon_palace_info_result* packetl2c_get_dragon_palace_info_result::default_instance_ = NULL;
  1540. packetl2c_get_dragon_palace_info_result* packetl2c_get_dragon_palace_info_result::New() const {
  1541. return new packetl2c_get_dragon_palace_info_result;
  1542. }
  1543. void packetl2c_get_dragon_palace_info_result::Clear() {
  1544. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1545. packet_id_ = 16137;
  1546. dimensitycount_ = 0;
  1547. exchangecount_ = 0;
  1548. exchangecountex_ = 0;
  1549. discountexchangecountlv_ = 0;
  1550. gaindimensitycurweek_ = 0;
  1551. }
  1552. if (_has_bits_[9 / 32] & (0xffu << (9 % 32))) {
  1553. exchangeaddcount_ = 0;
  1554. dailydimensity_ = 0;
  1555. }
  1556. curranklist_.Clear();
  1557. selffunbufflist_.Clear();
  1558. priceinfolist_.Clear();
  1559. dragonslayercheck_.Clear();
  1560. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1561. mutable_unknown_fields()->Clear();
  1562. }
  1563. bool packetl2c_get_dragon_palace_info_result::MergePartialFromCodedStream(
  1564. ::google::protobuf::io::CodedInputStream* input) {
  1565. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  1566. ::google::protobuf::uint32 tag;
  1567. while ((tag = input->ReadTag()) != 0) {
  1568. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1569. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_dragon_palace_info_result];
  1570. case 1: {
  1571. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1572. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1573. int value;
  1574. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1575. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  1576. input, &value)));
  1577. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  1578. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  1579. } else {
  1580. mutable_unknown_fields()->AddVarint(1, value);
  1581. }
  1582. } else {
  1583. goto handle_uninterpreted;
  1584. }
  1585. if (input->ExpectTag(16)) goto parse_dimensityCount;
  1586. break;
  1587. }
  1588. // optional int32 dimensityCount = 2;
  1589. case 2: {
  1590. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1591. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1592. parse_dimensityCount:
  1593. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1594. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1595. input, &dimensitycount_)));
  1596. set_has_dimensitycount();
  1597. } else {
  1598. goto handle_uninterpreted;
  1599. }
  1600. if (input->ExpectTag(24)) goto parse_exchangeCount;
  1601. break;
  1602. }
  1603. // optional int32 exchangeCount = 3;
  1604. case 3: {
  1605. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1606. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1607. parse_exchangeCount:
  1608. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1609. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1610. input, &exchangecount_)));
  1611. set_has_exchangecount();
  1612. } else {
  1613. goto handle_uninterpreted;
  1614. }
  1615. if (input->ExpectTag(32)) goto parse_exchangeCountEx;
  1616. break;
  1617. }
  1618. // optional int32 exchangeCountEx = 4;
  1619. case 4: {
  1620. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1621. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1622. parse_exchangeCountEx:
  1623. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1624. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1625. input, &exchangecountex_)));
  1626. set_has_exchangecountex();
  1627. } else {
  1628. goto handle_uninterpreted;
  1629. }
  1630. if (input->ExpectTag(40)) goto parse_discountExchangeCountLv;
  1631. break;
  1632. }
  1633. // optional int32 discountExchangeCountLv = 5;
  1634. case 5: {
  1635. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1636. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1637. parse_discountExchangeCountLv:
  1638. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1639. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1640. input, &discountexchangecountlv_)));
  1641. set_has_discountexchangecountlv();
  1642. } else {
  1643. goto handle_uninterpreted;
  1644. }
  1645. if (input->ExpectTag(50)) goto parse_curRankList;
  1646. break;
  1647. }
  1648. // repeated .fish_protocols.DragonPalaceRankInfo curRankList = 6;
  1649. case 6: {
  1650. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1651. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  1652. parse_curRankList:
  1653. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  1654. input, add_curranklist()));
  1655. } else {
  1656. goto handle_uninterpreted;
  1657. }
  1658. if (input->ExpectTag(50)) goto parse_curRankList;
  1659. if (input->ExpectTag(56)) goto parse_gainDimensityCurWeek;
  1660. break;
  1661. }
  1662. // optional int32 gainDimensityCurWeek = 7;
  1663. case 7: {
  1664. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1665. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1666. parse_gainDimensityCurWeek:
  1667. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1668. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1669. input, &gaindimensitycurweek_)));
  1670. set_has_gaindimensitycurweek();
  1671. } else {
  1672. goto handle_uninterpreted;
  1673. }
  1674. if (input->ExpectTag(66)) goto parse_selfFunBuffList;
  1675. break;
  1676. }
  1677. // repeated .fish_protocols.FunBuff selfFunBuffList = 8;
  1678. case 8: {
  1679. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1680. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  1681. parse_selfFunBuffList:
  1682. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  1683. input, add_selffunbufflist()));
  1684. } else {
  1685. goto handle_uninterpreted;
  1686. }
  1687. if (input->ExpectTag(66)) goto parse_selfFunBuffList;
  1688. if (input->ExpectTag(74)) goto parse_priceInfoList;
  1689. break;
  1690. }
  1691. // repeated .fish_protocols.ExchangePriceInfo priceInfoList = 9;
  1692. case 9: {
  1693. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1694. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  1695. parse_priceInfoList:
  1696. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  1697. input, add_priceinfolist()));
  1698. } else {
  1699. goto handle_uninterpreted;
  1700. }
  1701. if (input->ExpectTag(74)) goto parse_priceInfoList;
  1702. if (input->ExpectTag(80)) goto parse_exchangeAddCount;
  1703. break;
  1704. }
  1705. // optional int32 exchangeAddCount = 10;
  1706. case 10: {
  1707. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1708. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1709. parse_exchangeAddCount:
  1710. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1711. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1712. input, &exchangeaddcount_)));
  1713. set_has_exchangeaddcount();
  1714. } else {
  1715. goto handle_uninterpreted;
  1716. }
  1717. if (input->ExpectTag(88)) goto parse_dailyDimensity;
  1718. break;
  1719. }
  1720. // optional int32 dailyDimensity = 11;
  1721. case 11: {
  1722. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1723. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1724. parse_dailyDimensity:
  1725. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1726. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1727. input, &dailydimensity_)));
  1728. set_has_dailydimensity();
  1729. } else {
  1730. goto handle_uninterpreted;
  1731. }
  1732. if (input->ExpectTag(96)) goto parse_dragonSlayerCheck;
  1733. break;
  1734. }
  1735. // repeated bool dragonSlayerCheck = 12;
  1736. case 12: {
  1737. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1738. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1739. parse_dragonSlayerCheck:
  1740. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  1741. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  1742. 1, 96, input, this->mutable_dragonslayercheck())));
  1743. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  1744. == ::google::protobuf::internal::WireFormatLite::
  1745. WIRETYPE_LENGTH_DELIMITED) {
  1746. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  1747. bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
  1748. input, this->mutable_dragonslayercheck())));
  1749. } else {
  1750. goto handle_uninterpreted;
  1751. }
  1752. if (input->ExpectTag(96)) goto parse_dragonSlayerCheck;
  1753. if (input->ExpectAtEnd()) return true;
  1754. break;
  1755. }
  1756. default: {
  1757. handle_uninterpreted:
  1758. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1759. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  1760. return true;
  1761. }
  1762. DO_(::google::protobuf::internal::WireFormat::SkipField(
  1763. input, tag, mutable_unknown_fields()));
  1764. break;
  1765. }
  1766. }
  1767. }
  1768. return true;
  1769. #undef DO_
  1770. }
  1771. void packetl2c_get_dragon_palace_info_result::SerializeWithCachedSizes(
  1772. ::google::protobuf::io::CodedOutputStream* output) const {
  1773. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_dragon_palace_info_result];
  1774. if (has_packet_id()) {
  1775. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  1776. 1, this->packet_id(), output);
  1777. }
  1778. // optional int32 dimensityCount = 2;
  1779. if (has_dimensitycount()) {
  1780. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->dimensitycount(), output);
  1781. }
  1782. // optional int32 exchangeCount = 3;
  1783. if (has_exchangecount()) {
  1784. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->exchangecount(), output);
  1785. }
  1786. // optional int32 exchangeCountEx = 4;
  1787. if (has_exchangecountex()) {
  1788. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->exchangecountex(), output);
  1789. }
  1790. // optional int32 discountExchangeCountLv = 5;
  1791. if (has_discountexchangecountlv()) {
  1792. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->discountexchangecountlv(), output);
  1793. }
  1794. // repeated .fish_protocols.DragonPalaceRankInfo curRankList = 6;
  1795. for (int i = 0; i < this->curranklist_size(); i++) {
  1796. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  1797. 6, this->curranklist(i), output);
  1798. }
  1799. // optional int32 gainDimensityCurWeek = 7;
  1800. if (has_gaindimensitycurweek()) {
  1801. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->gaindimensitycurweek(), output);
  1802. }
  1803. // repeated .fish_protocols.FunBuff selfFunBuffList = 8;
  1804. for (int i = 0; i < this->selffunbufflist_size(); i++) {
  1805. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  1806. 8, this->selffunbufflist(i), output);
  1807. }
  1808. // repeated .fish_protocols.ExchangePriceInfo priceInfoList = 9;
  1809. for (int i = 0; i < this->priceinfolist_size(); i++) {
  1810. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  1811. 9, this->priceinfolist(i), output);
  1812. }
  1813. // optional int32 exchangeAddCount = 10;
  1814. if (has_exchangeaddcount()) {
  1815. ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->exchangeaddcount(), output);
  1816. }
  1817. // optional int32 dailyDimensity = 11;
  1818. if (has_dailydimensity()) {
  1819. ::google::protobuf::internal::WireFormatLite::WriteInt32(11, this->dailydimensity(), output);
  1820. }
  1821. // repeated bool dragonSlayerCheck = 12;
  1822. for (int i = 0; i < this->dragonslayercheck_size(); i++) {
  1823. ::google::protobuf::internal::WireFormatLite::WriteBool(
  1824. 12, this->dragonslayercheck(i), output);
  1825. }
  1826. if (!unknown_fields().empty()) {
  1827. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  1828. unknown_fields(), output);
  1829. }
  1830. }
  1831. ::google::protobuf::uint8* packetl2c_get_dragon_palace_info_result::SerializeWithCachedSizesToArray(
  1832. ::google::protobuf::uint8* target) const {
  1833. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_dragon_palace_info_result];
  1834. if (has_packet_id()) {
  1835. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  1836. 1, this->packet_id(), target);
  1837. }
  1838. // optional int32 dimensityCount = 2;
  1839. if (has_dimensitycount()) {
  1840. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->dimensitycount(), target);
  1841. }
  1842. // optional int32 exchangeCount = 3;
  1843. if (has_exchangecount()) {
  1844. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->exchangecount(), target);
  1845. }
  1846. // optional int32 exchangeCountEx = 4;
  1847. if (has_exchangecountex()) {
  1848. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->exchangecountex(), target);
  1849. }
  1850. // optional int32 discountExchangeCountLv = 5;
  1851. if (has_discountexchangecountlv()) {
  1852. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->discountexchangecountlv(), target);
  1853. }
  1854. // repeated .fish_protocols.DragonPalaceRankInfo curRankList = 6;
  1855. for (int i = 0; i < this->curranklist_size(); i++) {
  1856. target = ::google::protobuf::internal::WireFormatLite::
  1857. WriteMessageNoVirtualToArray(
  1858. 6, this->curranklist(i), target);
  1859. }
  1860. // optional int32 gainDimensityCurWeek = 7;
  1861. if (has_gaindimensitycurweek()) {
  1862. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->gaindimensitycurweek(), target);
  1863. }
  1864. // repeated .fish_protocols.FunBuff selfFunBuffList = 8;
  1865. for (int i = 0; i < this->selffunbufflist_size(); i++) {
  1866. target = ::google::protobuf::internal::WireFormatLite::
  1867. WriteMessageNoVirtualToArray(
  1868. 8, this->selffunbufflist(i), target);
  1869. }
  1870. // repeated .fish_protocols.ExchangePriceInfo priceInfoList = 9;
  1871. for (int i = 0; i < this->priceinfolist_size(); i++) {
  1872. target = ::google::protobuf::internal::WireFormatLite::
  1873. WriteMessageNoVirtualToArray(
  1874. 9, this->priceinfolist(i), target);
  1875. }
  1876. // optional int32 exchangeAddCount = 10;
  1877. if (has_exchangeaddcount()) {
  1878. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->exchangeaddcount(), target);
  1879. }
  1880. // optional int32 dailyDimensity = 11;
  1881. if (has_dailydimensity()) {
  1882. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(11, this->dailydimensity(), target);
  1883. }
  1884. // repeated bool dragonSlayerCheck = 12;
  1885. for (int i = 0; i < this->dragonslayercheck_size(); i++) {
  1886. target = ::google::protobuf::internal::WireFormatLite::
  1887. WriteBoolToArray(12, this->dragonslayercheck(i), target);
  1888. }
  1889. if (!unknown_fields().empty()) {
  1890. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  1891. unknown_fields(), target);
  1892. }
  1893. return target;
  1894. }
  1895. int packetl2c_get_dragon_palace_info_result::ByteSize() const {
  1896. int total_size = 0;
  1897. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1898. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_dragon_palace_info_result];
  1899. if (has_packet_id()) {
  1900. total_size += 1 +
  1901. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  1902. }
  1903. // optional int32 dimensityCount = 2;
  1904. if (has_dimensitycount()) {
  1905. total_size += 1 +
  1906. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1907. this->dimensitycount());
  1908. }
  1909. // optional int32 exchangeCount = 3;
  1910. if (has_exchangecount()) {
  1911. total_size += 1 +
  1912. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1913. this->exchangecount());
  1914. }
  1915. // optional int32 exchangeCountEx = 4;
  1916. if (has_exchangecountex()) {
  1917. total_size += 1 +
  1918. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1919. this->exchangecountex());
  1920. }
  1921. // optional int32 discountExchangeCountLv = 5;
  1922. if (has_discountexchangecountlv()) {
  1923. total_size += 1 +
  1924. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1925. this->discountexchangecountlv());
  1926. }
  1927. // optional int32 gainDimensityCurWeek = 7;
  1928. if (has_gaindimensitycurweek()) {
  1929. total_size += 1 +
  1930. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1931. this->gaindimensitycurweek());
  1932. }
  1933. }
  1934. if (_has_bits_[9 / 32] & (0xffu << (9 % 32))) {
  1935. // optional int32 exchangeAddCount = 10;
  1936. if (has_exchangeaddcount()) {
  1937. total_size += 1 +
  1938. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1939. this->exchangeaddcount());
  1940. }
  1941. // optional int32 dailyDimensity = 11;
  1942. if (has_dailydimensity()) {
  1943. total_size += 1 +
  1944. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1945. this->dailydimensity());
  1946. }
  1947. }
  1948. // repeated .fish_protocols.DragonPalaceRankInfo curRankList = 6;
  1949. total_size += 1 * this->curranklist_size();
  1950. for (int i = 0; i < this->curranklist_size(); i++) {
  1951. total_size +=
  1952. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  1953. this->curranklist(i));
  1954. }
  1955. // repeated .fish_protocols.FunBuff selfFunBuffList = 8;
  1956. total_size += 1 * this->selffunbufflist_size();
  1957. for (int i = 0; i < this->selffunbufflist_size(); i++) {
  1958. total_size +=
  1959. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  1960. this->selffunbufflist(i));
  1961. }
  1962. // repeated .fish_protocols.ExchangePriceInfo priceInfoList = 9;
  1963. total_size += 1 * this->priceinfolist_size();
  1964. for (int i = 0; i < this->priceinfolist_size(); i++) {
  1965. total_size +=
  1966. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  1967. this->priceinfolist(i));
  1968. }
  1969. // repeated bool dragonSlayerCheck = 12;
  1970. {
  1971. int data_size = 0;
  1972. data_size = 1 * this->dragonslayercheck_size();
  1973. total_size += 1 * this->dragonslayercheck_size() + data_size;
  1974. }
  1975. if (!unknown_fields().empty()) {
  1976. total_size +=
  1977. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  1978. unknown_fields());
  1979. }
  1980. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1981. _cached_size_ = total_size;
  1982. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1983. return total_size;
  1984. }
  1985. void packetl2c_get_dragon_palace_info_result::MergeFrom(const ::google::protobuf::Message& from) {
  1986. GOOGLE_CHECK_NE(&from, this);
  1987. const packetl2c_get_dragon_palace_info_result* source =
  1988. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_get_dragon_palace_info_result*>(
  1989. &from);
  1990. if (source == NULL) {
  1991. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  1992. } else {
  1993. MergeFrom(*source);
  1994. }
  1995. }
  1996. void packetl2c_get_dragon_palace_info_result::MergeFrom(const packetl2c_get_dragon_palace_info_result& from) {
  1997. GOOGLE_CHECK_NE(&from, this);
  1998. curranklist_.MergeFrom(from.curranklist_);
  1999. selffunbufflist_.MergeFrom(from.selffunbufflist_);
  2000. priceinfolist_.MergeFrom(from.priceinfolist_);
  2001. dragonslayercheck_.MergeFrom(from.dragonslayercheck_);
  2002. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2003. if (from.has_packet_id()) {
  2004. set_packet_id(from.packet_id());
  2005. }
  2006. if (from.has_dimensitycount()) {
  2007. set_dimensitycount(from.dimensitycount());
  2008. }
  2009. if (from.has_exchangecount()) {
  2010. set_exchangecount(from.exchangecount());
  2011. }
  2012. if (from.has_exchangecountex()) {
  2013. set_exchangecountex(from.exchangecountex());
  2014. }
  2015. if (from.has_discountexchangecountlv()) {
  2016. set_discountexchangecountlv(from.discountexchangecountlv());
  2017. }
  2018. if (from.has_gaindimensitycurweek()) {
  2019. set_gaindimensitycurweek(from.gaindimensitycurweek());
  2020. }
  2021. }
  2022. if (from._has_bits_[9 / 32] & (0xffu << (9 % 32))) {
  2023. if (from.has_exchangeaddcount()) {
  2024. set_exchangeaddcount(from.exchangeaddcount());
  2025. }
  2026. if (from.has_dailydimensity()) {
  2027. set_dailydimensity(from.dailydimensity());
  2028. }
  2029. }
  2030. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  2031. }
  2032. void packetl2c_get_dragon_palace_info_result::CopyFrom(const ::google::protobuf::Message& from) {
  2033. if (&from == this) return;
  2034. Clear();
  2035. MergeFrom(from);
  2036. }
  2037. void packetl2c_get_dragon_palace_info_result::CopyFrom(const packetl2c_get_dragon_palace_info_result& from) {
  2038. if (&from == this) return;
  2039. Clear();
  2040. MergeFrom(from);
  2041. }
  2042. bool packetl2c_get_dragon_palace_info_result::IsInitialized() const {
  2043. return true;
  2044. }
  2045. void packetl2c_get_dragon_palace_info_result::Swap(packetl2c_get_dragon_palace_info_result* other) {
  2046. if (other != this) {
  2047. std::swap(packet_id_, other->packet_id_);
  2048. std::swap(dimensitycount_, other->dimensitycount_);
  2049. std::swap(exchangecount_, other->exchangecount_);
  2050. std::swap(exchangecountex_, other->exchangecountex_);
  2051. std::swap(discountexchangecountlv_, other->discountexchangecountlv_);
  2052. curranklist_.Swap(&other->curranklist_);
  2053. std::swap(gaindimensitycurweek_, other->gaindimensitycurweek_);
  2054. selffunbufflist_.Swap(&other->selffunbufflist_);
  2055. priceinfolist_.Swap(&other->priceinfolist_);
  2056. std::swap(exchangeaddcount_, other->exchangeaddcount_);
  2057. std::swap(dailydimensity_, other->dailydimensity_);
  2058. dragonslayercheck_.Swap(&other->dragonslayercheck_);
  2059. std::swap(_has_bits_[0], other->_has_bits_[0]);
  2060. _unknown_fields_.Swap(&other->_unknown_fields_);
  2061. std::swap(_cached_size_, other->_cached_size_);
  2062. }
  2063. }
  2064. ::google::protobuf::Metadata packetl2c_get_dragon_palace_info_result::GetMetadata() const {
  2065. protobuf_AssignDescriptorsOnce();
  2066. ::google::protobuf::Metadata metadata;
  2067. metadata.descriptor = packetl2c_get_dragon_palace_info_result_descriptor_;
  2068. metadata.reflection = packetl2c_get_dragon_palace_info_result_reflection_;
  2069. return metadata;
  2070. }
  2071. // ===================================================================
  2072. #ifndef _MSC_VER
  2073. const int packetc2l_get_dragon_palace_rank::kPacketIdFieldNumber;
  2074. const int packetc2l_get_dragon_palace_rank::kRankTypeFieldNumber;
  2075. #endif // !_MSC_VER
  2076. packetc2l_get_dragon_palace_rank::packetc2l_get_dragon_palace_rank()
  2077. : ::google::protobuf::Message() {
  2078. SharedCtor();
  2079. }
  2080. void packetc2l_get_dragon_palace_rank::InitAsDefaultInstance() {
  2081. }
  2082. packetc2l_get_dragon_palace_rank::packetc2l_get_dragon_palace_rank(const packetc2l_get_dragon_palace_rank& from)
  2083. : ::google::protobuf::Message() {
  2084. SharedCtor();
  2085. MergeFrom(from);
  2086. }
  2087. void packetc2l_get_dragon_palace_rank::SharedCtor() {
  2088. _cached_size_ = 0;
  2089. packet_id_ = 10149;
  2090. ranktype_ = 0;
  2091. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2092. }
  2093. packetc2l_get_dragon_palace_rank::~packetc2l_get_dragon_palace_rank() {
  2094. SharedDtor();
  2095. }
  2096. void packetc2l_get_dragon_palace_rank::SharedDtor() {
  2097. if (this != default_instance_) {
  2098. }
  2099. }
  2100. void packetc2l_get_dragon_palace_rank::SetCachedSize(int size) const {
  2101. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2102. _cached_size_ = size;
  2103. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2104. }
  2105. const ::google::protobuf::Descriptor* packetc2l_get_dragon_palace_rank::descriptor() {
  2106. protobuf_AssignDescriptorsOnce();
  2107. return packetc2l_get_dragon_palace_rank_descriptor_;
  2108. }
  2109. const packetc2l_get_dragon_palace_rank& packetc2l_get_dragon_palace_rank::default_instance() {
  2110. if (default_instance_ == NULL) protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  2111. return *default_instance_;
  2112. }
  2113. packetc2l_get_dragon_palace_rank* packetc2l_get_dragon_palace_rank::default_instance_ = NULL;
  2114. packetc2l_get_dragon_palace_rank* packetc2l_get_dragon_palace_rank::New() const {
  2115. return new packetc2l_get_dragon_palace_rank;
  2116. }
  2117. void packetc2l_get_dragon_palace_rank::Clear() {
  2118. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2119. packet_id_ = 10149;
  2120. ranktype_ = 0;
  2121. }
  2122. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2123. mutable_unknown_fields()->Clear();
  2124. }
  2125. bool packetc2l_get_dragon_palace_rank::MergePartialFromCodedStream(
  2126. ::google::protobuf::io::CodedInputStream* input) {
  2127. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  2128. ::google::protobuf::uint32 tag;
  2129. while ((tag = input->ReadTag()) != 0) {
  2130. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2131. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_dragon_palace_rank];
  2132. case 1: {
  2133. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2134. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2135. int value;
  2136. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2137. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  2138. input, &value)));
  2139. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  2140. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  2141. } else {
  2142. mutable_unknown_fields()->AddVarint(1, value);
  2143. }
  2144. } else {
  2145. goto handle_uninterpreted;
  2146. }
  2147. if (input->ExpectTag(16)) goto parse_rankType;
  2148. break;
  2149. }
  2150. // optional int32 rankType = 2;
  2151. case 2: {
  2152. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2153. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2154. parse_rankType:
  2155. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2156. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2157. input, &ranktype_)));
  2158. set_has_ranktype();
  2159. } else {
  2160. goto handle_uninterpreted;
  2161. }
  2162. if (input->ExpectAtEnd()) return true;
  2163. break;
  2164. }
  2165. default: {
  2166. handle_uninterpreted:
  2167. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2168. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2169. return true;
  2170. }
  2171. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2172. input, tag, mutable_unknown_fields()));
  2173. break;
  2174. }
  2175. }
  2176. }
  2177. return true;
  2178. #undef DO_
  2179. }
  2180. void packetc2l_get_dragon_palace_rank::SerializeWithCachedSizes(
  2181. ::google::protobuf::io::CodedOutputStream* output) const {
  2182. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_dragon_palace_rank];
  2183. if (has_packet_id()) {
  2184. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  2185. 1, this->packet_id(), output);
  2186. }
  2187. // optional int32 rankType = 2;
  2188. if (has_ranktype()) {
  2189. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->ranktype(), output);
  2190. }
  2191. if (!unknown_fields().empty()) {
  2192. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2193. unknown_fields(), output);
  2194. }
  2195. }
  2196. ::google::protobuf::uint8* packetc2l_get_dragon_palace_rank::SerializeWithCachedSizesToArray(
  2197. ::google::protobuf::uint8* target) const {
  2198. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_dragon_palace_rank];
  2199. if (has_packet_id()) {
  2200. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  2201. 1, this->packet_id(), target);
  2202. }
  2203. // optional int32 rankType = 2;
  2204. if (has_ranktype()) {
  2205. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->ranktype(), target);
  2206. }
  2207. if (!unknown_fields().empty()) {
  2208. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2209. unknown_fields(), target);
  2210. }
  2211. return target;
  2212. }
  2213. int packetc2l_get_dragon_palace_rank::ByteSize() const {
  2214. int total_size = 0;
  2215. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2216. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_dragon_palace_rank];
  2217. if (has_packet_id()) {
  2218. total_size += 1 +
  2219. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  2220. }
  2221. // optional int32 rankType = 2;
  2222. if (has_ranktype()) {
  2223. total_size += 1 +
  2224. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2225. this->ranktype());
  2226. }
  2227. }
  2228. if (!unknown_fields().empty()) {
  2229. total_size +=
  2230. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2231. unknown_fields());
  2232. }
  2233. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2234. _cached_size_ = total_size;
  2235. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2236. return total_size;
  2237. }
  2238. void packetc2l_get_dragon_palace_rank::MergeFrom(const ::google::protobuf::Message& from) {
  2239. GOOGLE_CHECK_NE(&from, this);
  2240. const packetc2l_get_dragon_palace_rank* source =
  2241. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_get_dragon_palace_rank*>(
  2242. &from);
  2243. if (source == NULL) {
  2244. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2245. } else {
  2246. MergeFrom(*source);
  2247. }
  2248. }
  2249. void packetc2l_get_dragon_palace_rank::MergeFrom(const packetc2l_get_dragon_palace_rank& from) {
  2250. GOOGLE_CHECK_NE(&from, this);
  2251. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2252. if (from.has_packet_id()) {
  2253. set_packet_id(from.packet_id());
  2254. }
  2255. if (from.has_ranktype()) {
  2256. set_ranktype(from.ranktype());
  2257. }
  2258. }
  2259. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  2260. }
  2261. void packetc2l_get_dragon_palace_rank::CopyFrom(const ::google::protobuf::Message& from) {
  2262. if (&from == this) return;
  2263. Clear();
  2264. MergeFrom(from);
  2265. }
  2266. void packetc2l_get_dragon_palace_rank::CopyFrom(const packetc2l_get_dragon_palace_rank& from) {
  2267. if (&from == this) return;
  2268. Clear();
  2269. MergeFrom(from);
  2270. }
  2271. bool packetc2l_get_dragon_palace_rank::IsInitialized() const {
  2272. return true;
  2273. }
  2274. void packetc2l_get_dragon_palace_rank::Swap(packetc2l_get_dragon_palace_rank* other) {
  2275. if (other != this) {
  2276. std::swap(packet_id_, other->packet_id_);
  2277. std::swap(ranktype_, other->ranktype_);
  2278. std::swap(_has_bits_[0], other->_has_bits_[0]);
  2279. _unknown_fields_.Swap(&other->_unknown_fields_);
  2280. std::swap(_cached_size_, other->_cached_size_);
  2281. }
  2282. }
  2283. ::google::protobuf::Metadata packetc2l_get_dragon_palace_rank::GetMetadata() const {
  2284. protobuf_AssignDescriptorsOnce();
  2285. ::google::protobuf::Metadata metadata;
  2286. metadata.descriptor = packetc2l_get_dragon_palace_rank_descriptor_;
  2287. metadata.reflection = packetc2l_get_dragon_palace_rank_reflection_;
  2288. return metadata;
  2289. }
  2290. // ===================================================================
  2291. #ifndef _MSC_VER
  2292. const int packetl2c_get_dragon_palace_rank_result::kPacketIdFieldNumber;
  2293. const int packetl2c_get_dragon_palace_rank_result::kRankTypeFieldNumber;
  2294. const int packetl2c_get_dragon_palace_rank_result::kRankListFieldNumber;
  2295. #endif // !_MSC_VER
  2296. packetl2c_get_dragon_palace_rank_result::packetl2c_get_dragon_palace_rank_result()
  2297. : ::google::protobuf::Message() {
  2298. SharedCtor();
  2299. }
  2300. void packetl2c_get_dragon_palace_rank_result::InitAsDefaultInstance() {
  2301. }
  2302. packetl2c_get_dragon_palace_rank_result::packetl2c_get_dragon_palace_rank_result(const packetl2c_get_dragon_palace_rank_result& from)
  2303. : ::google::protobuf::Message() {
  2304. SharedCtor();
  2305. MergeFrom(from);
  2306. }
  2307. void packetl2c_get_dragon_palace_rank_result::SharedCtor() {
  2308. _cached_size_ = 0;
  2309. packet_id_ = 16138;
  2310. ranktype_ = 0;
  2311. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2312. }
  2313. packetl2c_get_dragon_palace_rank_result::~packetl2c_get_dragon_palace_rank_result() {
  2314. SharedDtor();
  2315. }
  2316. void packetl2c_get_dragon_palace_rank_result::SharedDtor() {
  2317. if (this != default_instance_) {
  2318. }
  2319. }
  2320. void packetl2c_get_dragon_palace_rank_result::SetCachedSize(int size) const {
  2321. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2322. _cached_size_ = size;
  2323. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2324. }
  2325. const ::google::protobuf::Descriptor* packetl2c_get_dragon_palace_rank_result::descriptor() {
  2326. protobuf_AssignDescriptorsOnce();
  2327. return packetl2c_get_dragon_palace_rank_result_descriptor_;
  2328. }
  2329. const packetl2c_get_dragon_palace_rank_result& packetl2c_get_dragon_palace_rank_result::default_instance() {
  2330. if (default_instance_ == NULL) protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  2331. return *default_instance_;
  2332. }
  2333. packetl2c_get_dragon_palace_rank_result* packetl2c_get_dragon_palace_rank_result::default_instance_ = NULL;
  2334. packetl2c_get_dragon_palace_rank_result* packetl2c_get_dragon_palace_rank_result::New() const {
  2335. return new packetl2c_get_dragon_palace_rank_result;
  2336. }
  2337. void packetl2c_get_dragon_palace_rank_result::Clear() {
  2338. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2339. packet_id_ = 16138;
  2340. ranktype_ = 0;
  2341. }
  2342. ranklist_.Clear();
  2343. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2344. mutable_unknown_fields()->Clear();
  2345. }
  2346. bool packetl2c_get_dragon_palace_rank_result::MergePartialFromCodedStream(
  2347. ::google::protobuf::io::CodedInputStream* input) {
  2348. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  2349. ::google::protobuf::uint32 tag;
  2350. while ((tag = input->ReadTag()) != 0) {
  2351. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2352. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_dragon_palace_rank_result];
  2353. case 1: {
  2354. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2355. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2356. int value;
  2357. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2358. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  2359. input, &value)));
  2360. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  2361. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  2362. } else {
  2363. mutable_unknown_fields()->AddVarint(1, value);
  2364. }
  2365. } else {
  2366. goto handle_uninterpreted;
  2367. }
  2368. if (input->ExpectTag(16)) goto parse_rankType;
  2369. break;
  2370. }
  2371. // optional int32 rankType = 2;
  2372. case 2: {
  2373. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2374. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2375. parse_rankType:
  2376. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2377. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2378. input, &ranktype_)));
  2379. set_has_ranktype();
  2380. } else {
  2381. goto handle_uninterpreted;
  2382. }
  2383. if (input->ExpectTag(26)) goto parse_rankList;
  2384. break;
  2385. }
  2386. // repeated .fish_protocols.DragonPalaceRankInfo rankList = 3;
  2387. case 3: {
  2388. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2389. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  2390. parse_rankList:
  2391. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  2392. input, add_ranklist()));
  2393. } else {
  2394. goto handle_uninterpreted;
  2395. }
  2396. if (input->ExpectTag(26)) goto parse_rankList;
  2397. if (input->ExpectAtEnd()) return true;
  2398. break;
  2399. }
  2400. default: {
  2401. handle_uninterpreted:
  2402. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2403. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2404. return true;
  2405. }
  2406. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2407. input, tag, mutable_unknown_fields()));
  2408. break;
  2409. }
  2410. }
  2411. }
  2412. return true;
  2413. #undef DO_
  2414. }
  2415. void packetl2c_get_dragon_palace_rank_result::SerializeWithCachedSizes(
  2416. ::google::protobuf::io::CodedOutputStream* output) const {
  2417. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_dragon_palace_rank_result];
  2418. if (has_packet_id()) {
  2419. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  2420. 1, this->packet_id(), output);
  2421. }
  2422. // optional int32 rankType = 2;
  2423. if (has_ranktype()) {
  2424. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->ranktype(), output);
  2425. }
  2426. // repeated .fish_protocols.DragonPalaceRankInfo rankList = 3;
  2427. for (int i = 0; i < this->ranklist_size(); i++) {
  2428. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2429. 3, this->ranklist(i), output);
  2430. }
  2431. if (!unknown_fields().empty()) {
  2432. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2433. unknown_fields(), output);
  2434. }
  2435. }
  2436. ::google::protobuf::uint8* packetl2c_get_dragon_palace_rank_result::SerializeWithCachedSizesToArray(
  2437. ::google::protobuf::uint8* target) const {
  2438. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_dragon_palace_rank_result];
  2439. if (has_packet_id()) {
  2440. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  2441. 1, this->packet_id(), target);
  2442. }
  2443. // optional int32 rankType = 2;
  2444. if (has_ranktype()) {
  2445. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->ranktype(), target);
  2446. }
  2447. // repeated .fish_protocols.DragonPalaceRankInfo rankList = 3;
  2448. for (int i = 0; i < this->ranklist_size(); i++) {
  2449. target = ::google::protobuf::internal::WireFormatLite::
  2450. WriteMessageNoVirtualToArray(
  2451. 3, this->ranklist(i), target);
  2452. }
  2453. if (!unknown_fields().empty()) {
  2454. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2455. unknown_fields(), target);
  2456. }
  2457. return target;
  2458. }
  2459. int packetl2c_get_dragon_palace_rank_result::ByteSize() const {
  2460. int total_size = 0;
  2461. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2462. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_dragon_palace_rank_result];
  2463. if (has_packet_id()) {
  2464. total_size += 1 +
  2465. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  2466. }
  2467. // optional int32 rankType = 2;
  2468. if (has_ranktype()) {
  2469. total_size += 1 +
  2470. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2471. this->ranktype());
  2472. }
  2473. }
  2474. // repeated .fish_protocols.DragonPalaceRankInfo rankList = 3;
  2475. total_size += 1 * this->ranklist_size();
  2476. for (int i = 0; i < this->ranklist_size(); i++) {
  2477. total_size +=
  2478. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  2479. this->ranklist(i));
  2480. }
  2481. if (!unknown_fields().empty()) {
  2482. total_size +=
  2483. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2484. unknown_fields());
  2485. }
  2486. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2487. _cached_size_ = total_size;
  2488. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2489. return total_size;
  2490. }
  2491. void packetl2c_get_dragon_palace_rank_result::MergeFrom(const ::google::protobuf::Message& from) {
  2492. GOOGLE_CHECK_NE(&from, this);
  2493. const packetl2c_get_dragon_palace_rank_result* source =
  2494. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_get_dragon_palace_rank_result*>(
  2495. &from);
  2496. if (source == NULL) {
  2497. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2498. } else {
  2499. MergeFrom(*source);
  2500. }
  2501. }
  2502. void packetl2c_get_dragon_palace_rank_result::MergeFrom(const packetl2c_get_dragon_palace_rank_result& from) {
  2503. GOOGLE_CHECK_NE(&from, this);
  2504. ranklist_.MergeFrom(from.ranklist_);
  2505. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2506. if (from.has_packet_id()) {
  2507. set_packet_id(from.packet_id());
  2508. }
  2509. if (from.has_ranktype()) {
  2510. set_ranktype(from.ranktype());
  2511. }
  2512. }
  2513. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  2514. }
  2515. void packetl2c_get_dragon_palace_rank_result::CopyFrom(const ::google::protobuf::Message& from) {
  2516. if (&from == this) return;
  2517. Clear();
  2518. MergeFrom(from);
  2519. }
  2520. void packetl2c_get_dragon_palace_rank_result::CopyFrom(const packetl2c_get_dragon_palace_rank_result& from) {
  2521. if (&from == this) return;
  2522. Clear();
  2523. MergeFrom(from);
  2524. }
  2525. bool packetl2c_get_dragon_palace_rank_result::IsInitialized() const {
  2526. return true;
  2527. }
  2528. void packetl2c_get_dragon_palace_rank_result::Swap(packetl2c_get_dragon_palace_rank_result* other) {
  2529. if (other != this) {
  2530. std::swap(packet_id_, other->packet_id_);
  2531. std::swap(ranktype_, other->ranktype_);
  2532. ranklist_.Swap(&other->ranklist_);
  2533. std::swap(_has_bits_[0], other->_has_bits_[0]);
  2534. _unknown_fields_.Swap(&other->_unknown_fields_);
  2535. std::swap(_cached_size_, other->_cached_size_);
  2536. }
  2537. }
  2538. ::google::protobuf::Metadata packetl2c_get_dragon_palace_rank_result::GetMetadata() const {
  2539. protobuf_AssignDescriptorsOnce();
  2540. ::google::protobuf::Metadata metadata;
  2541. metadata.descriptor = packetl2c_get_dragon_palace_rank_result_descriptor_;
  2542. metadata.reflection = packetl2c_get_dragon_palace_rank_result_reflection_;
  2543. return metadata;
  2544. }
  2545. // ===================================================================
  2546. #ifndef _MSC_VER
  2547. const int packetc2l_dragon_palace_exchange::kPacketIdFieldNumber;
  2548. const int packetc2l_dragon_palace_exchange::kExchangeIdFieldNumber;
  2549. const int packetc2l_dragon_palace_exchange::kExchangeCountFieldNumber;
  2550. #endif // !_MSC_VER
  2551. packetc2l_dragon_palace_exchange::packetc2l_dragon_palace_exchange()
  2552. : ::google::protobuf::Message() {
  2553. SharedCtor();
  2554. }
  2555. void packetc2l_dragon_palace_exchange::InitAsDefaultInstance() {
  2556. }
  2557. packetc2l_dragon_palace_exchange::packetc2l_dragon_palace_exchange(const packetc2l_dragon_palace_exchange& from)
  2558. : ::google::protobuf::Message() {
  2559. SharedCtor();
  2560. MergeFrom(from);
  2561. }
  2562. void packetc2l_dragon_palace_exchange::SharedCtor() {
  2563. _cached_size_ = 0;
  2564. packet_id_ = 10150;
  2565. exchangeid_ = 0;
  2566. exchangecount_ = 0;
  2567. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2568. }
  2569. packetc2l_dragon_palace_exchange::~packetc2l_dragon_palace_exchange() {
  2570. SharedDtor();
  2571. }
  2572. void packetc2l_dragon_palace_exchange::SharedDtor() {
  2573. if (this != default_instance_) {
  2574. }
  2575. }
  2576. void packetc2l_dragon_palace_exchange::SetCachedSize(int size) const {
  2577. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2578. _cached_size_ = size;
  2579. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2580. }
  2581. const ::google::protobuf::Descriptor* packetc2l_dragon_palace_exchange::descriptor() {
  2582. protobuf_AssignDescriptorsOnce();
  2583. return packetc2l_dragon_palace_exchange_descriptor_;
  2584. }
  2585. const packetc2l_dragon_palace_exchange& packetc2l_dragon_palace_exchange::default_instance() {
  2586. if (default_instance_ == NULL) protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  2587. return *default_instance_;
  2588. }
  2589. packetc2l_dragon_palace_exchange* packetc2l_dragon_palace_exchange::default_instance_ = NULL;
  2590. packetc2l_dragon_palace_exchange* packetc2l_dragon_palace_exchange::New() const {
  2591. return new packetc2l_dragon_palace_exchange;
  2592. }
  2593. void packetc2l_dragon_palace_exchange::Clear() {
  2594. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2595. packet_id_ = 10150;
  2596. exchangeid_ = 0;
  2597. exchangecount_ = 0;
  2598. }
  2599. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2600. mutable_unknown_fields()->Clear();
  2601. }
  2602. bool packetc2l_dragon_palace_exchange::MergePartialFromCodedStream(
  2603. ::google::protobuf::io::CodedInputStream* input) {
  2604. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  2605. ::google::protobuf::uint32 tag;
  2606. while ((tag = input->ReadTag()) != 0) {
  2607. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2608. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_dragon_palace_exchange];
  2609. case 1: {
  2610. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2611. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2612. int value;
  2613. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2614. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  2615. input, &value)));
  2616. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  2617. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  2618. } else {
  2619. mutable_unknown_fields()->AddVarint(1, value);
  2620. }
  2621. } else {
  2622. goto handle_uninterpreted;
  2623. }
  2624. if (input->ExpectTag(16)) goto parse_exchangeId;
  2625. break;
  2626. }
  2627. // optional int32 exchangeId = 2;
  2628. case 2: {
  2629. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2630. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2631. parse_exchangeId:
  2632. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2633. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2634. input, &exchangeid_)));
  2635. set_has_exchangeid();
  2636. } else {
  2637. goto handle_uninterpreted;
  2638. }
  2639. if (input->ExpectTag(24)) goto parse_exchangeCount;
  2640. break;
  2641. }
  2642. // optional int32 exchangeCount = 3;
  2643. case 3: {
  2644. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2645. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2646. parse_exchangeCount:
  2647. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2648. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2649. input, &exchangecount_)));
  2650. set_has_exchangecount();
  2651. } else {
  2652. goto handle_uninterpreted;
  2653. }
  2654. if (input->ExpectAtEnd()) return true;
  2655. break;
  2656. }
  2657. default: {
  2658. handle_uninterpreted:
  2659. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2660. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2661. return true;
  2662. }
  2663. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2664. input, tag, mutable_unknown_fields()));
  2665. break;
  2666. }
  2667. }
  2668. }
  2669. return true;
  2670. #undef DO_
  2671. }
  2672. void packetc2l_dragon_palace_exchange::SerializeWithCachedSizes(
  2673. ::google::protobuf::io::CodedOutputStream* output) const {
  2674. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_dragon_palace_exchange];
  2675. if (has_packet_id()) {
  2676. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  2677. 1, this->packet_id(), output);
  2678. }
  2679. // optional int32 exchangeId = 2;
  2680. if (has_exchangeid()) {
  2681. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->exchangeid(), output);
  2682. }
  2683. // optional int32 exchangeCount = 3;
  2684. if (has_exchangecount()) {
  2685. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->exchangecount(), output);
  2686. }
  2687. if (!unknown_fields().empty()) {
  2688. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2689. unknown_fields(), output);
  2690. }
  2691. }
  2692. ::google::protobuf::uint8* packetc2l_dragon_palace_exchange::SerializeWithCachedSizesToArray(
  2693. ::google::protobuf::uint8* target) const {
  2694. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_dragon_palace_exchange];
  2695. if (has_packet_id()) {
  2696. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  2697. 1, this->packet_id(), target);
  2698. }
  2699. // optional int32 exchangeId = 2;
  2700. if (has_exchangeid()) {
  2701. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->exchangeid(), target);
  2702. }
  2703. // optional int32 exchangeCount = 3;
  2704. if (has_exchangecount()) {
  2705. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->exchangecount(), target);
  2706. }
  2707. if (!unknown_fields().empty()) {
  2708. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2709. unknown_fields(), target);
  2710. }
  2711. return target;
  2712. }
  2713. int packetc2l_dragon_palace_exchange::ByteSize() const {
  2714. int total_size = 0;
  2715. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2716. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_dragon_palace_exchange];
  2717. if (has_packet_id()) {
  2718. total_size += 1 +
  2719. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  2720. }
  2721. // optional int32 exchangeId = 2;
  2722. if (has_exchangeid()) {
  2723. total_size += 1 +
  2724. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2725. this->exchangeid());
  2726. }
  2727. // optional int32 exchangeCount = 3;
  2728. if (has_exchangecount()) {
  2729. total_size += 1 +
  2730. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2731. this->exchangecount());
  2732. }
  2733. }
  2734. if (!unknown_fields().empty()) {
  2735. total_size +=
  2736. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2737. unknown_fields());
  2738. }
  2739. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2740. _cached_size_ = total_size;
  2741. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2742. return total_size;
  2743. }
  2744. void packetc2l_dragon_palace_exchange::MergeFrom(const ::google::protobuf::Message& from) {
  2745. GOOGLE_CHECK_NE(&from, this);
  2746. const packetc2l_dragon_palace_exchange* source =
  2747. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_dragon_palace_exchange*>(
  2748. &from);
  2749. if (source == NULL) {
  2750. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2751. } else {
  2752. MergeFrom(*source);
  2753. }
  2754. }
  2755. void packetc2l_dragon_palace_exchange::MergeFrom(const packetc2l_dragon_palace_exchange& from) {
  2756. GOOGLE_CHECK_NE(&from, this);
  2757. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2758. if (from.has_packet_id()) {
  2759. set_packet_id(from.packet_id());
  2760. }
  2761. if (from.has_exchangeid()) {
  2762. set_exchangeid(from.exchangeid());
  2763. }
  2764. if (from.has_exchangecount()) {
  2765. set_exchangecount(from.exchangecount());
  2766. }
  2767. }
  2768. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  2769. }
  2770. void packetc2l_dragon_palace_exchange::CopyFrom(const ::google::protobuf::Message& from) {
  2771. if (&from == this) return;
  2772. Clear();
  2773. MergeFrom(from);
  2774. }
  2775. void packetc2l_dragon_palace_exchange::CopyFrom(const packetc2l_dragon_palace_exchange& from) {
  2776. if (&from == this) return;
  2777. Clear();
  2778. MergeFrom(from);
  2779. }
  2780. bool packetc2l_dragon_palace_exchange::IsInitialized() const {
  2781. return true;
  2782. }
  2783. void packetc2l_dragon_palace_exchange::Swap(packetc2l_dragon_palace_exchange* other) {
  2784. if (other != this) {
  2785. std::swap(packet_id_, other->packet_id_);
  2786. std::swap(exchangeid_, other->exchangeid_);
  2787. std::swap(exchangecount_, other->exchangecount_);
  2788. std::swap(_has_bits_[0], other->_has_bits_[0]);
  2789. _unknown_fields_.Swap(&other->_unknown_fields_);
  2790. std::swap(_cached_size_, other->_cached_size_);
  2791. }
  2792. }
  2793. ::google::protobuf::Metadata packetc2l_dragon_palace_exchange::GetMetadata() const {
  2794. protobuf_AssignDescriptorsOnce();
  2795. ::google::protobuf::Metadata metadata;
  2796. metadata.descriptor = packetc2l_dragon_palace_exchange_descriptor_;
  2797. metadata.reflection = packetc2l_dragon_palace_exchange_reflection_;
  2798. return metadata;
  2799. }
  2800. // ===================================================================
  2801. #ifndef _MSC_VER
  2802. const int packetl2c_dragon_palace_exchange_result::kPacketIdFieldNumber;
  2803. const int packetl2c_dragon_palace_exchange_result::kResultFieldNumber;
  2804. const int packetl2c_dragon_palace_exchange_result::kExchangeItemsFieldNumber;
  2805. const int packetl2c_dragon_palace_exchange_result::kPriceInfoListFieldNumber;
  2806. const int packetl2c_dragon_palace_exchange_result::kNextPriceFieldNumber;
  2807. #endif // !_MSC_VER
  2808. packetl2c_dragon_palace_exchange_result::packetl2c_dragon_palace_exchange_result()
  2809. : ::google::protobuf::Message() {
  2810. SharedCtor();
  2811. }
  2812. void packetl2c_dragon_palace_exchange_result::InitAsDefaultInstance() {
  2813. }
  2814. packetl2c_dragon_palace_exchange_result::packetl2c_dragon_palace_exchange_result(const packetl2c_dragon_palace_exchange_result& from)
  2815. : ::google::protobuf::Message() {
  2816. SharedCtor();
  2817. MergeFrom(from);
  2818. }
  2819. void packetl2c_dragon_palace_exchange_result::SharedCtor() {
  2820. _cached_size_ = 0;
  2821. packet_id_ = 16139;
  2822. result_ = 0;
  2823. nextprice_ = 0;
  2824. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2825. }
  2826. packetl2c_dragon_palace_exchange_result::~packetl2c_dragon_palace_exchange_result() {
  2827. SharedDtor();
  2828. }
  2829. void packetl2c_dragon_palace_exchange_result::SharedDtor() {
  2830. if (this != default_instance_) {
  2831. }
  2832. }
  2833. void packetl2c_dragon_palace_exchange_result::SetCachedSize(int size) const {
  2834. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2835. _cached_size_ = size;
  2836. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2837. }
  2838. const ::google::protobuf::Descriptor* packetl2c_dragon_palace_exchange_result::descriptor() {
  2839. protobuf_AssignDescriptorsOnce();
  2840. return packetl2c_dragon_palace_exchange_result_descriptor_;
  2841. }
  2842. const packetl2c_dragon_palace_exchange_result& packetl2c_dragon_palace_exchange_result::default_instance() {
  2843. if (default_instance_ == NULL) protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  2844. return *default_instance_;
  2845. }
  2846. packetl2c_dragon_palace_exchange_result* packetl2c_dragon_palace_exchange_result::default_instance_ = NULL;
  2847. packetl2c_dragon_palace_exchange_result* packetl2c_dragon_palace_exchange_result::New() const {
  2848. return new packetl2c_dragon_palace_exchange_result;
  2849. }
  2850. void packetl2c_dragon_palace_exchange_result::Clear() {
  2851. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2852. packet_id_ = 16139;
  2853. result_ = 0;
  2854. nextprice_ = 0;
  2855. }
  2856. exchangeitems_.Clear();
  2857. priceinfolist_.Clear();
  2858. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2859. mutable_unknown_fields()->Clear();
  2860. }
  2861. bool packetl2c_dragon_palace_exchange_result::MergePartialFromCodedStream(
  2862. ::google::protobuf::io::CodedInputStream* input) {
  2863. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  2864. ::google::protobuf::uint32 tag;
  2865. while ((tag = input->ReadTag()) != 0) {
  2866. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2867. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_dragon_palace_exchange_result];
  2868. case 1: {
  2869. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2870. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2871. int value;
  2872. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2873. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  2874. input, &value)));
  2875. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  2876. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  2877. } else {
  2878. mutable_unknown_fields()->AddVarint(1, value);
  2879. }
  2880. } else {
  2881. goto handle_uninterpreted;
  2882. }
  2883. if (input->ExpectTag(16)) goto parse_result;
  2884. break;
  2885. }
  2886. // optional int32 result = 2;
  2887. case 2: {
  2888. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2889. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2890. parse_result:
  2891. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2892. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2893. input, &result_)));
  2894. set_has_result();
  2895. } else {
  2896. goto handle_uninterpreted;
  2897. }
  2898. if (input->ExpectTag(26)) goto parse_exchangeItems;
  2899. break;
  2900. }
  2901. // repeated .fish_protocols.ExchangeItemInfo exchangeItems = 3;
  2902. case 3: {
  2903. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2904. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  2905. parse_exchangeItems:
  2906. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  2907. input, add_exchangeitems()));
  2908. } else {
  2909. goto handle_uninterpreted;
  2910. }
  2911. if (input->ExpectTag(26)) goto parse_exchangeItems;
  2912. if (input->ExpectTag(34)) goto parse_priceInfoList;
  2913. break;
  2914. }
  2915. // repeated .fish_protocols.ExchangePriceInfo priceInfoList = 4;
  2916. case 4: {
  2917. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2918. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  2919. parse_priceInfoList:
  2920. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  2921. input, add_priceinfolist()));
  2922. } else {
  2923. goto handle_uninterpreted;
  2924. }
  2925. if (input->ExpectTag(34)) goto parse_priceInfoList;
  2926. if (input->ExpectTag(40)) goto parse_nextPrice;
  2927. break;
  2928. }
  2929. // optional int32 nextPrice = 5;
  2930. case 5: {
  2931. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2932. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2933. parse_nextPrice:
  2934. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2935. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2936. input, &nextprice_)));
  2937. set_has_nextprice();
  2938. } else {
  2939. goto handle_uninterpreted;
  2940. }
  2941. if (input->ExpectAtEnd()) return true;
  2942. break;
  2943. }
  2944. default: {
  2945. handle_uninterpreted:
  2946. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2947. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2948. return true;
  2949. }
  2950. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2951. input, tag, mutable_unknown_fields()));
  2952. break;
  2953. }
  2954. }
  2955. }
  2956. return true;
  2957. #undef DO_
  2958. }
  2959. void packetl2c_dragon_palace_exchange_result::SerializeWithCachedSizes(
  2960. ::google::protobuf::io::CodedOutputStream* output) const {
  2961. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_dragon_palace_exchange_result];
  2962. if (has_packet_id()) {
  2963. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  2964. 1, this->packet_id(), output);
  2965. }
  2966. // optional int32 result = 2;
  2967. if (has_result()) {
  2968. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  2969. }
  2970. // repeated .fish_protocols.ExchangeItemInfo exchangeItems = 3;
  2971. for (int i = 0; i < this->exchangeitems_size(); i++) {
  2972. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2973. 3, this->exchangeitems(i), output);
  2974. }
  2975. // repeated .fish_protocols.ExchangePriceInfo priceInfoList = 4;
  2976. for (int i = 0; i < this->priceinfolist_size(); i++) {
  2977. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2978. 4, this->priceinfolist(i), output);
  2979. }
  2980. // optional int32 nextPrice = 5;
  2981. if (has_nextprice()) {
  2982. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->nextprice(), output);
  2983. }
  2984. if (!unknown_fields().empty()) {
  2985. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2986. unknown_fields(), output);
  2987. }
  2988. }
  2989. ::google::protobuf::uint8* packetl2c_dragon_palace_exchange_result::SerializeWithCachedSizesToArray(
  2990. ::google::protobuf::uint8* target) const {
  2991. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_dragon_palace_exchange_result];
  2992. if (has_packet_id()) {
  2993. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  2994. 1, this->packet_id(), target);
  2995. }
  2996. // optional int32 result = 2;
  2997. if (has_result()) {
  2998. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  2999. }
  3000. // repeated .fish_protocols.ExchangeItemInfo exchangeItems = 3;
  3001. for (int i = 0; i < this->exchangeitems_size(); i++) {
  3002. target = ::google::protobuf::internal::WireFormatLite::
  3003. WriteMessageNoVirtualToArray(
  3004. 3, this->exchangeitems(i), target);
  3005. }
  3006. // repeated .fish_protocols.ExchangePriceInfo priceInfoList = 4;
  3007. for (int i = 0; i < this->priceinfolist_size(); i++) {
  3008. target = ::google::protobuf::internal::WireFormatLite::
  3009. WriteMessageNoVirtualToArray(
  3010. 4, this->priceinfolist(i), target);
  3011. }
  3012. // optional int32 nextPrice = 5;
  3013. if (has_nextprice()) {
  3014. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->nextprice(), target);
  3015. }
  3016. if (!unknown_fields().empty()) {
  3017. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3018. unknown_fields(), target);
  3019. }
  3020. return target;
  3021. }
  3022. int packetl2c_dragon_palace_exchange_result::ByteSize() const {
  3023. int total_size = 0;
  3024. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3025. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_dragon_palace_exchange_result];
  3026. if (has_packet_id()) {
  3027. total_size += 1 +
  3028. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  3029. }
  3030. // optional int32 result = 2;
  3031. if (has_result()) {
  3032. total_size += 1 +
  3033. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3034. this->result());
  3035. }
  3036. // optional int32 nextPrice = 5;
  3037. if (has_nextprice()) {
  3038. total_size += 1 +
  3039. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3040. this->nextprice());
  3041. }
  3042. }
  3043. // repeated .fish_protocols.ExchangeItemInfo exchangeItems = 3;
  3044. total_size += 1 * this->exchangeitems_size();
  3045. for (int i = 0; i < this->exchangeitems_size(); i++) {
  3046. total_size +=
  3047. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  3048. this->exchangeitems(i));
  3049. }
  3050. // repeated .fish_protocols.ExchangePriceInfo priceInfoList = 4;
  3051. total_size += 1 * this->priceinfolist_size();
  3052. for (int i = 0; i < this->priceinfolist_size(); i++) {
  3053. total_size +=
  3054. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  3055. this->priceinfolist(i));
  3056. }
  3057. if (!unknown_fields().empty()) {
  3058. total_size +=
  3059. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3060. unknown_fields());
  3061. }
  3062. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3063. _cached_size_ = total_size;
  3064. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3065. return total_size;
  3066. }
  3067. void packetl2c_dragon_palace_exchange_result::MergeFrom(const ::google::protobuf::Message& from) {
  3068. GOOGLE_CHECK_NE(&from, this);
  3069. const packetl2c_dragon_palace_exchange_result* source =
  3070. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_dragon_palace_exchange_result*>(
  3071. &from);
  3072. if (source == NULL) {
  3073. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3074. } else {
  3075. MergeFrom(*source);
  3076. }
  3077. }
  3078. void packetl2c_dragon_palace_exchange_result::MergeFrom(const packetl2c_dragon_palace_exchange_result& from) {
  3079. GOOGLE_CHECK_NE(&from, this);
  3080. exchangeitems_.MergeFrom(from.exchangeitems_);
  3081. priceinfolist_.MergeFrom(from.priceinfolist_);
  3082. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3083. if (from.has_packet_id()) {
  3084. set_packet_id(from.packet_id());
  3085. }
  3086. if (from.has_result()) {
  3087. set_result(from.result());
  3088. }
  3089. if (from.has_nextprice()) {
  3090. set_nextprice(from.nextprice());
  3091. }
  3092. }
  3093. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  3094. }
  3095. void packetl2c_dragon_palace_exchange_result::CopyFrom(const ::google::protobuf::Message& from) {
  3096. if (&from == this) return;
  3097. Clear();
  3098. MergeFrom(from);
  3099. }
  3100. void packetl2c_dragon_palace_exchange_result::CopyFrom(const packetl2c_dragon_palace_exchange_result& from) {
  3101. if (&from == this) return;
  3102. Clear();
  3103. MergeFrom(from);
  3104. }
  3105. bool packetl2c_dragon_palace_exchange_result::IsInitialized() const {
  3106. return true;
  3107. }
  3108. void packetl2c_dragon_palace_exchange_result::Swap(packetl2c_dragon_palace_exchange_result* other) {
  3109. if (other != this) {
  3110. std::swap(packet_id_, other->packet_id_);
  3111. std::swap(result_, other->result_);
  3112. exchangeitems_.Swap(&other->exchangeitems_);
  3113. priceinfolist_.Swap(&other->priceinfolist_);
  3114. std::swap(nextprice_, other->nextprice_);
  3115. std::swap(_has_bits_[0], other->_has_bits_[0]);
  3116. _unknown_fields_.Swap(&other->_unknown_fields_);
  3117. std::swap(_cached_size_, other->_cached_size_);
  3118. }
  3119. }
  3120. ::google::protobuf::Metadata packetl2c_dragon_palace_exchange_result::GetMetadata() const {
  3121. protobuf_AssignDescriptorsOnce();
  3122. ::google::protobuf::Metadata metadata;
  3123. metadata.descriptor = packetl2c_dragon_palace_exchange_result_descriptor_;
  3124. metadata.reflection = packetl2c_dragon_palace_exchange_result_reflection_;
  3125. return metadata;
  3126. }
  3127. // ===================================================================
  3128. #ifndef _MSC_VER
  3129. const int packetc2l_dragon_add_exchange_count::kPacketIdFieldNumber;
  3130. const int packetc2l_dragon_add_exchange_count::kAddCountFieldNumber;
  3131. #endif // !_MSC_VER
  3132. packetc2l_dragon_add_exchange_count::packetc2l_dragon_add_exchange_count()
  3133. : ::google::protobuf::Message() {
  3134. SharedCtor();
  3135. }
  3136. void packetc2l_dragon_add_exchange_count::InitAsDefaultInstance() {
  3137. }
  3138. packetc2l_dragon_add_exchange_count::packetc2l_dragon_add_exchange_count(const packetc2l_dragon_add_exchange_count& from)
  3139. : ::google::protobuf::Message() {
  3140. SharedCtor();
  3141. MergeFrom(from);
  3142. }
  3143. void packetc2l_dragon_add_exchange_count::SharedCtor() {
  3144. _cached_size_ = 0;
  3145. packet_id_ = 10151;
  3146. addcount_ = 0;
  3147. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3148. }
  3149. packetc2l_dragon_add_exchange_count::~packetc2l_dragon_add_exchange_count() {
  3150. SharedDtor();
  3151. }
  3152. void packetc2l_dragon_add_exchange_count::SharedDtor() {
  3153. if (this != default_instance_) {
  3154. }
  3155. }
  3156. void packetc2l_dragon_add_exchange_count::SetCachedSize(int size) const {
  3157. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3158. _cached_size_ = size;
  3159. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3160. }
  3161. const ::google::protobuf::Descriptor* packetc2l_dragon_add_exchange_count::descriptor() {
  3162. protobuf_AssignDescriptorsOnce();
  3163. return packetc2l_dragon_add_exchange_count_descriptor_;
  3164. }
  3165. const packetc2l_dragon_add_exchange_count& packetc2l_dragon_add_exchange_count::default_instance() {
  3166. if (default_instance_ == NULL) protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  3167. return *default_instance_;
  3168. }
  3169. packetc2l_dragon_add_exchange_count* packetc2l_dragon_add_exchange_count::default_instance_ = NULL;
  3170. packetc2l_dragon_add_exchange_count* packetc2l_dragon_add_exchange_count::New() const {
  3171. return new packetc2l_dragon_add_exchange_count;
  3172. }
  3173. void packetc2l_dragon_add_exchange_count::Clear() {
  3174. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3175. packet_id_ = 10151;
  3176. addcount_ = 0;
  3177. }
  3178. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3179. mutable_unknown_fields()->Clear();
  3180. }
  3181. bool packetc2l_dragon_add_exchange_count::MergePartialFromCodedStream(
  3182. ::google::protobuf::io::CodedInputStream* input) {
  3183. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  3184. ::google::protobuf::uint32 tag;
  3185. while ((tag = input->ReadTag()) != 0) {
  3186. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3187. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_dragon_add_exchange_count];
  3188. case 1: {
  3189. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3190. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3191. int value;
  3192. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3193. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  3194. input, &value)));
  3195. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  3196. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  3197. } else {
  3198. mutable_unknown_fields()->AddVarint(1, value);
  3199. }
  3200. } else {
  3201. goto handle_uninterpreted;
  3202. }
  3203. if (input->ExpectTag(16)) goto parse_addCount;
  3204. break;
  3205. }
  3206. // optional int32 addCount = 2;
  3207. case 2: {
  3208. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3209. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3210. parse_addCount:
  3211. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3212. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3213. input, &addcount_)));
  3214. set_has_addcount();
  3215. } else {
  3216. goto handle_uninterpreted;
  3217. }
  3218. if (input->ExpectAtEnd()) return true;
  3219. break;
  3220. }
  3221. default: {
  3222. handle_uninterpreted:
  3223. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3224. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  3225. return true;
  3226. }
  3227. DO_(::google::protobuf::internal::WireFormat::SkipField(
  3228. input, tag, mutable_unknown_fields()));
  3229. break;
  3230. }
  3231. }
  3232. }
  3233. return true;
  3234. #undef DO_
  3235. }
  3236. void packetc2l_dragon_add_exchange_count::SerializeWithCachedSizes(
  3237. ::google::protobuf::io::CodedOutputStream* output) const {
  3238. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_dragon_add_exchange_count];
  3239. if (has_packet_id()) {
  3240. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  3241. 1, this->packet_id(), output);
  3242. }
  3243. // optional int32 addCount = 2;
  3244. if (has_addcount()) {
  3245. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->addcount(), output);
  3246. }
  3247. if (!unknown_fields().empty()) {
  3248. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  3249. unknown_fields(), output);
  3250. }
  3251. }
  3252. ::google::protobuf::uint8* packetc2l_dragon_add_exchange_count::SerializeWithCachedSizesToArray(
  3253. ::google::protobuf::uint8* target) const {
  3254. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_dragon_add_exchange_count];
  3255. if (has_packet_id()) {
  3256. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  3257. 1, this->packet_id(), target);
  3258. }
  3259. // optional int32 addCount = 2;
  3260. if (has_addcount()) {
  3261. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->addcount(), target);
  3262. }
  3263. if (!unknown_fields().empty()) {
  3264. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3265. unknown_fields(), target);
  3266. }
  3267. return target;
  3268. }
  3269. int packetc2l_dragon_add_exchange_count::ByteSize() const {
  3270. int total_size = 0;
  3271. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3272. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_dragon_add_exchange_count];
  3273. if (has_packet_id()) {
  3274. total_size += 1 +
  3275. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  3276. }
  3277. // optional int32 addCount = 2;
  3278. if (has_addcount()) {
  3279. total_size += 1 +
  3280. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3281. this->addcount());
  3282. }
  3283. }
  3284. if (!unknown_fields().empty()) {
  3285. total_size +=
  3286. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3287. unknown_fields());
  3288. }
  3289. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3290. _cached_size_ = total_size;
  3291. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3292. return total_size;
  3293. }
  3294. void packetc2l_dragon_add_exchange_count::MergeFrom(const ::google::protobuf::Message& from) {
  3295. GOOGLE_CHECK_NE(&from, this);
  3296. const packetc2l_dragon_add_exchange_count* source =
  3297. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_dragon_add_exchange_count*>(
  3298. &from);
  3299. if (source == NULL) {
  3300. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3301. } else {
  3302. MergeFrom(*source);
  3303. }
  3304. }
  3305. void packetc2l_dragon_add_exchange_count::MergeFrom(const packetc2l_dragon_add_exchange_count& from) {
  3306. GOOGLE_CHECK_NE(&from, this);
  3307. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3308. if (from.has_packet_id()) {
  3309. set_packet_id(from.packet_id());
  3310. }
  3311. if (from.has_addcount()) {
  3312. set_addcount(from.addcount());
  3313. }
  3314. }
  3315. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  3316. }
  3317. void packetc2l_dragon_add_exchange_count::CopyFrom(const ::google::protobuf::Message& from) {
  3318. if (&from == this) return;
  3319. Clear();
  3320. MergeFrom(from);
  3321. }
  3322. void packetc2l_dragon_add_exchange_count::CopyFrom(const packetc2l_dragon_add_exchange_count& from) {
  3323. if (&from == this) return;
  3324. Clear();
  3325. MergeFrom(from);
  3326. }
  3327. bool packetc2l_dragon_add_exchange_count::IsInitialized() const {
  3328. return true;
  3329. }
  3330. void packetc2l_dragon_add_exchange_count::Swap(packetc2l_dragon_add_exchange_count* other) {
  3331. if (other != this) {
  3332. std::swap(packet_id_, other->packet_id_);
  3333. std::swap(addcount_, other->addcount_);
  3334. std::swap(_has_bits_[0], other->_has_bits_[0]);
  3335. _unknown_fields_.Swap(&other->_unknown_fields_);
  3336. std::swap(_cached_size_, other->_cached_size_);
  3337. }
  3338. }
  3339. ::google::protobuf::Metadata packetc2l_dragon_add_exchange_count::GetMetadata() const {
  3340. protobuf_AssignDescriptorsOnce();
  3341. ::google::protobuf::Metadata metadata;
  3342. metadata.descriptor = packetc2l_dragon_add_exchange_count_descriptor_;
  3343. metadata.reflection = packetc2l_dragon_add_exchange_count_reflection_;
  3344. return metadata;
  3345. }
  3346. // ===================================================================
  3347. #ifndef _MSC_VER
  3348. const int packetl2c_dragon_add_exchange_count_result::kPacketIdFieldNumber;
  3349. const int packetl2c_dragon_add_exchange_count_result::kResultFieldNumber;
  3350. const int packetl2c_dragon_add_exchange_count_result::kAddCountFieldNumber;
  3351. #endif // !_MSC_VER
  3352. packetl2c_dragon_add_exchange_count_result::packetl2c_dragon_add_exchange_count_result()
  3353. : ::google::protobuf::Message() {
  3354. SharedCtor();
  3355. }
  3356. void packetl2c_dragon_add_exchange_count_result::InitAsDefaultInstance() {
  3357. }
  3358. packetl2c_dragon_add_exchange_count_result::packetl2c_dragon_add_exchange_count_result(const packetl2c_dragon_add_exchange_count_result& from)
  3359. : ::google::protobuf::Message() {
  3360. SharedCtor();
  3361. MergeFrom(from);
  3362. }
  3363. void packetl2c_dragon_add_exchange_count_result::SharedCtor() {
  3364. _cached_size_ = 0;
  3365. packet_id_ = 16140;
  3366. result_ = 0;
  3367. addcount_ = 0;
  3368. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3369. }
  3370. packetl2c_dragon_add_exchange_count_result::~packetl2c_dragon_add_exchange_count_result() {
  3371. SharedDtor();
  3372. }
  3373. void packetl2c_dragon_add_exchange_count_result::SharedDtor() {
  3374. if (this != default_instance_) {
  3375. }
  3376. }
  3377. void packetl2c_dragon_add_exchange_count_result::SetCachedSize(int size) const {
  3378. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3379. _cached_size_ = size;
  3380. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3381. }
  3382. const ::google::protobuf::Descriptor* packetl2c_dragon_add_exchange_count_result::descriptor() {
  3383. protobuf_AssignDescriptorsOnce();
  3384. return packetl2c_dragon_add_exchange_count_result_descriptor_;
  3385. }
  3386. const packetl2c_dragon_add_exchange_count_result& packetl2c_dragon_add_exchange_count_result::default_instance() {
  3387. if (default_instance_ == NULL) protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  3388. return *default_instance_;
  3389. }
  3390. packetl2c_dragon_add_exchange_count_result* packetl2c_dragon_add_exchange_count_result::default_instance_ = NULL;
  3391. packetl2c_dragon_add_exchange_count_result* packetl2c_dragon_add_exchange_count_result::New() const {
  3392. return new packetl2c_dragon_add_exchange_count_result;
  3393. }
  3394. void packetl2c_dragon_add_exchange_count_result::Clear() {
  3395. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3396. packet_id_ = 16140;
  3397. result_ = 0;
  3398. addcount_ = 0;
  3399. }
  3400. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3401. mutable_unknown_fields()->Clear();
  3402. }
  3403. bool packetl2c_dragon_add_exchange_count_result::MergePartialFromCodedStream(
  3404. ::google::protobuf::io::CodedInputStream* input) {
  3405. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  3406. ::google::protobuf::uint32 tag;
  3407. while ((tag = input->ReadTag()) != 0) {
  3408. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3409. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_dragon_add_exchange_count_result];
  3410. case 1: {
  3411. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3412. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3413. int value;
  3414. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3415. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  3416. input, &value)));
  3417. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  3418. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  3419. } else {
  3420. mutable_unknown_fields()->AddVarint(1, value);
  3421. }
  3422. } else {
  3423. goto handle_uninterpreted;
  3424. }
  3425. if (input->ExpectTag(16)) goto parse_result;
  3426. break;
  3427. }
  3428. // optional int32 result = 2;
  3429. case 2: {
  3430. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3431. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3432. parse_result:
  3433. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3434. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3435. input, &result_)));
  3436. set_has_result();
  3437. } else {
  3438. goto handle_uninterpreted;
  3439. }
  3440. if (input->ExpectTag(24)) goto parse_addCount;
  3441. break;
  3442. }
  3443. // optional int32 addCount = 3;
  3444. case 3: {
  3445. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3446. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3447. parse_addCount:
  3448. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3449. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3450. input, &addcount_)));
  3451. set_has_addcount();
  3452. } else {
  3453. goto handle_uninterpreted;
  3454. }
  3455. if (input->ExpectAtEnd()) return true;
  3456. break;
  3457. }
  3458. default: {
  3459. handle_uninterpreted:
  3460. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3461. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  3462. return true;
  3463. }
  3464. DO_(::google::protobuf::internal::WireFormat::SkipField(
  3465. input, tag, mutable_unknown_fields()));
  3466. break;
  3467. }
  3468. }
  3469. }
  3470. return true;
  3471. #undef DO_
  3472. }
  3473. void packetl2c_dragon_add_exchange_count_result::SerializeWithCachedSizes(
  3474. ::google::protobuf::io::CodedOutputStream* output) const {
  3475. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_dragon_add_exchange_count_result];
  3476. if (has_packet_id()) {
  3477. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  3478. 1, this->packet_id(), output);
  3479. }
  3480. // optional int32 result = 2;
  3481. if (has_result()) {
  3482. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  3483. }
  3484. // optional int32 addCount = 3;
  3485. if (has_addcount()) {
  3486. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->addcount(), output);
  3487. }
  3488. if (!unknown_fields().empty()) {
  3489. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  3490. unknown_fields(), output);
  3491. }
  3492. }
  3493. ::google::protobuf::uint8* packetl2c_dragon_add_exchange_count_result::SerializeWithCachedSizesToArray(
  3494. ::google::protobuf::uint8* target) const {
  3495. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_dragon_add_exchange_count_result];
  3496. if (has_packet_id()) {
  3497. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  3498. 1, this->packet_id(), target);
  3499. }
  3500. // optional int32 result = 2;
  3501. if (has_result()) {
  3502. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  3503. }
  3504. // optional int32 addCount = 3;
  3505. if (has_addcount()) {
  3506. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->addcount(), target);
  3507. }
  3508. if (!unknown_fields().empty()) {
  3509. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3510. unknown_fields(), target);
  3511. }
  3512. return target;
  3513. }
  3514. int packetl2c_dragon_add_exchange_count_result::ByteSize() const {
  3515. int total_size = 0;
  3516. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3517. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_dragon_add_exchange_count_result];
  3518. if (has_packet_id()) {
  3519. total_size += 1 +
  3520. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  3521. }
  3522. // optional int32 result = 2;
  3523. if (has_result()) {
  3524. total_size += 1 +
  3525. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3526. this->result());
  3527. }
  3528. // optional int32 addCount = 3;
  3529. if (has_addcount()) {
  3530. total_size += 1 +
  3531. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3532. this->addcount());
  3533. }
  3534. }
  3535. if (!unknown_fields().empty()) {
  3536. total_size +=
  3537. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3538. unknown_fields());
  3539. }
  3540. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3541. _cached_size_ = total_size;
  3542. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3543. return total_size;
  3544. }
  3545. void packetl2c_dragon_add_exchange_count_result::MergeFrom(const ::google::protobuf::Message& from) {
  3546. GOOGLE_CHECK_NE(&from, this);
  3547. const packetl2c_dragon_add_exchange_count_result* source =
  3548. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_dragon_add_exchange_count_result*>(
  3549. &from);
  3550. if (source == NULL) {
  3551. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3552. } else {
  3553. MergeFrom(*source);
  3554. }
  3555. }
  3556. void packetl2c_dragon_add_exchange_count_result::MergeFrom(const packetl2c_dragon_add_exchange_count_result& from) {
  3557. GOOGLE_CHECK_NE(&from, this);
  3558. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3559. if (from.has_packet_id()) {
  3560. set_packet_id(from.packet_id());
  3561. }
  3562. if (from.has_result()) {
  3563. set_result(from.result());
  3564. }
  3565. if (from.has_addcount()) {
  3566. set_addcount(from.addcount());
  3567. }
  3568. }
  3569. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  3570. }
  3571. void packetl2c_dragon_add_exchange_count_result::CopyFrom(const ::google::protobuf::Message& from) {
  3572. if (&from == this) return;
  3573. Clear();
  3574. MergeFrom(from);
  3575. }
  3576. void packetl2c_dragon_add_exchange_count_result::CopyFrom(const packetl2c_dragon_add_exchange_count_result& from) {
  3577. if (&from == this) return;
  3578. Clear();
  3579. MergeFrom(from);
  3580. }
  3581. bool packetl2c_dragon_add_exchange_count_result::IsInitialized() const {
  3582. return true;
  3583. }
  3584. void packetl2c_dragon_add_exchange_count_result::Swap(packetl2c_dragon_add_exchange_count_result* other) {
  3585. if (other != this) {
  3586. std::swap(packet_id_, other->packet_id_);
  3587. std::swap(result_, other->result_);
  3588. std::swap(addcount_, other->addcount_);
  3589. std::swap(_has_bits_[0], other->_has_bits_[0]);
  3590. _unknown_fields_.Swap(&other->_unknown_fields_);
  3591. std::swap(_cached_size_, other->_cached_size_);
  3592. }
  3593. }
  3594. ::google::protobuf::Metadata packetl2c_dragon_add_exchange_count_result::GetMetadata() const {
  3595. protobuf_AssignDescriptorsOnce();
  3596. ::google::protobuf::Metadata metadata;
  3597. metadata.descriptor = packetl2c_dragon_add_exchange_count_result_descriptor_;
  3598. metadata.reflection = packetl2c_dragon_add_exchange_count_result_reflection_;
  3599. return metadata;
  3600. }
  3601. // ===================================================================
  3602. #ifndef _MSC_VER
  3603. const int packetc2l_daily_dimensity_exchange::kPacketIdFieldNumber;
  3604. #endif // !_MSC_VER
  3605. packetc2l_daily_dimensity_exchange::packetc2l_daily_dimensity_exchange()
  3606. : ::google::protobuf::Message() {
  3607. SharedCtor();
  3608. }
  3609. void packetc2l_daily_dimensity_exchange::InitAsDefaultInstance() {
  3610. }
  3611. packetc2l_daily_dimensity_exchange::packetc2l_daily_dimensity_exchange(const packetc2l_daily_dimensity_exchange& from)
  3612. : ::google::protobuf::Message() {
  3613. SharedCtor();
  3614. MergeFrom(from);
  3615. }
  3616. void packetc2l_daily_dimensity_exchange::SharedCtor() {
  3617. _cached_size_ = 0;
  3618. packet_id_ = 10152;
  3619. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3620. }
  3621. packetc2l_daily_dimensity_exchange::~packetc2l_daily_dimensity_exchange() {
  3622. SharedDtor();
  3623. }
  3624. void packetc2l_daily_dimensity_exchange::SharedDtor() {
  3625. if (this != default_instance_) {
  3626. }
  3627. }
  3628. void packetc2l_daily_dimensity_exchange::SetCachedSize(int size) const {
  3629. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3630. _cached_size_ = size;
  3631. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3632. }
  3633. const ::google::protobuf::Descriptor* packetc2l_daily_dimensity_exchange::descriptor() {
  3634. protobuf_AssignDescriptorsOnce();
  3635. return packetc2l_daily_dimensity_exchange_descriptor_;
  3636. }
  3637. const packetc2l_daily_dimensity_exchange& packetc2l_daily_dimensity_exchange::default_instance() {
  3638. if (default_instance_ == NULL) protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  3639. return *default_instance_;
  3640. }
  3641. packetc2l_daily_dimensity_exchange* packetc2l_daily_dimensity_exchange::default_instance_ = NULL;
  3642. packetc2l_daily_dimensity_exchange* packetc2l_daily_dimensity_exchange::New() const {
  3643. return new packetc2l_daily_dimensity_exchange;
  3644. }
  3645. void packetc2l_daily_dimensity_exchange::Clear() {
  3646. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3647. packet_id_ = 10152;
  3648. }
  3649. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3650. mutable_unknown_fields()->Clear();
  3651. }
  3652. bool packetc2l_daily_dimensity_exchange::MergePartialFromCodedStream(
  3653. ::google::protobuf::io::CodedInputStream* input) {
  3654. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  3655. ::google::protobuf::uint32 tag;
  3656. while ((tag = input->ReadTag()) != 0) {
  3657. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3658. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_daily_dimensity_exchange];
  3659. case 1: {
  3660. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3661. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3662. int value;
  3663. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3664. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  3665. input, &value)));
  3666. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  3667. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  3668. } else {
  3669. mutable_unknown_fields()->AddVarint(1, value);
  3670. }
  3671. } else {
  3672. goto handle_uninterpreted;
  3673. }
  3674. if (input->ExpectAtEnd()) return true;
  3675. break;
  3676. }
  3677. default: {
  3678. handle_uninterpreted:
  3679. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3680. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  3681. return true;
  3682. }
  3683. DO_(::google::protobuf::internal::WireFormat::SkipField(
  3684. input, tag, mutable_unknown_fields()));
  3685. break;
  3686. }
  3687. }
  3688. }
  3689. return true;
  3690. #undef DO_
  3691. }
  3692. void packetc2l_daily_dimensity_exchange::SerializeWithCachedSizes(
  3693. ::google::protobuf::io::CodedOutputStream* output) const {
  3694. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_daily_dimensity_exchange];
  3695. if (has_packet_id()) {
  3696. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  3697. 1, this->packet_id(), output);
  3698. }
  3699. if (!unknown_fields().empty()) {
  3700. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  3701. unknown_fields(), output);
  3702. }
  3703. }
  3704. ::google::protobuf::uint8* packetc2l_daily_dimensity_exchange::SerializeWithCachedSizesToArray(
  3705. ::google::protobuf::uint8* target) const {
  3706. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_daily_dimensity_exchange];
  3707. if (has_packet_id()) {
  3708. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  3709. 1, this->packet_id(), target);
  3710. }
  3711. if (!unknown_fields().empty()) {
  3712. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3713. unknown_fields(), target);
  3714. }
  3715. return target;
  3716. }
  3717. int packetc2l_daily_dimensity_exchange::ByteSize() const {
  3718. int total_size = 0;
  3719. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3720. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_daily_dimensity_exchange];
  3721. if (has_packet_id()) {
  3722. total_size += 1 +
  3723. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  3724. }
  3725. }
  3726. if (!unknown_fields().empty()) {
  3727. total_size +=
  3728. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3729. unknown_fields());
  3730. }
  3731. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3732. _cached_size_ = total_size;
  3733. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3734. return total_size;
  3735. }
  3736. void packetc2l_daily_dimensity_exchange::MergeFrom(const ::google::protobuf::Message& from) {
  3737. GOOGLE_CHECK_NE(&from, this);
  3738. const packetc2l_daily_dimensity_exchange* source =
  3739. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_daily_dimensity_exchange*>(
  3740. &from);
  3741. if (source == NULL) {
  3742. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3743. } else {
  3744. MergeFrom(*source);
  3745. }
  3746. }
  3747. void packetc2l_daily_dimensity_exchange::MergeFrom(const packetc2l_daily_dimensity_exchange& from) {
  3748. GOOGLE_CHECK_NE(&from, this);
  3749. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3750. if (from.has_packet_id()) {
  3751. set_packet_id(from.packet_id());
  3752. }
  3753. }
  3754. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  3755. }
  3756. void packetc2l_daily_dimensity_exchange::CopyFrom(const ::google::protobuf::Message& from) {
  3757. if (&from == this) return;
  3758. Clear();
  3759. MergeFrom(from);
  3760. }
  3761. void packetc2l_daily_dimensity_exchange::CopyFrom(const packetc2l_daily_dimensity_exchange& from) {
  3762. if (&from == this) return;
  3763. Clear();
  3764. MergeFrom(from);
  3765. }
  3766. bool packetc2l_daily_dimensity_exchange::IsInitialized() const {
  3767. return true;
  3768. }
  3769. void packetc2l_daily_dimensity_exchange::Swap(packetc2l_daily_dimensity_exchange* other) {
  3770. if (other != this) {
  3771. std::swap(packet_id_, other->packet_id_);
  3772. std::swap(_has_bits_[0], other->_has_bits_[0]);
  3773. _unknown_fields_.Swap(&other->_unknown_fields_);
  3774. std::swap(_cached_size_, other->_cached_size_);
  3775. }
  3776. }
  3777. ::google::protobuf::Metadata packetc2l_daily_dimensity_exchange::GetMetadata() const {
  3778. protobuf_AssignDescriptorsOnce();
  3779. ::google::protobuf::Metadata metadata;
  3780. metadata.descriptor = packetc2l_daily_dimensity_exchange_descriptor_;
  3781. metadata.reflection = packetc2l_daily_dimensity_exchange_reflection_;
  3782. return metadata;
  3783. }
  3784. // ===================================================================
  3785. #ifndef _MSC_VER
  3786. const int packetl2c_daily_dimensity_exchange_result::kPacketIdFieldNumber;
  3787. const int packetl2c_daily_dimensity_exchange_result::kResultFieldNumber;
  3788. const int packetl2c_daily_dimensity_exchange_result::kExchangeInfoFieldNumber;
  3789. #endif // !_MSC_VER
  3790. packetl2c_daily_dimensity_exchange_result::packetl2c_daily_dimensity_exchange_result()
  3791. : ::google::protobuf::Message() {
  3792. SharedCtor();
  3793. }
  3794. void packetl2c_daily_dimensity_exchange_result::InitAsDefaultInstance() {
  3795. }
  3796. packetl2c_daily_dimensity_exchange_result::packetl2c_daily_dimensity_exchange_result(const packetl2c_daily_dimensity_exchange_result& from)
  3797. : ::google::protobuf::Message() {
  3798. SharedCtor();
  3799. MergeFrom(from);
  3800. }
  3801. void packetl2c_daily_dimensity_exchange_result::SharedCtor() {
  3802. _cached_size_ = 0;
  3803. packet_id_ = 16141;
  3804. result_ = 0;
  3805. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3806. }
  3807. packetl2c_daily_dimensity_exchange_result::~packetl2c_daily_dimensity_exchange_result() {
  3808. SharedDtor();
  3809. }
  3810. void packetl2c_daily_dimensity_exchange_result::SharedDtor() {
  3811. if (this != default_instance_) {
  3812. }
  3813. }
  3814. void packetl2c_daily_dimensity_exchange_result::SetCachedSize(int size) const {
  3815. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3816. _cached_size_ = size;
  3817. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3818. }
  3819. const ::google::protobuf::Descriptor* packetl2c_daily_dimensity_exchange_result::descriptor() {
  3820. protobuf_AssignDescriptorsOnce();
  3821. return packetl2c_daily_dimensity_exchange_result_descriptor_;
  3822. }
  3823. const packetl2c_daily_dimensity_exchange_result& packetl2c_daily_dimensity_exchange_result::default_instance() {
  3824. if (default_instance_ == NULL) protobuf_AddDesc_fish_5fdragon_5fpalace_2eproto();
  3825. return *default_instance_;
  3826. }
  3827. packetl2c_daily_dimensity_exchange_result* packetl2c_daily_dimensity_exchange_result::default_instance_ = NULL;
  3828. packetl2c_daily_dimensity_exchange_result* packetl2c_daily_dimensity_exchange_result::New() const {
  3829. return new packetl2c_daily_dimensity_exchange_result;
  3830. }
  3831. void packetl2c_daily_dimensity_exchange_result::Clear() {
  3832. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3833. packet_id_ = 16141;
  3834. result_ = 0;
  3835. }
  3836. exchangeinfo_.Clear();
  3837. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  3838. mutable_unknown_fields()->Clear();
  3839. }
  3840. bool packetl2c_daily_dimensity_exchange_result::MergePartialFromCodedStream(
  3841. ::google::protobuf::io::CodedInputStream* input) {
  3842. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  3843. ::google::protobuf::uint32 tag;
  3844. while ((tag = input->ReadTag()) != 0) {
  3845. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  3846. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_daily_dimensity_exchange_result];
  3847. case 1: {
  3848. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3849. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3850. int value;
  3851. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3852. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  3853. input, &value)));
  3854. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  3855. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  3856. } else {
  3857. mutable_unknown_fields()->AddVarint(1, value);
  3858. }
  3859. } else {
  3860. goto handle_uninterpreted;
  3861. }
  3862. if (input->ExpectTag(16)) goto parse_result;
  3863. break;
  3864. }
  3865. // optional int32 result = 2;
  3866. case 2: {
  3867. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3868. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  3869. parse_result:
  3870. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  3871. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  3872. input, &result_)));
  3873. set_has_result();
  3874. } else {
  3875. goto handle_uninterpreted;
  3876. }
  3877. if (input->ExpectTag(26)) goto parse_exchangeInfo;
  3878. break;
  3879. }
  3880. // repeated .fish_protocols.ExchangeItemInfo exchangeInfo = 3;
  3881. case 3: {
  3882. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3883. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  3884. parse_exchangeInfo:
  3885. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  3886. input, add_exchangeinfo()));
  3887. } else {
  3888. goto handle_uninterpreted;
  3889. }
  3890. if (input->ExpectTag(26)) goto parse_exchangeInfo;
  3891. if (input->ExpectAtEnd()) return true;
  3892. break;
  3893. }
  3894. default: {
  3895. handle_uninterpreted:
  3896. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  3897. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  3898. return true;
  3899. }
  3900. DO_(::google::protobuf::internal::WireFormat::SkipField(
  3901. input, tag, mutable_unknown_fields()));
  3902. break;
  3903. }
  3904. }
  3905. }
  3906. return true;
  3907. #undef DO_
  3908. }
  3909. void packetl2c_daily_dimensity_exchange_result::SerializeWithCachedSizes(
  3910. ::google::protobuf::io::CodedOutputStream* output) const {
  3911. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_daily_dimensity_exchange_result];
  3912. if (has_packet_id()) {
  3913. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  3914. 1, this->packet_id(), output);
  3915. }
  3916. // optional int32 result = 2;
  3917. if (has_result()) {
  3918. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  3919. }
  3920. // repeated .fish_protocols.ExchangeItemInfo exchangeInfo = 3;
  3921. for (int i = 0; i < this->exchangeinfo_size(); i++) {
  3922. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  3923. 3, this->exchangeinfo(i), output);
  3924. }
  3925. if (!unknown_fields().empty()) {
  3926. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  3927. unknown_fields(), output);
  3928. }
  3929. }
  3930. ::google::protobuf::uint8* packetl2c_daily_dimensity_exchange_result::SerializeWithCachedSizesToArray(
  3931. ::google::protobuf::uint8* target) const {
  3932. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_daily_dimensity_exchange_result];
  3933. if (has_packet_id()) {
  3934. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  3935. 1, this->packet_id(), target);
  3936. }
  3937. // optional int32 result = 2;
  3938. if (has_result()) {
  3939. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  3940. }
  3941. // repeated .fish_protocols.ExchangeItemInfo exchangeInfo = 3;
  3942. for (int i = 0; i < this->exchangeinfo_size(); i++) {
  3943. target = ::google::protobuf::internal::WireFormatLite::
  3944. WriteMessageNoVirtualToArray(
  3945. 3, this->exchangeinfo(i), target);
  3946. }
  3947. if (!unknown_fields().empty()) {
  3948. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  3949. unknown_fields(), target);
  3950. }
  3951. return target;
  3952. }
  3953. int packetl2c_daily_dimensity_exchange_result::ByteSize() const {
  3954. int total_size = 0;
  3955. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  3956. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_daily_dimensity_exchange_result];
  3957. if (has_packet_id()) {
  3958. total_size += 1 +
  3959. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  3960. }
  3961. // optional int32 result = 2;
  3962. if (has_result()) {
  3963. total_size += 1 +
  3964. ::google::protobuf::internal::WireFormatLite::Int32Size(
  3965. this->result());
  3966. }
  3967. }
  3968. // repeated .fish_protocols.ExchangeItemInfo exchangeInfo = 3;
  3969. total_size += 1 * this->exchangeinfo_size();
  3970. for (int i = 0; i < this->exchangeinfo_size(); i++) {
  3971. total_size +=
  3972. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  3973. this->exchangeinfo(i));
  3974. }
  3975. if (!unknown_fields().empty()) {
  3976. total_size +=
  3977. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  3978. unknown_fields());
  3979. }
  3980. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  3981. _cached_size_ = total_size;
  3982. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  3983. return total_size;
  3984. }
  3985. void packetl2c_daily_dimensity_exchange_result::MergeFrom(const ::google::protobuf::Message& from) {
  3986. GOOGLE_CHECK_NE(&from, this);
  3987. const packetl2c_daily_dimensity_exchange_result* source =
  3988. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_daily_dimensity_exchange_result*>(
  3989. &from);
  3990. if (source == NULL) {
  3991. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  3992. } else {
  3993. MergeFrom(*source);
  3994. }
  3995. }
  3996. void packetl2c_daily_dimensity_exchange_result::MergeFrom(const packetl2c_daily_dimensity_exchange_result& from) {
  3997. GOOGLE_CHECK_NE(&from, this);
  3998. exchangeinfo_.MergeFrom(from.exchangeinfo_);
  3999. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  4000. if (from.has_packet_id()) {
  4001. set_packet_id(from.packet_id());
  4002. }
  4003. if (from.has_result()) {
  4004. set_result(from.result());
  4005. }
  4006. }
  4007. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  4008. }
  4009. void packetl2c_daily_dimensity_exchange_result::CopyFrom(const ::google::protobuf::Message& from) {
  4010. if (&from == this) return;
  4011. Clear();
  4012. MergeFrom(from);
  4013. }
  4014. void packetl2c_daily_dimensity_exchange_result::CopyFrom(const packetl2c_daily_dimensity_exchange_result& from) {
  4015. if (&from == this) return;
  4016. Clear();
  4017. MergeFrom(from);
  4018. }
  4019. bool packetl2c_daily_dimensity_exchange_result::IsInitialized() const {
  4020. return true;
  4021. }
  4022. void packetl2c_daily_dimensity_exchange_result::Swap(packetl2c_daily_dimensity_exchange_result* other) {
  4023. if (other != this) {
  4024. std::swap(packet_id_, other->packet_id_);
  4025. std::swap(result_, other->result_);
  4026. exchangeinfo_.Swap(&other->exchangeinfo_);
  4027. std::swap(_has_bits_[0], other->_has_bits_[0]);
  4028. _unknown_fields_.Swap(&other->_unknown_fields_);
  4029. std::swap(_cached_size_, other->_cached_size_);
  4030. }
  4031. }
  4032. ::google::protobuf::Metadata packetl2c_daily_dimensity_exchange_result::GetMetadata() const {
  4033. protobuf_AssignDescriptorsOnce();
  4034. ::google::protobuf::Metadata metadata;
  4035. metadata.descriptor = packetl2c_daily_dimensity_exchange_result_descriptor_;
  4036. metadata.reflection = packetl2c_daily_dimensity_exchange_result_reflection_;
  4037. return metadata;
  4038. }
  4039. // @@protoc_insertion_point(namespace_scope)
  4040. } // namespace fish_protocols
  4041. // @@protoc_insertion_point(global_scope)