client2world_activity.pb.cc 109 KB

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