12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: client2world_activity.proto
- #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
- #include "client2world_activity.pb.h"
- #include <algorithm>
- #include <google/protobuf/stubs/common.h>
- #include <google/protobuf/stubs/once.h>
- #include <google/protobuf/io/coded_stream.h>
- #include <google/protobuf/wire_format_lite_inl.h>
- #include <google/protobuf/descriptor.h>
- #include <google/protobuf/generated_message_reflection.h>
- #include <google/protobuf/reflection_ops.h>
- #include <google/protobuf/wire_format.h>
- // @@protoc_insertion_point(includes)
- namespace client2world_protocols {
- namespace {
- const ::google::protobuf::Descriptor* packetc2w_req_activity_state_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- packetc2w_req_activity_state_reflection_ = NULL;
- const ::google::protobuf::Descriptor* packetw2c_req_activity_state_result_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- packetw2c_req_activity_state_result_reflection_ = NULL;
- const ::google::protobuf::Descriptor* packetc2w_receive_cdkey_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- packetc2w_receive_cdkey_reflection_ = NULL;
- const ::google::protobuf::Descriptor* packetw2c_receive_cdkey_result_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- packetw2c_receive_cdkey_result_reflection_ = NULL;
- const ::google::protobuf::Descriptor* packetw2c_sync_activity_result_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- packetw2c_sync_activity_result_reflection_ = NULL;
- const ::google::protobuf::Descriptor* packetc2w_get_grow_fund_info_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- packetc2w_get_grow_fund_info_reflection_ = NULL;
- const ::google::protobuf::Descriptor* packetw2c_get_grow_fund_info_result_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- packetw2c_get_grow_fund_info_result_reflection_ = NULL;
- const ::google::protobuf::Descriptor* packetc2w_receive_grow_fund_reward_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- packetc2w_receive_grow_fund_reward_reflection_ = NULL;
- const ::google::protobuf::Descriptor* packetw2c_receive_grow_fund_reward_result_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- packetw2c_receive_grow_fund_reward_result_reflection_ = NULL;
- const ::google::protobuf::Descriptor* packetc2w_grow_fund_record_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- packetc2w_grow_fund_record_reflection_ = NULL;
- } // namespace
- void protobuf_AssignDesc_client2world_5factivity_2eproto() {
- protobuf_AddDesc_client2world_5factivity_2eproto();
- const ::google::protobuf::FileDescriptor* file =
- ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
- "client2world_activity.proto");
- GOOGLE_CHECK(file != NULL);
- packetc2w_req_activity_state_descriptor_ = file->message_type(0);
- static const int packetc2w_req_activity_state_offsets_[1] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_req_activity_state, packet_id_),
- };
- packetc2w_req_activity_state_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- packetc2w_req_activity_state_descriptor_,
- packetc2w_req_activity_state::default_instance_,
- packetc2w_req_activity_state_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_req_activity_state, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_req_activity_state, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(packetc2w_req_activity_state));
- packetw2c_req_activity_state_result_descriptor_ = file->message_type(1);
- static const int packetw2c_req_activity_state_result_offsets_[3] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_req_activity_state_result, packet_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_req_activity_state_result, receiveinfo_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_req_activity_state_result, activitycurrecharge_),
- };
- packetw2c_req_activity_state_result_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- packetw2c_req_activity_state_result_descriptor_,
- packetw2c_req_activity_state_result::default_instance_,
- packetw2c_req_activity_state_result_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_req_activity_state_result, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_req_activity_state_result, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(packetw2c_req_activity_state_result));
- packetc2w_receive_cdkey_descriptor_ = file->message_type(2);
- static const int packetc2w_receive_cdkey_offsets_[2] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_cdkey, packet_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_cdkey, cdkey_),
- };
- packetc2w_receive_cdkey_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- packetc2w_receive_cdkey_descriptor_,
- packetc2w_receive_cdkey::default_instance_,
- packetc2w_receive_cdkey_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_cdkey, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_cdkey, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(packetc2w_receive_cdkey));
- packetw2c_receive_cdkey_result_descriptor_ = file->message_type(3);
- static const int packetw2c_receive_cdkey_result_offsets_[3] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_cdkey_result, packet_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_cdkey_result, result_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_cdkey_result, giftid_),
- };
- packetw2c_receive_cdkey_result_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- packetw2c_receive_cdkey_result_descriptor_,
- packetw2c_receive_cdkey_result::default_instance_,
- packetw2c_receive_cdkey_result_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_cdkey_result, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_cdkey_result, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(packetw2c_receive_cdkey_result));
- packetw2c_sync_activity_result_descriptor_ = file->message_type(4);
- static const int packetw2c_sync_activity_result_offsets_[3] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_sync_activity_result, packet_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_sync_activity_result, active_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_sync_activity_result, hasgetactivebox_),
- };
- packetw2c_sync_activity_result_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- packetw2c_sync_activity_result_descriptor_,
- packetw2c_sync_activity_result::default_instance_,
- packetw2c_sync_activity_result_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_sync_activity_result, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_sync_activity_result, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(packetw2c_sync_activity_result));
- packetc2w_get_grow_fund_info_descriptor_ = file->message_type(5);
- static const int packetc2w_get_grow_fund_info_offsets_[1] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_grow_fund_info, packet_id_),
- };
- packetc2w_get_grow_fund_info_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- packetc2w_get_grow_fund_info_descriptor_,
- packetc2w_get_grow_fund_info::default_instance_,
- packetc2w_get_grow_fund_info_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_grow_fund_info, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_get_grow_fund_info, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(packetc2w_get_grow_fund_info));
- packetw2c_get_grow_fund_info_result_descriptor_ = file->message_type(6);
- static const int packetw2c_get_grow_fund_info_result_offsets_[3] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_grow_fund_info_result, packet_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_grow_fund_info_result, isreceived_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_grow_fund_info_result, rechared_),
- };
- packetw2c_get_grow_fund_info_result_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- packetw2c_get_grow_fund_info_result_descriptor_,
- packetw2c_get_grow_fund_info_result::default_instance_,
- packetw2c_get_grow_fund_info_result_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_grow_fund_info_result, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_get_grow_fund_info_result, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(packetw2c_get_grow_fund_info_result));
- packetc2w_receive_grow_fund_reward_descriptor_ = file->message_type(7);
- static const int packetc2w_receive_grow_fund_reward_offsets_[2] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_grow_fund_reward, packet_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_grow_fund_reward, rewardid_),
- };
- packetc2w_receive_grow_fund_reward_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- packetc2w_receive_grow_fund_reward_descriptor_,
- packetc2w_receive_grow_fund_reward::default_instance_,
- packetc2w_receive_grow_fund_reward_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_grow_fund_reward, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_receive_grow_fund_reward, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(packetc2w_receive_grow_fund_reward));
- packetw2c_receive_grow_fund_reward_result_descriptor_ = file->message_type(8);
- static const int packetw2c_receive_grow_fund_reward_result_offsets_[3] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_grow_fund_reward_result, packet_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_grow_fund_reward_result, result_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_grow_fund_reward_result, rewardid_),
- };
- packetw2c_receive_grow_fund_reward_result_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- packetw2c_receive_grow_fund_reward_result_descriptor_,
- packetw2c_receive_grow_fund_reward_result::default_instance_,
- packetw2c_receive_grow_fund_reward_result_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_grow_fund_reward_result, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetw2c_receive_grow_fund_reward_result, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(packetw2c_receive_grow_fund_reward_result));
- packetc2w_grow_fund_record_descriptor_ = file->message_type(9);
- static const int packetc2w_grow_fund_record_offsets_[1] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_grow_fund_record, packet_id_),
- };
- packetc2w_grow_fund_record_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- packetc2w_grow_fund_record_descriptor_,
- packetc2w_grow_fund_record::default_instance_,
- packetc2w_grow_fund_record_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_grow_fund_record, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2w_grow_fund_record, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(packetc2w_grow_fund_record));
- }
- namespace {
- GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
- inline void protobuf_AssignDescriptorsOnce() {
- ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
- &protobuf_AssignDesc_client2world_5factivity_2eproto);
- }
- void protobuf_RegisterTypes(const ::std::string&) {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- packetc2w_req_activity_state_descriptor_, &packetc2w_req_activity_state::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- packetw2c_req_activity_state_result_descriptor_, &packetw2c_req_activity_state_result::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- packetc2w_receive_cdkey_descriptor_, &packetc2w_receive_cdkey::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- packetw2c_receive_cdkey_result_descriptor_, &packetw2c_receive_cdkey_result::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- packetw2c_sync_activity_result_descriptor_, &packetw2c_sync_activity_result::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- packetc2w_get_grow_fund_info_descriptor_, &packetc2w_get_grow_fund_info::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- packetw2c_get_grow_fund_info_result_descriptor_, &packetw2c_get_grow_fund_info_result::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- packetc2w_receive_grow_fund_reward_descriptor_, &packetc2w_receive_grow_fund_reward::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- packetw2c_receive_grow_fund_reward_result_descriptor_, &packetw2c_receive_grow_fund_reward_result::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- packetc2w_grow_fund_record_descriptor_, &packetc2w_grow_fund_record::default_instance());
- }
- } // namespace
- void protobuf_ShutdownFile_client2world_5factivity_2eproto() {
- delete packetc2w_req_activity_state::default_instance_;
- delete packetc2w_req_activity_state_reflection_;
- delete packetw2c_req_activity_state_result::default_instance_;
- delete packetw2c_req_activity_state_result_reflection_;
- delete packetc2w_receive_cdkey::default_instance_;
- delete packetc2w_receive_cdkey_reflection_;
- delete packetw2c_receive_cdkey_result::default_instance_;
- delete packetw2c_receive_cdkey_result_reflection_;
- delete packetw2c_sync_activity_result::default_instance_;
- delete packetw2c_sync_activity_result_reflection_;
- delete packetc2w_get_grow_fund_info::default_instance_;
- delete packetc2w_get_grow_fund_info_reflection_;
- delete packetw2c_get_grow_fund_info_result::default_instance_;
- delete packetw2c_get_grow_fund_info_result_reflection_;
- delete packetc2w_receive_grow_fund_reward::default_instance_;
- delete packetc2w_receive_grow_fund_reward_reflection_;
- delete packetw2c_receive_grow_fund_reward_result::default_instance_;
- delete packetw2c_receive_grow_fund_reward_result_reflection_;
- delete packetc2w_grow_fund_record::default_instance_;
- delete packetc2w_grow_fund_record_reflection_;
- }
- void protobuf_AddDesc_client2world_5factivity_2eproto() {
- static bool already_here = false;
- if (already_here) return;
- already_here = true;
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- ::client2world_protocols::protobuf_AddDesc_client2world_5fmsg_5ftype_2eproto();
- ::msg_type_def::protobuf_AddDesc_msg_5ftype_5fdef_2eproto();
- ::msg_info_def::protobuf_AddDesc_msg_5finfo_5fdef_2eproto();
- ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
- "\n\033client2world_activity.proto\022\026client2wo"
- "rld_protocols\032\033client2world_msg_type.pro"
- "to\032\022msg_type_def.proto\032\022msg_info_def.pro"
- "to\"z\n\034packetc2w_req_activity_state\022Z\n\tpa"
- "cket_id\030\001 \001(\0162).client2world_protocols.e"
- "_server_msg_type:\034e_mst_c2w_req_activity"
- "_state\"\335\001\n#packetw2c_req_activity_state_"
- "result\022a\n\tpacket_id\030\001 \001(\0162).client2world"
- "_protocols.e_server_msg_type:#e_mst_w2c_"
- "req_activity_state_result\0226\n\013receiveInfo"
- "\030\002 \003(\0132!.msg_info_def.ActivityReceiveInf"
- "o\022\033\n\023activityCurRecharge\030\003 \001(\005\"\177\n\027packet"
- "c2w_receive_cdkey\022U\n\tpacket_id\030\001 \001(\0162).c"
- "lient2world_protocols.e_server_msg_type:"
- "\027e_mst_c2w_receive_cdkey\022\r\n\005cdkey\030\002 \001(\t\""
- "\236\001\n\036packetw2c_receive_cdkey_result\022\\\n\tpa"
- "cket_id\030\001 \001(\0162).client2world_protocols.e"
- "_server_msg_type:\036e_mst_w2c_receive_cdke"
- "y_result\022\016\n\006result\030\002 \001(\005\022\016\n\006giftId\030\003 \001(\005"
- "\"\247\001\n\036packetw2c_sync_activity_result\022\\\n\tp"
- "acket_id\030\001 \001(\0162).client2world_protocols."
- "e_server_msg_type:\036e_mst_w2c_sync_activi"
- "ty_result\022\016\n\006active\030\002 \001(\005\022\027\n\017hasGetActiv"
- "eBox\030\003 \003(\005\"z\n\034packetc2w_get_grow_fund_in"
- "fo\022Z\n\tpacket_id\030\001 \001(\0162).client2world_pro"
- "tocols.e_server_msg_type:\034e_mst_c2w_get_"
- "grow_fund_info\"\256\001\n#packetw2c_get_grow_fu"
- "nd_info_result\022a\n\tpacket_id\030\001 \001(\0162).clie"
- "nt2world_protocols.e_server_msg_type:#e_"
- "mst_w2c_get_grow_fund_info_result\022\022\n\nisR"
- "eceived\030\002 \003(\010\022\020\n\010rechared\030\003 \001(\005\"\230\001\n\"pack"
- "etc2w_receive_grow_fund_reward\022`\n\tpacket"
- "_id\030\001 \001(\0162).client2world_protocols.e_ser"
- "ver_msg_type:\"e_mst_c2w_receive_grow_fun"
- "d_reward\022\020\n\010rewardid\030\002 \001(\005\"\266\001\n)packetw2c"
- "_receive_grow_fund_reward_result\022g\n\tpack"
- "et_id\030\001 \001(\0162).client2world_protocols.e_s"
- "erver_msg_type:)e_mst_w2c_receive_grow_f"
- "und_reward_result\022\016\n\006result\030\002 \001(\005\022\020\n\010rew"
- "ardid\030\003 \001(\005\"v\n\032packetc2w_grow_fund_recor"
- "d\022X\n\tpacket_id\030\001 \001(\0162).client2world_prot"
- "ocols.e_server_msg_type:\032e_mst_c2w_grow_"
- "fund_record", 1691);
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
- "client2world_activity.proto", &protobuf_RegisterTypes);
- packetc2w_req_activity_state::default_instance_ = new packetc2w_req_activity_state();
- packetw2c_req_activity_state_result::default_instance_ = new packetw2c_req_activity_state_result();
- packetc2w_receive_cdkey::default_instance_ = new packetc2w_receive_cdkey();
- packetw2c_receive_cdkey_result::default_instance_ = new packetw2c_receive_cdkey_result();
- packetw2c_sync_activity_result::default_instance_ = new packetw2c_sync_activity_result();
- packetc2w_get_grow_fund_info::default_instance_ = new packetc2w_get_grow_fund_info();
- packetw2c_get_grow_fund_info_result::default_instance_ = new packetw2c_get_grow_fund_info_result();
- packetc2w_receive_grow_fund_reward::default_instance_ = new packetc2w_receive_grow_fund_reward();
- packetw2c_receive_grow_fund_reward_result::default_instance_ = new packetw2c_receive_grow_fund_reward_result();
- packetc2w_grow_fund_record::default_instance_ = new packetc2w_grow_fund_record();
- packetc2w_req_activity_state::default_instance_->InitAsDefaultInstance();
- packetw2c_req_activity_state_result::default_instance_->InitAsDefaultInstance();
- packetc2w_receive_cdkey::default_instance_->InitAsDefaultInstance();
- packetw2c_receive_cdkey_result::default_instance_->InitAsDefaultInstance();
- packetw2c_sync_activity_result::default_instance_->InitAsDefaultInstance();
- packetc2w_get_grow_fund_info::default_instance_->InitAsDefaultInstance();
- packetw2c_get_grow_fund_info_result::default_instance_->InitAsDefaultInstance();
- packetc2w_receive_grow_fund_reward::default_instance_->InitAsDefaultInstance();
- packetw2c_receive_grow_fund_reward_result::default_instance_->InitAsDefaultInstance();
- packetc2w_grow_fund_record::default_instance_->InitAsDefaultInstance();
- ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_client2world_5factivity_2eproto);
- }
- // Force AddDescriptors() to be called at static initialization time.
- struct StaticDescriptorInitializer_client2world_5factivity_2eproto {
- StaticDescriptorInitializer_client2world_5factivity_2eproto() {
- protobuf_AddDesc_client2world_5factivity_2eproto();
- }
- } static_descriptor_initializer_client2world_5factivity_2eproto_;
- // ===================================================================
- #ifndef _MSC_VER
- const int packetc2w_req_activity_state::kPacketIdFieldNumber;
- #endif // !_MSC_VER
- packetc2w_req_activity_state::packetc2w_req_activity_state()
- : ::google::protobuf::Message() {
- SharedCtor();
- }
- void packetc2w_req_activity_state::InitAsDefaultInstance() {
- }
- packetc2w_req_activity_state::packetc2w_req_activity_state(const packetc2w_req_activity_state& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- }
- void packetc2w_req_activity_state::SharedCtor() {
- _cached_size_ = 0;
- packet_id_ = 5076;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- packetc2w_req_activity_state::~packetc2w_req_activity_state() {
- SharedDtor();
- }
- void packetc2w_req_activity_state::SharedDtor() {
- if (this != default_instance_) {
- }
- }
- void packetc2w_req_activity_state::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* packetc2w_req_activity_state::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return packetc2w_req_activity_state_descriptor_;
- }
- const packetc2w_req_activity_state& packetc2w_req_activity_state::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity_2eproto();
- return *default_instance_;
- }
- packetc2w_req_activity_state* packetc2w_req_activity_state::default_instance_ = NULL;
- packetc2w_req_activity_state* packetc2w_req_activity_state::New() const {
- return new packetc2w_req_activity_state;
- }
- void packetc2w_req_activity_state::Clear() {
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- packet_id_ = 5076;
- }
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool packetc2w_req_activity_state::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
- ::google::protobuf::uint32 tag;
- while ((tag = input->ReadTag()) != 0) {
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_activity_state];
- case 1: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- int value;
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
- input, &value)));
- if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
- set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
- } else {
- mutable_unknown_fields()->AddVarint(1, value);
- }
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectAtEnd()) return true;
- break;
- }
- default: {
- handle_uninterpreted:
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- return true;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, mutable_unknown_fields()));
- break;
- }
- }
- }
- return true;
- #undef DO_
- }
- void packetc2w_req_activity_state::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_activity_state];
- if (has_packet_id()) {
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
- 1, this->packet_id(), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- }
- ::google::protobuf::uint8* packetc2w_req_activity_state::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_activity_state];
- if (has_packet_id()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
- 1, this->packet_id(), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- return target;
- }
- int packetc2w_req_activity_state::ByteSize() const {
- int total_size = 0;
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_activity_state];
- if (has_packet_id()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
- }
- }
- if (!unknown_fields().empty()) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- unknown_fields());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void packetc2w_req_activity_state::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const packetc2w_req_activity_state* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_req_activity_state*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void packetc2w_req_activity_state::MergeFrom(const packetc2w_req_activity_state& from) {
- GOOGLE_CHECK_NE(&from, this);
- if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- if (from.has_packet_id()) {
- set_packet_id(from.packet_id());
- }
- }
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void packetc2w_req_activity_state::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void packetc2w_req_activity_state::CopyFrom(const packetc2w_req_activity_state& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool packetc2w_req_activity_state::IsInitialized() const {
- return true;
- }
- void packetc2w_req_activity_state::Swap(packetc2w_req_activity_state* other) {
- if (other != this) {
- std::swap(packet_id_, other->packet_id_);
- std::swap(_has_bits_[0], other->_has_bits_[0]);
- _unknown_fields_.Swap(&other->_unknown_fields_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- }
- ::google::protobuf::Metadata packetc2w_req_activity_state::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = packetc2w_req_activity_state_descriptor_;
- metadata.reflection = packetc2w_req_activity_state_reflection_;
- return metadata;
- }
- // ===================================================================
- #ifndef _MSC_VER
- const int packetw2c_req_activity_state_result::kPacketIdFieldNumber;
- const int packetw2c_req_activity_state_result::kReceiveInfoFieldNumber;
- const int packetw2c_req_activity_state_result::kActivityCurRechargeFieldNumber;
- #endif // !_MSC_VER
- packetw2c_req_activity_state_result::packetw2c_req_activity_state_result()
- : ::google::protobuf::Message() {
- SharedCtor();
- }
- void packetw2c_req_activity_state_result::InitAsDefaultInstance() {
- }
- packetw2c_req_activity_state_result::packetw2c_req_activity_state_result(const packetw2c_req_activity_state_result& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- }
- void packetw2c_req_activity_state_result::SharedCtor() {
- _cached_size_ = 0;
- packet_id_ = 7580;
- activitycurrecharge_ = 0;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- packetw2c_req_activity_state_result::~packetw2c_req_activity_state_result() {
- SharedDtor();
- }
- void packetw2c_req_activity_state_result::SharedDtor() {
- if (this != default_instance_) {
- }
- }
- void packetw2c_req_activity_state_result::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* packetw2c_req_activity_state_result::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return packetw2c_req_activity_state_result_descriptor_;
- }
- const packetw2c_req_activity_state_result& packetw2c_req_activity_state_result::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity_2eproto();
- return *default_instance_;
- }
- packetw2c_req_activity_state_result* packetw2c_req_activity_state_result::default_instance_ = NULL;
- packetw2c_req_activity_state_result* packetw2c_req_activity_state_result::New() const {
- return new packetw2c_req_activity_state_result;
- }
- void packetw2c_req_activity_state_result::Clear() {
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- packet_id_ = 7580;
- activitycurrecharge_ = 0;
- }
- receiveinfo_.Clear();
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool packetw2c_req_activity_state_result::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
- ::google::protobuf::uint32 tag;
- while ((tag = input->ReadTag()) != 0) {
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_activity_state_result];
- case 1: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- int value;
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
- input, &value)));
- if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
- set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
- } else {
- mutable_unknown_fields()->AddVarint(1, value);
- }
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(18)) goto parse_receiveInfo;
- break;
- }
- // repeated .msg_info_def.ActivityReceiveInfo receiveInfo = 2;
- case 2: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
- parse_receiveInfo:
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, add_receiveinfo()));
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(18)) goto parse_receiveInfo;
- if (input->ExpectTag(24)) goto parse_activityCurRecharge;
- break;
- }
- // optional int32 activityCurRecharge = 3;
- case 3: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_activityCurRecharge:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &activitycurrecharge_)));
- set_has_activitycurrecharge();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectAtEnd()) return true;
- break;
- }
- default: {
- handle_uninterpreted:
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- return true;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, mutable_unknown_fields()));
- break;
- }
- }
- }
- return true;
- #undef DO_
- }
- void packetw2c_req_activity_state_result::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_activity_state_result];
- if (has_packet_id()) {
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
- 1, this->packet_id(), output);
- }
- // repeated .msg_info_def.ActivityReceiveInfo receiveInfo = 2;
- for (int i = 0; i < this->receiveinfo_size(); i++) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 2, this->receiveinfo(i), output);
- }
- // optional int32 activityCurRecharge = 3;
- if (has_activitycurrecharge()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->activitycurrecharge(), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- }
- ::google::protobuf::uint8* packetw2c_req_activity_state_result::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_activity_state_result];
- if (has_packet_id()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
- 1, this->packet_id(), target);
- }
- // repeated .msg_info_def.ActivityReceiveInfo receiveInfo = 2;
- for (int i = 0; i < this->receiveinfo_size(); i++) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 2, this->receiveinfo(i), target);
- }
- // optional int32 activityCurRecharge = 3;
- if (has_activitycurrecharge()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->activitycurrecharge(), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- return target;
- }
- int packetw2c_req_activity_state_result::ByteSize() const {
- int total_size = 0;
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_activity_state_result];
- if (has_packet_id()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
- }
- // optional int32 activityCurRecharge = 3;
- if (has_activitycurrecharge()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->activitycurrecharge());
- }
- }
- // repeated .msg_info_def.ActivityReceiveInfo receiveInfo = 2;
- total_size += 1 * this->receiveinfo_size();
- for (int i = 0; i < this->receiveinfo_size(); i++) {
- total_size +=
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- this->receiveinfo(i));
- }
- if (!unknown_fields().empty()) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- unknown_fields());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void packetw2c_req_activity_state_result::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const packetw2c_req_activity_state_result* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_req_activity_state_result*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void packetw2c_req_activity_state_result::MergeFrom(const packetw2c_req_activity_state_result& from) {
- GOOGLE_CHECK_NE(&from, this);
- receiveinfo_.MergeFrom(from.receiveinfo_);
- if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- if (from.has_packet_id()) {
- set_packet_id(from.packet_id());
- }
- if (from.has_activitycurrecharge()) {
- set_activitycurrecharge(from.activitycurrecharge());
- }
- }
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void packetw2c_req_activity_state_result::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void packetw2c_req_activity_state_result::CopyFrom(const packetw2c_req_activity_state_result& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool packetw2c_req_activity_state_result::IsInitialized() const {
- return true;
- }
- void packetw2c_req_activity_state_result::Swap(packetw2c_req_activity_state_result* other) {
- if (other != this) {
- std::swap(packet_id_, other->packet_id_);
- receiveinfo_.Swap(&other->receiveinfo_);
- std::swap(activitycurrecharge_, other->activitycurrecharge_);
- std::swap(_has_bits_[0], other->_has_bits_[0]);
- _unknown_fields_.Swap(&other->_unknown_fields_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- }
- ::google::protobuf::Metadata packetw2c_req_activity_state_result::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = packetw2c_req_activity_state_result_descriptor_;
- metadata.reflection = packetw2c_req_activity_state_result_reflection_;
- return metadata;
- }
- // ===================================================================
- #ifndef _MSC_VER
- const int packetc2w_receive_cdkey::kPacketIdFieldNumber;
- const int packetc2w_receive_cdkey::kCdkeyFieldNumber;
- #endif // !_MSC_VER
- packetc2w_receive_cdkey::packetc2w_receive_cdkey()
- : ::google::protobuf::Message() {
- SharedCtor();
- }
- void packetc2w_receive_cdkey::InitAsDefaultInstance() {
- }
- packetc2w_receive_cdkey::packetc2w_receive_cdkey(const packetc2w_receive_cdkey& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- }
- void packetc2w_receive_cdkey::SharedCtor() {
- _cached_size_ = 0;
- packet_id_ = 5074;
- cdkey_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- packetc2w_receive_cdkey::~packetc2w_receive_cdkey() {
- SharedDtor();
- }
- void packetc2w_receive_cdkey::SharedDtor() {
- if (cdkey_ != &::google::protobuf::internal::kEmptyString) {
- delete cdkey_;
- }
- if (this != default_instance_) {
- }
- }
- void packetc2w_receive_cdkey::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* packetc2w_receive_cdkey::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return packetc2w_receive_cdkey_descriptor_;
- }
- const packetc2w_receive_cdkey& packetc2w_receive_cdkey::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity_2eproto();
- return *default_instance_;
- }
- packetc2w_receive_cdkey* packetc2w_receive_cdkey::default_instance_ = NULL;
- packetc2w_receive_cdkey* packetc2w_receive_cdkey::New() const {
- return new packetc2w_receive_cdkey;
- }
- void packetc2w_receive_cdkey::Clear() {
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- packet_id_ = 5074;
- if (has_cdkey()) {
- if (cdkey_ != &::google::protobuf::internal::kEmptyString) {
- cdkey_->clear();
- }
- }
- }
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool packetc2w_receive_cdkey::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
- ::google::protobuf::uint32 tag;
- while ((tag = input->ReadTag()) != 0) {
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_cdkey];
- case 1: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- int value;
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
- input, &value)));
- if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
- set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
- } else {
- mutable_unknown_fields()->AddVarint(1, value);
- }
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(18)) goto parse_cdkey;
- break;
- }
- // optional string cdkey = 2;
- case 2: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
- parse_cdkey:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_cdkey()));
- ::google::protobuf::internal::WireFormat::VerifyUTF8String(
- this->cdkey().data(), this->cdkey().length(),
- ::google::protobuf::internal::WireFormat::PARSE);
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectAtEnd()) return true;
- break;
- }
- default: {
- handle_uninterpreted:
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- return true;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, mutable_unknown_fields()));
- break;
- }
- }
- }
- return true;
- #undef DO_
- }
- void packetc2w_receive_cdkey::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_cdkey];
- if (has_packet_id()) {
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
- 1, this->packet_id(), output);
- }
- // optional string cdkey = 2;
- if (has_cdkey()) {
- ::google::protobuf::internal::WireFormat::VerifyUTF8String(
- this->cdkey().data(), this->cdkey().length(),
- ::google::protobuf::internal::WireFormat::SERIALIZE);
- ::google::protobuf::internal::WireFormatLite::WriteString(
- 2, this->cdkey(), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- }
- ::google::protobuf::uint8* packetc2w_receive_cdkey::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_cdkey];
- if (has_packet_id()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
- 1, this->packet_id(), target);
- }
- // optional string cdkey = 2;
- if (has_cdkey()) {
- ::google::protobuf::internal::WireFormat::VerifyUTF8String(
- this->cdkey().data(), this->cdkey().length(),
- ::google::protobuf::internal::WireFormat::SERIALIZE);
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 2, this->cdkey(), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- return target;
- }
- int packetc2w_receive_cdkey::ByteSize() const {
- int total_size = 0;
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_cdkey];
- if (has_packet_id()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
- }
- // optional string cdkey = 2;
- if (has_cdkey()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->cdkey());
- }
- }
- if (!unknown_fields().empty()) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- unknown_fields());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void packetc2w_receive_cdkey::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const packetc2w_receive_cdkey* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_receive_cdkey*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void packetc2w_receive_cdkey::MergeFrom(const packetc2w_receive_cdkey& from) {
- GOOGLE_CHECK_NE(&from, this);
- if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- if (from.has_packet_id()) {
- set_packet_id(from.packet_id());
- }
- if (from.has_cdkey()) {
- set_cdkey(from.cdkey());
- }
- }
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void packetc2w_receive_cdkey::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void packetc2w_receive_cdkey::CopyFrom(const packetc2w_receive_cdkey& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool packetc2w_receive_cdkey::IsInitialized() const {
- return true;
- }
- void packetc2w_receive_cdkey::Swap(packetc2w_receive_cdkey* other) {
- if (other != this) {
- std::swap(packet_id_, other->packet_id_);
- std::swap(cdkey_, other->cdkey_);
- std::swap(_has_bits_[0], other->_has_bits_[0]);
- _unknown_fields_.Swap(&other->_unknown_fields_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- }
- ::google::protobuf::Metadata packetc2w_receive_cdkey::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = packetc2w_receive_cdkey_descriptor_;
- metadata.reflection = packetc2w_receive_cdkey_reflection_;
- return metadata;
- }
- // ===================================================================
- #ifndef _MSC_VER
- const int packetw2c_receive_cdkey_result::kPacketIdFieldNumber;
- const int packetw2c_receive_cdkey_result::kResultFieldNumber;
- const int packetw2c_receive_cdkey_result::kGiftIdFieldNumber;
- #endif // !_MSC_VER
- packetw2c_receive_cdkey_result::packetw2c_receive_cdkey_result()
- : ::google::protobuf::Message() {
- SharedCtor();
- }
- void packetw2c_receive_cdkey_result::InitAsDefaultInstance() {
- }
- packetw2c_receive_cdkey_result::packetw2c_receive_cdkey_result(const packetw2c_receive_cdkey_result& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- }
- void packetw2c_receive_cdkey_result::SharedCtor() {
- _cached_size_ = 0;
- packet_id_ = 7578;
- result_ = 0;
- giftid_ = 0;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- packetw2c_receive_cdkey_result::~packetw2c_receive_cdkey_result() {
- SharedDtor();
- }
- void packetw2c_receive_cdkey_result::SharedDtor() {
- if (this != default_instance_) {
- }
- }
- void packetw2c_receive_cdkey_result::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* packetw2c_receive_cdkey_result::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return packetw2c_receive_cdkey_result_descriptor_;
- }
- const packetw2c_receive_cdkey_result& packetw2c_receive_cdkey_result::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity_2eproto();
- return *default_instance_;
- }
- packetw2c_receive_cdkey_result* packetw2c_receive_cdkey_result::default_instance_ = NULL;
- packetw2c_receive_cdkey_result* packetw2c_receive_cdkey_result::New() const {
- return new packetw2c_receive_cdkey_result;
- }
- void packetw2c_receive_cdkey_result::Clear() {
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- packet_id_ = 7578;
- result_ = 0;
- giftid_ = 0;
- }
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool packetw2c_receive_cdkey_result::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
- ::google::protobuf::uint32 tag;
- while ((tag = input->ReadTag()) != 0) {
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_cdkey_result];
- case 1: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- int value;
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
- input, &value)));
- if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
- set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
- } else {
- mutable_unknown_fields()->AddVarint(1, value);
- }
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(16)) goto parse_result;
- break;
- }
- // optional int32 result = 2;
- case 2: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_result:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &result_)));
- set_has_result();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(24)) goto parse_giftId;
- break;
- }
- // optional int32 giftId = 3;
- case 3: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_giftId:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &giftid_)));
- set_has_giftid();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectAtEnd()) return true;
- break;
- }
- default: {
- handle_uninterpreted:
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- return true;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, mutable_unknown_fields()));
- break;
- }
- }
- }
- return true;
- #undef DO_
- }
- void packetw2c_receive_cdkey_result::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_cdkey_result];
- if (has_packet_id()) {
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
- 1, this->packet_id(), output);
- }
- // optional int32 result = 2;
- if (has_result()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
- }
- // optional int32 giftId = 3;
- if (has_giftid()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->giftid(), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- }
- ::google::protobuf::uint8* packetw2c_receive_cdkey_result::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_cdkey_result];
- if (has_packet_id()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
- 1, this->packet_id(), target);
- }
- // optional int32 result = 2;
- if (has_result()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
- }
- // optional int32 giftId = 3;
- if (has_giftid()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->giftid(), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- return target;
- }
- int packetw2c_receive_cdkey_result::ByteSize() const {
- int total_size = 0;
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_cdkey_result];
- if (has_packet_id()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
- }
- // optional int32 result = 2;
- if (has_result()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->result());
- }
- // optional int32 giftId = 3;
- if (has_giftid()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->giftid());
- }
- }
- if (!unknown_fields().empty()) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- unknown_fields());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void packetw2c_receive_cdkey_result::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const packetw2c_receive_cdkey_result* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_receive_cdkey_result*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void packetw2c_receive_cdkey_result::MergeFrom(const packetw2c_receive_cdkey_result& from) {
- GOOGLE_CHECK_NE(&from, this);
- if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- if (from.has_packet_id()) {
- set_packet_id(from.packet_id());
- }
- if (from.has_result()) {
- set_result(from.result());
- }
- if (from.has_giftid()) {
- set_giftid(from.giftid());
- }
- }
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void packetw2c_receive_cdkey_result::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void packetw2c_receive_cdkey_result::CopyFrom(const packetw2c_receive_cdkey_result& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool packetw2c_receive_cdkey_result::IsInitialized() const {
- return true;
- }
- void packetw2c_receive_cdkey_result::Swap(packetw2c_receive_cdkey_result* other) {
- if (other != this) {
- std::swap(packet_id_, other->packet_id_);
- std::swap(result_, other->result_);
- std::swap(giftid_, other->giftid_);
- std::swap(_has_bits_[0], other->_has_bits_[0]);
- _unknown_fields_.Swap(&other->_unknown_fields_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- }
- ::google::protobuf::Metadata packetw2c_receive_cdkey_result::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = packetw2c_receive_cdkey_result_descriptor_;
- metadata.reflection = packetw2c_receive_cdkey_result_reflection_;
- return metadata;
- }
- // ===================================================================
- #ifndef _MSC_VER
- const int packetw2c_sync_activity_result::kPacketIdFieldNumber;
- const int packetw2c_sync_activity_result::kActiveFieldNumber;
- const int packetw2c_sync_activity_result::kHasGetActiveBoxFieldNumber;
- #endif // !_MSC_VER
- packetw2c_sync_activity_result::packetw2c_sync_activity_result()
- : ::google::protobuf::Message() {
- SharedCtor();
- }
- void packetw2c_sync_activity_result::InitAsDefaultInstance() {
- }
- packetw2c_sync_activity_result::packetw2c_sync_activity_result(const packetw2c_sync_activity_result& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- }
- void packetw2c_sync_activity_result::SharedCtor() {
- _cached_size_ = 0;
- packet_id_ = 7581;
- active_ = 0;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- packetw2c_sync_activity_result::~packetw2c_sync_activity_result() {
- SharedDtor();
- }
- void packetw2c_sync_activity_result::SharedDtor() {
- if (this != default_instance_) {
- }
- }
- void packetw2c_sync_activity_result::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* packetw2c_sync_activity_result::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return packetw2c_sync_activity_result_descriptor_;
- }
- const packetw2c_sync_activity_result& packetw2c_sync_activity_result::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity_2eproto();
- return *default_instance_;
- }
- packetw2c_sync_activity_result* packetw2c_sync_activity_result::default_instance_ = NULL;
- packetw2c_sync_activity_result* packetw2c_sync_activity_result::New() const {
- return new packetw2c_sync_activity_result;
- }
- void packetw2c_sync_activity_result::Clear() {
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- packet_id_ = 7581;
- active_ = 0;
- }
- hasgetactivebox_.Clear();
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool packetw2c_sync_activity_result::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
- ::google::protobuf::uint32 tag;
- while ((tag = input->ReadTag()) != 0) {
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_sync_activity_result];
- case 1: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- int value;
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
- input, &value)));
- if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
- set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
- } else {
- mutable_unknown_fields()->AddVarint(1, value);
- }
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(16)) goto parse_active;
- break;
- }
- // optional int32 active = 2;
- case 2: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_active:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &active_)));
- set_has_active();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(24)) goto parse_hasGetActiveBox;
- break;
- }
- // repeated int32 hasGetActiveBox = 3;
- case 3: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_hasGetActiveBox:
- DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- 1, 24, input, this->mutable_hasgetactivebox())));
- } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
- == ::google::protobuf::internal::WireFormatLite::
- WIRETYPE_LENGTH_DELIMITED) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, this->mutable_hasgetactivebox())));
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(24)) goto parse_hasGetActiveBox;
- if (input->ExpectAtEnd()) return true;
- break;
- }
- default: {
- handle_uninterpreted:
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- return true;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, mutable_unknown_fields()));
- break;
- }
- }
- }
- return true;
- #undef DO_
- }
- void packetw2c_sync_activity_result::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_sync_activity_result];
- if (has_packet_id()) {
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
- 1, this->packet_id(), output);
- }
- // optional int32 active = 2;
- if (has_active()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->active(), output);
- }
- // repeated int32 hasGetActiveBox = 3;
- for (int i = 0; i < this->hasgetactivebox_size(); i++) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(
- 3, this->hasgetactivebox(i), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- }
- ::google::protobuf::uint8* packetw2c_sync_activity_result::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_sync_activity_result];
- if (has_packet_id()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
- 1, this->packet_id(), target);
- }
- // optional int32 active = 2;
- if (has_active()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->active(), target);
- }
- // repeated int32 hasGetActiveBox = 3;
- for (int i = 0; i < this->hasgetactivebox_size(); i++) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteInt32ToArray(3, this->hasgetactivebox(i), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- return target;
- }
- int packetw2c_sync_activity_result::ByteSize() const {
- int total_size = 0;
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_sync_activity_result];
- if (has_packet_id()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
- }
- // optional int32 active = 2;
- if (has_active()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->active());
- }
- }
- // repeated int32 hasGetActiveBox = 3;
- {
- int data_size = 0;
- for (int i = 0; i < this->hasgetactivebox_size(); i++) {
- data_size += ::google::protobuf::internal::WireFormatLite::
- Int32Size(this->hasgetactivebox(i));
- }
- total_size += 1 * this->hasgetactivebox_size() + data_size;
- }
- if (!unknown_fields().empty()) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- unknown_fields());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void packetw2c_sync_activity_result::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const packetw2c_sync_activity_result* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_sync_activity_result*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void packetw2c_sync_activity_result::MergeFrom(const packetw2c_sync_activity_result& from) {
- GOOGLE_CHECK_NE(&from, this);
- hasgetactivebox_.MergeFrom(from.hasgetactivebox_);
- if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- if (from.has_packet_id()) {
- set_packet_id(from.packet_id());
- }
- if (from.has_active()) {
- set_active(from.active());
- }
- }
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void packetw2c_sync_activity_result::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void packetw2c_sync_activity_result::CopyFrom(const packetw2c_sync_activity_result& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool packetw2c_sync_activity_result::IsInitialized() const {
- return true;
- }
- void packetw2c_sync_activity_result::Swap(packetw2c_sync_activity_result* other) {
- if (other != this) {
- std::swap(packet_id_, other->packet_id_);
- std::swap(active_, other->active_);
- hasgetactivebox_.Swap(&other->hasgetactivebox_);
- std::swap(_has_bits_[0], other->_has_bits_[0]);
- _unknown_fields_.Swap(&other->_unknown_fields_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- }
- ::google::protobuf::Metadata packetw2c_sync_activity_result::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = packetw2c_sync_activity_result_descriptor_;
- metadata.reflection = packetw2c_sync_activity_result_reflection_;
- return metadata;
- }
- // ===================================================================
- #ifndef _MSC_VER
- const int packetc2w_get_grow_fund_info::kPacketIdFieldNumber;
- #endif // !_MSC_VER
- packetc2w_get_grow_fund_info::packetc2w_get_grow_fund_info()
- : ::google::protobuf::Message() {
- SharedCtor();
- }
- void packetc2w_get_grow_fund_info::InitAsDefaultInstance() {
- }
- packetc2w_get_grow_fund_info::packetc2w_get_grow_fund_info(const packetc2w_get_grow_fund_info& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- }
- void packetc2w_get_grow_fund_info::SharedCtor() {
- _cached_size_ = 0;
- packet_id_ = 5163;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- packetc2w_get_grow_fund_info::~packetc2w_get_grow_fund_info() {
- SharedDtor();
- }
- void packetc2w_get_grow_fund_info::SharedDtor() {
- if (this != default_instance_) {
- }
- }
- void packetc2w_get_grow_fund_info::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* packetc2w_get_grow_fund_info::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return packetc2w_get_grow_fund_info_descriptor_;
- }
- const packetc2w_get_grow_fund_info& packetc2w_get_grow_fund_info::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity_2eproto();
- return *default_instance_;
- }
- packetc2w_get_grow_fund_info* packetc2w_get_grow_fund_info::default_instance_ = NULL;
- packetc2w_get_grow_fund_info* packetc2w_get_grow_fund_info::New() const {
- return new packetc2w_get_grow_fund_info;
- }
- void packetc2w_get_grow_fund_info::Clear() {
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- packet_id_ = 5163;
- }
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool packetc2w_get_grow_fund_info::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
- ::google::protobuf::uint32 tag;
- while ((tag = input->ReadTag()) != 0) {
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_grow_fund_info];
- case 1: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- int value;
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
- input, &value)));
- if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
- set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
- } else {
- mutable_unknown_fields()->AddVarint(1, value);
- }
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectAtEnd()) return true;
- break;
- }
- default: {
- handle_uninterpreted:
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- return true;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, mutable_unknown_fields()));
- break;
- }
- }
- }
- return true;
- #undef DO_
- }
- void packetc2w_get_grow_fund_info::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_grow_fund_info];
- if (has_packet_id()) {
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
- 1, this->packet_id(), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- }
- ::google::protobuf::uint8* packetc2w_get_grow_fund_info::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_grow_fund_info];
- if (has_packet_id()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
- 1, this->packet_id(), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- return target;
- }
- int packetc2w_get_grow_fund_info::ByteSize() const {
- int total_size = 0;
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_get_grow_fund_info];
- if (has_packet_id()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
- }
- }
- if (!unknown_fields().empty()) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- unknown_fields());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void packetc2w_get_grow_fund_info::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const packetc2w_get_grow_fund_info* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_get_grow_fund_info*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void packetc2w_get_grow_fund_info::MergeFrom(const packetc2w_get_grow_fund_info& from) {
- GOOGLE_CHECK_NE(&from, this);
- if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- if (from.has_packet_id()) {
- set_packet_id(from.packet_id());
- }
- }
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void packetc2w_get_grow_fund_info::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void packetc2w_get_grow_fund_info::CopyFrom(const packetc2w_get_grow_fund_info& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool packetc2w_get_grow_fund_info::IsInitialized() const {
- return true;
- }
- void packetc2w_get_grow_fund_info::Swap(packetc2w_get_grow_fund_info* other) {
- if (other != this) {
- std::swap(packet_id_, other->packet_id_);
- std::swap(_has_bits_[0], other->_has_bits_[0]);
- _unknown_fields_.Swap(&other->_unknown_fields_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- }
- ::google::protobuf::Metadata packetc2w_get_grow_fund_info::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = packetc2w_get_grow_fund_info_descriptor_;
- metadata.reflection = packetc2w_get_grow_fund_info_reflection_;
- return metadata;
- }
- // ===================================================================
- #ifndef _MSC_VER
- const int packetw2c_get_grow_fund_info_result::kPacketIdFieldNumber;
- const int packetw2c_get_grow_fund_info_result::kIsReceivedFieldNumber;
- const int packetw2c_get_grow_fund_info_result::kRecharedFieldNumber;
- #endif // !_MSC_VER
- packetw2c_get_grow_fund_info_result::packetw2c_get_grow_fund_info_result()
- : ::google::protobuf::Message() {
- SharedCtor();
- }
- void packetw2c_get_grow_fund_info_result::InitAsDefaultInstance() {
- }
- packetw2c_get_grow_fund_info_result::packetw2c_get_grow_fund_info_result(const packetw2c_get_grow_fund_info_result& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- }
- void packetw2c_get_grow_fund_info_result::SharedCtor() {
- _cached_size_ = 0;
- packet_id_ = 7678;
- rechared_ = 0;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- packetw2c_get_grow_fund_info_result::~packetw2c_get_grow_fund_info_result() {
- SharedDtor();
- }
- void packetw2c_get_grow_fund_info_result::SharedDtor() {
- if (this != default_instance_) {
- }
- }
- void packetw2c_get_grow_fund_info_result::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* packetw2c_get_grow_fund_info_result::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return packetw2c_get_grow_fund_info_result_descriptor_;
- }
- const packetw2c_get_grow_fund_info_result& packetw2c_get_grow_fund_info_result::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity_2eproto();
- return *default_instance_;
- }
- packetw2c_get_grow_fund_info_result* packetw2c_get_grow_fund_info_result::default_instance_ = NULL;
- packetw2c_get_grow_fund_info_result* packetw2c_get_grow_fund_info_result::New() const {
- return new packetw2c_get_grow_fund_info_result;
- }
- void packetw2c_get_grow_fund_info_result::Clear() {
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- packet_id_ = 7678;
- rechared_ = 0;
- }
- isreceived_.Clear();
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool packetw2c_get_grow_fund_info_result::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
- ::google::protobuf::uint32 tag;
- while ((tag = input->ReadTag()) != 0) {
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_grow_fund_info_result];
- case 1: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- int value;
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
- input, &value)));
- if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
- set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
- } else {
- mutable_unknown_fields()->AddVarint(1, value);
- }
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(16)) goto parse_isReceived;
- break;
- }
- // repeated bool isReceived = 2;
- case 2: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_isReceived:
- DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
- bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
- 1, 16, input, this->mutable_isreceived())));
- } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
- == ::google::protobuf::internal::WireFormatLite::
- WIRETYPE_LENGTH_DELIMITED) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
- bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
- input, this->mutable_isreceived())));
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(16)) goto parse_isReceived;
- if (input->ExpectTag(24)) goto parse_rechared;
- break;
- }
- // optional int32 rechared = 3;
- case 3: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_rechared:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &rechared_)));
- set_has_rechared();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectAtEnd()) return true;
- break;
- }
- default: {
- handle_uninterpreted:
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- return true;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, mutable_unknown_fields()));
- break;
- }
- }
- }
- return true;
- #undef DO_
- }
- void packetw2c_get_grow_fund_info_result::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_grow_fund_info_result];
- if (has_packet_id()) {
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
- 1, this->packet_id(), output);
- }
- // repeated bool isReceived = 2;
- for (int i = 0; i < this->isreceived_size(); i++) {
- ::google::protobuf::internal::WireFormatLite::WriteBool(
- 2, this->isreceived(i), output);
- }
- // optional int32 rechared = 3;
- if (has_rechared()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->rechared(), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- }
- ::google::protobuf::uint8* packetw2c_get_grow_fund_info_result::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_grow_fund_info_result];
- if (has_packet_id()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
- 1, this->packet_id(), target);
- }
- // repeated bool isReceived = 2;
- for (int i = 0; i < this->isreceived_size(); i++) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteBoolToArray(2, this->isreceived(i), target);
- }
- // optional int32 rechared = 3;
- if (has_rechared()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->rechared(), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- return target;
- }
- int packetw2c_get_grow_fund_info_result::ByteSize() const {
- int total_size = 0;
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_get_grow_fund_info_result];
- if (has_packet_id()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
- }
- // optional int32 rechared = 3;
- if (has_rechared()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->rechared());
- }
- }
- // repeated bool isReceived = 2;
- {
- int data_size = 0;
- data_size = 1 * this->isreceived_size();
- total_size += 1 * this->isreceived_size() + data_size;
- }
- if (!unknown_fields().empty()) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- unknown_fields());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void packetw2c_get_grow_fund_info_result::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const packetw2c_get_grow_fund_info_result* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_get_grow_fund_info_result*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void packetw2c_get_grow_fund_info_result::MergeFrom(const packetw2c_get_grow_fund_info_result& from) {
- GOOGLE_CHECK_NE(&from, this);
- isreceived_.MergeFrom(from.isreceived_);
- if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- if (from.has_packet_id()) {
- set_packet_id(from.packet_id());
- }
- if (from.has_rechared()) {
- set_rechared(from.rechared());
- }
- }
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void packetw2c_get_grow_fund_info_result::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void packetw2c_get_grow_fund_info_result::CopyFrom(const packetw2c_get_grow_fund_info_result& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool packetw2c_get_grow_fund_info_result::IsInitialized() const {
- return true;
- }
- void packetw2c_get_grow_fund_info_result::Swap(packetw2c_get_grow_fund_info_result* other) {
- if (other != this) {
- std::swap(packet_id_, other->packet_id_);
- isreceived_.Swap(&other->isreceived_);
- std::swap(rechared_, other->rechared_);
- std::swap(_has_bits_[0], other->_has_bits_[0]);
- _unknown_fields_.Swap(&other->_unknown_fields_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- }
- ::google::protobuf::Metadata packetw2c_get_grow_fund_info_result::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = packetw2c_get_grow_fund_info_result_descriptor_;
- metadata.reflection = packetw2c_get_grow_fund_info_result_reflection_;
- return metadata;
- }
- // ===================================================================
- #ifndef _MSC_VER
- const int packetc2w_receive_grow_fund_reward::kPacketIdFieldNumber;
- const int packetc2w_receive_grow_fund_reward::kRewardidFieldNumber;
- #endif // !_MSC_VER
- packetc2w_receive_grow_fund_reward::packetc2w_receive_grow_fund_reward()
- : ::google::protobuf::Message() {
- SharedCtor();
- }
- void packetc2w_receive_grow_fund_reward::InitAsDefaultInstance() {
- }
- packetc2w_receive_grow_fund_reward::packetc2w_receive_grow_fund_reward(const packetc2w_receive_grow_fund_reward& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- }
- void packetc2w_receive_grow_fund_reward::SharedCtor() {
- _cached_size_ = 0;
- packet_id_ = 5162;
- rewardid_ = 0;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- packetc2w_receive_grow_fund_reward::~packetc2w_receive_grow_fund_reward() {
- SharedDtor();
- }
- void packetc2w_receive_grow_fund_reward::SharedDtor() {
- if (this != default_instance_) {
- }
- }
- void packetc2w_receive_grow_fund_reward::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* packetc2w_receive_grow_fund_reward::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return packetc2w_receive_grow_fund_reward_descriptor_;
- }
- const packetc2w_receive_grow_fund_reward& packetc2w_receive_grow_fund_reward::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity_2eproto();
- return *default_instance_;
- }
- packetc2w_receive_grow_fund_reward* packetc2w_receive_grow_fund_reward::default_instance_ = NULL;
- packetc2w_receive_grow_fund_reward* packetc2w_receive_grow_fund_reward::New() const {
- return new packetc2w_receive_grow_fund_reward;
- }
- void packetc2w_receive_grow_fund_reward::Clear() {
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- packet_id_ = 5162;
- rewardid_ = 0;
- }
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool packetc2w_receive_grow_fund_reward::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
- ::google::protobuf::uint32 tag;
- while ((tag = input->ReadTag()) != 0) {
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_grow_fund_reward];
- case 1: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- int value;
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
- input, &value)));
- if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
- set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
- } else {
- mutable_unknown_fields()->AddVarint(1, value);
- }
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(16)) goto parse_rewardid;
- break;
- }
- // optional int32 rewardid = 2;
- case 2: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_rewardid:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &rewardid_)));
- set_has_rewardid();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectAtEnd()) return true;
- break;
- }
- default: {
- handle_uninterpreted:
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- return true;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, mutable_unknown_fields()));
- break;
- }
- }
- }
- return true;
- #undef DO_
- }
- void packetc2w_receive_grow_fund_reward::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_grow_fund_reward];
- if (has_packet_id()) {
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
- 1, this->packet_id(), output);
- }
- // optional int32 rewardid = 2;
- if (has_rewardid()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->rewardid(), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- }
- ::google::protobuf::uint8* packetc2w_receive_grow_fund_reward::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_grow_fund_reward];
- if (has_packet_id()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
- 1, this->packet_id(), target);
- }
- // optional int32 rewardid = 2;
- if (has_rewardid()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->rewardid(), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- return target;
- }
- int packetc2w_receive_grow_fund_reward::ByteSize() const {
- int total_size = 0;
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_receive_grow_fund_reward];
- if (has_packet_id()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
- }
- // optional int32 rewardid = 2;
- if (has_rewardid()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->rewardid());
- }
- }
- if (!unknown_fields().empty()) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- unknown_fields());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void packetc2w_receive_grow_fund_reward::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const packetc2w_receive_grow_fund_reward* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_receive_grow_fund_reward*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void packetc2w_receive_grow_fund_reward::MergeFrom(const packetc2w_receive_grow_fund_reward& from) {
- GOOGLE_CHECK_NE(&from, this);
- if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- if (from.has_packet_id()) {
- set_packet_id(from.packet_id());
- }
- if (from.has_rewardid()) {
- set_rewardid(from.rewardid());
- }
- }
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void packetc2w_receive_grow_fund_reward::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void packetc2w_receive_grow_fund_reward::CopyFrom(const packetc2w_receive_grow_fund_reward& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool packetc2w_receive_grow_fund_reward::IsInitialized() const {
- return true;
- }
- void packetc2w_receive_grow_fund_reward::Swap(packetc2w_receive_grow_fund_reward* other) {
- if (other != this) {
- std::swap(packet_id_, other->packet_id_);
- std::swap(rewardid_, other->rewardid_);
- std::swap(_has_bits_[0], other->_has_bits_[0]);
- _unknown_fields_.Swap(&other->_unknown_fields_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- }
- ::google::protobuf::Metadata packetc2w_receive_grow_fund_reward::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = packetc2w_receive_grow_fund_reward_descriptor_;
- metadata.reflection = packetc2w_receive_grow_fund_reward_reflection_;
- return metadata;
- }
- // ===================================================================
- #ifndef _MSC_VER
- const int packetw2c_receive_grow_fund_reward_result::kPacketIdFieldNumber;
- const int packetw2c_receive_grow_fund_reward_result::kResultFieldNumber;
- const int packetw2c_receive_grow_fund_reward_result::kRewardidFieldNumber;
- #endif // !_MSC_VER
- packetw2c_receive_grow_fund_reward_result::packetw2c_receive_grow_fund_reward_result()
- : ::google::protobuf::Message() {
- SharedCtor();
- }
- void packetw2c_receive_grow_fund_reward_result::InitAsDefaultInstance() {
- }
- packetw2c_receive_grow_fund_reward_result::packetw2c_receive_grow_fund_reward_result(const packetw2c_receive_grow_fund_reward_result& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- }
- void packetw2c_receive_grow_fund_reward_result::SharedCtor() {
- _cached_size_ = 0;
- packet_id_ = 7677;
- result_ = 0;
- rewardid_ = 0;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- packetw2c_receive_grow_fund_reward_result::~packetw2c_receive_grow_fund_reward_result() {
- SharedDtor();
- }
- void packetw2c_receive_grow_fund_reward_result::SharedDtor() {
- if (this != default_instance_) {
- }
- }
- void packetw2c_receive_grow_fund_reward_result::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* packetw2c_receive_grow_fund_reward_result::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return packetw2c_receive_grow_fund_reward_result_descriptor_;
- }
- const packetw2c_receive_grow_fund_reward_result& packetw2c_receive_grow_fund_reward_result::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity_2eproto();
- return *default_instance_;
- }
- packetw2c_receive_grow_fund_reward_result* packetw2c_receive_grow_fund_reward_result::default_instance_ = NULL;
- packetw2c_receive_grow_fund_reward_result* packetw2c_receive_grow_fund_reward_result::New() const {
- return new packetw2c_receive_grow_fund_reward_result;
- }
- void packetw2c_receive_grow_fund_reward_result::Clear() {
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- packet_id_ = 7677;
- result_ = 0;
- rewardid_ = 0;
- }
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool packetw2c_receive_grow_fund_reward_result::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
- ::google::protobuf::uint32 tag;
- while ((tag = input->ReadTag()) != 0) {
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_grow_fund_reward_result];
- case 1: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- int value;
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
- input, &value)));
- if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
- set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
- } else {
- mutable_unknown_fields()->AddVarint(1, value);
- }
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(16)) goto parse_result;
- break;
- }
- // optional int32 result = 2;
- case 2: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_result:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &result_)));
- set_has_result();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(24)) goto parse_rewardid;
- break;
- }
- // optional int32 rewardid = 3;
- case 3: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_rewardid:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &rewardid_)));
- set_has_rewardid();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectAtEnd()) return true;
- break;
- }
- default: {
- handle_uninterpreted:
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- return true;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, mutable_unknown_fields()));
- break;
- }
- }
- }
- return true;
- #undef DO_
- }
- void packetw2c_receive_grow_fund_reward_result::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_grow_fund_reward_result];
- if (has_packet_id()) {
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
- 1, this->packet_id(), output);
- }
- // optional int32 result = 2;
- if (has_result()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output);
- }
- // optional int32 rewardid = 3;
- if (has_rewardid()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->rewardid(), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- }
- ::google::protobuf::uint8* packetw2c_receive_grow_fund_reward_result::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_grow_fund_reward_result];
- if (has_packet_id()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
- 1, this->packet_id(), target);
- }
- // optional int32 result = 2;
- if (has_result()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target);
- }
- // optional int32 rewardid = 3;
- if (has_rewardid()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->rewardid(), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- return target;
- }
- int packetw2c_receive_grow_fund_reward_result::ByteSize() const {
- int total_size = 0;
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_w2c_receive_grow_fund_reward_result];
- if (has_packet_id()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
- }
- // optional int32 result = 2;
- if (has_result()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->result());
- }
- // optional int32 rewardid = 3;
- if (has_rewardid()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->rewardid());
- }
- }
- if (!unknown_fields().empty()) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- unknown_fields());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void packetw2c_receive_grow_fund_reward_result::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const packetw2c_receive_grow_fund_reward_result* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const packetw2c_receive_grow_fund_reward_result*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void packetw2c_receive_grow_fund_reward_result::MergeFrom(const packetw2c_receive_grow_fund_reward_result& from) {
- GOOGLE_CHECK_NE(&from, this);
- if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- if (from.has_packet_id()) {
- set_packet_id(from.packet_id());
- }
- if (from.has_result()) {
- set_result(from.result());
- }
- if (from.has_rewardid()) {
- set_rewardid(from.rewardid());
- }
- }
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void packetw2c_receive_grow_fund_reward_result::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void packetw2c_receive_grow_fund_reward_result::CopyFrom(const packetw2c_receive_grow_fund_reward_result& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool packetw2c_receive_grow_fund_reward_result::IsInitialized() const {
- return true;
- }
- void packetw2c_receive_grow_fund_reward_result::Swap(packetw2c_receive_grow_fund_reward_result* other) {
- if (other != this) {
- std::swap(packet_id_, other->packet_id_);
- std::swap(result_, other->result_);
- std::swap(rewardid_, other->rewardid_);
- std::swap(_has_bits_[0], other->_has_bits_[0]);
- _unknown_fields_.Swap(&other->_unknown_fields_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- }
- ::google::protobuf::Metadata packetw2c_receive_grow_fund_reward_result::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = packetw2c_receive_grow_fund_reward_result_descriptor_;
- metadata.reflection = packetw2c_receive_grow_fund_reward_result_reflection_;
- return metadata;
- }
- // ===================================================================
- #ifndef _MSC_VER
- const int packetc2w_grow_fund_record::kPacketIdFieldNumber;
- #endif // !_MSC_VER
- packetc2w_grow_fund_record::packetc2w_grow_fund_record()
- : ::google::protobuf::Message() {
- SharedCtor();
- }
- void packetc2w_grow_fund_record::InitAsDefaultInstance() {
- }
- packetc2w_grow_fund_record::packetc2w_grow_fund_record(const packetc2w_grow_fund_record& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- }
- void packetc2w_grow_fund_record::SharedCtor() {
- _cached_size_ = 0;
- packet_id_ = 5164;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- packetc2w_grow_fund_record::~packetc2w_grow_fund_record() {
- SharedDtor();
- }
- void packetc2w_grow_fund_record::SharedDtor() {
- if (this != default_instance_) {
- }
- }
- void packetc2w_grow_fund_record::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* packetc2w_grow_fund_record::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return packetc2w_grow_fund_record_descriptor_;
- }
- const packetc2w_grow_fund_record& packetc2w_grow_fund_record::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_client2world_5factivity_2eproto();
- return *default_instance_;
- }
- packetc2w_grow_fund_record* packetc2w_grow_fund_record::default_instance_ = NULL;
- packetc2w_grow_fund_record* packetc2w_grow_fund_record::New() const {
- return new packetc2w_grow_fund_record;
- }
- void packetc2w_grow_fund_record::Clear() {
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- packet_id_ = 5164;
- }
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool packetc2w_grow_fund_record::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
- ::google::protobuf::uint32 tag;
- while ((tag = input->ReadTag()) != 0) {
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_grow_fund_record];
- case 1: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- int value;
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
- input, &value)));
- if (::client2world_protocols::e_server_msg_type_IsValid(value)) {
- set_packet_id(static_cast< ::client2world_protocols::e_server_msg_type >(value));
- } else {
- mutable_unknown_fields()->AddVarint(1, value);
- }
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectAtEnd()) return true;
- break;
- }
- default: {
- handle_uninterpreted:
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- return true;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, mutable_unknown_fields()));
- break;
- }
- }
- }
- return true;
- #undef DO_
- }
- void packetc2w_grow_fund_record::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_grow_fund_record];
- if (has_packet_id()) {
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
- 1, this->packet_id(), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- }
- ::google::protobuf::uint8* packetc2w_grow_fund_record::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_grow_fund_record];
- if (has_packet_id()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
- 1, this->packet_id(), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- return target;
- }
- int packetc2w_grow_fund_record::ByteSize() const {
- int total_size = 0;
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- // optional .client2world_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2w_grow_fund_record];
- if (has_packet_id()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
- }
- }
- if (!unknown_fields().empty()) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- unknown_fields());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void packetc2w_grow_fund_record::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const packetc2w_grow_fund_record* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const packetc2w_grow_fund_record*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void packetc2w_grow_fund_record::MergeFrom(const packetc2w_grow_fund_record& from) {
- GOOGLE_CHECK_NE(&from, this);
- if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- if (from.has_packet_id()) {
- set_packet_id(from.packet_id());
- }
- }
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void packetc2w_grow_fund_record::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void packetc2w_grow_fund_record::CopyFrom(const packetc2w_grow_fund_record& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool packetc2w_grow_fund_record::IsInitialized() const {
- return true;
- }
- void packetc2w_grow_fund_record::Swap(packetc2w_grow_fund_record* other) {
- if (other != this) {
- std::swap(packet_id_, other->packet_id_);
- std::swap(_has_bits_[0], other->_has_bits_[0]);
- _unknown_fields_.Swap(&other->_unknown_fields_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- }
- ::google::protobuf::Metadata packetc2w_grow_fund_record::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = packetc2w_grow_fund_record_descriptor_;
- metadata.reflection = packetc2w_grow_fund_record_reflection_;
- return metadata;
- }
- // @@protoc_insertion_point(namespace_scope)
- } // namespace client2world_protocols
- // @@protoc_insertion_point(global_scope)
|