fish_mythical_palace.pb.cc 112 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: fish_mythical_palace.proto
  3. #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
  4. #include "fish_mythical_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* MythicalRankInfo_descriptor_ = NULL;
  18. const ::google::protobuf::internal::GeneratedMessageReflection*
  19. MythicalRankInfo_reflection_ = NULL;
  20. const ::google::protobuf::Descriptor* DropGoldHistory_descriptor_ = NULL;
  21. const ::google::protobuf::internal::GeneratedMessageReflection*
  22. DropGoldHistory_reflection_ = NULL;
  23. const ::google::protobuf::Descriptor* packetc2l_get_mythical_palace_info_descriptor_ = NULL;
  24. const ::google::protobuf::internal::GeneratedMessageReflection*
  25. packetc2l_get_mythical_palace_info_reflection_ = NULL;
  26. const ::google::protobuf::Descriptor* packetl2c_get_mythical_palace_info_result_descriptor_ = NULL;
  27. const ::google::protobuf::internal::GeneratedMessageReflection*
  28. packetl2c_get_mythical_palace_info_result_reflection_ = NULL;
  29. const ::google::protobuf::Descriptor* packetl2c_bc_trigger_mythical_palace_event_descriptor_ = NULL;
  30. const ::google::protobuf::internal::GeneratedMessageReflection*
  31. packetl2c_bc_trigger_mythical_palace_event_reflection_ = NULL;
  32. const ::google::protobuf::Descriptor* packetc2l_receive_mythical_points_award_descriptor_ = NULL;
  33. const ::google::protobuf::internal::GeneratedMessageReflection*
  34. packetc2l_receive_mythical_points_award_reflection_ = NULL;
  35. const ::google::protobuf::Descriptor* packetl2c_receive_mythical_points_award_result_descriptor_ = NULL;
  36. const ::google::protobuf::internal::GeneratedMessageReflection*
  37. packetl2c_receive_mythical_points_award_result_reflection_ = NULL;
  38. } // namespace
  39. void protobuf_AssignDesc_fish_5fmythical_5fpalace_2eproto() {
  40. protobuf_AddDesc_fish_5fmythical_5fpalace_2eproto();
  41. const ::google::protobuf::FileDescriptor* file =
  42. ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
  43. "fish_mythical_palace.proto");
  44. GOOGLE_CHECK(file != NULL);
  45. MythicalRankInfo_descriptor_ = file->message_type(0);
  46. static const int MythicalRankInfo_offsets_[9] = {
  47. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MythicalRankInfo, playerid_),
  48. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MythicalRankInfo, nickname_),
  49. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MythicalRankInfo, rank_),
  50. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MythicalRankInfo, frameid_),
  51. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MythicalRankInfo, headid_),
  52. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MythicalRankInfo, zhuquepoints_),
  53. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MythicalRankInfo, baihupoints_),
  54. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MythicalRankInfo, caishenpoints_),
  55. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MythicalRankInfo, totalpoints_),
  56. };
  57. MythicalRankInfo_reflection_ =
  58. new ::google::protobuf::internal::GeneratedMessageReflection(
  59. MythicalRankInfo_descriptor_,
  60. MythicalRankInfo::default_instance_,
  61. MythicalRankInfo_offsets_,
  62. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MythicalRankInfo, _has_bits_[0]),
  63. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MythicalRankInfo, _unknown_fields_),
  64. -1,
  65. ::google::protobuf::DescriptorPool::generated_pool(),
  66. ::google::protobuf::MessageFactory::generated_factory(),
  67. sizeof(MythicalRankInfo));
  68. DropGoldHistory_descriptor_ = file->message_type(1);
  69. static const int DropGoldHistory_offsets_[6] = {
  70. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DropGoldHistory, nickname_),
  71. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DropGoldHistory, fishid_),
  72. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DropGoldHistory, bulletrate_),
  73. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DropGoldHistory, gold_),
  74. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DropGoldHistory, eventid_),
  75. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DropGoldHistory, goldrate_),
  76. };
  77. DropGoldHistory_reflection_ =
  78. new ::google::protobuf::internal::GeneratedMessageReflection(
  79. DropGoldHistory_descriptor_,
  80. DropGoldHistory::default_instance_,
  81. DropGoldHistory_offsets_,
  82. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DropGoldHistory, _has_bits_[0]),
  83. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DropGoldHistory, _unknown_fields_),
  84. -1,
  85. ::google::protobuf::DescriptorPool::generated_pool(),
  86. ::google::protobuf::MessageFactory::generated_factory(),
  87. sizeof(DropGoldHistory));
  88. packetc2l_get_mythical_palace_info_descriptor_ = file->message_type(2);
  89. static const int packetc2l_get_mythical_palace_info_offsets_[1] = {
  90. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_mythical_palace_info, packet_id_),
  91. };
  92. packetc2l_get_mythical_palace_info_reflection_ =
  93. new ::google::protobuf::internal::GeneratedMessageReflection(
  94. packetc2l_get_mythical_palace_info_descriptor_,
  95. packetc2l_get_mythical_palace_info::default_instance_,
  96. packetc2l_get_mythical_palace_info_offsets_,
  97. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_mythical_palace_info, _has_bits_[0]),
  98. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_mythical_palace_info, _unknown_fields_),
  99. -1,
  100. ::google::protobuf::DescriptorPool::generated_pool(),
  101. ::google::protobuf::MessageFactory::generated_factory(),
  102. sizeof(packetc2l_get_mythical_palace_info));
  103. packetl2c_get_mythical_palace_info_result_descriptor_ = file->message_type(3);
  104. static const int packetl2c_get_mythical_palace_info_result_offsets_[11] = {
  105. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_mythical_palace_info_result, packet_id_),
  106. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_mythical_palace_info_result, result_),
  107. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_mythical_palace_info_result, zhuquepoints_),
  108. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_mythical_palace_info_result, baihupoints_),
  109. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_mythical_palace_info_result, caishenpoints_),
  110. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_mythical_palace_info_result, totalpoints_),
  111. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_mythical_palace_info_result, receivedpointsawardcount_),
  112. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_mythical_palace_info_result, curranklist_),
  113. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_mythical_palace_info_result, changelist_),
  114. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_mythical_palace_info_result, thresholdvalue_),
  115. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_mythical_palace_info_result, myrank_),
  116. };
  117. packetl2c_get_mythical_palace_info_result_reflection_ =
  118. new ::google::protobuf::internal::GeneratedMessageReflection(
  119. packetl2c_get_mythical_palace_info_result_descriptor_,
  120. packetl2c_get_mythical_palace_info_result::default_instance_,
  121. packetl2c_get_mythical_palace_info_result_offsets_,
  122. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_mythical_palace_info_result, _has_bits_[0]),
  123. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_mythical_palace_info_result, _unknown_fields_),
  124. -1,
  125. ::google::protobuf::DescriptorPool::generated_pool(),
  126. ::google::protobuf::MessageFactory::generated_factory(),
  127. sizeof(packetl2c_get_mythical_palace_info_result));
  128. packetl2c_bc_trigger_mythical_palace_event_descriptor_ = file->message_type(4);
  129. static const int packetl2c_bc_trigger_mythical_palace_event_offsets_[7] = {
  130. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_mythical_palace_event, packet_id_),
  131. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_mythical_palace_event, playerid_),
  132. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_mythical_palace_event, eventid_),
  133. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_mythical_palace_event, bossrate_),
  134. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_mythical_palace_event, gold_),
  135. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_mythical_palace_event, droppoints_),
  136. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_mythical_palace_event, droppointsex_),
  137. };
  138. packetl2c_bc_trigger_mythical_palace_event_reflection_ =
  139. new ::google::protobuf::internal::GeneratedMessageReflection(
  140. packetl2c_bc_trigger_mythical_palace_event_descriptor_,
  141. packetl2c_bc_trigger_mythical_palace_event::default_instance_,
  142. packetl2c_bc_trigger_mythical_palace_event_offsets_,
  143. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_mythical_palace_event, _has_bits_[0]),
  144. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_mythical_palace_event, _unknown_fields_),
  145. -1,
  146. ::google::protobuf::DescriptorPool::generated_pool(),
  147. ::google::protobuf::MessageFactory::generated_factory(),
  148. sizeof(packetl2c_bc_trigger_mythical_palace_event));
  149. packetc2l_receive_mythical_points_award_descriptor_ = file->message_type(5);
  150. static const int packetc2l_receive_mythical_points_award_offsets_[1] = {
  151. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_receive_mythical_points_award, packet_id_),
  152. };
  153. packetc2l_receive_mythical_points_award_reflection_ =
  154. new ::google::protobuf::internal::GeneratedMessageReflection(
  155. packetc2l_receive_mythical_points_award_descriptor_,
  156. packetc2l_receive_mythical_points_award::default_instance_,
  157. packetc2l_receive_mythical_points_award_offsets_,
  158. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_receive_mythical_points_award, _has_bits_[0]),
  159. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_receive_mythical_points_award, _unknown_fields_),
  160. -1,
  161. ::google::protobuf::DescriptorPool::generated_pool(),
  162. ::google::protobuf::MessageFactory::generated_factory(),
  163. sizeof(packetc2l_receive_mythical_points_award));
  164. packetl2c_receive_mythical_points_award_result_descriptor_ = file->message_type(6);
  165. static const int packetl2c_receive_mythical_points_award_result_offsets_[3] = {
  166. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_receive_mythical_points_award_result, packet_id_),
  167. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_receive_mythical_points_award_result, result_),
  168. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_receive_mythical_points_award_result, items_),
  169. };
  170. packetl2c_receive_mythical_points_award_result_reflection_ =
  171. new ::google::protobuf::internal::GeneratedMessageReflection(
  172. packetl2c_receive_mythical_points_award_result_descriptor_,
  173. packetl2c_receive_mythical_points_award_result::default_instance_,
  174. packetl2c_receive_mythical_points_award_result_offsets_,
  175. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_receive_mythical_points_award_result, _has_bits_[0]),
  176. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_receive_mythical_points_award_result, _unknown_fields_),
  177. -1,
  178. ::google::protobuf::DescriptorPool::generated_pool(),
  179. ::google::protobuf::MessageFactory::generated_factory(),
  180. sizeof(packetl2c_receive_mythical_points_award_result));
  181. }
  182. namespace {
  183. GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
  184. inline void protobuf_AssignDescriptorsOnce() {
  185. ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
  186. &protobuf_AssignDesc_fish_5fmythical_5fpalace_2eproto);
  187. }
  188. void protobuf_RegisterTypes(const ::std::string&) {
  189. protobuf_AssignDescriptorsOnce();
  190. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  191. MythicalRankInfo_descriptor_, &MythicalRankInfo::default_instance());
  192. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  193. DropGoldHistory_descriptor_, &DropGoldHistory::default_instance());
  194. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  195. packetc2l_get_mythical_palace_info_descriptor_, &packetc2l_get_mythical_palace_info::default_instance());
  196. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  197. packetl2c_get_mythical_palace_info_result_descriptor_, &packetl2c_get_mythical_palace_info_result::default_instance());
  198. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  199. packetl2c_bc_trigger_mythical_palace_event_descriptor_, &packetl2c_bc_trigger_mythical_palace_event::default_instance());
  200. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  201. packetc2l_receive_mythical_points_award_descriptor_, &packetc2l_receive_mythical_points_award::default_instance());
  202. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  203. packetl2c_receive_mythical_points_award_result_descriptor_, &packetl2c_receive_mythical_points_award_result::default_instance());
  204. }
  205. } // namespace
  206. void protobuf_ShutdownFile_fish_5fmythical_5fpalace_2eproto() {
  207. delete MythicalRankInfo::default_instance_;
  208. delete MythicalRankInfo_reflection_;
  209. delete DropGoldHistory::default_instance_;
  210. delete DropGoldHistory_reflection_;
  211. delete packetc2l_get_mythical_palace_info::default_instance_;
  212. delete packetc2l_get_mythical_palace_info_reflection_;
  213. delete packetl2c_get_mythical_palace_info_result::default_instance_;
  214. delete packetl2c_get_mythical_palace_info_result_reflection_;
  215. delete packetl2c_bc_trigger_mythical_palace_event::default_instance_;
  216. delete packetl2c_bc_trigger_mythical_palace_event_reflection_;
  217. delete packetc2l_receive_mythical_points_award::default_instance_;
  218. delete packetc2l_receive_mythical_points_award_reflection_;
  219. delete packetl2c_receive_mythical_points_award_result::default_instance_;
  220. delete packetl2c_receive_mythical_points_award_result_reflection_;
  221. }
  222. void protobuf_AddDesc_fish_5fmythical_5fpalace_2eproto() {
  223. static bool already_here = false;
  224. if (already_here) return;
  225. already_here = true;
  226. GOOGLE_PROTOBUF_VERIFY_VERSION;
  227. ::fish_protocols::protobuf_AddDesc_fish_5fdef_2eproto();
  228. ::msg_type_def::protobuf_AddDesc_msg_5ftype_5fdef_2eproto();
  229. ::fish_protocols::protobuf_AddDesc_fish_5ftype_5fdef_2eproto();
  230. ::fish_protocols::protobuf_AddDesc_fish_5fprotocol_2eproto();
  231. ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
  232. "\n\032fish_mythical_palace.proto\022\016fish_proto"
  233. "cols\032\016fish_def.proto\032\022msg_type_def.proto"
  234. "\032\023fish_type_def.proto\032\023fish_protocol.pro"
  235. "to\"\274\001\n\020MythicalRankInfo\022\020\n\010playerId\030\001 \001("
  236. "\005\022\020\n\010nickName\030\002 \001(\t\022\014\n\004rank\030\003 \001(\005\022\017\n\007fra"
  237. "meID\030\004 \001(\005\022\016\n\006headId\030\005 \001(\005\022\024\n\014zhuQuePoin"
  238. "ts\030\006 \001(\005\022\023\n\013baiHuPoints\030\007 \001(\005\022\025\n\rcaiShen"
  239. "Points\030\010 \001(\005\022\023\n\013totalPoints\030\t \001(\005\"x\n\017Dro"
  240. "pGoldHistory\022\020\n\010nickName\030\001 \001(\t\022\016\n\006fishId"
  241. "\030\002 \001(\005\022\022\n\nbulletRate\030\003 \001(\005\022\014\n\004gold\030\004 \001(\005"
  242. "\022\017\n\007eventId\030\005 \001(\005\022\020\n\010goldRate\030\006 \001(\005\"~\n\"p"
  243. "acketc2l_get_mythical_palace_info\022X\n\tpac"
  244. "ket_id\030\001 \001(\0162!.fish_protocols.e_server_m"
  245. "sg_type:\"e_mst_c2l_get_mythical_palace_i"
  246. "nfo\"\251\003\n)packetl2c_get_mythical_palace_in"
  247. "fo_result\022_\n\tpacket_id\030\001 \001(\0162!.fish_prot"
  248. "ocols.e_server_msg_type:)e_mst_l2c_get_m"
  249. "ythical_palace_info_result\022\016\n\006result\030\002 \001"
  250. "(\005\022\024\n\014zhuQuePoints\030\003 \001(\005\022\023\n\013baiHuPoints\030"
  251. "\004 \001(\005\022\025\n\rcaiShenPoints\030\005 \001(\005\022\023\n\013totalPoi"
  252. "nts\030\006 \001(\005\022 \n\030receivedPointsAwardCount\030\007 "
  253. "\001(\005\0225\n\013curRankList\030\010 \003(\0132 .fish_protocol"
  254. "s.MythicalRankInfo\0223\n\nchangeList\030\t \003(\0132\037"
  255. ".fish_protocols.DropGoldHistory\022\026\n\016thres"
  256. "holdValue\030\n \003(\005\022\016\n\006myrank\030\013 \001(\005\"\373\001\n*pack"
  257. "etl2c_bc_trigger_mythical_palace_event\022`"
  258. "\n\tpacket_id\030\001 \001(\0162!.fish_protocols.e_ser"
  259. "ver_msg_type:*e_mst_l2c_bc_trigger_mythi"
  260. "cal_palace_event\022\020\n\010playerId\030\002 \001(\005\022\017\n\007ev"
  261. "entId\030\003 \001(\005\022\020\n\010bossRate\030\004 \001(\005\022\014\n\004gold\030\005 "
  262. "\001(\005\022\022\n\ndropPoints\030\006 \001(\005\022\024\n\014dropPointsEx\030"
  263. "\007 \001(\005\"\210\001\n\'packetc2l_receive_mythical_poi"
  264. "nts_award\022]\n\tpacket_id\030\001 \001(\0162!.fish_prot"
  265. "ocols.e_server_msg_type:\'e_mst_c2l_recei"
  266. "ve_mythical_points_award\"\317\001\n.packetl2c_r"
  267. "eceive_mythical_points_award_result\022d\n\tp"
  268. "acket_id\030\001 \001(\0162!.fish_protocols.e_server"
  269. "_msg_type:.e_mst_l2c_receive_mythical_po"
  270. "ints_award_result\022\016\n\006result\030\002 \001(\005\022\'\n\005ite"
  271. "ms\030\003 \003(\0132\030.fish_protocols.ItemInfo", 1594);
  272. ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
  273. "fish_mythical_palace.proto", &protobuf_RegisterTypes);
  274. MythicalRankInfo::default_instance_ = new MythicalRankInfo();
  275. DropGoldHistory::default_instance_ = new DropGoldHistory();
  276. packetc2l_get_mythical_palace_info::default_instance_ = new packetc2l_get_mythical_palace_info();
  277. packetl2c_get_mythical_palace_info_result::default_instance_ = new packetl2c_get_mythical_palace_info_result();
  278. packetl2c_bc_trigger_mythical_palace_event::default_instance_ = new packetl2c_bc_trigger_mythical_palace_event();
  279. packetc2l_receive_mythical_points_award::default_instance_ = new packetc2l_receive_mythical_points_award();
  280. packetl2c_receive_mythical_points_award_result::default_instance_ = new packetl2c_receive_mythical_points_award_result();
  281. MythicalRankInfo::default_instance_->InitAsDefaultInstance();
  282. DropGoldHistory::default_instance_->InitAsDefaultInstance();
  283. packetc2l_get_mythical_palace_info::default_instance_->InitAsDefaultInstance();
  284. packetl2c_get_mythical_palace_info_result::default_instance_->InitAsDefaultInstance();
  285. packetl2c_bc_trigger_mythical_palace_event::default_instance_->InitAsDefaultInstance();
  286. packetc2l_receive_mythical_points_award::default_instance_->InitAsDefaultInstance();
  287. packetl2c_receive_mythical_points_award_result::default_instance_->InitAsDefaultInstance();
  288. ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_fish_5fmythical_5fpalace_2eproto);
  289. }
  290. // Force AddDescriptors() to be called at static initialization time.
  291. struct StaticDescriptorInitializer_fish_5fmythical_5fpalace_2eproto {
  292. StaticDescriptorInitializer_fish_5fmythical_5fpalace_2eproto() {
  293. protobuf_AddDesc_fish_5fmythical_5fpalace_2eproto();
  294. }
  295. } static_descriptor_initializer_fish_5fmythical_5fpalace_2eproto_;
  296. // ===================================================================
  297. #ifndef _MSC_VER
  298. const int MythicalRankInfo::kPlayerIdFieldNumber;
  299. const int MythicalRankInfo::kNickNameFieldNumber;
  300. const int MythicalRankInfo::kRankFieldNumber;
  301. const int MythicalRankInfo::kFrameIDFieldNumber;
  302. const int MythicalRankInfo::kHeadIdFieldNumber;
  303. const int MythicalRankInfo::kZhuQuePointsFieldNumber;
  304. const int MythicalRankInfo::kBaiHuPointsFieldNumber;
  305. const int MythicalRankInfo::kCaiShenPointsFieldNumber;
  306. const int MythicalRankInfo::kTotalPointsFieldNumber;
  307. #endif // !_MSC_VER
  308. MythicalRankInfo::MythicalRankInfo()
  309. : ::google::protobuf::Message() {
  310. SharedCtor();
  311. }
  312. void MythicalRankInfo::InitAsDefaultInstance() {
  313. }
  314. MythicalRankInfo::MythicalRankInfo(const MythicalRankInfo& from)
  315. : ::google::protobuf::Message() {
  316. SharedCtor();
  317. MergeFrom(from);
  318. }
  319. void MythicalRankInfo::SharedCtor() {
  320. _cached_size_ = 0;
  321. playerid_ = 0;
  322. nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  323. rank_ = 0;
  324. frameid_ = 0;
  325. headid_ = 0;
  326. zhuquepoints_ = 0;
  327. baihupoints_ = 0;
  328. caishenpoints_ = 0;
  329. totalpoints_ = 0;
  330. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  331. }
  332. MythicalRankInfo::~MythicalRankInfo() {
  333. SharedDtor();
  334. }
  335. void MythicalRankInfo::SharedDtor() {
  336. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  337. delete nickname_;
  338. }
  339. if (this != default_instance_) {
  340. }
  341. }
  342. void MythicalRankInfo::SetCachedSize(int size) const {
  343. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  344. _cached_size_ = size;
  345. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  346. }
  347. const ::google::protobuf::Descriptor* MythicalRankInfo::descriptor() {
  348. protobuf_AssignDescriptorsOnce();
  349. return MythicalRankInfo_descriptor_;
  350. }
  351. const MythicalRankInfo& MythicalRankInfo::default_instance() {
  352. if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmythical_5fpalace_2eproto();
  353. return *default_instance_;
  354. }
  355. MythicalRankInfo* MythicalRankInfo::default_instance_ = NULL;
  356. MythicalRankInfo* MythicalRankInfo::New() const {
  357. return new MythicalRankInfo;
  358. }
  359. void MythicalRankInfo::Clear() {
  360. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  361. playerid_ = 0;
  362. if (has_nickname()) {
  363. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  364. nickname_->clear();
  365. }
  366. }
  367. rank_ = 0;
  368. frameid_ = 0;
  369. headid_ = 0;
  370. zhuquepoints_ = 0;
  371. baihupoints_ = 0;
  372. caishenpoints_ = 0;
  373. }
  374. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  375. totalpoints_ = 0;
  376. }
  377. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  378. mutable_unknown_fields()->Clear();
  379. }
  380. bool MythicalRankInfo::MergePartialFromCodedStream(
  381. ::google::protobuf::io::CodedInputStream* input) {
  382. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  383. ::google::protobuf::uint32 tag;
  384. while ((tag = input->ReadTag()) != 0) {
  385. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  386. // optional int32 playerId = 1;
  387. case 1: {
  388. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  389. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  390. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  391. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  392. input, &playerid_)));
  393. set_has_playerid();
  394. } else {
  395. goto handle_uninterpreted;
  396. }
  397. if (input->ExpectTag(18)) goto parse_nickName;
  398. break;
  399. }
  400. // optional string nickName = 2;
  401. case 2: {
  402. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  403. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  404. parse_nickName:
  405. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  406. input, this->mutable_nickname()));
  407. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  408. this->nickname().data(), this->nickname().length(),
  409. ::google::protobuf::internal::WireFormat::PARSE);
  410. } else {
  411. goto handle_uninterpreted;
  412. }
  413. if (input->ExpectTag(24)) goto parse_rank;
  414. break;
  415. }
  416. // optional int32 rank = 3;
  417. case 3: {
  418. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  419. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  420. parse_rank:
  421. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  422. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  423. input, &rank_)));
  424. set_has_rank();
  425. } else {
  426. goto handle_uninterpreted;
  427. }
  428. if (input->ExpectTag(32)) goto parse_frameID;
  429. break;
  430. }
  431. // optional int32 frameID = 4;
  432. case 4: {
  433. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  434. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  435. parse_frameID:
  436. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  437. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  438. input, &frameid_)));
  439. set_has_frameid();
  440. } else {
  441. goto handle_uninterpreted;
  442. }
  443. if (input->ExpectTag(40)) goto parse_headId;
  444. break;
  445. }
  446. // optional int32 headId = 5;
  447. case 5: {
  448. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  449. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  450. parse_headId:
  451. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  452. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  453. input, &headid_)));
  454. set_has_headid();
  455. } else {
  456. goto handle_uninterpreted;
  457. }
  458. if (input->ExpectTag(48)) goto parse_zhuQuePoints;
  459. break;
  460. }
  461. // optional int32 zhuQuePoints = 6;
  462. case 6: {
  463. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  464. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  465. parse_zhuQuePoints:
  466. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  467. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  468. input, &zhuquepoints_)));
  469. set_has_zhuquepoints();
  470. } else {
  471. goto handle_uninterpreted;
  472. }
  473. if (input->ExpectTag(56)) goto parse_baiHuPoints;
  474. break;
  475. }
  476. // optional int32 baiHuPoints = 7;
  477. case 7: {
  478. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  479. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  480. parse_baiHuPoints:
  481. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  482. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  483. input, &baihupoints_)));
  484. set_has_baihupoints();
  485. } else {
  486. goto handle_uninterpreted;
  487. }
  488. if (input->ExpectTag(64)) goto parse_caiShenPoints;
  489. break;
  490. }
  491. // optional int32 caiShenPoints = 8;
  492. case 8: {
  493. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  494. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  495. parse_caiShenPoints:
  496. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  497. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  498. input, &caishenpoints_)));
  499. set_has_caishenpoints();
  500. } else {
  501. goto handle_uninterpreted;
  502. }
  503. if (input->ExpectTag(72)) goto parse_totalPoints;
  504. break;
  505. }
  506. // optional int32 totalPoints = 9;
  507. case 9: {
  508. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  509. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  510. parse_totalPoints:
  511. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  512. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  513. input, &totalpoints_)));
  514. set_has_totalpoints();
  515. } else {
  516. goto handle_uninterpreted;
  517. }
  518. if (input->ExpectAtEnd()) return true;
  519. break;
  520. }
  521. default: {
  522. handle_uninterpreted:
  523. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  524. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  525. return true;
  526. }
  527. DO_(::google::protobuf::internal::WireFormat::SkipField(
  528. input, tag, mutable_unknown_fields()));
  529. break;
  530. }
  531. }
  532. }
  533. return true;
  534. #undef DO_
  535. }
  536. void MythicalRankInfo::SerializeWithCachedSizes(
  537. ::google::protobuf::io::CodedOutputStream* output) const {
  538. // optional int32 playerId = 1;
  539. if (has_playerid()) {
  540. ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->playerid(), output);
  541. }
  542. // optional string nickName = 2;
  543. if (has_nickname()) {
  544. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  545. this->nickname().data(), this->nickname().length(),
  546. ::google::protobuf::internal::WireFormat::SERIALIZE);
  547. ::google::protobuf::internal::WireFormatLite::WriteString(
  548. 2, this->nickname(), output);
  549. }
  550. // optional int32 rank = 3;
  551. if (has_rank()) {
  552. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->rank(), output);
  553. }
  554. // optional int32 frameID = 4;
  555. if (has_frameid()) {
  556. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->frameid(), output);
  557. }
  558. // optional int32 headId = 5;
  559. if (has_headid()) {
  560. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->headid(), output);
  561. }
  562. // optional int32 zhuQuePoints = 6;
  563. if (has_zhuquepoints()) {
  564. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->zhuquepoints(), output);
  565. }
  566. // optional int32 baiHuPoints = 7;
  567. if (has_baihupoints()) {
  568. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->baihupoints(), output);
  569. }
  570. // optional int32 caiShenPoints = 8;
  571. if (has_caishenpoints()) {
  572. ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->caishenpoints(), output);
  573. }
  574. // optional int32 totalPoints = 9;
  575. if (has_totalpoints()) {
  576. ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->totalpoints(), output);
  577. }
  578. if (!unknown_fields().empty()) {
  579. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  580. unknown_fields(), output);
  581. }
  582. }
  583. ::google::protobuf::uint8* MythicalRankInfo::SerializeWithCachedSizesToArray(
  584. ::google::protobuf::uint8* target) const {
  585. // optional int32 playerId = 1;
  586. if (has_playerid()) {
  587. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->playerid(), target);
  588. }
  589. // optional string nickName = 2;
  590. if (has_nickname()) {
  591. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  592. this->nickname().data(), this->nickname().length(),
  593. ::google::protobuf::internal::WireFormat::SERIALIZE);
  594. target =
  595. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  596. 2, this->nickname(), target);
  597. }
  598. // optional int32 rank = 3;
  599. if (has_rank()) {
  600. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->rank(), target);
  601. }
  602. // optional int32 frameID = 4;
  603. if (has_frameid()) {
  604. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->frameid(), target);
  605. }
  606. // optional int32 headId = 5;
  607. if (has_headid()) {
  608. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->headid(), target);
  609. }
  610. // optional int32 zhuQuePoints = 6;
  611. if (has_zhuquepoints()) {
  612. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->zhuquepoints(), target);
  613. }
  614. // optional int32 baiHuPoints = 7;
  615. if (has_baihupoints()) {
  616. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->baihupoints(), target);
  617. }
  618. // optional int32 caiShenPoints = 8;
  619. if (has_caishenpoints()) {
  620. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->caishenpoints(), target);
  621. }
  622. // optional int32 totalPoints = 9;
  623. if (has_totalpoints()) {
  624. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->totalpoints(), target);
  625. }
  626. if (!unknown_fields().empty()) {
  627. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  628. unknown_fields(), target);
  629. }
  630. return target;
  631. }
  632. int MythicalRankInfo::ByteSize() const {
  633. int total_size = 0;
  634. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  635. // optional int32 playerId = 1;
  636. if (has_playerid()) {
  637. total_size += 1 +
  638. ::google::protobuf::internal::WireFormatLite::Int32Size(
  639. this->playerid());
  640. }
  641. // optional string nickName = 2;
  642. if (has_nickname()) {
  643. total_size += 1 +
  644. ::google::protobuf::internal::WireFormatLite::StringSize(
  645. this->nickname());
  646. }
  647. // optional int32 rank = 3;
  648. if (has_rank()) {
  649. total_size += 1 +
  650. ::google::protobuf::internal::WireFormatLite::Int32Size(
  651. this->rank());
  652. }
  653. // optional int32 frameID = 4;
  654. if (has_frameid()) {
  655. total_size += 1 +
  656. ::google::protobuf::internal::WireFormatLite::Int32Size(
  657. this->frameid());
  658. }
  659. // optional int32 headId = 5;
  660. if (has_headid()) {
  661. total_size += 1 +
  662. ::google::protobuf::internal::WireFormatLite::Int32Size(
  663. this->headid());
  664. }
  665. // optional int32 zhuQuePoints = 6;
  666. if (has_zhuquepoints()) {
  667. total_size += 1 +
  668. ::google::protobuf::internal::WireFormatLite::Int32Size(
  669. this->zhuquepoints());
  670. }
  671. // optional int32 baiHuPoints = 7;
  672. if (has_baihupoints()) {
  673. total_size += 1 +
  674. ::google::protobuf::internal::WireFormatLite::Int32Size(
  675. this->baihupoints());
  676. }
  677. // optional int32 caiShenPoints = 8;
  678. if (has_caishenpoints()) {
  679. total_size += 1 +
  680. ::google::protobuf::internal::WireFormatLite::Int32Size(
  681. this->caishenpoints());
  682. }
  683. }
  684. if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  685. // optional int32 totalPoints = 9;
  686. if (has_totalpoints()) {
  687. total_size += 1 +
  688. ::google::protobuf::internal::WireFormatLite::Int32Size(
  689. this->totalpoints());
  690. }
  691. }
  692. if (!unknown_fields().empty()) {
  693. total_size +=
  694. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  695. unknown_fields());
  696. }
  697. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  698. _cached_size_ = total_size;
  699. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  700. return total_size;
  701. }
  702. void MythicalRankInfo::MergeFrom(const ::google::protobuf::Message& from) {
  703. GOOGLE_CHECK_NE(&from, this);
  704. const MythicalRankInfo* source =
  705. ::google::protobuf::internal::dynamic_cast_if_available<const MythicalRankInfo*>(
  706. &from);
  707. if (source == NULL) {
  708. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  709. } else {
  710. MergeFrom(*source);
  711. }
  712. }
  713. void MythicalRankInfo::MergeFrom(const MythicalRankInfo& from) {
  714. GOOGLE_CHECK_NE(&from, this);
  715. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  716. if (from.has_playerid()) {
  717. set_playerid(from.playerid());
  718. }
  719. if (from.has_nickname()) {
  720. set_nickname(from.nickname());
  721. }
  722. if (from.has_rank()) {
  723. set_rank(from.rank());
  724. }
  725. if (from.has_frameid()) {
  726. set_frameid(from.frameid());
  727. }
  728. if (from.has_headid()) {
  729. set_headid(from.headid());
  730. }
  731. if (from.has_zhuquepoints()) {
  732. set_zhuquepoints(from.zhuquepoints());
  733. }
  734. if (from.has_baihupoints()) {
  735. set_baihupoints(from.baihupoints());
  736. }
  737. if (from.has_caishenpoints()) {
  738. set_caishenpoints(from.caishenpoints());
  739. }
  740. }
  741. if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
  742. if (from.has_totalpoints()) {
  743. set_totalpoints(from.totalpoints());
  744. }
  745. }
  746. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  747. }
  748. void MythicalRankInfo::CopyFrom(const ::google::protobuf::Message& from) {
  749. if (&from == this) return;
  750. Clear();
  751. MergeFrom(from);
  752. }
  753. void MythicalRankInfo::CopyFrom(const MythicalRankInfo& from) {
  754. if (&from == this) return;
  755. Clear();
  756. MergeFrom(from);
  757. }
  758. bool MythicalRankInfo::IsInitialized() const {
  759. return true;
  760. }
  761. void MythicalRankInfo::Swap(MythicalRankInfo* other) {
  762. if (other != this) {
  763. std::swap(playerid_, other->playerid_);
  764. std::swap(nickname_, other->nickname_);
  765. std::swap(rank_, other->rank_);
  766. std::swap(frameid_, other->frameid_);
  767. std::swap(headid_, other->headid_);
  768. std::swap(zhuquepoints_, other->zhuquepoints_);
  769. std::swap(baihupoints_, other->baihupoints_);
  770. std::swap(caishenpoints_, other->caishenpoints_);
  771. std::swap(totalpoints_, other->totalpoints_);
  772. std::swap(_has_bits_[0], other->_has_bits_[0]);
  773. _unknown_fields_.Swap(&other->_unknown_fields_);
  774. std::swap(_cached_size_, other->_cached_size_);
  775. }
  776. }
  777. ::google::protobuf::Metadata MythicalRankInfo::GetMetadata() const {
  778. protobuf_AssignDescriptorsOnce();
  779. ::google::protobuf::Metadata metadata;
  780. metadata.descriptor = MythicalRankInfo_descriptor_;
  781. metadata.reflection = MythicalRankInfo_reflection_;
  782. return metadata;
  783. }
  784. // ===================================================================
  785. #ifndef _MSC_VER
  786. const int DropGoldHistory::kNickNameFieldNumber;
  787. const int DropGoldHistory::kFishIdFieldNumber;
  788. const int DropGoldHistory::kBulletRateFieldNumber;
  789. const int DropGoldHistory::kGoldFieldNumber;
  790. const int DropGoldHistory::kEventIdFieldNumber;
  791. const int DropGoldHistory::kGoldRateFieldNumber;
  792. #endif // !_MSC_VER
  793. DropGoldHistory::DropGoldHistory()
  794. : ::google::protobuf::Message() {
  795. SharedCtor();
  796. }
  797. void DropGoldHistory::InitAsDefaultInstance() {
  798. }
  799. DropGoldHistory::DropGoldHistory(const DropGoldHistory& from)
  800. : ::google::protobuf::Message() {
  801. SharedCtor();
  802. MergeFrom(from);
  803. }
  804. void DropGoldHistory::SharedCtor() {
  805. _cached_size_ = 0;
  806. nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  807. fishid_ = 0;
  808. bulletrate_ = 0;
  809. gold_ = 0;
  810. eventid_ = 0;
  811. goldrate_ = 0;
  812. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  813. }
  814. DropGoldHistory::~DropGoldHistory() {
  815. SharedDtor();
  816. }
  817. void DropGoldHistory::SharedDtor() {
  818. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  819. delete nickname_;
  820. }
  821. if (this != default_instance_) {
  822. }
  823. }
  824. void DropGoldHistory::SetCachedSize(int size) const {
  825. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  826. _cached_size_ = size;
  827. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  828. }
  829. const ::google::protobuf::Descriptor* DropGoldHistory::descriptor() {
  830. protobuf_AssignDescriptorsOnce();
  831. return DropGoldHistory_descriptor_;
  832. }
  833. const DropGoldHistory& DropGoldHistory::default_instance() {
  834. if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmythical_5fpalace_2eproto();
  835. return *default_instance_;
  836. }
  837. DropGoldHistory* DropGoldHistory::default_instance_ = NULL;
  838. DropGoldHistory* DropGoldHistory::New() const {
  839. return new DropGoldHistory;
  840. }
  841. void DropGoldHistory::Clear() {
  842. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  843. if (has_nickname()) {
  844. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  845. nickname_->clear();
  846. }
  847. }
  848. fishid_ = 0;
  849. bulletrate_ = 0;
  850. gold_ = 0;
  851. eventid_ = 0;
  852. goldrate_ = 0;
  853. }
  854. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  855. mutable_unknown_fields()->Clear();
  856. }
  857. bool DropGoldHistory::MergePartialFromCodedStream(
  858. ::google::protobuf::io::CodedInputStream* input) {
  859. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  860. ::google::protobuf::uint32 tag;
  861. while ((tag = input->ReadTag()) != 0) {
  862. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  863. // optional string nickName = 1;
  864. case 1: {
  865. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  866. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  867. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  868. input, this->mutable_nickname()));
  869. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  870. this->nickname().data(), this->nickname().length(),
  871. ::google::protobuf::internal::WireFormat::PARSE);
  872. } else {
  873. goto handle_uninterpreted;
  874. }
  875. if (input->ExpectTag(16)) goto parse_fishId;
  876. break;
  877. }
  878. // optional int32 fishId = 2;
  879. case 2: {
  880. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  881. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  882. parse_fishId:
  883. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  884. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  885. input, &fishid_)));
  886. set_has_fishid();
  887. } else {
  888. goto handle_uninterpreted;
  889. }
  890. if (input->ExpectTag(24)) goto parse_bulletRate;
  891. break;
  892. }
  893. // optional int32 bulletRate = 3;
  894. case 3: {
  895. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  896. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  897. parse_bulletRate:
  898. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  899. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  900. input, &bulletrate_)));
  901. set_has_bulletrate();
  902. } else {
  903. goto handle_uninterpreted;
  904. }
  905. if (input->ExpectTag(32)) goto parse_gold;
  906. break;
  907. }
  908. // optional int32 gold = 4;
  909. case 4: {
  910. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  911. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  912. parse_gold:
  913. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  914. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  915. input, &gold_)));
  916. set_has_gold();
  917. } else {
  918. goto handle_uninterpreted;
  919. }
  920. if (input->ExpectTag(40)) goto parse_eventId;
  921. break;
  922. }
  923. // optional int32 eventId = 5;
  924. case 5: {
  925. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  926. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  927. parse_eventId:
  928. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  929. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  930. input, &eventid_)));
  931. set_has_eventid();
  932. } else {
  933. goto handle_uninterpreted;
  934. }
  935. if (input->ExpectTag(48)) goto parse_goldRate;
  936. break;
  937. }
  938. // optional int32 goldRate = 6;
  939. case 6: {
  940. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  941. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  942. parse_goldRate:
  943. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  944. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  945. input, &goldrate_)));
  946. set_has_goldrate();
  947. } else {
  948. goto handle_uninterpreted;
  949. }
  950. if (input->ExpectAtEnd()) return true;
  951. break;
  952. }
  953. default: {
  954. handle_uninterpreted:
  955. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  956. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  957. return true;
  958. }
  959. DO_(::google::protobuf::internal::WireFormat::SkipField(
  960. input, tag, mutable_unknown_fields()));
  961. break;
  962. }
  963. }
  964. }
  965. return true;
  966. #undef DO_
  967. }
  968. void DropGoldHistory::SerializeWithCachedSizes(
  969. ::google::protobuf::io::CodedOutputStream* output) const {
  970. // optional string nickName = 1;
  971. if (has_nickname()) {
  972. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  973. this->nickname().data(), this->nickname().length(),
  974. ::google::protobuf::internal::WireFormat::SERIALIZE);
  975. ::google::protobuf::internal::WireFormatLite::WriteString(
  976. 1, this->nickname(), output);
  977. }
  978. // optional int32 fishId = 2;
  979. if (has_fishid()) {
  980. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->fishid(), output);
  981. }
  982. // optional int32 bulletRate = 3;
  983. if (has_bulletrate()) {
  984. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->bulletrate(), output);
  985. }
  986. // optional int32 gold = 4;
  987. if (has_gold()) {
  988. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->gold(), output);
  989. }
  990. // optional int32 eventId = 5;
  991. if (has_eventid()) {
  992. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->eventid(), output);
  993. }
  994. // optional int32 goldRate = 6;
  995. if (has_goldrate()) {
  996. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->goldrate(), output);
  997. }
  998. if (!unknown_fields().empty()) {
  999. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  1000. unknown_fields(), output);
  1001. }
  1002. }
  1003. ::google::protobuf::uint8* DropGoldHistory::SerializeWithCachedSizesToArray(
  1004. ::google::protobuf::uint8* target) const {
  1005. // optional string nickName = 1;
  1006. if (has_nickname()) {
  1007. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  1008. this->nickname().data(), this->nickname().length(),
  1009. ::google::protobuf::internal::WireFormat::SERIALIZE);
  1010. target =
  1011. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  1012. 1, this->nickname(), target);
  1013. }
  1014. // optional int32 fishId = 2;
  1015. if (has_fishid()) {
  1016. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->fishid(), target);
  1017. }
  1018. // optional int32 bulletRate = 3;
  1019. if (has_bulletrate()) {
  1020. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->bulletrate(), target);
  1021. }
  1022. // optional int32 gold = 4;
  1023. if (has_gold()) {
  1024. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->gold(), target);
  1025. }
  1026. // optional int32 eventId = 5;
  1027. if (has_eventid()) {
  1028. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->eventid(), target);
  1029. }
  1030. // optional int32 goldRate = 6;
  1031. if (has_goldrate()) {
  1032. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->goldrate(), target);
  1033. }
  1034. if (!unknown_fields().empty()) {
  1035. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  1036. unknown_fields(), target);
  1037. }
  1038. return target;
  1039. }
  1040. int DropGoldHistory::ByteSize() const {
  1041. int total_size = 0;
  1042. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1043. // optional string nickName = 1;
  1044. if (has_nickname()) {
  1045. total_size += 1 +
  1046. ::google::protobuf::internal::WireFormatLite::StringSize(
  1047. this->nickname());
  1048. }
  1049. // optional int32 fishId = 2;
  1050. if (has_fishid()) {
  1051. total_size += 1 +
  1052. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1053. this->fishid());
  1054. }
  1055. // optional int32 bulletRate = 3;
  1056. if (has_bulletrate()) {
  1057. total_size += 1 +
  1058. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1059. this->bulletrate());
  1060. }
  1061. // optional int32 gold = 4;
  1062. if (has_gold()) {
  1063. total_size += 1 +
  1064. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1065. this->gold());
  1066. }
  1067. // optional int32 eventId = 5;
  1068. if (has_eventid()) {
  1069. total_size += 1 +
  1070. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1071. this->eventid());
  1072. }
  1073. // optional int32 goldRate = 6;
  1074. if (has_goldrate()) {
  1075. total_size += 1 +
  1076. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1077. this->goldrate());
  1078. }
  1079. }
  1080. if (!unknown_fields().empty()) {
  1081. total_size +=
  1082. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  1083. unknown_fields());
  1084. }
  1085. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1086. _cached_size_ = total_size;
  1087. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1088. return total_size;
  1089. }
  1090. void DropGoldHistory::MergeFrom(const ::google::protobuf::Message& from) {
  1091. GOOGLE_CHECK_NE(&from, this);
  1092. const DropGoldHistory* source =
  1093. ::google::protobuf::internal::dynamic_cast_if_available<const DropGoldHistory*>(
  1094. &from);
  1095. if (source == NULL) {
  1096. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  1097. } else {
  1098. MergeFrom(*source);
  1099. }
  1100. }
  1101. void DropGoldHistory::MergeFrom(const DropGoldHistory& from) {
  1102. GOOGLE_CHECK_NE(&from, this);
  1103. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1104. if (from.has_nickname()) {
  1105. set_nickname(from.nickname());
  1106. }
  1107. if (from.has_fishid()) {
  1108. set_fishid(from.fishid());
  1109. }
  1110. if (from.has_bulletrate()) {
  1111. set_bulletrate(from.bulletrate());
  1112. }
  1113. if (from.has_gold()) {
  1114. set_gold(from.gold());
  1115. }
  1116. if (from.has_eventid()) {
  1117. set_eventid(from.eventid());
  1118. }
  1119. if (from.has_goldrate()) {
  1120. set_goldrate(from.goldrate());
  1121. }
  1122. }
  1123. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  1124. }
  1125. void DropGoldHistory::CopyFrom(const ::google::protobuf::Message& from) {
  1126. if (&from == this) return;
  1127. Clear();
  1128. MergeFrom(from);
  1129. }
  1130. void DropGoldHistory::CopyFrom(const DropGoldHistory& from) {
  1131. if (&from == this) return;
  1132. Clear();
  1133. MergeFrom(from);
  1134. }
  1135. bool DropGoldHistory::IsInitialized() const {
  1136. return true;
  1137. }
  1138. void DropGoldHistory::Swap(DropGoldHistory* other) {
  1139. if (other != this) {
  1140. std::swap(nickname_, other->nickname_);
  1141. std::swap(fishid_, other->fishid_);
  1142. std::swap(bulletrate_, other->bulletrate_);
  1143. std::swap(gold_, other->gold_);
  1144. std::swap(eventid_, other->eventid_);
  1145. std::swap(goldrate_, other->goldrate_);
  1146. std::swap(_has_bits_[0], other->_has_bits_[0]);
  1147. _unknown_fields_.Swap(&other->_unknown_fields_);
  1148. std::swap(_cached_size_, other->_cached_size_);
  1149. }
  1150. }
  1151. ::google::protobuf::Metadata DropGoldHistory::GetMetadata() const {
  1152. protobuf_AssignDescriptorsOnce();
  1153. ::google::protobuf::Metadata metadata;
  1154. metadata.descriptor = DropGoldHistory_descriptor_;
  1155. metadata.reflection = DropGoldHistory_reflection_;
  1156. return metadata;
  1157. }
  1158. // ===================================================================
  1159. #ifndef _MSC_VER
  1160. const int packetc2l_get_mythical_palace_info::kPacketIdFieldNumber;
  1161. #endif // !_MSC_VER
  1162. packetc2l_get_mythical_palace_info::packetc2l_get_mythical_palace_info()
  1163. : ::google::protobuf::Message() {
  1164. SharedCtor();
  1165. }
  1166. void packetc2l_get_mythical_palace_info::InitAsDefaultInstance() {
  1167. }
  1168. packetc2l_get_mythical_palace_info::packetc2l_get_mythical_palace_info(const packetc2l_get_mythical_palace_info& from)
  1169. : ::google::protobuf::Message() {
  1170. SharedCtor();
  1171. MergeFrom(from);
  1172. }
  1173. void packetc2l_get_mythical_palace_info::SharedCtor() {
  1174. _cached_size_ = 0;
  1175. packet_id_ = 10200;
  1176. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1177. }
  1178. packetc2l_get_mythical_palace_info::~packetc2l_get_mythical_palace_info() {
  1179. SharedDtor();
  1180. }
  1181. void packetc2l_get_mythical_palace_info::SharedDtor() {
  1182. if (this != default_instance_) {
  1183. }
  1184. }
  1185. void packetc2l_get_mythical_palace_info::SetCachedSize(int size) const {
  1186. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1187. _cached_size_ = size;
  1188. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1189. }
  1190. const ::google::protobuf::Descriptor* packetc2l_get_mythical_palace_info::descriptor() {
  1191. protobuf_AssignDescriptorsOnce();
  1192. return packetc2l_get_mythical_palace_info_descriptor_;
  1193. }
  1194. const packetc2l_get_mythical_palace_info& packetc2l_get_mythical_palace_info::default_instance() {
  1195. if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmythical_5fpalace_2eproto();
  1196. return *default_instance_;
  1197. }
  1198. packetc2l_get_mythical_palace_info* packetc2l_get_mythical_palace_info::default_instance_ = NULL;
  1199. packetc2l_get_mythical_palace_info* packetc2l_get_mythical_palace_info::New() const {
  1200. return new packetc2l_get_mythical_palace_info;
  1201. }
  1202. void packetc2l_get_mythical_palace_info::Clear() {
  1203. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1204. packet_id_ = 10200;
  1205. }
  1206. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1207. mutable_unknown_fields()->Clear();
  1208. }
  1209. bool packetc2l_get_mythical_palace_info::MergePartialFromCodedStream(
  1210. ::google::protobuf::io::CodedInputStream* input) {
  1211. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  1212. ::google::protobuf::uint32 tag;
  1213. while ((tag = input->ReadTag()) != 0) {
  1214. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1215. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_mythical_palace_info];
  1216. case 1: {
  1217. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1218. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1219. int value;
  1220. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1221. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  1222. input, &value)));
  1223. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  1224. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  1225. } else {
  1226. mutable_unknown_fields()->AddVarint(1, value);
  1227. }
  1228. } else {
  1229. goto handle_uninterpreted;
  1230. }
  1231. if (input->ExpectAtEnd()) return true;
  1232. break;
  1233. }
  1234. default: {
  1235. handle_uninterpreted:
  1236. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1237. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  1238. return true;
  1239. }
  1240. DO_(::google::protobuf::internal::WireFormat::SkipField(
  1241. input, tag, mutable_unknown_fields()));
  1242. break;
  1243. }
  1244. }
  1245. }
  1246. return true;
  1247. #undef DO_
  1248. }
  1249. void packetc2l_get_mythical_palace_info::SerializeWithCachedSizes(
  1250. ::google::protobuf::io::CodedOutputStream* output) const {
  1251. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_mythical_palace_info];
  1252. if (has_packet_id()) {
  1253. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  1254. 1, this->packet_id(), output);
  1255. }
  1256. if (!unknown_fields().empty()) {
  1257. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  1258. unknown_fields(), output);
  1259. }
  1260. }
  1261. ::google::protobuf::uint8* packetc2l_get_mythical_palace_info::SerializeWithCachedSizesToArray(
  1262. ::google::protobuf::uint8* target) const {
  1263. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_mythical_palace_info];
  1264. if (has_packet_id()) {
  1265. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  1266. 1, this->packet_id(), target);
  1267. }
  1268. if (!unknown_fields().empty()) {
  1269. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  1270. unknown_fields(), target);
  1271. }
  1272. return target;
  1273. }
  1274. int packetc2l_get_mythical_palace_info::ByteSize() const {
  1275. int total_size = 0;
  1276. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1277. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_mythical_palace_info];
  1278. if (has_packet_id()) {
  1279. total_size += 1 +
  1280. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  1281. }
  1282. }
  1283. if (!unknown_fields().empty()) {
  1284. total_size +=
  1285. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  1286. unknown_fields());
  1287. }
  1288. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1289. _cached_size_ = total_size;
  1290. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1291. return total_size;
  1292. }
  1293. void packetc2l_get_mythical_palace_info::MergeFrom(const ::google::protobuf::Message& from) {
  1294. GOOGLE_CHECK_NE(&from, this);
  1295. const packetc2l_get_mythical_palace_info* source =
  1296. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_get_mythical_palace_info*>(
  1297. &from);
  1298. if (source == NULL) {
  1299. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  1300. } else {
  1301. MergeFrom(*source);
  1302. }
  1303. }
  1304. void packetc2l_get_mythical_palace_info::MergeFrom(const packetc2l_get_mythical_palace_info& from) {
  1305. GOOGLE_CHECK_NE(&from, this);
  1306. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1307. if (from.has_packet_id()) {
  1308. set_packet_id(from.packet_id());
  1309. }
  1310. }
  1311. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  1312. }
  1313. void packetc2l_get_mythical_palace_info::CopyFrom(const ::google::protobuf::Message& from) {
  1314. if (&from == this) return;
  1315. Clear();
  1316. MergeFrom(from);
  1317. }
  1318. void packetc2l_get_mythical_palace_info::CopyFrom(const packetc2l_get_mythical_palace_info& from) {
  1319. if (&from == this) return;
  1320. Clear();
  1321. MergeFrom(from);
  1322. }
  1323. bool packetc2l_get_mythical_palace_info::IsInitialized() const {
  1324. return true;
  1325. }
  1326. void packetc2l_get_mythical_palace_info::Swap(packetc2l_get_mythical_palace_info* other) {
  1327. if (other != this) {
  1328. std::swap(packet_id_, other->packet_id_);
  1329. std::swap(_has_bits_[0], other->_has_bits_[0]);
  1330. _unknown_fields_.Swap(&other->_unknown_fields_);
  1331. std::swap(_cached_size_, other->_cached_size_);
  1332. }
  1333. }
  1334. ::google::protobuf::Metadata packetc2l_get_mythical_palace_info::GetMetadata() const {
  1335. protobuf_AssignDescriptorsOnce();
  1336. ::google::protobuf::Metadata metadata;
  1337. metadata.descriptor = packetc2l_get_mythical_palace_info_descriptor_;
  1338. metadata.reflection = packetc2l_get_mythical_palace_info_reflection_;
  1339. return metadata;
  1340. }
  1341. // ===================================================================
  1342. #ifndef _MSC_VER
  1343. const int packetl2c_get_mythical_palace_info_result::kPacketIdFieldNumber;
  1344. const int packetl2c_get_mythical_palace_info_result::kResultFieldNumber;
  1345. const int packetl2c_get_mythical_palace_info_result::kZhuQuePointsFieldNumber;
  1346. const int packetl2c_get_mythical_palace_info_result::kBaiHuPointsFieldNumber;
  1347. const int packetl2c_get_mythical_palace_info_result::kCaiShenPointsFieldNumber;
  1348. const int packetl2c_get_mythical_palace_info_result::kTotalPointsFieldNumber;
  1349. const int packetl2c_get_mythical_palace_info_result::kReceivedPointsAwardCountFieldNumber;
  1350. const int packetl2c_get_mythical_palace_info_result::kCurRankListFieldNumber;
  1351. const int packetl2c_get_mythical_palace_info_result::kChangeListFieldNumber;
  1352. const int packetl2c_get_mythical_palace_info_result::kThresholdValueFieldNumber;
  1353. const int packetl2c_get_mythical_palace_info_result::kMyrankFieldNumber;
  1354. #endif // !_MSC_VER
  1355. packetl2c_get_mythical_palace_info_result::packetl2c_get_mythical_palace_info_result()
  1356. : ::google::protobuf::Message() {
  1357. SharedCtor();
  1358. }
  1359. void packetl2c_get_mythical_palace_info_result::InitAsDefaultInstance() {
  1360. }
  1361. packetl2c_get_mythical_palace_info_result::packetl2c_get_mythical_palace_info_result(const packetl2c_get_mythical_palace_info_result& from)
  1362. : ::google::protobuf::Message() {
  1363. SharedCtor();
  1364. MergeFrom(from);
  1365. }
  1366. void packetl2c_get_mythical_palace_info_result::SharedCtor() {
  1367. _cached_size_ = 0;
  1368. packet_id_ = 16194;
  1369. result_ = 0;
  1370. zhuquepoints_ = 0;
  1371. baihupoints_ = 0;
  1372. caishenpoints_ = 0;
  1373. totalpoints_ = 0;
  1374. receivedpointsawardcount_ = 0;
  1375. myrank_ = 0;
  1376. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1377. }
  1378. packetl2c_get_mythical_palace_info_result::~packetl2c_get_mythical_palace_info_result() {
  1379. SharedDtor();
  1380. }
  1381. void packetl2c_get_mythical_palace_info_result::SharedDtor() {
  1382. if (this != default_instance_) {
  1383. }
  1384. }
  1385. void packetl2c_get_mythical_palace_info_result::SetCachedSize(int size) const {
  1386. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1387. _cached_size_ = size;
  1388. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1389. }
  1390. const ::google::protobuf::Descriptor* packetl2c_get_mythical_palace_info_result::descriptor() {
  1391. protobuf_AssignDescriptorsOnce();
  1392. return packetl2c_get_mythical_palace_info_result_descriptor_;
  1393. }
  1394. const packetl2c_get_mythical_palace_info_result& packetl2c_get_mythical_palace_info_result::default_instance() {
  1395. if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmythical_5fpalace_2eproto();
  1396. return *default_instance_;
  1397. }
  1398. packetl2c_get_mythical_palace_info_result* packetl2c_get_mythical_palace_info_result::default_instance_ = NULL;
  1399. packetl2c_get_mythical_palace_info_result* packetl2c_get_mythical_palace_info_result::New() const {
  1400. return new packetl2c_get_mythical_palace_info_result;
  1401. }
  1402. void packetl2c_get_mythical_palace_info_result::Clear() {
  1403. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1404. packet_id_ = 16194;
  1405. result_ = 0;
  1406. zhuquepoints_ = 0;
  1407. baihupoints_ = 0;
  1408. caishenpoints_ = 0;
  1409. totalpoints_ = 0;
  1410. receivedpointsawardcount_ = 0;
  1411. }
  1412. if (_has_bits_[10 / 32] & (0xffu << (10 % 32))) {
  1413. myrank_ = 0;
  1414. }
  1415. curranklist_.Clear();
  1416. changelist_.Clear();
  1417. thresholdvalue_.Clear();
  1418. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1419. mutable_unknown_fields()->Clear();
  1420. }
  1421. bool packetl2c_get_mythical_palace_info_result::MergePartialFromCodedStream(
  1422. ::google::protobuf::io::CodedInputStream* input) {
  1423. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  1424. ::google::protobuf::uint32 tag;
  1425. while ((tag = input->ReadTag()) != 0) {
  1426. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1427. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_mythical_palace_info_result];
  1428. case 1: {
  1429. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1430. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1431. int value;
  1432. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1433. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  1434. input, &value)));
  1435. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  1436. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  1437. } else {
  1438. mutable_unknown_fields()->AddVarint(1, value);
  1439. }
  1440. } else {
  1441. goto handle_uninterpreted;
  1442. }
  1443. if (input->ExpectTag(16)) goto parse_result;
  1444. break;
  1445. }
  1446. // optional int32 result = 2;
  1447. case 2: {
  1448. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1449. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1450. parse_result:
  1451. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1452. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1453. input, &result_)));
  1454. set_has_result();
  1455. } else {
  1456. goto handle_uninterpreted;
  1457. }
  1458. if (input->ExpectTag(24)) goto parse_zhuQuePoints;
  1459. break;
  1460. }
  1461. // optional int32 zhuQuePoints = 3;
  1462. case 3: {
  1463. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1464. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1465. parse_zhuQuePoints:
  1466. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1467. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1468. input, &zhuquepoints_)));
  1469. set_has_zhuquepoints();
  1470. } else {
  1471. goto handle_uninterpreted;
  1472. }
  1473. if (input->ExpectTag(32)) goto parse_baiHuPoints;
  1474. break;
  1475. }
  1476. // optional int32 baiHuPoints = 4;
  1477. case 4: {
  1478. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1479. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1480. parse_baiHuPoints:
  1481. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1482. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1483. input, &baihupoints_)));
  1484. set_has_baihupoints();
  1485. } else {
  1486. goto handle_uninterpreted;
  1487. }
  1488. if (input->ExpectTag(40)) goto parse_caiShenPoints;
  1489. break;
  1490. }
  1491. // optional int32 caiShenPoints = 5;
  1492. case 5: {
  1493. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1494. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1495. parse_caiShenPoints:
  1496. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1497. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1498. input, &caishenpoints_)));
  1499. set_has_caishenpoints();
  1500. } else {
  1501. goto handle_uninterpreted;
  1502. }
  1503. if (input->ExpectTag(48)) goto parse_totalPoints;
  1504. break;
  1505. }
  1506. // optional int32 totalPoints = 6;
  1507. case 6: {
  1508. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1509. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1510. parse_totalPoints:
  1511. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1512. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1513. input, &totalpoints_)));
  1514. set_has_totalpoints();
  1515. } else {
  1516. goto handle_uninterpreted;
  1517. }
  1518. if (input->ExpectTag(56)) goto parse_receivedPointsAwardCount;
  1519. break;
  1520. }
  1521. // optional int32 receivedPointsAwardCount = 7;
  1522. case 7: {
  1523. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1524. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1525. parse_receivedPointsAwardCount:
  1526. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1527. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1528. input, &receivedpointsawardcount_)));
  1529. set_has_receivedpointsawardcount();
  1530. } else {
  1531. goto handle_uninterpreted;
  1532. }
  1533. if (input->ExpectTag(66)) goto parse_curRankList;
  1534. break;
  1535. }
  1536. // repeated .fish_protocols.MythicalRankInfo curRankList = 8;
  1537. case 8: {
  1538. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1539. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  1540. parse_curRankList:
  1541. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  1542. input, add_curranklist()));
  1543. } else {
  1544. goto handle_uninterpreted;
  1545. }
  1546. if (input->ExpectTag(66)) goto parse_curRankList;
  1547. if (input->ExpectTag(74)) goto parse_changeList;
  1548. break;
  1549. }
  1550. // repeated .fish_protocols.DropGoldHistory changeList = 9;
  1551. case 9: {
  1552. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1553. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  1554. parse_changeList:
  1555. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  1556. input, add_changelist()));
  1557. } else {
  1558. goto handle_uninterpreted;
  1559. }
  1560. if (input->ExpectTag(74)) goto parse_changeList;
  1561. if (input->ExpectTag(80)) goto parse_thresholdValue;
  1562. break;
  1563. }
  1564. // repeated int32 thresholdValue = 10;
  1565. case 10: {
  1566. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1567. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1568. parse_thresholdValue:
  1569. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  1570. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1571. 1, 80, input, this->mutable_thresholdvalue())));
  1572. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  1573. == ::google::protobuf::internal::WireFormatLite::
  1574. WIRETYPE_LENGTH_DELIMITED) {
  1575. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  1576. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1577. input, this->mutable_thresholdvalue())));
  1578. } else {
  1579. goto handle_uninterpreted;
  1580. }
  1581. if (input->ExpectTag(80)) goto parse_thresholdValue;
  1582. if (input->ExpectTag(88)) goto parse_myrank;
  1583. break;
  1584. }
  1585. // optional int32 myrank = 11;
  1586. case 11: {
  1587. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1588. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1589. parse_myrank:
  1590. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1591. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1592. input, &myrank_)));
  1593. set_has_myrank();
  1594. } else {
  1595. goto handle_uninterpreted;
  1596. }
  1597. if (input->ExpectAtEnd()) return true;
  1598. break;
  1599. }
  1600. default: {
  1601. handle_uninterpreted:
  1602. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1603. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  1604. return true;
  1605. }
  1606. DO_(::google::protobuf::internal::WireFormat::SkipField(
  1607. input, tag, mutable_unknown_fields()));
  1608. break;
  1609. }
  1610. }
  1611. }
  1612. return true;
  1613. #undef DO_
  1614. }
  1615. void packetl2c_get_mythical_palace_info_result::SerializeWithCachedSizes(
  1616. ::google::protobuf::io::CodedOutputStream* output) const {
  1617. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_mythical_palace_info_result];
  1618. if (has_packet_id()) {
  1619. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  1620. 1, this->packet_id(), output);
  1621. }
  1622. // optional int32 result = 2;
  1623. if (has_result()) {
  1624. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  1625. }
  1626. // optional int32 zhuQuePoints = 3;
  1627. if (has_zhuquepoints()) {
  1628. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->zhuquepoints(), output);
  1629. }
  1630. // optional int32 baiHuPoints = 4;
  1631. if (has_baihupoints()) {
  1632. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->baihupoints(), output);
  1633. }
  1634. // optional int32 caiShenPoints = 5;
  1635. if (has_caishenpoints()) {
  1636. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->caishenpoints(), output);
  1637. }
  1638. // optional int32 totalPoints = 6;
  1639. if (has_totalpoints()) {
  1640. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->totalpoints(), output);
  1641. }
  1642. // optional int32 receivedPointsAwardCount = 7;
  1643. if (has_receivedpointsawardcount()) {
  1644. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->receivedpointsawardcount(), output);
  1645. }
  1646. // repeated .fish_protocols.MythicalRankInfo curRankList = 8;
  1647. for (int i = 0; i < this->curranklist_size(); i++) {
  1648. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  1649. 8, this->curranklist(i), output);
  1650. }
  1651. // repeated .fish_protocols.DropGoldHistory changeList = 9;
  1652. for (int i = 0; i < this->changelist_size(); i++) {
  1653. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  1654. 9, this->changelist(i), output);
  1655. }
  1656. // repeated int32 thresholdValue = 10;
  1657. for (int i = 0; i < this->thresholdvalue_size(); i++) {
  1658. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  1659. 10, this->thresholdvalue(i), output);
  1660. }
  1661. // optional int32 myrank = 11;
  1662. if (has_myrank()) {
  1663. ::google::protobuf::internal::WireFormatLite::WriteInt32(11, this->myrank(), output);
  1664. }
  1665. if (!unknown_fields().empty()) {
  1666. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  1667. unknown_fields(), output);
  1668. }
  1669. }
  1670. ::google::protobuf::uint8* packetl2c_get_mythical_palace_info_result::SerializeWithCachedSizesToArray(
  1671. ::google::protobuf::uint8* target) const {
  1672. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_mythical_palace_info_result];
  1673. if (has_packet_id()) {
  1674. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  1675. 1, this->packet_id(), target);
  1676. }
  1677. // optional int32 result = 2;
  1678. if (has_result()) {
  1679. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  1680. }
  1681. // optional int32 zhuQuePoints = 3;
  1682. if (has_zhuquepoints()) {
  1683. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->zhuquepoints(), target);
  1684. }
  1685. // optional int32 baiHuPoints = 4;
  1686. if (has_baihupoints()) {
  1687. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->baihupoints(), target);
  1688. }
  1689. // optional int32 caiShenPoints = 5;
  1690. if (has_caishenpoints()) {
  1691. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->caishenpoints(), target);
  1692. }
  1693. // optional int32 totalPoints = 6;
  1694. if (has_totalpoints()) {
  1695. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->totalpoints(), target);
  1696. }
  1697. // optional int32 receivedPointsAwardCount = 7;
  1698. if (has_receivedpointsawardcount()) {
  1699. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->receivedpointsawardcount(), target);
  1700. }
  1701. // repeated .fish_protocols.MythicalRankInfo curRankList = 8;
  1702. for (int i = 0; i < this->curranklist_size(); i++) {
  1703. target = ::google::protobuf::internal::WireFormatLite::
  1704. WriteMessageNoVirtualToArray(
  1705. 8, this->curranklist(i), target);
  1706. }
  1707. // repeated .fish_protocols.DropGoldHistory changeList = 9;
  1708. for (int i = 0; i < this->changelist_size(); i++) {
  1709. target = ::google::protobuf::internal::WireFormatLite::
  1710. WriteMessageNoVirtualToArray(
  1711. 9, this->changelist(i), target);
  1712. }
  1713. // repeated int32 thresholdValue = 10;
  1714. for (int i = 0; i < this->thresholdvalue_size(); i++) {
  1715. target = ::google::protobuf::internal::WireFormatLite::
  1716. WriteInt32ToArray(10, this->thresholdvalue(i), target);
  1717. }
  1718. // optional int32 myrank = 11;
  1719. if (has_myrank()) {
  1720. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(11, this->myrank(), target);
  1721. }
  1722. if (!unknown_fields().empty()) {
  1723. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  1724. unknown_fields(), target);
  1725. }
  1726. return target;
  1727. }
  1728. int packetl2c_get_mythical_palace_info_result::ByteSize() const {
  1729. int total_size = 0;
  1730. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1731. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_mythical_palace_info_result];
  1732. if (has_packet_id()) {
  1733. total_size += 1 +
  1734. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  1735. }
  1736. // optional int32 result = 2;
  1737. if (has_result()) {
  1738. total_size += 1 +
  1739. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1740. this->result());
  1741. }
  1742. // optional int32 zhuQuePoints = 3;
  1743. if (has_zhuquepoints()) {
  1744. total_size += 1 +
  1745. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1746. this->zhuquepoints());
  1747. }
  1748. // optional int32 baiHuPoints = 4;
  1749. if (has_baihupoints()) {
  1750. total_size += 1 +
  1751. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1752. this->baihupoints());
  1753. }
  1754. // optional int32 caiShenPoints = 5;
  1755. if (has_caishenpoints()) {
  1756. total_size += 1 +
  1757. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1758. this->caishenpoints());
  1759. }
  1760. // optional int32 totalPoints = 6;
  1761. if (has_totalpoints()) {
  1762. total_size += 1 +
  1763. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1764. this->totalpoints());
  1765. }
  1766. // optional int32 receivedPointsAwardCount = 7;
  1767. if (has_receivedpointsawardcount()) {
  1768. total_size += 1 +
  1769. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1770. this->receivedpointsawardcount());
  1771. }
  1772. }
  1773. if (_has_bits_[10 / 32] & (0xffu << (10 % 32))) {
  1774. // optional int32 myrank = 11;
  1775. if (has_myrank()) {
  1776. total_size += 1 +
  1777. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1778. this->myrank());
  1779. }
  1780. }
  1781. // repeated .fish_protocols.MythicalRankInfo curRankList = 8;
  1782. total_size += 1 * this->curranklist_size();
  1783. for (int i = 0; i < this->curranklist_size(); i++) {
  1784. total_size +=
  1785. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  1786. this->curranklist(i));
  1787. }
  1788. // repeated .fish_protocols.DropGoldHistory changeList = 9;
  1789. total_size += 1 * this->changelist_size();
  1790. for (int i = 0; i < this->changelist_size(); i++) {
  1791. total_size +=
  1792. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  1793. this->changelist(i));
  1794. }
  1795. // repeated int32 thresholdValue = 10;
  1796. {
  1797. int data_size = 0;
  1798. for (int i = 0; i < this->thresholdvalue_size(); i++) {
  1799. data_size += ::google::protobuf::internal::WireFormatLite::
  1800. Int32Size(this->thresholdvalue(i));
  1801. }
  1802. total_size += 1 * this->thresholdvalue_size() + data_size;
  1803. }
  1804. if (!unknown_fields().empty()) {
  1805. total_size +=
  1806. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  1807. unknown_fields());
  1808. }
  1809. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1810. _cached_size_ = total_size;
  1811. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1812. return total_size;
  1813. }
  1814. void packetl2c_get_mythical_palace_info_result::MergeFrom(const ::google::protobuf::Message& from) {
  1815. GOOGLE_CHECK_NE(&from, this);
  1816. const packetl2c_get_mythical_palace_info_result* source =
  1817. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_get_mythical_palace_info_result*>(
  1818. &from);
  1819. if (source == NULL) {
  1820. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  1821. } else {
  1822. MergeFrom(*source);
  1823. }
  1824. }
  1825. void packetl2c_get_mythical_palace_info_result::MergeFrom(const packetl2c_get_mythical_palace_info_result& from) {
  1826. GOOGLE_CHECK_NE(&from, this);
  1827. curranklist_.MergeFrom(from.curranklist_);
  1828. changelist_.MergeFrom(from.changelist_);
  1829. thresholdvalue_.MergeFrom(from.thresholdvalue_);
  1830. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1831. if (from.has_packet_id()) {
  1832. set_packet_id(from.packet_id());
  1833. }
  1834. if (from.has_result()) {
  1835. set_result(from.result());
  1836. }
  1837. if (from.has_zhuquepoints()) {
  1838. set_zhuquepoints(from.zhuquepoints());
  1839. }
  1840. if (from.has_baihupoints()) {
  1841. set_baihupoints(from.baihupoints());
  1842. }
  1843. if (from.has_caishenpoints()) {
  1844. set_caishenpoints(from.caishenpoints());
  1845. }
  1846. if (from.has_totalpoints()) {
  1847. set_totalpoints(from.totalpoints());
  1848. }
  1849. if (from.has_receivedpointsawardcount()) {
  1850. set_receivedpointsawardcount(from.receivedpointsawardcount());
  1851. }
  1852. }
  1853. if (from._has_bits_[10 / 32] & (0xffu << (10 % 32))) {
  1854. if (from.has_myrank()) {
  1855. set_myrank(from.myrank());
  1856. }
  1857. }
  1858. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  1859. }
  1860. void packetl2c_get_mythical_palace_info_result::CopyFrom(const ::google::protobuf::Message& from) {
  1861. if (&from == this) return;
  1862. Clear();
  1863. MergeFrom(from);
  1864. }
  1865. void packetl2c_get_mythical_palace_info_result::CopyFrom(const packetl2c_get_mythical_palace_info_result& from) {
  1866. if (&from == this) return;
  1867. Clear();
  1868. MergeFrom(from);
  1869. }
  1870. bool packetl2c_get_mythical_palace_info_result::IsInitialized() const {
  1871. return true;
  1872. }
  1873. void packetl2c_get_mythical_palace_info_result::Swap(packetl2c_get_mythical_palace_info_result* other) {
  1874. if (other != this) {
  1875. std::swap(packet_id_, other->packet_id_);
  1876. std::swap(result_, other->result_);
  1877. std::swap(zhuquepoints_, other->zhuquepoints_);
  1878. std::swap(baihupoints_, other->baihupoints_);
  1879. std::swap(caishenpoints_, other->caishenpoints_);
  1880. std::swap(totalpoints_, other->totalpoints_);
  1881. std::swap(receivedpointsawardcount_, other->receivedpointsawardcount_);
  1882. curranklist_.Swap(&other->curranklist_);
  1883. changelist_.Swap(&other->changelist_);
  1884. thresholdvalue_.Swap(&other->thresholdvalue_);
  1885. std::swap(myrank_, other->myrank_);
  1886. std::swap(_has_bits_[0], other->_has_bits_[0]);
  1887. _unknown_fields_.Swap(&other->_unknown_fields_);
  1888. std::swap(_cached_size_, other->_cached_size_);
  1889. }
  1890. }
  1891. ::google::protobuf::Metadata packetl2c_get_mythical_palace_info_result::GetMetadata() const {
  1892. protobuf_AssignDescriptorsOnce();
  1893. ::google::protobuf::Metadata metadata;
  1894. metadata.descriptor = packetl2c_get_mythical_palace_info_result_descriptor_;
  1895. metadata.reflection = packetl2c_get_mythical_palace_info_result_reflection_;
  1896. return metadata;
  1897. }
  1898. // ===================================================================
  1899. #ifndef _MSC_VER
  1900. const int packetl2c_bc_trigger_mythical_palace_event::kPacketIdFieldNumber;
  1901. const int packetl2c_bc_trigger_mythical_palace_event::kPlayerIdFieldNumber;
  1902. const int packetl2c_bc_trigger_mythical_palace_event::kEventIdFieldNumber;
  1903. const int packetl2c_bc_trigger_mythical_palace_event::kBossRateFieldNumber;
  1904. const int packetl2c_bc_trigger_mythical_palace_event::kGoldFieldNumber;
  1905. const int packetl2c_bc_trigger_mythical_palace_event::kDropPointsFieldNumber;
  1906. const int packetl2c_bc_trigger_mythical_palace_event::kDropPointsExFieldNumber;
  1907. #endif // !_MSC_VER
  1908. packetl2c_bc_trigger_mythical_palace_event::packetl2c_bc_trigger_mythical_palace_event()
  1909. : ::google::protobuf::Message() {
  1910. SharedCtor();
  1911. }
  1912. void packetl2c_bc_trigger_mythical_palace_event::InitAsDefaultInstance() {
  1913. }
  1914. packetl2c_bc_trigger_mythical_palace_event::packetl2c_bc_trigger_mythical_palace_event(const packetl2c_bc_trigger_mythical_palace_event& from)
  1915. : ::google::protobuf::Message() {
  1916. SharedCtor();
  1917. MergeFrom(from);
  1918. }
  1919. void packetl2c_bc_trigger_mythical_palace_event::SharedCtor() {
  1920. _cached_size_ = 0;
  1921. packet_id_ = 16195;
  1922. playerid_ = 0;
  1923. eventid_ = 0;
  1924. bossrate_ = 0;
  1925. gold_ = 0;
  1926. droppoints_ = 0;
  1927. droppointsex_ = 0;
  1928. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1929. }
  1930. packetl2c_bc_trigger_mythical_palace_event::~packetl2c_bc_trigger_mythical_palace_event() {
  1931. SharedDtor();
  1932. }
  1933. void packetl2c_bc_trigger_mythical_palace_event::SharedDtor() {
  1934. if (this != default_instance_) {
  1935. }
  1936. }
  1937. void packetl2c_bc_trigger_mythical_palace_event::SetCachedSize(int size) const {
  1938. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1939. _cached_size_ = size;
  1940. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1941. }
  1942. const ::google::protobuf::Descriptor* packetl2c_bc_trigger_mythical_palace_event::descriptor() {
  1943. protobuf_AssignDescriptorsOnce();
  1944. return packetl2c_bc_trigger_mythical_palace_event_descriptor_;
  1945. }
  1946. const packetl2c_bc_trigger_mythical_palace_event& packetl2c_bc_trigger_mythical_palace_event::default_instance() {
  1947. if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmythical_5fpalace_2eproto();
  1948. return *default_instance_;
  1949. }
  1950. packetl2c_bc_trigger_mythical_palace_event* packetl2c_bc_trigger_mythical_palace_event::default_instance_ = NULL;
  1951. packetl2c_bc_trigger_mythical_palace_event* packetl2c_bc_trigger_mythical_palace_event::New() const {
  1952. return new packetl2c_bc_trigger_mythical_palace_event;
  1953. }
  1954. void packetl2c_bc_trigger_mythical_palace_event::Clear() {
  1955. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1956. packet_id_ = 16195;
  1957. playerid_ = 0;
  1958. eventid_ = 0;
  1959. bossrate_ = 0;
  1960. gold_ = 0;
  1961. droppoints_ = 0;
  1962. droppointsex_ = 0;
  1963. }
  1964. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1965. mutable_unknown_fields()->Clear();
  1966. }
  1967. bool packetl2c_bc_trigger_mythical_palace_event::MergePartialFromCodedStream(
  1968. ::google::protobuf::io::CodedInputStream* input) {
  1969. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  1970. ::google::protobuf::uint32 tag;
  1971. while ((tag = input->ReadTag()) != 0) {
  1972. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1973. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_mythical_palace_event];
  1974. case 1: {
  1975. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1976. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1977. int value;
  1978. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1979. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  1980. input, &value)));
  1981. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  1982. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  1983. } else {
  1984. mutable_unknown_fields()->AddVarint(1, value);
  1985. }
  1986. } else {
  1987. goto handle_uninterpreted;
  1988. }
  1989. if (input->ExpectTag(16)) goto parse_playerId;
  1990. break;
  1991. }
  1992. // optional int32 playerId = 2;
  1993. case 2: {
  1994. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1995. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1996. parse_playerId:
  1997. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1998. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1999. input, &playerid_)));
  2000. set_has_playerid();
  2001. } else {
  2002. goto handle_uninterpreted;
  2003. }
  2004. if (input->ExpectTag(24)) goto parse_eventId;
  2005. break;
  2006. }
  2007. // optional int32 eventId = 3;
  2008. case 3: {
  2009. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2010. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2011. parse_eventId:
  2012. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2013. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2014. input, &eventid_)));
  2015. set_has_eventid();
  2016. } else {
  2017. goto handle_uninterpreted;
  2018. }
  2019. if (input->ExpectTag(32)) goto parse_bossRate;
  2020. break;
  2021. }
  2022. // optional int32 bossRate = 4;
  2023. case 4: {
  2024. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2025. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2026. parse_bossRate:
  2027. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2028. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2029. input, &bossrate_)));
  2030. set_has_bossrate();
  2031. } else {
  2032. goto handle_uninterpreted;
  2033. }
  2034. if (input->ExpectTag(40)) goto parse_gold;
  2035. break;
  2036. }
  2037. // optional int32 gold = 5;
  2038. case 5: {
  2039. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2040. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2041. parse_gold:
  2042. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2043. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2044. input, &gold_)));
  2045. set_has_gold();
  2046. } else {
  2047. goto handle_uninterpreted;
  2048. }
  2049. if (input->ExpectTag(48)) goto parse_dropPoints;
  2050. break;
  2051. }
  2052. // optional int32 dropPoints = 6;
  2053. case 6: {
  2054. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2055. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2056. parse_dropPoints:
  2057. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2058. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2059. input, &droppoints_)));
  2060. set_has_droppoints();
  2061. } else {
  2062. goto handle_uninterpreted;
  2063. }
  2064. if (input->ExpectTag(56)) goto parse_dropPointsEx;
  2065. break;
  2066. }
  2067. // optional int32 dropPointsEx = 7;
  2068. case 7: {
  2069. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2070. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2071. parse_dropPointsEx:
  2072. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2073. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2074. input, &droppointsex_)));
  2075. set_has_droppointsex();
  2076. } else {
  2077. goto handle_uninterpreted;
  2078. }
  2079. if (input->ExpectAtEnd()) return true;
  2080. break;
  2081. }
  2082. default: {
  2083. handle_uninterpreted:
  2084. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2085. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2086. return true;
  2087. }
  2088. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2089. input, tag, mutable_unknown_fields()));
  2090. break;
  2091. }
  2092. }
  2093. }
  2094. return true;
  2095. #undef DO_
  2096. }
  2097. void packetl2c_bc_trigger_mythical_palace_event::SerializeWithCachedSizes(
  2098. ::google::protobuf::io::CodedOutputStream* output) const {
  2099. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_mythical_palace_event];
  2100. if (has_packet_id()) {
  2101. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  2102. 1, this->packet_id(), output);
  2103. }
  2104. // optional int32 playerId = 2;
  2105. if (has_playerid()) {
  2106. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playerid(), output);
  2107. }
  2108. // optional int32 eventId = 3;
  2109. if (has_eventid()) {
  2110. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->eventid(), output);
  2111. }
  2112. // optional int32 bossRate = 4;
  2113. if (has_bossrate()) {
  2114. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->bossrate(), output);
  2115. }
  2116. // optional int32 gold = 5;
  2117. if (has_gold()) {
  2118. ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->gold(), output);
  2119. }
  2120. // optional int32 dropPoints = 6;
  2121. if (has_droppoints()) {
  2122. ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->droppoints(), output);
  2123. }
  2124. // optional int32 dropPointsEx = 7;
  2125. if (has_droppointsex()) {
  2126. ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->droppointsex(), output);
  2127. }
  2128. if (!unknown_fields().empty()) {
  2129. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2130. unknown_fields(), output);
  2131. }
  2132. }
  2133. ::google::protobuf::uint8* packetl2c_bc_trigger_mythical_palace_event::SerializeWithCachedSizesToArray(
  2134. ::google::protobuf::uint8* target) const {
  2135. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_mythical_palace_event];
  2136. if (has_packet_id()) {
  2137. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  2138. 1, this->packet_id(), target);
  2139. }
  2140. // optional int32 playerId = 2;
  2141. if (has_playerid()) {
  2142. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playerid(), target);
  2143. }
  2144. // optional int32 eventId = 3;
  2145. if (has_eventid()) {
  2146. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->eventid(), target);
  2147. }
  2148. // optional int32 bossRate = 4;
  2149. if (has_bossrate()) {
  2150. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->bossrate(), target);
  2151. }
  2152. // optional int32 gold = 5;
  2153. if (has_gold()) {
  2154. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->gold(), target);
  2155. }
  2156. // optional int32 dropPoints = 6;
  2157. if (has_droppoints()) {
  2158. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->droppoints(), target);
  2159. }
  2160. // optional int32 dropPointsEx = 7;
  2161. if (has_droppointsex()) {
  2162. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->droppointsex(), target);
  2163. }
  2164. if (!unknown_fields().empty()) {
  2165. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2166. unknown_fields(), target);
  2167. }
  2168. return target;
  2169. }
  2170. int packetl2c_bc_trigger_mythical_palace_event::ByteSize() const {
  2171. int total_size = 0;
  2172. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2173. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_mythical_palace_event];
  2174. if (has_packet_id()) {
  2175. total_size += 1 +
  2176. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  2177. }
  2178. // optional int32 playerId = 2;
  2179. if (has_playerid()) {
  2180. total_size += 1 +
  2181. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2182. this->playerid());
  2183. }
  2184. // optional int32 eventId = 3;
  2185. if (has_eventid()) {
  2186. total_size += 1 +
  2187. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2188. this->eventid());
  2189. }
  2190. // optional int32 bossRate = 4;
  2191. if (has_bossrate()) {
  2192. total_size += 1 +
  2193. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2194. this->bossrate());
  2195. }
  2196. // optional int32 gold = 5;
  2197. if (has_gold()) {
  2198. total_size += 1 +
  2199. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2200. this->gold());
  2201. }
  2202. // optional int32 dropPoints = 6;
  2203. if (has_droppoints()) {
  2204. total_size += 1 +
  2205. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2206. this->droppoints());
  2207. }
  2208. // optional int32 dropPointsEx = 7;
  2209. if (has_droppointsex()) {
  2210. total_size += 1 +
  2211. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2212. this->droppointsex());
  2213. }
  2214. }
  2215. if (!unknown_fields().empty()) {
  2216. total_size +=
  2217. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2218. unknown_fields());
  2219. }
  2220. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2221. _cached_size_ = total_size;
  2222. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2223. return total_size;
  2224. }
  2225. void packetl2c_bc_trigger_mythical_palace_event::MergeFrom(const ::google::protobuf::Message& from) {
  2226. GOOGLE_CHECK_NE(&from, this);
  2227. const packetl2c_bc_trigger_mythical_palace_event* source =
  2228. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_bc_trigger_mythical_palace_event*>(
  2229. &from);
  2230. if (source == NULL) {
  2231. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2232. } else {
  2233. MergeFrom(*source);
  2234. }
  2235. }
  2236. void packetl2c_bc_trigger_mythical_palace_event::MergeFrom(const packetl2c_bc_trigger_mythical_palace_event& from) {
  2237. GOOGLE_CHECK_NE(&from, this);
  2238. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2239. if (from.has_packet_id()) {
  2240. set_packet_id(from.packet_id());
  2241. }
  2242. if (from.has_playerid()) {
  2243. set_playerid(from.playerid());
  2244. }
  2245. if (from.has_eventid()) {
  2246. set_eventid(from.eventid());
  2247. }
  2248. if (from.has_bossrate()) {
  2249. set_bossrate(from.bossrate());
  2250. }
  2251. if (from.has_gold()) {
  2252. set_gold(from.gold());
  2253. }
  2254. if (from.has_droppoints()) {
  2255. set_droppoints(from.droppoints());
  2256. }
  2257. if (from.has_droppointsex()) {
  2258. set_droppointsex(from.droppointsex());
  2259. }
  2260. }
  2261. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  2262. }
  2263. void packetl2c_bc_trigger_mythical_palace_event::CopyFrom(const ::google::protobuf::Message& from) {
  2264. if (&from == this) return;
  2265. Clear();
  2266. MergeFrom(from);
  2267. }
  2268. void packetl2c_bc_trigger_mythical_palace_event::CopyFrom(const packetl2c_bc_trigger_mythical_palace_event& from) {
  2269. if (&from == this) return;
  2270. Clear();
  2271. MergeFrom(from);
  2272. }
  2273. bool packetl2c_bc_trigger_mythical_palace_event::IsInitialized() const {
  2274. return true;
  2275. }
  2276. void packetl2c_bc_trigger_mythical_palace_event::Swap(packetl2c_bc_trigger_mythical_palace_event* other) {
  2277. if (other != this) {
  2278. std::swap(packet_id_, other->packet_id_);
  2279. std::swap(playerid_, other->playerid_);
  2280. std::swap(eventid_, other->eventid_);
  2281. std::swap(bossrate_, other->bossrate_);
  2282. std::swap(gold_, other->gold_);
  2283. std::swap(droppoints_, other->droppoints_);
  2284. std::swap(droppointsex_, other->droppointsex_);
  2285. std::swap(_has_bits_[0], other->_has_bits_[0]);
  2286. _unknown_fields_.Swap(&other->_unknown_fields_);
  2287. std::swap(_cached_size_, other->_cached_size_);
  2288. }
  2289. }
  2290. ::google::protobuf::Metadata packetl2c_bc_trigger_mythical_palace_event::GetMetadata() const {
  2291. protobuf_AssignDescriptorsOnce();
  2292. ::google::protobuf::Metadata metadata;
  2293. metadata.descriptor = packetl2c_bc_trigger_mythical_palace_event_descriptor_;
  2294. metadata.reflection = packetl2c_bc_trigger_mythical_palace_event_reflection_;
  2295. return metadata;
  2296. }
  2297. // ===================================================================
  2298. #ifndef _MSC_VER
  2299. const int packetc2l_receive_mythical_points_award::kPacketIdFieldNumber;
  2300. #endif // !_MSC_VER
  2301. packetc2l_receive_mythical_points_award::packetc2l_receive_mythical_points_award()
  2302. : ::google::protobuf::Message() {
  2303. SharedCtor();
  2304. }
  2305. void packetc2l_receive_mythical_points_award::InitAsDefaultInstance() {
  2306. }
  2307. packetc2l_receive_mythical_points_award::packetc2l_receive_mythical_points_award(const packetc2l_receive_mythical_points_award& from)
  2308. : ::google::protobuf::Message() {
  2309. SharedCtor();
  2310. MergeFrom(from);
  2311. }
  2312. void packetc2l_receive_mythical_points_award::SharedCtor() {
  2313. _cached_size_ = 0;
  2314. packet_id_ = 10201;
  2315. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2316. }
  2317. packetc2l_receive_mythical_points_award::~packetc2l_receive_mythical_points_award() {
  2318. SharedDtor();
  2319. }
  2320. void packetc2l_receive_mythical_points_award::SharedDtor() {
  2321. if (this != default_instance_) {
  2322. }
  2323. }
  2324. void packetc2l_receive_mythical_points_award::SetCachedSize(int size) const {
  2325. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2326. _cached_size_ = size;
  2327. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2328. }
  2329. const ::google::protobuf::Descriptor* packetc2l_receive_mythical_points_award::descriptor() {
  2330. protobuf_AssignDescriptorsOnce();
  2331. return packetc2l_receive_mythical_points_award_descriptor_;
  2332. }
  2333. const packetc2l_receive_mythical_points_award& packetc2l_receive_mythical_points_award::default_instance() {
  2334. if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmythical_5fpalace_2eproto();
  2335. return *default_instance_;
  2336. }
  2337. packetc2l_receive_mythical_points_award* packetc2l_receive_mythical_points_award::default_instance_ = NULL;
  2338. packetc2l_receive_mythical_points_award* packetc2l_receive_mythical_points_award::New() const {
  2339. return new packetc2l_receive_mythical_points_award;
  2340. }
  2341. void packetc2l_receive_mythical_points_award::Clear() {
  2342. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2343. packet_id_ = 10201;
  2344. }
  2345. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2346. mutable_unknown_fields()->Clear();
  2347. }
  2348. bool packetc2l_receive_mythical_points_award::MergePartialFromCodedStream(
  2349. ::google::protobuf::io::CodedInputStream* input) {
  2350. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  2351. ::google::protobuf::uint32 tag;
  2352. while ((tag = input->ReadTag()) != 0) {
  2353. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2354. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_receive_mythical_points_award];
  2355. case 1: {
  2356. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2357. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2358. int value;
  2359. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2360. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  2361. input, &value)));
  2362. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  2363. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  2364. } else {
  2365. mutable_unknown_fields()->AddVarint(1, value);
  2366. }
  2367. } else {
  2368. goto handle_uninterpreted;
  2369. }
  2370. if (input->ExpectAtEnd()) return true;
  2371. break;
  2372. }
  2373. default: {
  2374. handle_uninterpreted:
  2375. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2376. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2377. return true;
  2378. }
  2379. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2380. input, tag, mutable_unknown_fields()));
  2381. break;
  2382. }
  2383. }
  2384. }
  2385. return true;
  2386. #undef DO_
  2387. }
  2388. void packetc2l_receive_mythical_points_award::SerializeWithCachedSizes(
  2389. ::google::protobuf::io::CodedOutputStream* output) const {
  2390. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_receive_mythical_points_award];
  2391. if (has_packet_id()) {
  2392. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  2393. 1, this->packet_id(), output);
  2394. }
  2395. if (!unknown_fields().empty()) {
  2396. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2397. unknown_fields(), output);
  2398. }
  2399. }
  2400. ::google::protobuf::uint8* packetc2l_receive_mythical_points_award::SerializeWithCachedSizesToArray(
  2401. ::google::protobuf::uint8* target) const {
  2402. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_receive_mythical_points_award];
  2403. if (has_packet_id()) {
  2404. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  2405. 1, this->packet_id(), target);
  2406. }
  2407. if (!unknown_fields().empty()) {
  2408. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2409. unknown_fields(), target);
  2410. }
  2411. return target;
  2412. }
  2413. int packetc2l_receive_mythical_points_award::ByteSize() const {
  2414. int total_size = 0;
  2415. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2416. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_receive_mythical_points_award];
  2417. if (has_packet_id()) {
  2418. total_size += 1 +
  2419. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  2420. }
  2421. }
  2422. if (!unknown_fields().empty()) {
  2423. total_size +=
  2424. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2425. unknown_fields());
  2426. }
  2427. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2428. _cached_size_ = total_size;
  2429. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2430. return total_size;
  2431. }
  2432. void packetc2l_receive_mythical_points_award::MergeFrom(const ::google::protobuf::Message& from) {
  2433. GOOGLE_CHECK_NE(&from, this);
  2434. const packetc2l_receive_mythical_points_award* source =
  2435. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_receive_mythical_points_award*>(
  2436. &from);
  2437. if (source == NULL) {
  2438. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2439. } else {
  2440. MergeFrom(*source);
  2441. }
  2442. }
  2443. void packetc2l_receive_mythical_points_award::MergeFrom(const packetc2l_receive_mythical_points_award& from) {
  2444. GOOGLE_CHECK_NE(&from, this);
  2445. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2446. if (from.has_packet_id()) {
  2447. set_packet_id(from.packet_id());
  2448. }
  2449. }
  2450. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  2451. }
  2452. void packetc2l_receive_mythical_points_award::CopyFrom(const ::google::protobuf::Message& from) {
  2453. if (&from == this) return;
  2454. Clear();
  2455. MergeFrom(from);
  2456. }
  2457. void packetc2l_receive_mythical_points_award::CopyFrom(const packetc2l_receive_mythical_points_award& from) {
  2458. if (&from == this) return;
  2459. Clear();
  2460. MergeFrom(from);
  2461. }
  2462. bool packetc2l_receive_mythical_points_award::IsInitialized() const {
  2463. return true;
  2464. }
  2465. void packetc2l_receive_mythical_points_award::Swap(packetc2l_receive_mythical_points_award* other) {
  2466. if (other != this) {
  2467. std::swap(packet_id_, other->packet_id_);
  2468. std::swap(_has_bits_[0], other->_has_bits_[0]);
  2469. _unknown_fields_.Swap(&other->_unknown_fields_);
  2470. std::swap(_cached_size_, other->_cached_size_);
  2471. }
  2472. }
  2473. ::google::protobuf::Metadata packetc2l_receive_mythical_points_award::GetMetadata() const {
  2474. protobuf_AssignDescriptorsOnce();
  2475. ::google::protobuf::Metadata metadata;
  2476. metadata.descriptor = packetc2l_receive_mythical_points_award_descriptor_;
  2477. metadata.reflection = packetc2l_receive_mythical_points_award_reflection_;
  2478. return metadata;
  2479. }
  2480. // ===================================================================
  2481. #ifndef _MSC_VER
  2482. const int packetl2c_receive_mythical_points_award_result::kPacketIdFieldNumber;
  2483. const int packetl2c_receive_mythical_points_award_result::kResultFieldNumber;
  2484. const int packetl2c_receive_mythical_points_award_result::kItemsFieldNumber;
  2485. #endif // !_MSC_VER
  2486. packetl2c_receive_mythical_points_award_result::packetl2c_receive_mythical_points_award_result()
  2487. : ::google::protobuf::Message() {
  2488. SharedCtor();
  2489. }
  2490. void packetl2c_receive_mythical_points_award_result::InitAsDefaultInstance() {
  2491. }
  2492. packetl2c_receive_mythical_points_award_result::packetl2c_receive_mythical_points_award_result(const packetl2c_receive_mythical_points_award_result& from)
  2493. : ::google::protobuf::Message() {
  2494. SharedCtor();
  2495. MergeFrom(from);
  2496. }
  2497. void packetl2c_receive_mythical_points_award_result::SharedCtor() {
  2498. _cached_size_ = 0;
  2499. packet_id_ = 16196;
  2500. result_ = 0;
  2501. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2502. }
  2503. packetl2c_receive_mythical_points_award_result::~packetl2c_receive_mythical_points_award_result() {
  2504. SharedDtor();
  2505. }
  2506. void packetl2c_receive_mythical_points_award_result::SharedDtor() {
  2507. if (this != default_instance_) {
  2508. }
  2509. }
  2510. void packetl2c_receive_mythical_points_award_result::SetCachedSize(int size) const {
  2511. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2512. _cached_size_ = size;
  2513. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2514. }
  2515. const ::google::protobuf::Descriptor* packetl2c_receive_mythical_points_award_result::descriptor() {
  2516. protobuf_AssignDescriptorsOnce();
  2517. return packetl2c_receive_mythical_points_award_result_descriptor_;
  2518. }
  2519. const packetl2c_receive_mythical_points_award_result& packetl2c_receive_mythical_points_award_result::default_instance() {
  2520. if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmythical_5fpalace_2eproto();
  2521. return *default_instance_;
  2522. }
  2523. packetl2c_receive_mythical_points_award_result* packetl2c_receive_mythical_points_award_result::default_instance_ = NULL;
  2524. packetl2c_receive_mythical_points_award_result* packetl2c_receive_mythical_points_award_result::New() const {
  2525. return new packetl2c_receive_mythical_points_award_result;
  2526. }
  2527. void packetl2c_receive_mythical_points_award_result::Clear() {
  2528. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2529. packet_id_ = 16196;
  2530. result_ = 0;
  2531. }
  2532. items_.Clear();
  2533. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2534. mutable_unknown_fields()->Clear();
  2535. }
  2536. bool packetl2c_receive_mythical_points_award_result::MergePartialFromCodedStream(
  2537. ::google::protobuf::io::CodedInputStream* input) {
  2538. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  2539. ::google::protobuf::uint32 tag;
  2540. while ((tag = input->ReadTag()) != 0) {
  2541. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2542. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_receive_mythical_points_award_result];
  2543. case 1: {
  2544. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2545. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2546. int value;
  2547. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2548. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  2549. input, &value)));
  2550. if (::fish_protocols::e_server_msg_type_IsValid(value)) {
  2551. set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
  2552. } else {
  2553. mutable_unknown_fields()->AddVarint(1, value);
  2554. }
  2555. } else {
  2556. goto handle_uninterpreted;
  2557. }
  2558. if (input->ExpectTag(16)) goto parse_result;
  2559. break;
  2560. }
  2561. // optional int32 result = 2;
  2562. case 2: {
  2563. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2564. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2565. parse_result:
  2566. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2567. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2568. input, &result_)));
  2569. set_has_result();
  2570. } else {
  2571. goto handle_uninterpreted;
  2572. }
  2573. if (input->ExpectTag(26)) goto parse_items;
  2574. break;
  2575. }
  2576. // repeated .fish_protocols.ItemInfo items = 3;
  2577. case 3: {
  2578. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2579. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  2580. parse_items:
  2581. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  2582. input, add_items()));
  2583. } else {
  2584. goto handle_uninterpreted;
  2585. }
  2586. if (input->ExpectTag(26)) goto parse_items;
  2587. if (input->ExpectAtEnd()) return true;
  2588. break;
  2589. }
  2590. default: {
  2591. handle_uninterpreted:
  2592. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2593. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2594. return true;
  2595. }
  2596. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2597. input, tag, mutable_unknown_fields()));
  2598. break;
  2599. }
  2600. }
  2601. }
  2602. return true;
  2603. #undef DO_
  2604. }
  2605. void packetl2c_receive_mythical_points_award_result::SerializeWithCachedSizes(
  2606. ::google::protobuf::io::CodedOutputStream* output) const {
  2607. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_receive_mythical_points_award_result];
  2608. if (has_packet_id()) {
  2609. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  2610. 1, this->packet_id(), output);
  2611. }
  2612. // optional int32 result = 2;
  2613. if (has_result()) {
  2614. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
  2615. }
  2616. // repeated .fish_protocols.ItemInfo items = 3;
  2617. for (int i = 0; i < this->items_size(); i++) {
  2618. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  2619. 3, this->items(i), output);
  2620. }
  2621. if (!unknown_fields().empty()) {
  2622. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2623. unknown_fields(), output);
  2624. }
  2625. }
  2626. ::google::protobuf::uint8* packetl2c_receive_mythical_points_award_result::SerializeWithCachedSizesToArray(
  2627. ::google::protobuf::uint8* target) const {
  2628. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_receive_mythical_points_award_result];
  2629. if (has_packet_id()) {
  2630. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  2631. 1, this->packet_id(), target);
  2632. }
  2633. // optional int32 result = 2;
  2634. if (has_result()) {
  2635. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
  2636. }
  2637. // repeated .fish_protocols.ItemInfo items = 3;
  2638. for (int i = 0; i < this->items_size(); i++) {
  2639. target = ::google::protobuf::internal::WireFormatLite::
  2640. WriteMessageNoVirtualToArray(
  2641. 3, this->items(i), target);
  2642. }
  2643. if (!unknown_fields().empty()) {
  2644. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2645. unknown_fields(), target);
  2646. }
  2647. return target;
  2648. }
  2649. int packetl2c_receive_mythical_points_award_result::ByteSize() const {
  2650. int total_size = 0;
  2651. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2652. // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_receive_mythical_points_award_result];
  2653. if (has_packet_id()) {
  2654. total_size += 1 +
  2655. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  2656. }
  2657. // optional int32 result = 2;
  2658. if (has_result()) {
  2659. total_size += 1 +
  2660. ::google::protobuf::internal::WireFormatLite::Int32Size(
  2661. this->result());
  2662. }
  2663. }
  2664. // repeated .fish_protocols.ItemInfo items = 3;
  2665. total_size += 1 * this->items_size();
  2666. for (int i = 0; i < this->items_size(); i++) {
  2667. total_size +=
  2668. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  2669. this->items(i));
  2670. }
  2671. if (!unknown_fields().empty()) {
  2672. total_size +=
  2673. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2674. unknown_fields());
  2675. }
  2676. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2677. _cached_size_ = total_size;
  2678. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2679. return total_size;
  2680. }
  2681. void packetl2c_receive_mythical_points_award_result::MergeFrom(const ::google::protobuf::Message& from) {
  2682. GOOGLE_CHECK_NE(&from, this);
  2683. const packetl2c_receive_mythical_points_award_result* source =
  2684. ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_receive_mythical_points_award_result*>(
  2685. &from);
  2686. if (source == NULL) {
  2687. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2688. } else {
  2689. MergeFrom(*source);
  2690. }
  2691. }
  2692. void packetl2c_receive_mythical_points_award_result::MergeFrom(const packetl2c_receive_mythical_points_award_result& from) {
  2693. GOOGLE_CHECK_NE(&from, this);
  2694. items_.MergeFrom(from.items_);
  2695. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2696. if (from.has_packet_id()) {
  2697. set_packet_id(from.packet_id());
  2698. }
  2699. if (from.has_result()) {
  2700. set_result(from.result());
  2701. }
  2702. }
  2703. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  2704. }
  2705. void packetl2c_receive_mythical_points_award_result::CopyFrom(const ::google::protobuf::Message& from) {
  2706. if (&from == this) return;
  2707. Clear();
  2708. MergeFrom(from);
  2709. }
  2710. void packetl2c_receive_mythical_points_award_result::CopyFrom(const packetl2c_receive_mythical_points_award_result& from) {
  2711. if (&from == this) return;
  2712. Clear();
  2713. MergeFrom(from);
  2714. }
  2715. bool packetl2c_receive_mythical_points_award_result::IsInitialized() const {
  2716. return true;
  2717. }
  2718. void packetl2c_receive_mythical_points_award_result::Swap(packetl2c_receive_mythical_points_award_result* other) {
  2719. if (other != this) {
  2720. std::swap(packet_id_, other->packet_id_);
  2721. std::swap(result_, other->result_);
  2722. items_.Swap(&other->items_);
  2723. std::swap(_has_bits_[0], other->_has_bits_[0]);
  2724. _unknown_fields_.Swap(&other->_unknown_fields_);
  2725. std::swap(_cached_size_, other->_cached_size_);
  2726. }
  2727. }
  2728. ::google::protobuf::Metadata packetl2c_receive_mythical_points_award_result::GetMetadata() const {
  2729. protobuf_AssignDescriptorsOnce();
  2730. ::google::protobuf::Metadata metadata;
  2731. metadata.descriptor = packetl2c_receive_mythical_points_award_result_descriptor_;
  2732. metadata.reflection = packetl2c_receive_mythical_points_award_result_reflection_;
  2733. return metadata;
  2734. }
  2735. // @@protoc_insertion_point(namespace_scope)
  2736. } // namespace fish_protocols
  2737. // @@protoc_insertion_point(global_scope)