client2world_player_property.pb.cc 92 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: client2world_player_property.proto
  3. #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
  4. #include "client2world_player_property.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_update_nickname_descriptor_ = NULL;
  18. const ::google::protobuf::internal::GeneratedMessageReflection*
  19. packetc2w_update_nickname_reflection_ = NULL;
  20. const ::google::protobuf::Descriptor* packetw2c_update_nickname_result_descriptor_ = NULL;
  21. const ::google::protobuf::internal::GeneratedMessageReflection*
  22. packetw2c_update_nickname_result_reflection_ = NULL;
  23. const ::google::protobuf::Descriptor* packetc2w_req_self_record_descriptor_ = NULL;
  24. const ::google::protobuf::internal::GeneratedMessageReflection*
  25. packetc2w_req_self_record_reflection_ = NULL;
  26. const ::google::protobuf::Descriptor* packetw2c_req_self_record_result_descriptor_ = NULL;
  27. const ::google::protobuf::internal::GeneratedMessageReflection*
  28. packetw2c_req_self_record_result_reflection_ = NULL;
  29. const ::google::protobuf::Descriptor* packetc2w_finish_one_new_guild_descriptor_ = NULL;
  30. const ::google::protobuf::internal::GeneratedMessageReflection*
  31. packetc2w_finish_one_new_guild_reflection_ = NULL;
  32. const ::google::protobuf::Descriptor* packetw2c_finish_one_new_guild_result_descriptor_ = NULL;
  33. const ::google::protobuf::internal::GeneratedMessageReflection*
  34. packetw2c_finish_one_new_guild_result_reflection_ = NULL;
  35. const ::google::protobuf::Descriptor* packetc2w_req_last_rechargelist_descriptor_ = NULL;
  36. const ::google::protobuf::internal::GeneratedMessageReflection*
  37. packetc2w_req_last_rechargelist_reflection_ = NULL;
  38. const ::google::protobuf::Descriptor* packetw2c_req_last_rechargelist_result_descriptor_ = NULL;
  39. const ::google::protobuf::internal::GeneratedMessageReflection*
  40. packetw2c_req_last_rechargelist_result_reflection_ = NULL;
  41. } // namespace
  42. void protobuf_AssignDesc_client2world_5fplayer_5fproperty_2eproto() {
  43. protobuf_AddDesc_client2world_5fplayer_5fproperty_2eproto();
  44. const ::google::protobuf::FileDescriptor* file =
  45. ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
  46. "client2world_player_property.proto");
  47. GOOGLE_CHECK(file != NULL);
  48. packetc2w_update_nickname_descriptor_ = file->message_type(0);
  49. static const int packetc2w_update_nickname_offsets_[2] = {
  50. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_update_nickname, packet_id_),
  51. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_update_nickname, nickname_),
  52. };
  53. packetc2w_update_nickname_reflection_ =
  54. new ::google::protobuf::internal::GeneratedMessageReflection(
  55. packetc2w_update_nickname_descriptor_,
  56. packetc2w_update_nickname::default_instance_,
  57. packetc2w_update_nickname_offsets_,
  58. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_update_nickname, _has_bits_[0]),
  59. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_update_nickname, _unknown_fields_),
  60. -1,
  61. ::google::protobuf::DescriptorPool::generated_pool(),
  62. ::google::protobuf::MessageFactory::generated_factory(),
  63. sizeof(packetc2w_update_nickname));
  64. packetw2c_update_nickname_result_descriptor_ = file->message_type(1);
  65. static const int packetw2c_update_nickname_result_offsets_[3] = {
  66. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_update_nickname_result, packet_id_),
  67. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_update_nickname_result, nickname_),
  68. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_update_nickname_result, result_),
  69. };
  70. packetw2c_update_nickname_result_reflection_ =
  71. new ::google::protobuf::internal::GeneratedMessageReflection(
  72. packetw2c_update_nickname_result_descriptor_,
  73. packetw2c_update_nickname_result::default_instance_,
  74. packetw2c_update_nickname_result_offsets_,
  75. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_update_nickname_result, _has_bits_[0]),
  76. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_update_nickname_result, _unknown_fields_),
  77. -1,
  78. ::google::protobuf::DescriptorPool::generated_pool(),
  79. ::google::protobuf::MessageFactory::generated_factory(),
  80. sizeof(packetw2c_update_nickname_result));
  81. packetc2w_req_self_record_descriptor_ = file->message_type(2);
  82. static const int packetc2w_req_self_record_offsets_[1] = {
  83. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_req_self_record, packet_id_),
  84. };
  85. packetc2w_req_self_record_reflection_ =
  86. new ::google::protobuf::internal::GeneratedMessageReflection(
  87. packetc2w_req_self_record_descriptor_,
  88. packetc2w_req_self_record::default_instance_,
  89. packetc2w_req_self_record_offsets_,
  90. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_req_self_record, _has_bits_[0]),
  91. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_req_self_record, _unknown_fields_),
  92. -1,
  93. ::google::protobuf::DescriptorPool::generated_pool(),
  94. ::google::protobuf::MessageFactory::generated_factory(),
  95. sizeof(packetc2w_req_self_record));
  96. packetw2c_req_self_record_result_descriptor_ = file->message_type(3);
  97. static const int packetw2c_req_self_record_result_offsets_[4] = {
  98. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_req_self_record_result, packet_id_),
  99. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_req_self_record_result, maxcoin_),
  100. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_req_self_record_result, maxdiamond_),
  101. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_req_self_record_result, maxticket_),
  102. };
  103. packetw2c_req_self_record_result_reflection_ =
  104. new ::google::protobuf::internal::GeneratedMessageReflection(
  105. packetw2c_req_self_record_result_descriptor_,
  106. packetw2c_req_self_record_result::default_instance_,
  107. packetw2c_req_self_record_result_offsets_,
  108. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_req_self_record_result, _has_bits_[0]),
  109. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_req_self_record_result, _unknown_fields_),
  110. -1,
  111. ::google::protobuf::DescriptorPool::generated_pool(),
  112. ::google::protobuf::MessageFactory::generated_factory(),
  113. sizeof(packetw2c_req_self_record_result));
  114. packetc2w_finish_one_new_guild_descriptor_ = file->message_type(4);
  115. static const int packetc2w_finish_one_new_guild_offsets_[3] = {
  116. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_finish_one_new_guild, packet_id_),
  117. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_finish_one_new_guild, type_),
  118. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_finish_one_new_guild, stepid_),
  119. };
  120. packetc2w_finish_one_new_guild_reflection_ =
  121. new ::google::protobuf::internal::GeneratedMessageReflection(
  122. packetc2w_finish_one_new_guild_descriptor_,
  123. packetc2w_finish_one_new_guild::default_instance_,
  124. packetc2w_finish_one_new_guild_offsets_,
  125. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_finish_one_new_guild, _has_bits_[0]),
  126. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_finish_one_new_guild, _unknown_fields_),
  127. -1,
  128. ::google::protobuf::DescriptorPool::generated_pool(),
  129. ::google::protobuf::MessageFactory::generated_factory(),
  130. sizeof(packetc2w_finish_one_new_guild));
  131. packetw2c_finish_one_new_guild_result_descriptor_ = file->message_type(5);
  132. static const int packetw2c_finish_one_new_guild_result_offsets_[3] = {
  133. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_finish_one_new_guild_result, packet_id_),
  134. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_finish_one_new_guild_result, type_),
  135. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_finish_one_new_guild_result, stepid_),
  136. };
  137. packetw2c_finish_one_new_guild_result_reflection_ =
  138. new ::google::protobuf::internal::GeneratedMessageReflection(
  139. packetw2c_finish_one_new_guild_result_descriptor_,
  140. packetw2c_finish_one_new_guild_result::default_instance_,
  141. packetw2c_finish_one_new_guild_result_offsets_,
  142. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_finish_one_new_guild_result, _has_bits_[0]),
  143. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_finish_one_new_guild_result, _unknown_fields_),
  144. -1,
  145. ::google::protobuf::DescriptorPool::generated_pool(),
  146. ::google::protobuf::MessageFactory::generated_factory(),
  147. sizeof(packetw2c_finish_one_new_guild_result));
  148. packetc2w_req_last_rechargelist_descriptor_ = file->message_type(6);
  149. static const int packetc2w_req_last_rechargelist_offsets_[1] = {
  150. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_req_last_rechargelist, packet_id_),
  151. };
  152. packetc2w_req_last_rechargelist_reflection_ =
  153. new ::google::protobuf::internal::GeneratedMessageReflection(
  154. packetc2w_req_last_rechargelist_descriptor_,
  155. packetc2w_req_last_rechargelist::default_instance_,
  156. packetc2w_req_last_rechargelist_offsets_,
  157. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_req_last_rechargelist, _has_bits_[0]),
  158. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_req_last_rechargelist, _unknown_fields_),
  159. -1,
  160. ::google::protobuf::DescriptorPool::generated_pool(),
  161. ::google::protobuf::MessageFactory::generated_factory(),
  162. sizeof(packetc2w_req_last_rechargelist));
  163. packetw2c_req_last_rechargelist_result_descriptor_ = file->message_type(7);
  164. static const int packetw2c_req_last_rechargelist_result_offsets_[3] = {
  165. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_req_last_rechargelist_result, packet_id_),
  166. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_req_last_rechargelist_result, goldpayidlist_),
  167. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_req_last_rechargelist_result, gempayidlist_),
  168. };
  169. packetw2c_req_last_rechargelist_result_reflection_ =
  170. new ::google::protobuf::internal::GeneratedMessageReflection(
  171. packetw2c_req_last_rechargelist_result_descriptor_,
  172. packetw2c_req_last_rechargelist_result::default_instance_,
  173. packetw2c_req_last_rechargelist_result_offsets_,
  174. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_req_last_rechargelist_result, _has_bits_[0]),
  175. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_req_last_rechargelist_result, _unknown_fields_),
  176. -1,
  177. ::google::protobuf::DescriptorPool::generated_pool(),
  178. ::google::protobuf::MessageFactory::generated_factory(),
  179. sizeof(packetw2c_req_last_rechargelist_result));
  180. }
  181. namespace {
  182. GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
  183. inline void protobuf_AssignDescriptorsOnce() {
  184. ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
  185. &protobuf_AssignDesc_client2world_5fplayer_5fproperty_2eproto);
  186. }
  187. void protobuf_RegisterTypes(const ::std::string&) {
  188. protobuf_AssignDescriptorsOnce();
  189. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  190. packetc2w_update_nickname_descriptor_, &packetc2w_update_nickname::default_instance());
  191. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  192. packetw2c_update_nickname_result_descriptor_, &packetw2c_update_nickname_result::default_instance());
  193. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  194. packetc2w_req_self_record_descriptor_, &packetc2w_req_self_record::default_instance());
  195. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  196. packetw2c_req_self_record_result_descriptor_, &packetw2c_req_self_record_result::default_instance());
  197. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  198. packetc2w_finish_one_new_guild_descriptor_, &packetc2w_finish_one_new_guild::default_instance());
  199. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  200. packetw2c_finish_one_new_guild_result_descriptor_, &packetw2c_finish_one_new_guild_result::default_instance());
  201. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  202. packetc2w_req_last_rechargelist_descriptor_, &packetc2w_req_last_rechargelist::default_instance());
  203. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  204. packetw2c_req_last_rechargelist_result_descriptor_, &packetw2c_req_last_rechargelist_result::default_instance());
  205. }
  206. } // namespace
  207. void protobuf_ShutdownFile_client2world_5fplayer_5fproperty_2eproto() {
  208. delete packetc2w_update_nickname::default_instance_;
  209. delete packetc2w_update_nickname_reflection_;
  210. delete packetw2c_update_nickname_result::default_instance_;
  211. delete packetw2c_update_nickname_result_reflection_;
  212. delete packetc2w_req_self_record::default_instance_;
  213. delete packetc2w_req_self_record_reflection_;
  214. delete packetw2c_req_self_record_result::default_instance_;
  215. delete packetw2c_req_self_record_result_reflection_;
  216. delete packetc2w_finish_one_new_guild::default_instance_;
  217. delete packetc2w_finish_one_new_guild_reflection_;
  218. delete packetw2c_finish_one_new_guild_result::default_instance_;
  219. delete packetw2c_finish_one_new_guild_result_reflection_;
  220. delete packetc2w_req_last_rechargelist::default_instance_;
  221. delete packetc2w_req_last_rechargelist_reflection_;
  222. delete packetw2c_req_last_rechargelist_result::default_instance_;
  223. delete packetw2c_req_last_rechargelist_result_reflection_;
  224. }
  225. void protobuf_AddDesc_client2world_5fplayer_5fproperty_2eproto() {
  226. static bool already_here = false;
  227. if (already_here) return;
  228. already_here = true;
  229. GOOGLE_PROTOBUF_VERIFY_VERSION;
  230. ::client2world_protocols::protobuf_AddDesc_client2world_5fmsg_5ftype_2eproto();
  231. ::msg_type_def::protobuf_AddDesc_msg_5ftype_5fdef_2eproto();
  232. ::msg_info_def::protobuf_AddDesc_msg_5finfo_5fdef_2eproto();
  233. ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
  234. "\n\"client2world_player_property.proto\022\026cl"
  235. "ient2world_protocols\032\033client2world_msg_t"
  236. "ype.proto\032\022msg_type_def.proto\032\022msg_info_"
  237. "def.proto\"\206\001\n\031packetc2w_update_nickname\022"
  238. "W\n\tpacket_id\030\001 \001(\0162).client2world_protoc"
  239. "ols.e_server_msg_type:\031e_mst_c2w_update_"
  240. "nickname\022\020\n\010nickName\030\002 \001(\t\"\244\001\n packetw2c"
  241. "_update_nickname_result\022^\n\tpacket_id\030\001 \001"
  242. "(\0162).client2world_protocols.e_server_msg"
  243. "_type: e_mst_w2c_update_nickname_result\022"
  244. "\020\n\010nickName\030\002 \001(\t\022\016\n\006result\030\003 \001(\005\"t\n\031pac"
  245. "ketc2w_req_self_record\022W\n\tpacket_id\030\001 \001("
  246. "\0162).client2world_protocols.e_server_msg_"
  247. "type:\031e_mst_c2w_req_self_record\"\272\001\n pack"
  248. "etw2c_req_self_record_result\022^\n\tpacket_i"
  249. "d\030\001 \001(\0162).client2world_protocols.e_serve"
  250. "r_msg_type: e_mst_w2c_req_self_record_re"
  251. "sult\022\017\n\007maxCoin\030\002 \001(\005\022\022\n\nmaxDiamond\030\003 \001("
  252. "\005\022\021\n\tmaxTicket\030\004 \001(\005\"\234\001\n\036packetc2w_finis"
  253. "h_one_new_guild\022\\\n\tpacket_id\030\001 \001(\0162).cli"
  254. "ent2world_protocols.e_server_msg_type:\036e"
  255. "_mst_c2w_finish_one_new_guild\022\014\n\004type\030\002 "
  256. "\001(\005\022\016\n\006stepId\030\003 \001(\005\"\252\001\n%packetw2c_finish"
  257. "_one_new_guild_result\022c\n\tpacket_id\030\001 \001(\016"
  258. "2).client2world_protocols.e_server_msg_t"
  259. "ype:%e_mst_w2c_finish_one_new_guild_resu"
  260. "lt\022\014\n\004type\030\002 \001(\005\022\016\n\006stepId\030\003 \001(\005\"\200\001\n\037pac"
  261. "ketc2w_req_last_rechargelist\022]\n\tpacket_i"
  262. "d\030\001 \001(\0162).client2world_protocols.e_serve"
  263. "r_msg_type:\037e_mst_c2w_req_last_rechargel"
  264. "ist\"\273\001\n&packetw2c_req_last_rechargelist_"
  265. "result\022d\n\tpacket_id\030\001 \001(\0162).client2world"
  266. "_protocols.e_server_msg_type:&e_mst_w2c_"
  267. "req_last_rechargelist_result\022\025\n\rgoldPayI"
  268. "dList\030\002 \003(\005\022\024\n\014gemPayIdList\030\003 \003(\005", 1393);
  269. ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
  270. "client2world_player_property.proto", &protobuf_RegisterTypes);
  271. packetc2w_update_nickname::default_instance_ = new packetc2w_update_nickname();
  272. packetw2c_update_nickname_result::default_instance_ = new packetw2c_update_nickname_result();
  273. packetc2w_req_self_record::default_instance_ = new packetc2w_req_self_record();
  274. packetw2c_req_self_record_result::default_instance_ = new packetw2c_req_self_record_result();
  275. packetc2w_finish_one_new_guild::default_instance_ = new packetc2w_finish_one_new_guild();
  276. packetw2c_finish_one_new_guild_result::default_instance_ = new packetw2c_finish_one_new_guild_result();
  277. packetc2w_req_last_rechargelist::default_instance_ = new packetc2w_req_last_rechargelist();
  278. packetw2c_req_last_rechargelist_result::default_instance_ = new packetw2c_req_last_rechargelist_result();
  279. packetc2w_update_nickname::default_instance_->InitAsDefaultInstance();
  280. packetw2c_update_nickname_result::default_instance_->InitAsDefaultInstance();
  281. packetc2w_req_self_record::default_instance_->InitAsDefaultInstance();
  282. packetw2c_req_self_record_result::default_instance_->InitAsDefaultInstance();
  283. packetc2w_finish_one_new_guild::default_instance_->InitAsDefaultInstance();
  284. packetw2c_finish_one_new_guild_result::default_instance_->InitAsDefaultInstance();
  285. packetc2w_req_last_rechargelist::default_instance_->InitAsDefaultInstance();
  286. packetw2c_req_last_rechargelist_result::default_instance_->InitAsDefaultInstance();
  287. ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_client2world_5fplayer_5fproperty_2eproto);
  288. }
  289. // Force AddDescriptors() to be called at static initialization time.
  290. struct StaticDescriptorInitializer_client2world_5fplayer_5fproperty_2eproto {
  291. StaticDescriptorInitializer_client2world_5fplayer_5fproperty_2eproto() {
  292. protobuf_AddDesc_client2world_5fplayer_5fproperty_2eproto();
  293. }
  294. } static_descriptor_initializer_client2world_5fplayer_5fproperty_2eproto_;
  295. // ===================================================================
  296. #ifndef _MSC_VER
  297. const int packetc2w_update_nickname::kPacketIdFieldNumber;
  298. const int packetc2w_update_nickname::kNickNameFieldNumber;
  299. #endif // !_MSC_VER
  300. packetc2w_update_nickname::packetc2w_update_nickname()
  301. : ::google::protobuf::Message() {
  302. SharedCtor();
  303. }
  304. void packetc2w_update_nickname::InitAsDefaultInstance() {
  305. }
  306. packetc2w_update_nickname::packetc2w_update_nickname(const packetc2w_update_nickname& from)
  307. : ::google::protobuf::Message() {
  308. SharedCtor();
  309. MergeFrom(from);
  310. }
  311. void packetc2w_update_nickname::SharedCtor() {
  312. _cached_size_ = 0;
  313. packet_id_ = 5011;
  314. nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  315. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  316. }
  317. packetc2w_update_nickname::~packetc2w_update_nickname() {
  318. SharedDtor();
  319. }
  320. void packetc2w_update_nickname::SharedDtor() {
  321. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  322. delete nickname_;
  323. }
  324. if (this != default_instance_) {
  325. }
  326. }
  327. void packetc2w_update_nickname::SetCachedSize(int size) const {
  328. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  329. _cached_size_ = size;
  330. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  331. }
  332. const ::google::protobuf::Descriptor* packetc2w_update_nickname::descriptor() {
  333. protobuf_AssignDescriptorsOnce();
  334. return packetc2w_update_nickname_descriptor_;
  335. }
  336. const packetc2w_update_nickname& packetc2w_update_nickname::default_instance() {
  337. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fplayer_5fproperty_2eproto();
  338. return *default_instance_;
  339. }
  340. packetc2w_update_nickname* packetc2w_update_nickname::default_instance_ = NULL;
  341. packetc2w_update_nickname* packetc2w_update_nickname::New() const {
  342. return new packetc2w_update_nickname;
  343. }
  344. void packetc2w_update_nickname::Clear() {
  345. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  346. packet_id_ = 5011;
  347. if (has_nickname()) {
  348. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  349. nickname_->clear();
  350. }
  351. }
  352. }
  353. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  354. mutable_unknown_fields()->Clear();
  355. }
  356. bool packetc2w_update_nickname::MergePartialFromCodedStream(
  357. ::google::protobuf::io::CodedInputStream* input) {
  358. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  359. ::google::protobuf::uint32 tag;
  360. while ((tag = input->ReadTag()) != 0) {
  361. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  362. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_update_nickname];
  363. case 1: {
  364. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  365. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  366. int value;
  367. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  368. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  369. input, &value)));
  370. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  371. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  372. } else {
  373. mutable_unknown_fields()->AddVarint(1, value);
  374. }
  375. } else {
  376. goto handle_uninterpreted;
  377. }
  378. if (input->ExpectTag(18)) goto parse_nickName;
  379. break;
  380. }
  381. // optional string nickName = 2;
  382. case 2: {
  383. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  384. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  385. parse_nickName:
  386. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  387. input, this->mutable_nickname()));
  388. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  389. this->nickname().data(), this->nickname().length(),
  390. ::google::protobuf::internal::WireFormat::PARSE);
  391. } else {
  392. goto handle_uninterpreted;
  393. }
  394. if (input->ExpectAtEnd()) return true;
  395. break;
  396. }
  397. default: {
  398. handle_uninterpreted:
  399. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  400. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  401. return true;
  402. }
  403. DO_(::google::protobuf::internal::WireFormat::SkipField(
  404. input, tag, mutable_unknown_fields()));
  405. break;
  406. }
  407. }
  408. }
  409. return true;
  410. #undef DO_
  411. }
  412. void packetc2w_update_nickname::SerializeWithCachedSizes(
  413. ::google::protobuf::io::CodedOutputStream* output) const {
  414. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_update_nickname];
  415. if (has_packet_id()) {
  416. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  417. 1, this->packet_id(), output);
  418. }
  419. // optional string nickName = 2;
  420. if (has_nickname()) {
  421. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  422. this->nickname().data(), this->nickname().length(),
  423. ::google::protobuf::internal::WireFormat::SERIALIZE);
  424. ::google::protobuf::internal::WireFormatLite::WriteString(
  425. 2, this->nickname(), output);
  426. }
  427. if (!unknown_fields().empty()) {
  428. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  429. unknown_fields(), output);
  430. }
  431. }
  432. ::google::protobuf::uint8* packetc2w_update_nickname::SerializeWithCachedSizesToArray(
  433. ::google::protobuf::uint8* target) const {
  434. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_update_nickname];
  435. if (has_packet_id()) {
  436. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  437. 1, this->packet_id(), target);
  438. }
  439. // optional string nickName = 2;
  440. if (has_nickname()) {
  441. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  442. this->nickname().data(), this->nickname().length(),
  443. ::google::protobuf::internal::WireFormat::SERIALIZE);
  444. target =
  445. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  446. 2, this->nickname(), target);
  447. }
  448. if (!unknown_fields().empty()) {
  449. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  450. unknown_fields(), target);
  451. }
  452. return target;
  453. }
  454. int packetc2w_update_nickname::ByteSize() const {
  455. int total_size = 0;
  456. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  457. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_update_nickname];
  458. if (has_packet_id()) {
  459. total_size += 1 +
  460. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  461. }
  462. // optional string nickName = 2;
  463. if (has_nickname()) {
  464. total_size += 1 +
  465. ::google::protobuf::internal::WireFormatLite::StringSize(
  466. this->nickname());
  467. }
  468. }
  469. if (!unknown_fields().empty()) {
  470. total_size +=
  471. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  472. unknown_fields());
  473. }
  474. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  475. _cached_size_ = total_size;
  476. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  477. return total_size;
  478. }
  479. void packetc2w_update_nickname::MergeFrom(const ::google::protobuf::Message& from) {
  480. GOOGLE_CHECK_NE(&from, this);
  481. const packetc2w_update_nickname* source =
  482. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_update_nickname*>(
  483. &from);
  484. if (source == NULL) {
  485. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  486. } else {
  487. MergeFrom(*source);
  488. }
  489. }
  490. void packetc2w_update_nickname::MergeFrom(const packetc2w_update_nickname& from) {
  491. GOOGLE_CHECK_NE(&from, this);
  492. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  493. if (from.has_packet_id()) {
  494. set_packet_id(from.packet_id());
  495. }
  496. if (from.has_nickname()) {
  497. set_nickname(from.nickname());
  498. }
  499. }
  500. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  501. }
  502. void packetc2w_update_nickname::CopyFrom(const ::google::protobuf::Message& from) {
  503. if (&from == this) return;
  504. Clear();
  505. MergeFrom(from);
  506. }
  507. void packetc2w_update_nickname::CopyFrom(const packetc2w_update_nickname& from) {
  508. if (&from == this) return;
  509. Clear();
  510. MergeFrom(from);
  511. }
  512. bool packetc2w_update_nickname::IsInitialized() const {
  513. return true;
  514. }
  515. void packetc2w_update_nickname::Swap(packetc2w_update_nickname* other) {
  516. if (other != this) {
  517. std::swap(packet_id_, other->packet_id_);
  518. std::swap(nickname_, other->nickname_);
  519. std::swap(_has_bits_[0], other->_has_bits_[0]);
  520. _unknown_fields_.Swap(&other->_unknown_fields_);
  521. std::swap(_cached_size_, other->_cached_size_);
  522. }
  523. }
  524. ::google::protobuf::Metadata packetc2w_update_nickname::GetMetadata() const {
  525. protobuf_AssignDescriptorsOnce();
  526. ::google::protobuf::Metadata metadata;
  527. metadata.descriptor = packetc2w_update_nickname_descriptor_;
  528. metadata.reflection = packetc2w_update_nickname_reflection_;
  529. return metadata;
  530. }
  531. // ===================================================================
  532. #ifndef _MSC_VER
  533. const int packetw2c_update_nickname_result::kPacketIdFieldNumber;
  534. const int packetw2c_update_nickname_result::kNickNameFieldNumber;
  535. const int packetw2c_update_nickname_result::kResultFieldNumber;
  536. #endif // !_MSC_VER
  537. packetw2c_update_nickname_result::packetw2c_update_nickname_result()
  538. : ::google::protobuf::Message() {
  539. SharedCtor();
  540. }
  541. void packetw2c_update_nickname_result::InitAsDefaultInstance() {
  542. }
  543. packetw2c_update_nickname_result::packetw2c_update_nickname_result(const packetw2c_update_nickname_result& from)
  544. : ::google::protobuf::Message() {
  545. SharedCtor();
  546. MergeFrom(from);
  547. }
  548. void packetw2c_update_nickname_result::SharedCtor() {
  549. _cached_size_ = 0;
  550. packet_id_ = 7510;
  551. nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  552. result_ = 0;
  553. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  554. }
  555. packetw2c_update_nickname_result::~packetw2c_update_nickname_result() {
  556. SharedDtor();
  557. }
  558. void packetw2c_update_nickname_result::SharedDtor() {
  559. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  560. delete nickname_;
  561. }
  562. if (this != default_instance_) {
  563. }
  564. }
  565. void packetw2c_update_nickname_result::SetCachedSize(int size) const {
  566. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  567. _cached_size_ = size;
  568. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  569. }
  570. const ::google::protobuf::Descriptor* packetw2c_update_nickname_result::descriptor() {
  571. protobuf_AssignDescriptorsOnce();
  572. return packetw2c_update_nickname_result_descriptor_;
  573. }
  574. const packetw2c_update_nickname_result& packetw2c_update_nickname_result::default_instance() {
  575. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fplayer_5fproperty_2eproto();
  576. return *default_instance_;
  577. }
  578. packetw2c_update_nickname_result* packetw2c_update_nickname_result::default_instance_ = NULL;
  579. packetw2c_update_nickname_result* packetw2c_update_nickname_result::New() const {
  580. return new packetw2c_update_nickname_result;
  581. }
  582. void packetw2c_update_nickname_result::Clear() {
  583. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  584. packet_id_ = 7510;
  585. if (has_nickname()) {
  586. if (nickname_ != &::google::protobuf::internal::kEmptyString) {
  587. nickname_->clear();
  588. }
  589. }
  590. result_ = 0;
  591. }
  592. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  593. mutable_unknown_fields()->Clear();
  594. }
  595. bool packetw2c_update_nickname_result::MergePartialFromCodedStream(
  596. ::google::protobuf::io::CodedInputStream* input) {
  597. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  598. ::google::protobuf::uint32 tag;
  599. while ((tag = input->ReadTag()) != 0) {
  600. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  601. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_update_nickname_result];
  602. case 1: {
  603. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  604. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  605. int value;
  606. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  607. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  608. input, &value)));
  609. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  610. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  611. } else {
  612. mutable_unknown_fields()->AddVarint(1, value);
  613. }
  614. } else {
  615. goto handle_uninterpreted;
  616. }
  617. if (input->ExpectTag(18)) goto parse_nickName;
  618. break;
  619. }
  620. // optional string nickName = 2;
  621. case 2: {
  622. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  623. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  624. parse_nickName:
  625. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  626. input, this->mutable_nickname()));
  627. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  628. this->nickname().data(), this->nickname().length(),
  629. ::google::protobuf::internal::WireFormat::PARSE);
  630. } else {
  631. goto handle_uninterpreted;
  632. }
  633. if (input->ExpectTag(24)) goto parse_result;
  634. break;
  635. }
  636. // optional int32 result = 3;
  637. case 3: {
  638. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  639. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  640. parse_result:
  641. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  642. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  643. input, &result_)));
  644. set_has_result();
  645. } else {
  646. goto handle_uninterpreted;
  647. }
  648. if (input->ExpectAtEnd()) return true;
  649. break;
  650. }
  651. default: {
  652. handle_uninterpreted:
  653. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  654. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  655. return true;
  656. }
  657. DO_(::google::protobuf::internal::WireFormat::SkipField(
  658. input, tag, mutable_unknown_fields()));
  659. break;
  660. }
  661. }
  662. }
  663. return true;
  664. #undef DO_
  665. }
  666. void packetw2c_update_nickname_result::SerializeWithCachedSizes(
  667. ::google::protobuf::io::CodedOutputStream* output) const {
  668. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_update_nickname_result];
  669. if (has_packet_id()) {
  670. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  671. 1, this->packet_id(), output);
  672. }
  673. // optional string nickName = 2;
  674. if (has_nickname()) {
  675. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  676. this->nickname().data(), this->nickname().length(),
  677. ::google::protobuf::internal::WireFormat::SERIALIZE);
  678. ::google::protobuf::internal::WireFormatLite::WriteString(
  679. 2, this->nickname(), output);
  680. }
  681. // optional int32 result = 3;
  682. if (has_result()) {
  683. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output);
  684. }
  685. if (!unknown_fields().empty()) {
  686. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  687. unknown_fields(), output);
  688. }
  689. }
  690. ::google::protobuf::uint8* packetw2c_update_nickname_result::SerializeWithCachedSizesToArray(
  691. ::google::protobuf::uint8* target) const {
  692. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_update_nickname_result];
  693. if (has_packet_id()) {
  694. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  695. 1, this->packet_id(), target);
  696. }
  697. // optional string nickName = 2;
  698. if (has_nickname()) {
  699. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  700. this->nickname().data(), this->nickname().length(),
  701. ::google::protobuf::internal::WireFormat::SERIALIZE);
  702. target =
  703. ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
  704. 2, this->nickname(), target);
  705. }
  706. // optional int32 result = 3;
  707. if (has_result()) {
  708. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target);
  709. }
  710. if (!unknown_fields().empty()) {
  711. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  712. unknown_fields(), target);
  713. }
  714. return target;
  715. }
  716. int packetw2c_update_nickname_result::ByteSize() const {
  717. int total_size = 0;
  718. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  719. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_update_nickname_result];
  720. if (has_packet_id()) {
  721. total_size += 1 +
  722. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  723. }
  724. // optional string nickName = 2;
  725. if (has_nickname()) {
  726. total_size += 1 +
  727. ::google::protobuf::internal::WireFormatLite::StringSize(
  728. this->nickname());
  729. }
  730. // optional int32 result = 3;
  731. if (has_result()) {
  732. total_size += 1 +
  733. ::google::protobuf::internal::WireFormatLite::Int32Size(
  734. this->result());
  735. }
  736. }
  737. if (!unknown_fields().empty()) {
  738. total_size +=
  739. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  740. unknown_fields());
  741. }
  742. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  743. _cached_size_ = total_size;
  744. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  745. return total_size;
  746. }
  747. void packetw2c_update_nickname_result::MergeFrom(const ::google::protobuf::Message& from) {
  748. GOOGLE_CHECK_NE(&from, this);
  749. const packetw2c_update_nickname_result* source =
  750. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_update_nickname_result*>(
  751. &from);
  752. if (source == NULL) {
  753. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  754. } else {
  755. MergeFrom(*source);
  756. }
  757. }
  758. void packetw2c_update_nickname_result::MergeFrom(const packetw2c_update_nickname_result& from) {
  759. GOOGLE_CHECK_NE(&from, this);
  760. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  761. if (from.has_packet_id()) {
  762. set_packet_id(from.packet_id());
  763. }
  764. if (from.has_nickname()) {
  765. set_nickname(from.nickname());
  766. }
  767. if (from.has_result()) {
  768. set_result(from.result());
  769. }
  770. }
  771. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  772. }
  773. void packetw2c_update_nickname_result::CopyFrom(const ::google::protobuf::Message& from) {
  774. if (&from == this) return;
  775. Clear();
  776. MergeFrom(from);
  777. }
  778. void packetw2c_update_nickname_result::CopyFrom(const packetw2c_update_nickname_result& from) {
  779. if (&from == this) return;
  780. Clear();
  781. MergeFrom(from);
  782. }
  783. bool packetw2c_update_nickname_result::IsInitialized() const {
  784. return true;
  785. }
  786. void packetw2c_update_nickname_result::Swap(packetw2c_update_nickname_result* other) {
  787. if (other != this) {
  788. std::swap(packet_id_, other->packet_id_);
  789. std::swap(nickname_, other->nickname_);
  790. std::swap(result_, other->result_);
  791. std::swap(_has_bits_[0], other->_has_bits_[0]);
  792. _unknown_fields_.Swap(&other->_unknown_fields_);
  793. std::swap(_cached_size_, other->_cached_size_);
  794. }
  795. }
  796. ::google::protobuf::Metadata packetw2c_update_nickname_result::GetMetadata() const {
  797. protobuf_AssignDescriptorsOnce();
  798. ::google::protobuf::Metadata metadata;
  799. metadata.descriptor = packetw2c_update_nickname_result_descriptor_;
  800. metadata.reflection = packetw2c_update_nickname_result_reflection_;
  801. return metadata;
  802. }
  803. // ===================================================================
  804. #ifndef _MSC_VER
  805. const int packetc2w_req_self_record::kPacketIdFieldNumber;
  806. #endif // !_MSC_VER
  807. packetc2w_req_self_record::packetc2w_req_self_record()
  808. : ::google::protobuf::Message() {
  809. SharedCtor();
  810. }
  811. void packetc2w_req_self_record::InitAsDefaultInstance() {
  812. }
  813. packetc2w_req_self_record::packetc2w_req_self_record(const packetc2w_req_self_record& from)
  814. : ::google::protobuf::Message() {
  815. SharedCtor();
  816. MergeFrom(from);
  817. }
  818. void packetc2w_req_self_record::SharedCtor() {
  819. _cached_size_ = 0;
  820. packet_id_ = 5033;
  821. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  822. }
  823. packetc2w_req_self_record::~packetc2w_req_self_record() {
  824. SharedDtor();
  825. }
  826. void packetc2w_req_self_record::SharedDtor() {
  827. if (this != default_instance_) {
  828. }
  829. }
  830. void packetc2w_req_self_record::SetCachedSize(int size) const {
  831. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  832. _cached_size_ = size;
  833. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  834. }
  835. const ::google::protobuf::Descriptor* packetc2w_req_self_record::descriptor() {
  836. protobuf_AssignDescriptorsOnce();
  837. return packetc2w_req_self_record_descriptor_;
  838. }
  839. const packetc2w_req_self_record& packetc2w_req_self_record::default_instance() {
  840. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fplayer_5fproperty_2eproto();
  841. return *default_instance_;
  842. }
  843. packetc2w_req_self_record* packetc2w_req_self_record::default_instance_ = NULL;
  844. packetc2w_req_self_record* packetc2w_req_self_record::New() const {
  845. return new packetc2w_req_self_record;
  846. }
  847. void packetc2w_req_self_record::Clear() {
  848. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  849. packet_id_ = 5033;
  850. }
  851. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  852. mutable_unknown_fields()->Clear();
  853. }
  854. bool packetc2w_req_self_record::MergePartialFromCodedStream(
  855. ::google::protobuf::io::CodedInputStream* input) {
  856. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  857. ::google::protobuf::uint32 tag;
  858. while ((tag = input->ReadTag()) != 0) {
  859. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  860. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_self_record];
  861. case 1: {
  862. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  863. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  864. int value;
  865. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  866. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  867. input, &value)));
  868. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  869. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  870. } else {
  871. mutable_unknown_fields()->AddVarint(1, value);
  872. }
  873. } else {
  874. goto handle_uninterpreted;
  875. }
  876. if (input->ExpectAtEnd()) return true;
  877. break;
  878. }
  879. default: {
  880. handle_uninterpreted:
  881. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  882. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  883. return true;
  884. }
  885. DO_(::google::protobuf::internal::WireFormat::SkipField(
  886. input, tag, mutable_unknown_fields()));
  887. break;
  888. }
  889. }
  890. }
  891. return true;
  892. #undef DO_
  893. }
  894. void packetc2w_req_self_record::SerializeWithCachedSizes(
  895. ::google::protobuf::io::CodedOutputStream* output) const {
  896. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_self_record];
  897. if (has_packet_id()) {
  898. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  899. 1, this->packet_id(), output);
  900. }
  901. if (!unknown_fields().empty()) {
  902. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  903. unknown_fields(), output);
  904. }
  905. }
  906. ::google::protobuf::uint8* packetc2w_req_self_record::SerializeWithCachedSizesToArray(
  907. ::google::protobuf::uint8* target) const {
  908. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_self_record];
  909. if (has_packet_id()) {
  910. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  911. 1, this->packet_id(), target);
  912. }
  913. if (!unknown_fields().empty()) {
  914. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  915. unknown_fields(), target);
  916. }
  917. return target;
  918. }
  919. int packetc2w_req_self_record::ByteSize() const {
  920. int total_size = 0;
  921. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  922. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_self_record];
  923. if (has_packet_id()) {
  924. total_size += 1 +
  925. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  926. }
  927. }
  928. if (!unknown_fields().empty()) {
  929. total_size +=
  930. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  931. unknown_fields());
  932. }
  933. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  934. _cached_size_ = total_size;
  935. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  936. return total_size;
  937. }
  938. void packetc2w_req_self_record::MergeFrom(const ::google::protobuf::Message& from) {
  939. GOOGLE_CHECK_NE(&from, this);
  940. const packetc2w_req_self_record* source =
  941. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_req_self_record*>(
  942. &from);
  943. if (source == NULL) {
  944. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  945. } else {
  946. MergeFrom(*source);
  947. }
  948. }
  949. void packetc2w_req_self_record::MergeFrom(const packetc2w_req_self_record& from) {
  950. GOOGLE_CHECK_NE(&from, this);
  951. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  952. if (from.has_packet_id()) {
  953. set_packet_id(from.packet_id());
  954. }
  955. }
  956. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  957. }
  958. void packetc2w_req_self_record::CopyFrom(const ::google::protobuf::Message& from) {
  959. if (&from == this) return;
  960. Clear();
  961. MergeFrom(from);
  962. }
  963. void packetc2w_req_self_record::CopyFrom(const packetc2w_req_self_record& from) {
  964. if (&from == this) return;
  965. Clear();
  966. MergeFrom(from);
  967. }
  968. bool packetc2w_req_self_record::IsInitialized() const {
  969. return true;
  970. }
  971. void packetc2w_req_self_record::Swap(packetc2w_req_self_record* other) {
  972. if (other != this) {
  973. std::swap(packet_id_, other->packet_id_);
  974. std::swap(_has_bits_[0], other->_has_bits_[0]);
  975. _unknown_fields_.Swap(&other->_unknown_fields_);
  976. std::swap(_cached_size_, other->_cached_size_);
  977. }
  978. }
  979. ::google::protobuf::Metadata packetc2w_req_self_record::GetMetadata() const {
  980. protobuf_AssignDescriptorsOnce();
  981. ::google::protobuf::Metadata metadata;
  982. metadata.descriptor = packetc2w_req_self_record_descriptor_;
  983. metadata.reflection = packetc2w_req_self_record_reflection_;
  984. return metadata;
  985. }
  986. // ===================================================================
  987. #ifndef _MSC_VER
  988. const int packetw2c_req_self_record_result::kPacketIdFieldNumber;
  989. const int packetw2c_req_self_record_result::kMaxCoinFieldNumber;
  990. const int packetw2c_req_self_record_result::kMaxDiamondFieldNumber;
  991. const int packetw2c_req_self_record_result::kMaxTicketFieldNumber;
  992. #endif // !_MSC_VER
  993. packetw2c_req_self_record_result::packetw2c_req_self_record_result()
  994. : ::google::protobuf::Message() {
  995. SharedCtor();
  996. }
  997. void packetw2c_req_self_record_result::InitAsDefaultInstance() {
  998. }
  999. packetw2c_req_self_record_result::packetw2c_req_self_record_result(const packetw2c_req_self_record_result& from)
  1000. : ::google::protobuf::Message() {
  1001. SharedCtor();
  1002. MergeFrom(from);
  1003. }
  1004. void packetw2c_req_self_record_result::SharedCtor() {
  1005. _cached_size_ = 0;
  1006. packet_id_ = 7535;
  1007. maxcoin_ = 0;
  1008. maxdiamond_ = 0;
  1009. maxticket_ = 0;
  1010. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1011. }
  1012. packetw2c_req_self_record_result::~packetw2c_req_self_record_result() {
  1013. SharedDtor();
  1014. }
  1015. void packetw2c_req_self_record_result::SharedDtor() {
  1016. if (this != default_instance_) {
  1017. }
  1018. }
  1019. void packetw2c_req_self_record_result::SetCachedSize(int size) const {
  1020. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1021. _cached_size_ = size;
  1022. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1023. }
  1024. const ::google::protobuf::Descriptor* packetw2c_req_self_record_result::descriptor() {
  1025. protobuf_AssignDescriptorsOnce();
  1026. return packetw2c_req_self_record_result_descriptor_;
  1027. }
  1028. const packetw2c_req_self_record_result& packetw2c_req_self_record_result::default_instance() {
  1029. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fplayer_5fproperty_2eproto();
  1030. return *default_instance_;
  1031. }
  1032. packetw2c_req_self_record_result* packetw2c_req_self_record_result::default_instance_ = NULL;
  1033. packetw2c_req_self_record_result* packetw2c_req_self_record_result::New() const {
  1034. return new packetw2c_req_self_record_result;
  1035. }
  1036. void packetw2c_req_self_record_result::Clear() {
  1037. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1038. packet_id_ = 7535;
  1039. maxcoin_ = 0;
  1040. maxdiamond_ = 0;
  1041. maxticket_ = 0;
  1042. }
  1043. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1044. mutable_unknown_fields()->Clear();
  1045. }
  1046. bool packetw2c_req_self_record_result::MergePartialFromCodedStream(
  1047. ::google::protobuf::io::CodedInputStream* input) {
  1048. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  1049. ::google::protobuf::uint32 tag;
  1050. while ((tag = input->ReadTag()) != 0) {
  1051. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1052. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_self_record_result];
  1053. case 1: {
  1054. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1055. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1056. int value;
  1057. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1058. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  1059. input, &value)));
  1060. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  1061. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  1062. } else {
  1063. mutable_unknown_fields()->AddVarint(1, value);
  1064. }
  1065. } else {
  1066. goto handle_uninterpreted;
  1067. }
  1068. if (input->ExpectTag(16)) goto parse_maxCoin;
  1069. break;
  1070. }
  1071. // optional int32 maxCoin = 2;
  1072. case 2: {
  1073. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1074. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1075. parse_maxCoin:
  1076. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1077. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1078. input, &maxcoin_)));
  1079. set_has_maxcoin();
  1080. } else {
  1081. goto handle_uninterpreted;
  1082. }
  1083. if (input->ExpectTag(24)) goto parse_maxDiamond;
  1084. break;
  1085. }
  1086. // optional int32 maxDiamond = 3;
  1087. case 3: {
  1088. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1089. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1090. parse_maxDiamond:
  1091. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1092. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1093. input, &maxdiamond_)));
  1094. set_has_maxdiamond();
  1095. } else {
  1096. goto handle_uninterpreted;
  1097. }
  1098. if (input->ExpectTag(32)) goto parse_maxTicket;
  1099. break;
  1100. }
  1101. // optional int32 maxTicket = 4;
  1102. case 4: {
  1103. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1104. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1105. parse_maxTicket:
  1106. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1107. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1108. input, &maxticket_)));
  1109. set_has_maxticket();
  1110. } else {
  1111. goto handle_uninterpreted;
  1112. }
  1113. if (input->ExpectAtEnd()) return true;
  1114. break;
  1115. }
  1116. default: {
  1117. handle_uninterpreted:
  1118. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1119. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  1120. return true;
  1121. }
  1122. DO_(::google::protobuf::internal::WireFormat::SkipField(
  1123. input, tag, mutable_unknown_fields()));
  1124. break;
  1125. }
  1126. }
  1127. }
  1128. return true;
  1129. #undef DO_
  1130. }
  1131. void packetw2c_req_self_record_result::SerializeWithCachedSizes(
  1132. ::google::protobuf::io::CodedOutputStream* output) const {
  1133. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_self_record_result];
  1134. if (has_packet_id()) {
  1135. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  1136. 1, this->packet_id(), output);
  1137. }
  1138. // optional int32 maxCoin = 2;
  1139. if (has_maxcoin()) {
  1140. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->maxcoin(), output);
  1141. }
  1142. // optional int32 maxDiamond = 3;
  1143. if (has_maxdiamond()) {
  1144. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->maxdiamond(), output);
  1145. }
  1146. // optional int32 maxTicket = 4;
  1147. if (has_maxticket()) {
  1148. ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->maxticket(), output);
  1149. }
  1150. if (!unknown_fields().empty()) {
  1151. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  1152. unknown_fields(), output);
  1153. }
  1154. }
  1155. ::google::protobuf::uint8* packetw2c_req_self_record_result::SerializeWithCachedSizesToArray(
  1156. ::google::protobuf::uint8* target) const {
  1157. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_self_record_result];
  1158. if (has_packet_id()) {
  1159. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  1160. 1, this->packet_id(), target);
  1161. }
  1162. // optional int32 maxCoin = 2;
  1163. if (has_maxcoin()) {
  1164. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->maxcoin(), target);
  1165. }
  1166. // optional int32 maxDiamond = 3;
  1167. if (has_maxdiamond()) {
  1168. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->maxdiamond(), target);
  1169. }
  1170. // optional int32 maxTicket = 4;
  1171. if (has_maxticket()) {
  1172. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->maxticket(), target);
  1173. }
  1174. if (!unknown_fields().empty()) {
  1175. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  1176. unknown_fields(), target);
  1177. }
  1178. return target;
  1179. }
  1180. int packetw2c_req_self_record_result::ByteSize() const {
  1181. int total_size = 0;
  1182. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1183. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_self_record_result];
  1184. if (has_packet_id()) {
  1185. total_size += 1 +
  1186. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  1187. }
  1188. // optional int32 maxCoin = 2;
  1189. if (has_maxcoin()) {
  1190. total_size += 1 +
  1191. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1192. this->maxcoin());
  1193. }
  1194. // optional int32 maxDiamond = 3;
  1195. if (has_maxdiamond()) {
  1196. total_size += 1 +
  1197. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1198. this->maxdiamond());
  1199. }
  1200. // optional int32 maxTicket = 4;
  1201. if (has_maxticket()) {
  1202. total_size += 1 +
  1203. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1204. this->maxticket());
  1205. }
  1206. }
  1207. if (!unknown_fields().empty()) {
  1208. total_size +=
  1209. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  1210. unknown_fields());
  1211. }
  1212. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1213. _cached_size_ = total_size;
  1214. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1215. return total_size;
  1216. }
  1217. void packetw2c_req_self_record_result::MergeFrom(const ::google::protobuf::Message& from) {
  1218. GOOGLE_CHECK_NE(&from, this);
  1219. const packetw2c_req_self_record_result* source =
  1220. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_req_self_record_result*>(
  1221. &from);
  1222. if (source == NULL) {
  1223. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  1224. } else {
  1225. MergeFrom(*source);
  1226. }
  1227. }
  1228. void packetw2c_req_self_record_result::MergeFrom(const packetw2c_req_self_record_result& from) {
  1229. GOOGLE_CHECK_NE(&from, this);
  1230. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1231. if (from.has_packet_id()) {
  1232. set_packet_id(from.packet_id());
  1233. }
  1234. if (from.has_maxcoin()) {
  1235. set_maxcoin(from.maxcoin());
  1236. }
  1237. if (from.has_maxdiamond()) {
  1238. set_maxdiamond(from.maxdiamond());
  1239. }
  1240. if (from.has_maxticket()) {
  1241. set_maxticket(from.maxticket());
  1242. }
  1243. }
  1244. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  1245. }
  1246. void packetw2c_req_self_record_result::CopyFrom(const ::google::protobuf::Message& from) {
  1247. if (&from == this) return;
  1248. Clear();
  1249. MergeFrom(from);
  1250. }
  1251. void packetw2c_req_self_record_result::CopyFrom(const packetw2c_req_self_record_result& from) {
  1252. if (&from == this) return;
  1253. Clear();
  1254. MergeFrom(from);
  1255. }
  1256. bool packetw2c_req_self_record_result::IsInitialized() const {
  1257. return true;
  1258. }
  1259. void packetw2c_req_self_record_result::Swap(packetw2c_req_self_record_result* other) {
  1260. if (other != this) {
  1261. std::swap(packet_id_, other->packet_id_);
  1262. std::swap(maxcoin_, other->maxcoin_);
  1263. std::swap(maxdiamond_, other->maxdiamond_);
  1264. std::swap(maxticket_, other->maxticket_);
  1265. std::swap(_has_bits_[0], other->_has_bits_[0]);
  1266. _unknown_fields_.Swap(&other->_unknown_fields_);
  1267. std::swap(_cached_size_, other->_cached_size_);
  1268. }
  1269. }
  1270. ::google::protobuf::Metadata packetw2c_req_self_record_result::GetMetadata() const {
  1271. protobuf_AssignDescriptorsOnce();
  1272. ::google::protobuf::Metadata metadata;
  1273. metadata.descriptor = packetw2c_req_self_record_result_descriptor_;
  1274. metadata.reflection = packetw2c_req_self_record_result_reflection_;
  1275. return metadata;
  1276. }
  1277. // ===================================================================
  1278. #ifndef _MSC_VER
  1279. const int packetc2w_finish_one_new_guild::kPacketIdFieldNumber;
  1280. const int packetc2w_finish_one_new_guild::kTypeFieldNumber;
  1281. const int packetc2w_finish_one_new_guild::kStepIdFieldNumber;
  1282. #endif // !_MSC_VER
  1283. packetc2w_finish_one_new_guild::packetc2w_finish_one_new_guild()
  1284. : ::google::protobuf::Message() {
  1285. SharedCtor();
  1286. }
  1287. void packetc2w_finish_one_new_guild::InitAsDefaultInstance() {
  1288. }
  1289. packetc2w_finish_one_new_guild::packetc2w_finish_one_new_guild(const packetc2w_finish_one_new_guild& from)
  1290. : ::google::protobuf::Message() {
  1291. SharedCtor();
  1292. MergeFrom(from);
  1293. }
  1294. void packetc2w_finish_one_new_guild::SharedCtor() {
  1295. _cached_size_ = 0;
  1296. packet_id_ = 5042;
  1297. type_ = 0;
  1298. stepid_ = 0;
  1299. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1300. }
  1301. packetc2w_finish_one_new_guild::~packetc2w_finish_one_new_guild() {
  1302. SharedDtor();
  1303. }
  1304. void packetc2w_finish_one_new_guild::SharedDtor() {
  1305. if (this != default_instance_) {
  1306. }
  1307. }
  1308. void packetc2w_finish_one_new_guild::SetCachedSize(int size) const {
  1309. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1310. _cached_size_ = size;
  1311. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1312. }
  1313. const ::google::protobuf::Descriptor* packetc2w_finish_one_new_guild::descriptor() {
  1314. protobuf_AssignDescriptorsOnce();
  1315. return packetc2w_finish_one_new_guild_descriptor_;
  1316. }
  1317. const packetc2w_finish_one_new_guild& packetc2w_finish_one_new_guild::default_instance() {
  1318. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fplayer_5fproperty_2eproto();
  1319. return *default_instance_;
  1320. }
  1321. packetc2w_finish_one_new_guild* packetc2w_finish_one_new_guild::default_instance_ = NULL;
  1322. packetc2w_finish_one_new_guild* packetc2w_finish_one_new_guild::New() const {
  1323. return new packetc2w_finish_one_new_guild;
  1324. }
  1325. void packetc2w_finish_one_new_guild::Clear() {
  1326. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1327. packet_id_ = 5042;
  1328. type_ = 0;
  1329. stepid_ = 0;
  1330. }
  1331. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1332. mutable_unknown_fields()->Clear();
  1333. }
  1334. bool packetc2w_finish_one_new_guild::MergePartialFromCodedStream(
  1335. ::google::protobuf::io::CodedInputStream* input) {
  1336. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  1337. ::google::protobuf::uint32 tag;
  1338. while ((tag = input->ReadTag()) != 0) {
  1339. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1340. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_finish_one_new_guild];
  1341. case 1: {
  1342. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1343. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1344. int value;
  1345. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1346. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  1347. input, &value)));
  1348. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  1349. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  1350. } else {
  1351. mutable_unknown_fields()->AddVarint(1, value);
  1352. }
  1353. } else {
  1354. goto handle_uninterpreted;
  1355. }
  1356. if (input->ExpectTag(16)) goto parse_type;
  1357. break;
  1358. }
  1359. // optional int32 type = 2;
  1360. case 2: {
  1361. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1362. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1363. parse_type:
  1364. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1365. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1366. input, &type_)));
  1367. set_has_type();
  1368. } else {
  1369. goto handle_uninterpreted;
  1370. }
  1371. if (input->ExpectTag(24)) goto parse_stepId;
  1372. break;
  1373. }
  1374. // optional int32 stepId = 3;
  1375. case 3: {
  1376. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1377. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1378. parse_stepId:
  1379. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1380. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1381. input, &stepid_)));
  1382. set_has_stepid();
  1383. } else {
  1384. goto handle_uninterpreted;
  1385. }
  1386. if (input->ExpectAtEnd()) return true;
  1387. break;
  1388. }
  1389. default: {
  1390. handle_uninterpreted:
  1391. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1392. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  1393. return true;
  1394. }
  1395. DO_(::google::protobuf::internal::WireFormat::SkipField(
  1396. input, tag, mutable_unknown_fields()));
  1397. break;
  1398. }
  1399. }
  1400. }
  1401. return true;
  1402. #undef DO_
  1403. }
  1404. void packetc2w_finish_one_new_guild::SerializeWithCachedSizes(
  1405. ::google::protobuf::io::CodedOutputStream* output) const {
  1406. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_finish_one_new_guild];
  1407. if (has_packet_id()) {
  1408. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  1409. 1, this->packet_id(), output);
  1410. }
  1411. // optional int32 type = 2;
  1412. if (has_type()) {
  1413. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->type(), output);
  1414. }
  1415. // optional int32 stepId = 3;
  1416. if (has_stepid()) {
  1417. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->stepid(), output);
  1418. }
  1419. if (!unknown_fields().empty()) {
  1420. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  1421. unknown_fields(), output);
  1422. }
  1423. }
  1424. ::google::protobuf::uint8* packetc2w_finish_one_new_guild::SerializeWithCachedSizesToArray(
  1425. ::google::protobuf::uint8* target) const {
  1426. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_finish_one_new_guild];
  1427. if (has_packet_id()) {
  1428. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  1429. 1, this->packet_id(), target);
  1430. }
  1431. // optional int32 type = 2;
  1432. if (has_type()) {
  1433. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->type(), target);
  1434. }
  1435. // optional int32 stepId = 3;
  1436. if (has_stepid()) {
  1437. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->stepid(), target);
  1438. }
  1439. if (!unknown_fields().empty()) {
  1440. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  1441. unknown_fields(), target);
  1442. }
  1443. return target;
  1444. }
  1445. int packetc2w_finish_one_new_guild::ByteSize() const {
  1446. int total_size = 0;
  1447. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1448. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_finish_one_new_guild];
  1449. if (has_packet_id()) {
  1450. total_size += 1 +
  1451. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  1452. }
  1453. // optional int32 type = 2;
  1454. if (has_type()) {
  1455. total_size += 1 +
  1456. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1457. this->type());
  1458. }
  1459. // optional int32 stepId = 3;
  1460. if (has_stepid()) {
  1461. total_size += 1 +
  1462. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1463. this->stepid());
  1464. }
  1465. }
  1466. if (!unknown_fields().empty()) {
  1467. total_size +=
  1468. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  1469. unknown_fields());
  1470. }
  1471. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1472. _cached_size_ = total_size;
  1473. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1474. return total_size;
  1475. }
  1476. void packetc2w_finish_one_new_guild::MergeFrom(const ::google::protobuf::Message& from) {
  1477. GOOGLE_CHECK_NE(&from, this);
  1478. const packetc2w_finish_one_new_guild* source =
  1479. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_finish_one_new_guild*>(
  1480. &from);
  1481. if (source == NULL) {
  1482. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  1483. } else {
  1484. MergeFrom(*source);
  1485. }
  1486. }
  1487. void packetc2w_finish_one_new_guild::MergeFrom(const packetc2w_finish_one_new_guild& from) {
  1488. GOOGLE_CHECK_NE(&from, this);
  1489. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1490. if (from.has_packet_id()) {
  1491. set_packet_id(from.packet_id());
  1492. }
  1493. if (from.has_type()) {
  1494. set_type(from.type());
  1495. }
  1496. if (from.has_stepid()) {
  1497. set_stepid(from.stepid());
  1498. }
  1499. }
  1500. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  1501. }
  1502. void packetc2w_finish_one_new_guild::CopyFrom(const ::google::protobuf::Message& from) {
  1503. if (&from == this) return;
  1504. Clear();
  1505. MergeFrom(from);
  1506. }
  1507. void packetc2w_finish_one_new_guild::CopyFrom(const packetc2w_finish_one_new_guild& from) {
  1508. if (&from == this) return;
  1509. Clear();
  1510. MergeFrom(from);
  1511. }
  1512. bool packetc2w_finish_one_new_guild::IsInitialized() const {
  1513. return true;
  1514. }
  1515. void packetc2w_finish_one_new_guild::Swap(packetc2w_finish_one_new_guild* other) {
  1516. if (other != this) {
  1517. std::swap(packet_id_, other->packet_id_);
  1518. std::swap(type_, other->type_);
  1519. std::swap(stepid_, other->stepid_);
  1520. std::swap(_has_bits_[0], other->_has_bits_[0]);
  1521. _unknown_fields_.Swap(&other->_unknown_fields_);
  1522. std::swap(_cached_size_, other->_cached_size_);
  1523. }
  1524. }
  1525. ::google::protobuf::Metadata packetc2w_finish_one_new_guild::GetMetadata() const {
  1526. protobuf_AssignDescriptorsOnce();
  1527. ::google::protobuf::Metadata metadata;
  1528. metadata.descriptor = packetc2w_finish_one_new_guild_descriptor_;
  1529. metadata.reflection = packetc2w_finish_one_new_guild_reflection_;
  1530. return metadata;
  1531. }
  1532. // ===================================================================
  1533. #ifndef _MSC_VER
  1534. const int packetw2c_finish_one_new_guild_result::kPacketIdFieldNumber;
  1535. const int packetw2c_finish_one_new_guild_result::kTypeFieldNumber;
  1536. const int packetw2c_finish_one_new_guild_result::kStepIdFieldNumber;
  1537. #endif // !_MSC_VER
  1538. packetw2c_finish_one_new_guild_result::packetw2c_finish_one_new_guild_result()
  1539. : ::google::protobuf::Message() {
  1540. SharedCtor();
  1541. }
  1542. void packetw2c_finish_one_new_guild_result::InitAsDefaultInstance() {
  1543. }
  1544. packetw2c_finish_one_new_guild_result::packetw2c_finish_one_new_guild_result(const packetw2c_finish_one_new_guild_result& from)
  1545. : ::google::protobuf::Message() {
  1546. SharedCtor();
  1547. MergeFrom(from);
  1548. }
  1549. void packetw2c_finish_one_new_guild_result::SharedCtor() {
  1550. _cached_size_ = 0;
  1551. packet_id_ = 7545;
  1552. type_ = 0;
  1553. stepid_ = 0;
  1554. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1555. }
  1556. packetw2c_finish_one_new_guild_result::~packetw2c_finish_one_new_guild_result() {
  1557. SharedDtor();
  1558. }
  1559. void packetw2c_finish_one_new_guild_result::SharedDtor() {
  1560. if (this != default_instance_) {
  1561. }
  1562. }
  1563. void packetw2c_finish_one_new_guild_result::SetCachedSize(int size) const {
  1564. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1565. _cached_size_ = size;
  1566. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1567. }
  1568. const ::google::protobuf::Descriptor* packetw2c_finish_one_new_guild_result::descriptor() {
  1569. protobuf_AssignDescriptorsOnce();
  1570. return packetw2c_finish_one_new_guild_result_descriptor_;
  1571. }
  1572. const packetw2c_finish_one_new_guild_result& packetw2c_finish_one_new_guild_result::default_instance() {
  1573. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fplayer_5fproperty_2eproto();
  1574. return *default_instance_;
  1575. }
  1576. packetw2c_finish_one_new_guild_result* packetw2c_finish_one_new_guild_result::default_instance_ = NULL;
  1577. packetw2c_finish_one_new_guild_result* packetw2c_finish_one_new_guild_result::New() const {
  1578. return new packetw2c_finish_one_new_guild_result;
  1579. }
  1580. void packetw2c_finish_one_new_guild_result::Clear() {
  1581. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1582. packet_id_ = 7545;
  1583. type_ = 0;
  1584. stepid_ = 0;
  1585. }
  1586. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1587. mutable_unknown_fields()->Clear();
  1588. }
  1589. bool packetw2c_finish_one_new_guild_result::MergePartialFromCodedStream(
  1590. ::google::protobuf::io::CodedInputStream* input) {
  1591. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  1592. ::google::protobuf::uint32 tag;
  1593. while ((tag = input->ReadTag()) != 0) {
  1594. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1595. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_finish_one_new_guild_result];
  1596. case 1: {
  1597. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1598. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1599. int value;
  1600. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1601. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  1602. input, &value)));
  1603. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  1604. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  1605. } else {
  1606. mutable_unknown_fields()->AddVarint(1, value);
  1607. }
  1608. } else {
  1609. goto handle_uninterpreted;
  1610. }
  1611. if (input->ExpectTag(16)) goto parse_type;
  1612. break;
  1613. }
  1614. // optional int32 type = 2;
  1615. case 2: {
  1616. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1617. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1618. parse_type:
  1619. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1620. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1621. input, &type_)));
  1622. set_has_type();
  1623. } else {
  1624. goto handle_uninterpreted;
  1625. }
  1626. if (input->ExpectTag(24)) goto parse_stepId;
  1627. break;
  1628. }
  1629. // optional int32 stepId = 3;
  1630. case 3: {
  1631. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1632. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1633. parse_stepId:
  1634. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1635. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  1636. input, &stepid_)));
  1637. set_has_stepid();
  1638. } else {
  1639. goto handle_uninterpreted;
  1640. }
  1641. if (input->ExpectAtEnd()) return true;
  1642. break;
  1643. }
  1644. default: {
  1645. handle_uninterpreted:
  1646. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1647. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  1648. return true;
  1649. }
  1650. DO_(::google::protobuf::internal::WireFormat::SkipField(
  1651. input, tag, mutable_unknown_fields()));
  1652. break;
  1653. }
  1654. }
  1655. }
  1656. return true;
  1657. #undef DO_
  1658. }
  1659. void packetw2c_finish_one_new_guild_result::SerializeWithCachedSizes(
  1660. ::google::protobuf::io::CodedOutputStream* output) const {
  1661. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_finish_one_new_guild_result];
  1662. if (has_packet_id()) {
  1663. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  1664. 1, this->packet_id(), output);
  1665. }
  1666. // optional int32 type = 2;
  1667. if (has_type()) {
  1668. ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->type(), output);
  1669. }
  1670. // optional int32 stepId = 3;
  1671. if (has_stepid()) {
  1672. ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->stepid(), output);
  1673. }
  1674. if (!unknown_fields().empty()) {
  1675. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  1676. unknown_fields(), output);
  1677. }
  1678. }
  1679. ::google::protobuf::uint8* packetw2c_finish_one_new_guild_result::SerializeWithCachedSizesToArray(
  1680. ::google::protobuf::uint8* target) const {
  1681. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_finish_one_new_guild_result];
  1682. if (has_packet_id()) {
  1683. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  1684. 1, this->packet_id(), target);
  1685. }
  1686. // optional int32 type = 2;
  1687. if (has_type()) {
  1688. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->type(), target);
  1689. }
  1690. // optional int32 stepId = 3;
  1691. if (has_stepid()) {
  1692. target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->stepid(), target);
  1693. }
  1694. if (!unknown_fields().empty()) {
  1695. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  1696. unknown_fields(), target);
  1697. }
  1698. return target;
  1699. }
  1700. int packetw2c_finish_one_new_guild_result::ByteSize() const {
  1701. int total_size = 0;
  1702. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1703. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_finish_one_new_guild_result];
  1704. if (has_packet_id()) {
  1705. total_size += 1 +
  1706. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  1707. }
  1708. // optional int32 type = 2;
  1709. if (has_type()) {
  1710. total_size += 1 +
  1711. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1712. this->type());
  1713. }
  1714. // optional int32 stepId = 3;
  1715. if (has_stepid()) {
  1716. total_size += 1 +
  1717. ::google::protobuf::internal::WireFormatLite::Int32Size(
  1718. this->stepid());
  1719. }
  1720. }
  1721. if (!unknown_fields().empty()) {
  1722. total_size +=
  1723. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  1724. unknown_fields());
  1725. }
  1726. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1727. _cached_size_ = total_size;
  1728. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1729. return total_size;
  1730. }
  1731. void packetw2c_finish_one_new_guild_result::MergeFrom(const ::google::protobuf::Message& from) {
  1732. GOOGLE_CHECK_NE(&from, this);
  1733. const packetw2c_finish_one_new_guild_result* source =
  1734. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_finish_one_new_guild_result*>(
  1735. &from);
  1736. if (source == NULL) {
  1737. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  1738. } else {
  1739. MergeFrom(*source);
  1740. }
  1741. }
  1742. void packetw2c_finish_one_new_guild_result::MergeFrom(const packetw2c_finish_one_new_guild_result& from) {
  1743. GOOGLE_CHECK_NE(&from, this);
  1744. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1745. if (from.has_packet_id()) {
  1746. set_packet_id(from.packet_id());
  1747. }
  1748. if (from.has_type()) {
  1749. set_type(from.type());
  1750. }
  1751. if (from.has_stepid()) {
  1752. set_stepid(from.stepid());
  1753. }
  1754. }
  1755. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  1756. }
  1757. void packetw2c_finish_one_new_guild_result::CopyFrom(const ::google::protobuf::Message& from) {
  1758. if (&from == this) return;
  1759. Clear();
  1760. MergeFrom(from);
  1761. }
  1762. void packetw2c_finish_one_new_guild_result::CopyFrom(const packetw2c_finish_one_new_guild_result& from) {
  1763. if (&from == this) return;
  1764. Clear();
  1765. MergeFrom(from);
  1766. }
  1767. bool packetw2c_finish_one_new_guild_result::IsInitialized() const {
  1768. return true;
  1769. }
  1770. void packetw2c_finish_one_new_guild_result::Swap(packetw2c_finish_one_new_guild_result* other) {
  1771. if (other != this) {
  1772. std::swap(packet_id_, other->packet_id_);
  1773. std::swap(type_, other->type_);
  1774. std::swap(stepid_, other->stepid_);
  1775. std::swap(_has_bits_[0], other->_has_bits_[0]);
  1776. _unknown_fields_.Swap(&other->_unknown_fields_);
  1777. std::swap(_cached_size_, other->_cached_size_);
  1778. }
  1779. }
  1780. ::google::protobuf::Metadata packetw2c_finish_one_new_guild_result::GetMetadata() const {
  1781. protobuf_AssignDescriptorsOnce();
  1782. ::google::protobuf::Metadata metadata;
  1783. metadata.descriptor = packetw2c_finish_one_new_guild_result_descriptor_;
  1784. metadata.reflection = packetw2c_finish_one_new_guild_result_reflection_;
  1785. return metadata;
  1786. }
  1787. // ===================================================================
  1788. #ifndef _MSC_VER
  1789. const int packetc2w_req_last_rechargelist::kPacketIdFieldNumber;
  1790. #endif // !_MSC_VER
  1791. packetc2w_req_last_rechargelist::packetc2w_req_last_rechargelist()
  1792. : ::google::protobuf::Message() {
  1793. SharedCtor();
  1794. }
  1795. void packetc2w_req_last_rechargelist::InitAsDefaultInstance() {
  1796. }
  1797. packetc2w_req_last_rechargelist::packetc2w_req_last_rechargelist(const packetc2w_req_last_rechargelist& from)
  1798. : ::google::protobuf::Message() {
  1799. SharedCtor();
  1800. MergeFrom(from);
  1801. }
  1802. void packetc2w_req_last_rechargelist::SharedCtor() {
  1803. _cached_size_ = 0;
  1804. packet_id_ = 5091;
  1805. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1806. }
  1807. packetc2w_req_last_rechargelist::~packetc2w_req_last_rechargelist() {
  1808. SharedDtor();
  1809. }
  1810. void packetc2w_req_last_rechargelist::SharedDtor() {
  1811. if (this != default_instance_) {
  1812. }
  1813. }
  1814. void packetc2w_req_last_rechargelist::SetCachedSize(int size) const {
  1815. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1816. _cached_size_ = size;
  1817. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1818. }
  1819. const ::google::protobuf::Descriptor* packetc2w_req_last_rechargelist::descriptor() {
  1820. protobuf_AssignDescriptorsOnce();
  1821. return packetc2w_req_last_rechargelist_descriptor_;
  1822. }
  1823. const packetc2w_req_last_rechargelist& packetc2w_req_last_rechargelist::default_instance() {
  1824. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fplayer_5fproperty_2eproto();
  1825. return *default_instance_;
  1826. }
  1827. packetc2w_req_last_rechargelist* packetc2w_req_last_rechargelist::default_instance_ = NULL;
  1828. packetc2w_req_last_rechargelist* packetc2w_req_last_rechargelist::New() const {
  1829. return new packetc2w_req_last_rechargelist;
  1830. }
  1831. void packetc2w_req_last_rechargelist::Clear() {
  1832. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1833. packet_id_ = 5091;
  1834. }
  1835. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1836. mutable_unknown_fields()->Clear();
  1837. }
  1838. bool packetc2w_req_last_rechargelist::MergePartialFromCodedStream(
  1839. ::google::protobuf::io::CodedInputStream* input) {
  1840. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  1841. ::google::protobuf::uint32 tag;
  1842. while ((tag = input->ReadTag()) != 0) {
  1843. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  1844. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_last_rechargelist];
  1845. case 1: {
  1846. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1847. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  1848. int value;
  1849. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  1850. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  1851. input, &value)));
  1852. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  1853. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  1854. } else {
  1855. mutable_unknown_fields()->AddVarint(1, value);
  1856. }
  1857. } else {
  1858. goto handle_uninterpreted;
  1859. }
  1860. if (input->ExpectAtEnd()) return true;
  1861. break;
  1862. }
  1863. default: {
  1864. handle_uninterpreted:
  1865. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  1866. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  1867. return true;
  1868. }
  1869. DO_(::google::protobuf::internal::WireFormat::SkipField(
  1870. input, tag, mutable_unknown_fields()));
  1871. break;
  1872. }
  1873. }
  1874. }
  1875. return true;
  1876. #undef DO_
  1877. }
  1878. void packetc2w_req_last_rechargelist::SerializeWithCachedSizes(
  1879. ::google::protobuf::io::CodedOutputStream* output) const {
  1880. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_last_rechargelist];
  1881. if (has_packet_id()) {
  1882. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  1883. 1, this->packet_id(), output);
  1884. }
  1885. if (!unknown_fields().empty()) {
  1886. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  1887. unknown_fields(), output);
  1888. }
  1889. }
  1890. ::google::protobuf::uint8* packetc2w_req_last_rechargelist::SerializeWithCachedSizesToArray(
  1891. ::google::protobuf::uint8* target) const {
  1892. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_last_rechargelist];
  1893. if (has_packet_id()) {
  1894. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  1895. 1, this->packet_id(), target);
  1896. }
  1897. if (!unknown_fields().empty()) {
  1898. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  1899. unknown_fields(), target);
  1900. }
  1901. return target;
  1902. }
  1903. int packetc2w_req_last_rechargelist::ByteSize() const {
  1904. int total_size = 0;
  1905. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1906. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_last_rechargelist];
  1907. if (has_packet_id()) {
  1908. total_size += 1 +
  1909. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  1910. }
  1911. }
  1912. if (!unknown_fields().empty()) {
  1913. total_size +=
  1914. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  1915. unknown_fields());
  1916. }
  1917. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  1918. _cached_size_ = total_size;
  1919. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  1920. return total_size;
  1921. }
  1922. void packetc2w_req_last_rechargelist::MergeFrom(const ::google::protobuf::Message& from) {
  1923. GOOGLE_CHECK_NE(&from, this);
  1924. const packetc2w_req_last_rechargelist* source =
  1925. ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_req_last_rechargelist*>(
  1926. &from);
  1927. if (source == NULL) {
  1928. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  1929. } else {
  1930. MergeFrom(*source);
  1931. }
  1932. }
  1933. void packetc2w_req_last_rechargelist::MergeFrom(const packetc2w_req_last_rechargelist& from) {
  1934. GOOGLE_CHECK_NE(&from, this);
  1935. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  1936. if (from.has_packet_id()) {
  1937. set_packet_id(from.packet_id());
  1938. }
  1939. }
  1940. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  1941. }
  1942. void packetc2w_req_last_rechargelist::CopyFrom(const ::google::protobuf::Message& from) {
  1943. if (&from == this) return;
  1944. Clear();
  1945. MergeFrom(from);
  1946. }
  1947. void packetc2w_req_last_rechargelist::CopyFrom(const packetc2w_req_last_rechargelist& from) {
  1948. if (&from == this) return;
  1949. Clear();
  1950. MergeFrom(from);
  1951. }
  1952. bool packetc2w_req_last_rechargelist::IsInitialized() const {
  1953. return true;
  1954. }
  1955. void packetc2w_req_last_rechargelist::Swap(packetc2w_req_last_rechargelist* other) {
  1956. if (other != this) {
  1957. std::swap(packet_id_, other->packet_id_);
  1958. std::swap(_has_bits_[0], other->_has_bits_[0]);
  1959. _unknown_fields_.Swap(&other->_unknown_fields_);
  1960. std::swap(_cached_size_, other->_cached_size_);
  1961. }
  1962. }
  1963. ::google::protobuf::Metadata packetc2w_req_last_rechargelist::GetMetadata() const {
  1964. protobuf_AssignDescriptorsOnce();
  1965. ::google::protobuf::Metadata metadata;
  1966. metadata.descriptor = packetc2w_req_last_rechargelist_descriptor_;
  1967. metadata.reflection = packetc2w_req_last_rechargelist_reflection_;
  1968. return metadata;
  1969. }
  1970. // ===================================================================
  1971. #ifndef _MSC_VER
  1972. const int packetw2c_req_last_rechargelist_result::kPacketIdFieldNumber;
  1973. const int packetw2c_req_last_rechargelist_result::kGoldPayIdListFieldNumber;
  1974. const int packetw2c_req_last_rechargelist_result::kGemPayIdListFieldNumber;
  1975. #endif // !_MSC_VER
  1976. packetw2c_req_last_rechargelist_result::packetw2c_req_last_rechargelist_result()
  1977. : ::google::protobuf::Message() {
  1978. SharedCtor();
  1979. }
  1980. void packetw2c_req_last_rechargelist_result::InitAsDefaultInstance() {
  1981. }
  1982. packetw2c_req_last_rechargelist_result::packetw2c_req_last_rechargelist_result(const packetw2c_req_last_rechargelist_result& from)
  1983. : ::google::protobuf::Message() {
  1984. SharedCtor();
  1985. MergeFrom(from);
  1986. }
  1987. void packetw2c_req_last_rechargelist_result::SharedCtor() {
  1988. _cached_size_ = 0;
  1989. packet_id_ = 7598;
  1990. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  1991. }
  1992. packetw2c_req_last_rechargelist_result::~packetw2c_req_last_rechargelist_result() {
  1993. SharedDtor();
  1994. }
  1995. void packetw2c_req_last_rechargelist_result::SharedDtor() {
  1996. if (this != default_instance_) {
  1997. }
  1998. }
  1999. void packetw2c_req_last_rechargelist_result::SetCachedSize(int size) const {
  2000. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2001. _cached_size_ = size;
  2002. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2003. }
  2004. const ::google::protobuf::Descriptor* packetw2c_req_last_rechargelist_result::descriptor() {
  2005. protobuf_AssignDescriptorsOnce();
  2006. return packetw2c_req_last_rechargelist_result_descriptor_;
  2007. }
  2008. const packetw2c_req_last_rechargelist_result& packetw2c_req_last_rechargelist_result::default_instance() {
  2009. if (default_instance_ == NULL) protobuf_AddDesc_client2world_5fplayer_5fproperty_2eproto();
  2010. return *default_instance_;
  2011. }
  2012. packetw2c_req_last_rechargelist_result* packetw2c_req_last_rechargelist_result::default_instance_ = NULL;
  2013. packetw2c_req_last_rechargelist_result* packetw2c_req_last_rechargelist_result::New() const {
  2014. return new packetw2c_req_last_rechargelist_result;
  2015. }
  2016. void packetw2c_req_last_rechargelist_result::Clear() {
  2017. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2018. packet_id_ = 7598;
  2019. }
  2020. goldpayidlist_.Clear();
  2021. gempayidlist_.Clear();
  2022. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  2023. mutable_unknown_fields()->Clear();
  2024. }
  2025. bool packetw2c_req_last_rechargelist_result::MergePartialFromCodedStream(
  2026. ::google::protobuf::io::CodedInputStream* input) {
  2027. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  2028. ::google::protobuf::uint32 tag;
  2029. while ((tag = input->ReadTag()) != 0) {
  2030. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  2031. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_last_rechargelist_result];
  2032. case 1: {
  2033. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2034. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2035. int value;
  2036. DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
  2037. int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
  2038. input, &value)));
  2039. if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
  2040. set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
  2041. } else {
  2042. mutable_unknown_fields()->AddVarint(1, value);
  2043. }
  2044. } else {
  2045. goto handle_uninterpreted;
  2046. }
  2047. if (input->ExpectTag(16)) goto parse_goldPayIdList;
  2048. break;
  2049. }
  2050. // repeated int32 goldPayIdList = 2;
  2051. case 2: {
  2052. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2053. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2054. parse_goldPayIdList:
  2055. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  2056. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2057. 1, 16, input, this->mutable_goldpayidlist())));
  2058. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  2059. == ::google::protobuf::internal::WireFormatLite::
  2060. WIRETYPE_LENGTH_DELIMITED) {
  2061. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  2062. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2063. input, this->mutable_goldpayidlist())));
  2064. } else {
  2065. goto handle_uninterpreted;
  2066. }
  2067. if (input->ExpectTag(16)) goto parse_goldPayIdList;
  2068. if (input->ExpectTag(24)) goto parse_gemPayIdList;
  2069. break;
  2070. }
  2071. // repeated int32 gemPayIdList = 3;
  2072. case 3: {
  2073. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2074. ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
  2075. parse_gemPayIdList:
  2076. DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
  2077. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2078. 1, 24, input, this->mutable_gempayidlist())));
  2079. } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
  2080. == ::google::protobuf::internal::WireFormatLite::
  2081. WIRETYPE_LENGTH_DELIMITED) {
  2082. DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
  2083. ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
  2084. input, this->mutable_gempayidlist())));
  2085. } else {
  2086. goto handle_uninterpreted;
  2087. }
  2088. if (input->ExpectTag(24)) goto parse_gemPayIdList;
  2089. if (input->ExpectAtEnd()) return true;
  2090. break;
  2091. }
  2092. default: {
  2093. handle_uninterpreted:
  2094. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  2095. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  2096. return true;
  2097. }
  2098. DO_(::google::protobuf::internal::WireFormat::SkipField(
  2099. input, tag, mutable_unknown_fields()));
  2100. break;
  2101. }
  2102. }
  2103. }
  2104. return true;
  2105. #undef DO_
  2106. }
  2107. void packetw2c_req_last_rechargelist_result::SerializeWithCachedSizes(
  2108. ::google::protobuf::io::CodedOutputStream* output) const {
  2109. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_last_rechargelist_result];
  2110. if (has_packet_id()) {
  2111. ::google::protobuf::internal::WireFormatLite::WriteEnum(
  2112. 1, this->packet_id(), output);
  2113. }
  2114. // repeated int32 goldPayIdList = 2;
  2115. for (int i = 0; i < this->goldpayidlist_size(); i++) {
  2116. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  2117. 2, this->goldpayidlist(i), output);
  2118. }
  2119. // repeated int32 gemPayIdList = 3;
  2120. for (int i = 0; i < this->gempayidlist_size(); i++) {
  2121. ::google::protobuf::internal::WireFormatLite::WriteInt32(
  2122. 3, this->gempayidlist(i), output);
  2123. }
  2124. if (!unknown_fields().empty()) {
  2125. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  2126. unknown_fields(), output);
  2127. }
  2128. }
  2129. ::google::protobuf::uint8* packetw2c_req_last_rechargelist_result::SerializeWithCachedSizesToArray(
  2130. ::google::protobuf::uint8* target) const {
  2131. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_last_rechargelist_result];
  2132. if (has_packet_id()) {
  2133. target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
  2134. 1, this->packet_id(), target);
  2135. }
  2136. // repeated int32 goldPayIdList = 2;
  2137. for (int i = 0; i < this->goldpayidlist_size(); i++) {
  2138. target = ::google::protobuf::internal::WireFormatLite::
  2139. WriteInt32ToArray(2, this->goldpayidlist(i), target);
  2140. }
  2141. // repeated int32 gemPayIdList = 3;
  2142. for (int i = 0; i < this->gempayidlist_size(); i++) {
  2143. target = ::google::protobuf::internal::WireFormatLite::
  2144. WriteInt32ToArray(3, this->gempayidlist(i), target);
  2145. }
  2146. if (!unknown_fields().empty()) {
  2147. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  2148. unknown_fields(), target);
  2149. }
  2150. return target;
  2151. }
  2152. int packetw2c_req_last_rechargelist_result::ByteSize() const {
  2153. int total_size = 0;
  2154. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2155. // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_last_rechargelist_result];
  2156. if (has_packet_id()) {
  2157. total_size += 1 +
  2158. ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
  2159. }
  2160. }
  2161. // repeated int32 goldPayIdList = 2;
  2162. {
  2163. int data_size = 0;
  2164. for (int i = 0; i < this->goldpayidlist_size(); i++) {
  2165. data_size += ::google::protobuf::internal::WireFormatLite::
  2166. Int32Size(this->goldpayidlist(i));
  2167. }
  2168. total_size += 1 * this->goldpayidlist_size() + data_size;
  2169. }
  2170. // repeated int32 gemPayIdList = 3;
  2171. {
  2172. int data_size = 0;
  2173. for (int i = 0; i < this->gempayidlist_size(); i++) {
  2174. data_size += ::google::protobuf::internal::WireFormatLite::
  2175. Int32Size(this->gempayidlist(i));
  2176. }
  2177. total_size += 1 * this->gempayidlist_size() + data_size;
  2178. }
  2179. if (!unknown_fields().empty()) {
  2180. total_size +=
  2181. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  2182. unknown_fields());
  2183. }
  2184. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  2185. _cached_size_ = total_size;
  2186. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  2187. return total_size;
  2188. }
  2189. void packetw2c_req_last_rechargelist_result::MergeFrom(const ::google::protobuf::Message& from) {
  2190. GOOGLE_CHECK_NE(&from, this);
  2191. const packetw2c_req_last_rechargelist_result* source =
  2192. ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_req_last_rechargelist_result*>(
  2193. &from);
  2194. if (source == NULL) {
  2195. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  2196. } else {
  2197. MergeFrom(*source);
  2198. }
  2199. }
  2200. void packetw2c_req_last_rechargelist_result::MergeFrom(const packetw2c_req_last_rechargelist_result& from) {
  2201. GOOGLE_CHECK_NE(&from, this);
  2202. goldpayidlist_.MergeFrom(from.goldpayidlist_);
  2203. gempayidlist_.MergeFrom(from.gempayidlist_);
  2204. if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  2205. if (from.has_packet_id()) {
  2206. set_packet_id(from.packet_id());
  2207. }
  2208. }
  2209. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  2210. }
  2211. void packetw2c_req_last_rechargelist_result::CopyFrom(const ::google::protobuf::Message& from) {
  2212. if (&from == this) return;
  2213. Clear();
  2214. MergeFrom(from);
  2215. }
  2216. void packetw2c_req_last_rechargelist_result::CopyFrom(const packetw2c_req_last_rechargelist_result& from) {
  2217. if (&from == this) return;
  2218. Clear();
  2219. MergeFrom(from);
  2220. }
  2221. bool packetw2c_req_last_rechargelist_result::IsInitialized() const {
  2222. return true;
  2223. }
  2224. void packetw2c_req_last_rechargelist_result::Swap(packetw2c_req_last_rechargelist_result* other) {
  2225. if (other != this) {
  2226. std::swap(packet_id_, other->packet_id_);
  2227. goldpayidlist_.Swap(&other->goldpayidlist_);
  2228. gempayidlist_.Swap(&other->gempayidlist_);
  2229. std::swap(_has_bits_[0], other->_has_bits_[0]);
  2230. _unknown_fields_.Swap(&other->_unknown_fields_);
  2231. std::swap(_cached_size_, other->_cached_size_);
  2232. }
  2233. }
  2234. ::google::protobuf::Metadata packetw2c_req_last_rechargelist_result::GetMetadata() const {
  2235. protobuf_AssignDescriptorsOnce();
  2236. ::google::protobuf::Metadata metadata;
  2237. metadata.descriptor = packetw2c_req_last_rechargelist_result_descriptor_;
  2238. metadata.reflection = packetw2c_req_last_rechargelist_result_reflection_;
  2239. return metadata;
  2240. }
  2241. // @@protoc_insertion_point(namespace_scope)
  2242. } // namespace client2world_protocols
  2243. // @@protoc_insertion_point(global_scope)