12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: fish_mythical_palace.proto
- #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
- #include "fish_mythical_palace.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 fish_protocols {
- namespace {
- const ::google::protobuf::Descriptor* MythicalRankInfo_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- MythicalRankInfo_reflection_ = NULL;
- const ::google::protobuf::Descriptor* DropGoldHistory_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- DropGoldHistory_reflection_ = NULL;
- const ::google::protobuf::Descriptor* packetc2l_get_mythical_palace_info_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- packetc2l_get_mythical_palace_info_reflection_ = NULL;
- const ::google::protobuf::Descriptor* packetl2c_get_mythical_palace_info_result_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- packetl2c_get_mythical_palace_info_result_reflection_ = NULL;
- const ::google::protobuf::Descriptor* packetl2c_bc_trigger_mythical_palace_event_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- packetl2c_bc_trigger_mythical_palace_event_reflection_ = NULL;
- const ::google::protobuf::Descriptor* packetc2l_receive_mythical_points_award_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- packetc2l_receive_mythical_points_award_reflection_ = NULL;
- const ::google::protobuf::Descriptor* packetl2c_receive_mythical_points_award_result_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- packetl2c_receive_mythical_points_award_result_reflection_ = NULL;
- } // namespace
- void protobuf_AssignDesc_fish_5fmythical_5fpalace_2eproto() {
- protobuf_AddDesc_fish_5fmythical_5fpalace_2eproto();
- const ::google::protobuf::FileDescriptor* file =
- ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
- "fish_mythical_palace.proto");
- GOOGLE_CHECK(file != NULL);
- MythicalRankInfo_descriptor_ = file->message_type(0);
- static const int MythicalRankInfo_offsets_[9] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MythicalRankInfo, playerid_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MythicalRankInfo, nickname_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MythicalRankInfo, rank_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MythicalRankInfo, frameid_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MythicalRankInfo, headid_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MythicalRankInfo, zhuquepoints_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MythicalRankInfo, baihupoints_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MythicalRankInfo, caishenpoints_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MythicalRankInfo, totalpoints_),
- };
- MythicalRankInfo_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- MythicalRankInfo_descriptor_,
- MythicalRankInfo::default_instance_,
- MythicalRankInfo_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MythicalRankInfo, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MythicalRankInfo, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(MythicalRankInfo));
- DropGoldHistory_descriptor_ = file->message_type(1);
- static const int DropGoldHistory_offsets_[6] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DropGoldHistory, nickname_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DropGoldHistory, fishid_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DropGoldHistory, bulletrate_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DropGoldHistory, gold_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DropGoldHistory, eventid_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DropGoldHistory, goldrate_),
- };
- DropGoldHistory_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- DropGoldHistory_descriptor_,
- DropGoldHistory::default_instance_,
- DropGoldHistory_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DropGoldHistory, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DropGoldHistory, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(DropGoldHistory));
- packetc2l_get_mythical_palace_info_descriptor_ = file->message_type(2);
- static const int packetc2l_get_mythical_palace_info_offsets_[1] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_mythical_palace_info, packet_id_),
- };
- packetc2l_get_mythical_palace_info_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- packetc2l_get_mythical_palace_info_descriptor_,
- packetc2l_get_mythical_palace_info::default_instance_,
- packetc2l_get_mythical_palace_info_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_mythical_palace_info, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_mythical_palace_info, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(packetc2l_get_mythical_palace_info));
- packetl2c_get_mythical_palace_info_result_descriptor_ = file->message_type(3);
- static const int packetl2c_get_mythical_palace_info_result_offsets_[11] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_mythical_palace_info_result, packet_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_mythical_palace_info_result, result_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_mythical_palace_info_result, zhuquepoints_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_mythical_palace_info_result, baihupoints_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_mythical_palace_info_result, caishenpoints_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_mythical_palace_info_result, totalpoints_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_mythical_palace_info_result, receivedpointsawardcount_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_mythical_palace_info_result, curranklist_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_mythical_palace_info_result, changelist_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_mythical_palace_info_result, thresholdvalue_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_mythical_palace_info_result, myrank_),
- };
- packetl2c_get_mythical_palace_info_result_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- packetl2c_get_mythical_palace_info_result_descriptor_,
- packetl2c_get_mythical_palace_info_result::default_instance_,
- packetl2c_get_mythical_palace_info_result_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_mythical_palace_info_result, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_mythical_palace_info_result, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(packetl2c_get_mythical_palace_info_result));
- packetl2c_bc_trigger_mythical_palace_event_descriptor_ = file->message_type(4);
- static const int packetl2c_bc_trigger_mythical_palace_event_offsets_[7] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_mythical_palace_event, packet_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_mythical_palace_event, playerid_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_mythical_palace_event, eventid_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_mythical_palace_event, bossrate_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_mythical_palace_event, gold_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_mythical_palace_event, droppoints_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_mythical_palace_event, droppointsex_),
- };
- packetl2c_bc_trigger_mythical_palace_event_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- packetl2c_bc_trigger_mythical_palace_event_descriptor_,
- packetl2c_bc_trigger_mythical_palace_event::default_instance_,
- packetl2c_bc_trigger_mythical_palace_event_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_mythical_palace_event, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_mythical_palace_event, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(packetl2c_bc_trigger_mythical_palace_event));
- packetc2l_receive_mythical_points_award_descriptor_ = file->message_type(5);
- static const int packetc2l_receive_mythical_points_award_offsets_[1] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_receive_mythical_points_award, packet_id_),
- };
- packetc2l_receive_mythical_points_award_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- packetc2l_receive_mythical_points_award_descriptor_,
- packetc2l_receive_mythical_points_award::default_instance_,
- packetc2l_receive_mythical_points_award_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_receive_mythical_points_award, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_receive_mythical_points_award, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(packetc2l_receive_mythical_points_award));
- packetl2c_receive_mythical_points_award_result_descriptor_ = file->message_type(6);
- static const int packetl2c_receive_mythical_points_award_result_offsets_[3] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_receive_mythical_points_award_result, packet_id_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_receive_mythical_points_award_result, result_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_receive_mythical_points_award_result, items_),
- };
- packetl2c_receive_mythical_points_award_result_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- packetl2c_receive_mythical_points_award_result_descriptor_,
- packetl2c_receive_mythical_points_award_result::default_instance_,
- packetl2c_receive_mythical_points_award_result_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_receive_mythical_points_award_result, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_receive_mythical_points_award_result, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(packetl2c_receive_mythical_points_award_result));
- }
- namespace {
- GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
- inline void protobuf_AssignDescriptorsOnce() {
- ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
- &protobuf_AssignDesc_fish_5fmythical_5fpalace_2eproto);
- }
- void protobuf_RegisterTypes(const ::std::string&) {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- MythicalRankInfo_descriptor_, &MythicalRankInfo::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- DropGoldHistory_descriptor_, &DropGoldHistory::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- packetc2l_get_mythical_palace_info_descriptor_, &packetc2l_get_mythical_palace_info::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- packetl2c_get_mythical_palace_info_result_descriptor_, &packetl2c_get_mythical_palace_info_result::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- packetl2c_bc_trigger_mythical_palace_event_descriptor_, &packetl2c_bc_trigger_mythical_palace_event::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- packetc2l_receive_mythical_points_award_descriptor_, &packetc2l_receive_mythical_points_award::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- packetl2c_receive_mythical_points_award_result_descriptor_, &packetl2c_receive_mythical_points_award_result::default_instance());
- }
- } // namespace
- void protobuf_ShutdownFile_fish_5fmythical_5fpalace_2eproto() {
- delete MythicalRankInfo::default_instance_;
- delete MythicalRankInfo_reflection_;
- delete DropGoldHistory::default_instance_;
- delete DropGoldHistory_reflection_;
- delete packetc2l_get_mythical_palace_info::default_instance_;
- delete packetc2l_get_mythical_palace_info_reflection_;
- delete packetl2c_get_mythical_palace_info_result::default_instance_;
- delete packetl2c_get_mythical_palace_info_result_reflection_;
- delete packetl2c_bc_trigger_mythical_palace_event::default_instance_;
- delete packetl2c_bc_trigger_mythical_palace_event_reflection_;
- delete packetc2l_receive_mythical_points_award::default_instance_;
- delete packetc2l_receive_mythical_points_award_reflection_;
- delete packetl2c_receive_mythical_points_award_result::default_instance_;
- delete packetl2c_receive_mythical_points_award_result_reflection_;
- }
- void protobuf_AddDesc_fish_5fmythical_5fpalace_2eproto() {
- static bool already_here = false;
- if (already_here) return;
- already_here = true;
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- ::fish_protocols::protobuf_AddDesc_fish_5fdef_2eproto();
- ::msg_type_def::protobuf_AddDesc_msg_5ftype_5fdef_2eproto();
- ::fish_protocols::protobuf_AddDesc_fish_5ftype_5fdef_2eproto();
- ::fish_protocols::protobuf_AddDesc_fish_5fprotocol_2eproto();
- ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
- "\n\032fish_mythical_palace.proto\022\016fish_proto"
- "cols\032\016fish_def.proto\032\022msg_type_def.proto"
- "\032\023fish_type_def.proto\032\023fish_protocol.pro"
- "to\"\274\001\n\020MythicalRankInfo\022\020\n\010playerId\030\001 \001("
- "\005\022\020\n\010nickName\030\002 \001(\t\022\014\n\004rank\030\003 \001(\005\022\017\n\007fra"
- "meID\030\004 \001(\005\022\016\n\006headId\030\005 \001(\005\022\024\n\014zhuQuePoin"
- "ts\030\006 \001(\005\022\023\n\013baiHuPoints\030\007 \001(\005\022\025\n\rcaiShen"
- "Points\030\010 \001(\005\022\023\n\013totalPoints\030\t \001(\005\"x\n\017Dro"
- "pGoldHistory\022\020\n\010nickName\030\001 \001(\t\022\016\n\006fishId"
- "\030\002 \001(\005\022\022\n\nbulletRate\030\003 \001(\005\022\014\n\004gold\030\004 \001(\005"
- "\022\017\n\007eventId\030\005 \001(\005\022\020\n\010goldRate\030\006 \001(\005\"~\n\"p"
- "acketc2l_get_mythical_palace_info\022X\n\tpac"
- "ket_id\030\001 \001(\0162!.fish_protocols.e_server_m"
- "sg_type:\"e_mst_c2l_get_mythical_palace_i"
- "nfo\"\251\003\n)packetl2c_get_mythical_palace_in"
- "fo_result\022_\n\tpacket_id\030\001 \001(\0162!.fish_prot"
- "ocols.e_server_msg_type:)e_mst_l2c_get_m"
- "ythical_palace_info_result\022\016\n\006result\030\002 \001"
- "(\005\022\024\n\014zhuQuePoints\030\003 \001(\005\022\023\n\013baiHuPoints\030"
- "\004 \001(\005\022\025\n\rcaiShenPoints\030\005 \001(\005\022\023\n\013totalPoi"
- "nts\030\006 \001(\005\022 \n\030receivedPointsAwardCount\030\007 "
- "\001(\005\0225\n\013curRankList\030\010 \003(\0132 .fish_protocol"
- "s.MythicalRankInfo\0223\n\nchangeList\030\t \003(\0132\037"
- ".fish_protocols.DropGoldHistory\022\026\n\016thres"
- "holdValue\030\n \003(\005\022\016\n\006myrank\030\013 \001(\005\"\373\001\n*pack"
- "etl2c_bc_trigger_mythical_palace_event\022`"
- "\n\tpacket_id\030\001 \001(\0162!.fish_protocols.e_ser"
- "ver_msg_type:*e_mst_l2c_bc_trigger_mythi"
- "cal_palace_event\022\020\n\010playerId\030\002 \001(\005\022\017\n\007ev"
- "entId\030\003 \001(\005\022\020\n\010bossRate\030\004 \001(\005\022\014\n\004gold\030\005 "
- "\001(\005\022\022\n\ndropPoints\030\006 \001(\005\022\024\n\014dropPointsEx\030"
- "\007 \001(\005\"\210\001\n\'packetc2l_receive_mythical_poi"
- "nts_award\022]\n\tpacket_id\030\001 \001(\0162!.fish_prot"
- "ocols.e_server_msg_type:\'e_mst_c2l_recei"
- "ve_mythical_points_award\"\317\001\n.packetl2c_r"
- "eceive_mythical_points_award_result\022d\n\tp"
- "acket_id\030\001 \001(\0162!.fish_protocols.e_server"
- "_msg_type:.e_mst_l2c_receive_mythical_po"
- "ints_award_result\022\016\n\006result\030\002 \001(\005\022\'\n\005ite"
- "ms\030\003 \003(\0132\030.fish_protocols.ItemInfo", 1594);
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
- "fish_mythical_palace.proto", &protobuf_RegisterTypes);
- MythicalRankInfo::default_instance_ = new MythicalRankInfo();
- DropGoldHistory::default_instance_ = new DropGoldHistory();
- packetc2l_get_mythical_palace_info::default_instance_ = new packetc2l_get_mythical_palace_info();
- packetl2c_get_mythical_palace_info_result::default_instance_ = new packetl2c_get_mythical_palace_info_result();
- packetl2c_bc_trigger_mythical_palace_event::default_instance_ = new packetl2c_bc_trigger_mythical_palace_event();
- packetc2l_receive_mythical_points_award::default_instance_ = new packetc2l_receive_mythical_points_award();
- packetl2c_receive_mythical_points_award_result::default_instance_ = new packetl2c_receive_mythical_points_award_result();
- MythicalRankInfo::default_instance_->InitAsDefaultInstance();
- DropGoldHistory::default_instance_->InitAsDefaultInstance();
- packetc2l_get_mythical_palace_info::default_instance_->InitAsDefaultInstance();
- packetl2c_get_mythical_palace_info_result::default_instance_->InitAsDefaultInstance();
- packetl2c_bc_trigger_mythical_palace_event::default_instance_->InitAsDefaultInstance();
- packetc2l_receive_mythical_points_award::default_instance_->InitAsDefaultInstance();
- packetl2c_receive_mythical_points_award_result::default_instance_->InitAsDefaultInstance();
- ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_fish_5fmythical_5fpalace_2eproto);
- }
- // Force AddDescriptors() to be called at static initialization time.
- struct StaticDescriptorInitializer_fish_5fmythical_5fpalace_2eproto {
- StaticDescriptorInitializer_fish_5fmythical_5fpalace_2eproto() {
- protobuf_AddDesc_fish_5fmythical_5fpalace_2eproto();
- }
- } static_descriptor_initializer_fish_5fmythical_5fpalace_2eproto_;
- // ===================================================================
- #ifndef _MSC_VER
- const int MythicalRankInfo::kPlayerIdFieldNumber;
- const int MythicalRankInfo::kNickNameFieldNumber;
- const int MythicalRankInfo::kRankFieldNumber;
- const int MythicalRankInfo::kFrameIDFieldNumber;
- const int MythicalRankInfo::kHeadIdFieldNumber;
- const int MythicalRankInfo::kZhuQuePointsFieldNumber;
- const int MythicalRankInfo::kBaiHuPointsFieldNumber;
- const int MythicalRankInfo::kCaiShenPointsFieldNumber;
- const int MythicalRankInfo::kTotalPointsFieldNumber;
- #endif // !_MSC_VER
- MythicalRankInfo::MythicalRankInfo()
- : ::google::protobuf::Message() {
- SharedCtor();
- }
- void MythicalRankInfo::InitAsDefaultInstance() {
- }
- MythicalRankInfo::MythicalRankInfo(const MythicalRankInfo& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- }
- void MythicalRankInfo::SharedCtor() {
- _cached_size_ = 0;
- playerid_ = 0;
- nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
- rank_ = 0;
- frameid_ = 0;
- headid_ = 0;
- zhuquepoints_ = 0;
- baihupoints_ = 0;
- caishenpoints_ = 0;
- totalpoints_ = 0;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- MythicalRankInfo::~MythicalRankInfo() {
- SharedDtor();
- }
- void MythicalRankInfo::SharedDtor() {
- if (nickname_ != &::google::protobuf::internal::kEmptyString) {
- delete nickname_;
- }
- if (this != default_instance_) {
- }
- }
- void MythicalRankInfo::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* MythicalRankInfo::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return MythicalRankInfo_descriptor_;
- }
- const MythicalRankInfo& MythicalRankInfo::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmythical_5fpalace_2eproto();
- return *default_instance_;
- }
- MythicalRankInfo* MythicalRankInfo::default_instance_ = NULL;
- MythicalRankInfo* MythicalRankInfo::New() const {
- return new MythicalRankInfo;
- }
- void MythicalRankInfo::Clear() {
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- playerid_ = 0;
- if (has_nickname()) {
- if (nickname_ != &::google::protobuf::internal::kEmptyString) {
- nickname_->clear();
- }
- }
- rank_ = 0;
- frameid_ = 0;
- headid_ = 0;
- zhuquepoints_ = 0;
- baihupoints_ = 0;
- caishenpoints_ = 0;
- }
- if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
- totalpoints_ = 0;
- }
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool MythicalRankInfo::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 int32 playerId = 1;
- case 1: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &playerid_)));
- set_has_playerid();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(18)) goto parse_nickName;
- break;
- }
- // optional string nickName = 2;
- case 2: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
- parse_nickName:
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_nickname()));
- ::google::protobuf::internal::WireFormat::VerifyUTF8String(
- this->nickname().data(), this->nickname().length(),
- ::google::protobuf::internal::WireFormat::PARSE);
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(24)) goto parse_rank;
- break;
- }
- // optional int32 rank = 3;
- case 3: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_rank:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &rank_)));
- set_has_rank();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(32)) goto parse_frameID;
- break;
- }
- // optional int32 frameID = 4;
- case 4: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_frameID:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &frameid_)));
- set_has_frameid();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(40)) goto parse_headId;
- break;
- }
- // optional int32 headId = 5;
- case 5: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_headId:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &headid_)));
- set_has_headid();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(48)) goto parse_zhuQuePoints;
- break;
- }
- // optional int32 zhuQuePoints = 6;
- case 6: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_zhuQuePoints:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &zhuquepoints_)));
- set_has_zhuquepoints();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(56)) goto parse_baiHuPoints;
- break;
- }
- // optional int32 baiHuPoints = 7;
- case 7: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_baiHuPoints:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &baihupoints_)));
- set_has_baihupoints();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(64)) goto parse_caiShenPoints;
- break;
- }
- // optional int32 caiShenPoints = 8;
- case 8: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_caiShenPoints:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &caishenpoints_)));
- set_has_caishenpoints();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(72)) goto parse_totalPoints;
- break;
- }
- // optional int32 totalPoints = 9;
- case 9: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_totalPoints:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &totalpoints_)));
- set_has_totalpoints();
- } 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 MythicalRankInfo::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // optional int32 playerId = 1;
- if (has_playerid()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->playerid(), output);
- }
- // optional string nickName = 2;
- if (has_nickname()) {
- ::google::protobuf::internal::WireFormat::VerifyUTF8String(
- this->nickname().data(), this->nickname().length(),
- ::google::protobuf::internal::WireFormat::SERIALIZE);
- ::google::protobuf::internal::WireFormatLite::WriteString(
- 2, this->nickname(), output);
- }
- // optional int32 rank = 3;
- if (has_rank()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->rank(), output);
- }
- // optional int32 frameID = 4;
- if (has_frameid()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->frameid(), output);
- }
- // optional int32 headId = 5;
- if (has_headid()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->headid(), output);
- }
- // optional int32 zhuQuePoints = 6;
- if (has_zhuquepoints()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->zhuquepoints(), output);
- }
- // optional int32 baiHuPoints = 7;
- if (has_baihupoints()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->baihupoints(), output);
- }
- // optional int32 caiShenPoints = 8;
- if (has_caishenpoints()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->caishenpoints(), output);
- }
- // optional int32 totalPoints = 9;
- if (has_totalpoints()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->totalpoints(), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- }
- ::google::protobuf::uint8* MythicalRankInfo::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // optional int32 playerId = 1;
- if (has_playerid()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->playerid(), target);
- }
- // optional string nickName = 2;
- if (has_nickname()) {
- ::google::protobuf::internal::WireFormat::VerifyUTF8String(
- this->nickname().data(), this->nickname().length(),
- ::google::protobuf::internal::WireFormat::SERIALIZE);
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 2, this->nickname(), target);
- }
- // optional int32 rank = 3;
- if (has_rank()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->rank(), target);
- }
- // optional int32 frameID = 4;
- if (has_frameid()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->frameid(), target);
- }
- // optional int32 headId = 5;
- if (has_headid()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->headid(), target);
- }
- // optional int32 zhuQuePoints = 6;
- if (has_zhuquepoints()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->zhuquepoints(), target);
- }
- // optional int32 baiHuPoints = 7;
- if (has_baihupoints()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->baihupoints(), target);
- }
- // optional int32 caiShenPoints = 8;
- if (has_caishenpoints()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->caishenpoints(), target);
- }
- // optional int32 totalPoints = 9;
- if (has_totalpoints()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->totalpoints(), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- return target;
- }
- int MythicalRankInfo::ByteSize() const {
- int total_size = 0;
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- // optional int32 playerId = 1;
- if (has_playerid()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->playerid());
- }
- // optional string nickName = 2;
- if (has_nickname()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->nickname());
- }
- // optional int32 rank = 3;
- if (has_rank()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->rank());
- }
- // optional int32 frameID = 4;
- if (has_frameid()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->frameid());
- }
- // optional int32 headId = 5;
- if (has_headid()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->headid());
- }
- // optional int32 zhuQuePoints = 6;
- if (has_zhuquepoints()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->zhuquepoints());
- }
- // optional int32 baiHuPoints = 7;
- if (has_baihupoints()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->baihupoints());
- }
- // optional int32 caiShenPoints = 8;
- if (has_caishenpoints()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->caishenpoints());
- }
- }
- if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
- // optional int32 totalPoints = 9;
- if (has_totalpoints()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->totalpoints());
- }
- }
- 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 MythicalRankInfo::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const MythicalRankInfo* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const MythicalRankInfo*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void MythicalRankInfo::MergeFrom(const MythicalRankInfo& from) {
- GOOGLE_CHECK_NE(&from, this);
- if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- if (from.has_playerid()) {
- set_playerid(from.playerid());
- }
- if (from.has_nickname()) {
- set_nickname(from.nickname());
- }
- if (from.has_rank()) {
- set_rank(from.rank());
- }
- if (from.has_frameid()) {
- set_frameid(from.frameid());
- }
- if (from.has_headid()) {
- set_headid(from.headid());
- }
- if (from.has_zhuquepoints()) {
- set_zhuquepoints(from.zhuquepoints());
- }
- if (from.has_baihupoints()) {
- set_baihupoints(from.baihupoints());
- }
- if (from.has_caishenpoints()) {
- set_caishenpoints(from.caishenpoints());
- }
- }
- if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
- if (from.has_totalpoints()) {
- set_totalpoints(from.totalpoints());
- }
- }
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void MythicalRankInfo::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void MythicalRankInfo::CopyFrom(const MythicalRankInfo& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool MythicalRankInfo::IsInitialized() const {
- return true;
- }
- void MythicalRankInfo::Swap(MythicalRankInfo* other) {
- if (other != this) {
- std::swap(playerid_, other->playerid_);
- std::swap(nickname_, other->nickname_);
- std::swap(rank_, other->rank_);
- std::swap(frameid_, other->frameid_);
- std::swap(headid_, other->headid_);
- std::swap(zhuquepoints_, other->zhuquepoints_);
- std::swap(baihupoints_, other->baihupoints_);
- std::swap(caishenpoints_, other->caishenpoints_);
- std::swap(totalpoints_, other->totalpoints_);
- 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 MythicalRankInfo::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = MythicalRankInfo_descriptor_;
- metadata.reflection = MythicalRankInfo_reflection_;
- return metadata;
- }
- // ===================================================================
- #ifndef _MSC_VER
- const int DropGoldHistory::kNickNameFieldNumber;
- const int DropGoldHistory::kFishIdFieldNumber;
- const int DropGoldHistory::kBulletRateFieldNumber;
- const int DropGoldHistory::kGoldFieldNumber;
- const int DropGoldHistory::kEventIdFieldNumber;
- const int DropGoldHistory::kGoldRateFieldNumber;
- #endif // !_MSC_VER
- DropGoldHistory::DropGoldHistory()
- : ::google::protobuf::Message() {
- SharedCtor();
- }
- void DropGoldHistory::InitAsDefaultInstance() {
- }
- DropGoldHistory::DropGoldHistory(const DropGoldHistory& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- }
- void DropGoldHistory::SharedCtor() {
- _cached_size_ = 0;
- nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
- fishid_ = 0;
- bulletrate_ = 0;
- gold_ = 0;
- eventid_ = 0;
- goldrate_ = 0;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- DropGoldHistory::~DropGoldHistory() {
- SharedDtor();
- }
- void DropGoldHistory::SharedDtor() {
- if (nickname_ != &::google::protobuf::internal::kEmptyString) {
- delete nickname_;
- }
- if (this != default_instance_) {
- }
- }
- void DropGoldHistory::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* DropGoldHistory::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return DropGoldHistory_descriptor_;
- }
- const DropGoldHistory& DropGoldHistory::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmythical_5fpalace_2eproto();
- return *default_instance_;
- }
- DropGoldHistory* DropGoldHistory::default_instance_ = NULL;
- DropGoldHistory* DropGoldHistory::New() const {
- return new DropGoldHistory;
- }
- void DropGoldHistory::Clear() {
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- if (has_nickname()) {
- if (nickname_ != &::google::protobuf::internal::kEmptyString) {
- nickname_->clear();
- }
- }
- fishid_ = 0;
- bulletrate_ = 0;
- gold_ = 0;
- eventid_ = 0;
- goldrate_ = 0;
- }
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool DropGoldHistory::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 string nickName = 1;
- case 1: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadString(
- input, this->mutable_nickname()));
- ::google::protobuf::internal::WireFormat::VerifyUTF8String(
- this->nickname().data(), this->nickname().length(),
- ::google::protobuf::internal::WireFormat::PARSE);
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(16)) goto parse_fishId;
- break;
- }
- // optional int32 fishId = 2;
- case 2: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_fishId:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &fishid_)));
- set_has_fishid();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(24)) goto parse_bulletRate;
- break;
- }
- // optional int32 bulletRate = 3;
- case 3: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_bulletRate:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &bulletrate_)));
- set_has_bulletrate();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(32)) goto parse_gold;
- break;
- }
- // optional int32 gold = 4;
- case 4: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_gold:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &gold_)));
- set_has_gold();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(40)) goto parse_eventId;
- break;
- }
- // optional int32 eventId = 5;
- case 5: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_eventId:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &eventid_)));
- set_has_eventid();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(48)) goto parse_goldRate;
- break;
- }
- // optional int32 goldRate = 6;
- case 6: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_goldRate:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &goldrate_)));
- set_has_goldrate();
- } 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 DropGoldHistory::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // optional string nickName = 1;
- if (has_nickname()) {
- ::google::protobuf::internal::WireFormat::VerifyUTF8String(
- this->nickname().data(), this->nickname().length(),
- ::google::protobuf::internal::WireFormat::SERIALIZE);
- ::google::protobuf::internal::WireFormatLite::WriteString(
- 1, this->nickname(), output);
- }
- // optional int32 fishId = 2;
- if (has_fishid()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->fishid(), output);
- }
- // optional int32 bulletRate = 3;
- if (has_bulletrate()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->bulletrate(), output);
- }
- // optional int32 gold = 4;
- if (has_gold()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->gold(), output);
- }
- // optional int32 eventId = 5;
- if (has_eventid()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->eventid(), output);
- }
- // optional int32 goldRate = 6;
- if (has_goldrate()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->goldrate(), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- }
- ::google::protobuf::uint8* DropGoldHistory::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // optional string nickName = 1;
- if (has_nickname()) {
- ::google::protobuf::internal::WireFormat::VerifyUTF8String(
- this->nickname().data(), this->nickname().length(),
- ::google::protobuf::internal::WireFormat::SERIALIZE);
- target =
- ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
- 1, this->nickname(), target);
- }
- // optional int32 fishId = 2;
- if (has_fishid()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->fishid(), target);
- }
- // optional int32 bulletRate = 3;
- if (has_bulletrate()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->bulletrate(), target);
- }
- // optional int32 gold = 4;
- if (has_gold()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->gold(), target);
- }
- // optional int32 eventId = 5;
- if (has_eventid()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->eventid(), target);
- }
- // optional int32 goldRate = 6;
- if (has_goldrate()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->goldrate(), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- return target;
- }
- int DropGoldHistory::ByteSize() const {
- int total_size = 0;
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- // optional string nickName = 1;
- if (has_nickname()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::StringSize(
- this->nickname());
- }
- // optional int32 fishId = 2;
- if (has_fishid()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->fishid());
- }
- // optional int32 bulletRate = 3;
- if (has_bulletrate()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->bulletrate());
- }
- // optional int32 gold = 4;
- if (has_gold()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->gold());
- }
- // optional int32 eventId = 5;
- if (has_eventid()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->eventid());
- }
- // optional int32 goldRate = 6;
- if (has_goldrate()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->goldrate());
- }
- }
- 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 DropGoldHistory::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const DropGoldHistory* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const DropGoldHistory*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void DropGoldHistory::MergeFrom(const DropGoldHistory& from) {
- GOOGLE_CHECK_NE(&from, this);
- if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- if (from.has_nickname()) {
- set_nickname(from.nickname());
- }
- if (from.has_fishid()) {
- set_fishid(from.fishid());
- }
- if (from.has_bulletrate()) {
- set_bulletrate(from.bulletrate());
- }
- if (from.has_gold()) {
- set_gold(from.gold());
- }
- if (from.has_eventid()) {
- set_eventid(from.eventid());
- }
- if (from.has_goldrate()) {
- set_goldrate(from.goldrate());
- }
- }
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void DropGoldHistory::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void DropGoldHistory::CopyFrom(const DropGoldHistory& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool DropGoldHistory::IsInitialized() const {
- return true;
- }
- void DropGoldHistory::Swap(DropGoldHistory* other) {
- if (other != this) {
- std::swap(nickname_, other->nickname_);
- std::swap(fishid_, other->fishid_);
- std::swap(bulletrate_, other->bulletrate_);
- std::swap(gold_, other->gold_);
- std::swap(eventid_, other->eventid_);
- std::swap(goldrate_, other->goldrate_);
- 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 DropGoldHistory::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = DropGoldHistory_descriptor_;
- metadata.reflection = DropGoldHistory_reflection_;
- return metadata;
- }
- // ===================================================================
- #ifndef _MSC_VER
- const int packetc2l_get_mythical_palace_info::kPacketIdFieldNumber;
- #endif // !_MSC_VER
- packetc2l_get_mythical_palace_info::packetc2l_get_mythical_palace_info()
- : ::google::protobuf::Message() {
- SharedCtor();
- }
- void packetc2l_get_mythical_palace_info::InitAsDefaultInstance() {
- }
- packetc2l_get_mythical_palace_info::packetc2l_get_mythical_palace_info(const packetc2l_get_mythical_palace_info& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- }
- void packetc2l_get_mythical_palace_info::SharedCtor() {
- _cached_size_ = 0;
- packet_id_ = 10200;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- packetc2l_get_mythical_palace_info::~packetc2l_get_mythical_palace_info() {
- SharedDtor();
- }
- void packetc2l_get_mythical_palace_info::SharedDtor() {
- if (this != default_instance_) {
- }
- }
- void packetc2l_get_mythical_palace_info::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* packetc2l_get_mythical_palace_info::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return packetc2l_get_mythical_palace_info_descriptor_;
- }
- const packetc2l_get_mythical_palace_info& packetc2l_get_mythical_palace_info::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmythical_5fpalace_2eproto();
- return *default_instance_;
- }
- packetc2l_get_mythical_palace_info* packetc2l_get_mythical_palace_info::default_instance_ = NULL;
- packetc2l_get_mythical_palace_info* packetc2l_get_mythical_palace_info::New() const {
- return new packetc2l_get_mythical_palace_info;
- }
- void packetc2l_get_mythical_palace_info::Clear() {
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- packet_id_ = 10200;
- }
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool packetc2l_get_mythical_palace_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 .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_mythical_palace_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 (::fish_protocols::e_server_msg_type_IsValid(value)) {
- set_packet_id(static_cast< ::fish_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 packetc2l_get_mythical_palace_info::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_mythical_palace_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* packetc2l_get_mythical_palace_info::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_mythical_palace_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 packetc2l_get_mythical_palace_info::ByteSize() const {
- int total_size = 0;
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_mythical_palace_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 packetc2l_get_mythical_palace_info::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const packetc2l_get_mythical_palace_info* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_get_mythical_palace_info*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void packetc2l_get_mythical_palace_info::MergeFrom(const packetc2l_get_mythical_palace_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 packetc2l_get_mythical_palace_info::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void packetc2l_get_mythical_palace_info::CopyFrom(const packetc2l_get_mythical_palace_info& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool packetc2l_get_mythical_palace_info::IsInitialized() const {
- return true;
- }
- void packetc2l_get_mythical_palace_info::Swap(packetc2l_get_mythical_palace_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 packetc2l_get_mythical_palace_info::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = packetc2l_get_mythical_palace_info_descriptor_;
- metadata.reflection = packetc2l_get_mythical_palace_info_reflection_;
- return metadata;
- }
- // ===================================================================
- #ifndef _MSC_VER
- const int packetl2c_get_mythical_palace_info_result::kPacketIdFieldNumber;
- const int packetl2c_get_mythical_palace_info_result::kResultFieldNumber;
- const int packetl2c_get_mythical_palace_info_result::kZhuQuePointsFieldNumber;
- const int packetl2c_get_mythical_palace_info_result::kBaiHuPointsFieldNumber;
- const int packetl2c_get_mythical_palace_info_result::kCaiShenPointsFieldNumber;
- const int packetl2c_get_mythical_palace_info_result::kTotalPointsFieldNumber;
- const int packetl2c_get_mythical_palace_info_result::kReceivedPointsAwardCountFieldNumber;
- const int packetl2c_get_mythical_palace_info_result::kCurRankListFieldNumber;
- const int packetl2c_get_mythical_palace_info_result::kChangeListFieldNumber;
- const int packetl2c_get_mythical_palace_info_result::kThresholdValueFieldNumber;
- const int packetl2c_get_mythical_palace_info_result::kMyrankFieldNumber;
- #endif // !_MSC_VER
- packetl2c_get_mythical_palace_info_result::packetl2c_get_mythical_palace_info_result()
- : ::google::protobuf::Message() {
- SharedCtor();
- }
- void packetl2c_get_mythical_palace_info_result::InitAsDefaultInstance() {
- }
- packetl2c_get_mythical_palace_info_result::packetl2c_get_mythical_palace_info_result(const packetl2c_get_mythical_palace_info_result& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- }
- void packetl2c_get_mythical_palace_info_result::SharedCtor() {
- _cached_size_ = 0;
- packet_id_ = 16194;
- result_ = 0;
- zhuquepoints_ = 0;
- baihupoints_ = 0;
- caishenpoints_ = 0;
- totalpoints_ = 0;
- receivedpointsawardcount_ = 0;
- myrank_ = 0;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- packetl2c_get_mythical_palace_info_result::~packetl2c_get_mythical_palace_info_result() {
- SharedDtor();
- }
- void packetl2c_get_mythical_palace_info_result::SharedDtor() {
- if (this != default_instance_) {
- }
- }
- void packetl2c_get_mythical_palace_info_result::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* packetl2c_get_mythical_palace_info_result::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return packetl2c_get_mythical_palace_info_result_descriptor_;
- }
- const packetl2c_get_mythical_palace_info_result& packetl2c_get_mythical_palace_info_result::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmythical_5fpalace_2eproto();
- return *default_instance_;
- }
- packetl2c_get_mythical_palace_info_result* packetl2c_get_mythical_palace_info_result::default_instance_ = NULL;
- packetl2c_get_mythical_palace_info_result* packetl2c_get_mythical_palace_info_result::New() const {
- return new packetl2c_get_mythical_palace_info_result;
- }
- void packetl2c_get_mythical_palace_info_result::Clear() {
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- packet_id_ = 16194;
- result_ = 0;
- zhuquepoints_ = 0;
- baihupoints_ = 0;
- caishenpoints_ = 0;
- totalpoints_ = 0;
- receivedpointsawardcount_ = 0;
- }
- if (_has_bits_[10 / 32] & (0xffu << (10 % 32))) {
- myrank_ = 0;
- }
- curranklist_.Clear();
- changelist_.Clear();
- thresholdvalue_.Clear();
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool packetl2c_get_mythical_palace_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 .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_mythical_palace_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 (::fish_protocols::e_server_msg_type_IsValid(value)) {
- set_packet_id(static_cast< ::fish_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_zhuQuePoints;
- break;
- }
- // optional int32 zhuQuePoints = 3;
- case 3: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_zhuQuePoints:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &zhuquepoints_)));
- set_has_zhuquepoints();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(32)) goto parse_baiHuPoints;
- break;
- }
- // optional int32 baiHuPoints = 4;
- case 4: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_baiHuPoints:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &baihupoints_)));
- set_has_baihupoints();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(40)) goto parse_caiShenPoints;
- break;
- }
- // optional int32 caiShenPoints = 5;
- case 5: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_caiShenPoints:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &caishenpoints_)));
- set_has_caishenpoints();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(48)) goto parse_totalPoints;
- break;
- }
- // optional int32 totalPoints = 6;
- case 6: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_totalPoints:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &totalpoints_)));
- set_has_totalpoints();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(56)) goto parse_receivedPointsAwardCount;
- break;
- }
- // optional int32 receivedPointsAwardCount = 7;
- case 7: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_receivedPointsAwardCount:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &receivedpointsawardcount_)));
- set_has_receivedpointsawardcount();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(66)) goto parse_curRankList;
- break;
- }
- // repeated .fish_protocols.MythicalRankInfo curRankList = 8;
- case 8: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
- parse_curRankList:
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, add_curranklist()));
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(66)) goto parse_curRankList;
- if (input->ExpectTag(74)) goto parse_changeList;
- break;
- }
- // repeated .fish_protocols.DropGoldHistory changeList = 9;
- case 9: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
- parse_changeList:
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, add_changelist()));
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(74)) goto parse_changeList;
- if (input->ExpectTag(80)) goto parse_thresholdValue;
- break;
- }
- // repeated int32 thresholdValue = 10;
- case 10: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_thresholdValue:
- DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- 1, 80, input, this->mutable_thresholdvalue())));
- } 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_thresholdvalue())));
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(80)) goto parse_thresholdValue;
- if (input->ExpectTag(88)) goto parse_myrank;
- break;
- }
- // optional int32 myrank = 11;
- case 11: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_myrank:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &myrank_)));
- set_has_myrank();
- } 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 packetl2c_get_mythical_palace_info_result::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_mythical_palace_info_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 zhuQuePoints = 3;
- if (has_zhuquepoints()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->zhuquepoints(), output);
- }
- // optional int32 baiHuPoints = 4;
- if (has_baihupoints()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->baihupoints(), output);
- }
- // optional int32 caiShenPoints = 5;
- if (has_caishenpoints()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->caishenpoints(), output);
- }
- // optional int32 totalPoints = 6;
- if (has_totalpoints()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->totalpoints(), output);
- }
- // optional int32 receivedPointsAwardCount = 7;
- if (has_receivedpointsawardcount()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->receivedpointsawardcount(), output);
- }
- // repeated .fish_protocols.MythicalRankInfo curRankList = 8;
- for (int i = 0; i < this->curranklist_size(); i++) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 8, this->curranklist(i), output);
- }
- // repeated .fish_protocols.DropGoldHistory changeList = 9;
- for (int i = 0; i < this->changelist_size(); i++) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 9, this->changelist(i), output);
- }
- // repeated int32 thresholdValue = 10;
- for (int i = 0; i < this->thresholdvalue_size(); i++) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(
- 10, this->thresholdvalue(i), output);
- }
- // optional int32 myrank = 11;
- if (has_myrank()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(11, this->myrank(), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- }
- ::google::protobuf::uint8* packetl2c_get_mythical_palace_info_result::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_mythical_palace_info_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 zhuQuePoints = 3;
- if (has_zhuquepoints()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->zhuquepoints(), target);
- }
- // optional int32 baiHuPoints = 4;
- if (has_baihupoints()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->baihupoints(), target);
- }
- // optional int32 caiShenPoints = 5;
- if (has_caishenpoints()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->caishenpoints(), target);
- }
- // optional int32 totalPoints = 6;
- if (has_totalpoints()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->totalpoints(), target);
- }
- // optional int32 receivedPointsAwardCount = 7;
- if (has_receivedpointsawardcount()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->receivedpointsawardcount(), target);
- }
- // repeated .fish_protocols.MythicalRankInfo curRankList = 8;
- for (int i = 0; i < this->curranklist_size(); i++) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 8, this->curranklist(i), target);
- }
- // repeated .fish_protocols.DropGoldHistory changeList = 9;
- for (int i = 0; i < this->changelist_size(); i++) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 9, this->changelist(i), target);
- }
- // repeated int32 thresholdValue = 10;
- for (int i = 0; i < this->thresholdvalue_size(); i++) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteInt32ToArray(10, this->thresholdvalue(i), target);
- }
- // optional int32 myrank = 11;
- if (has_myrank()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(11, this->myrank(), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- return target;
- }
- int packetl2c_get_mythical_palace_info_result::ByteSize() const {
- int total_size = 0;
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_mythical_palace_info_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 zhuQuePoints = 3;
- if (has_zhuquepoints()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->zhuquepoints());
- }
- // optional int32 baiHuPoints = 4;
- if (has_baihupoints()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->baihupoints());
- }
- // optional int32 caiShenPoints = 5;
- if (has_caishenpoints()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->caishenpoints());
- }
- // optional int32 totalPoints = 6;
- if (has_totalpoints()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->totalpoints());
- }
- // optional int32 receivedPointsAwardCount = 7;
- if (has_receivedpointsawardcount()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->receivedpointsawardcount());
- }
- }
- if (_has_bits_[10 / 32] & (0xffu << (10 % 32))) {
- // optional int32 myrank = 11;
- if (has_myrank()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->myrank());
- }
- }
- // repeated .fish_protocols.MythicalRankInfo curRankList = 8;
- total_size += 1 * this->curranklist_size();
- for (int i = 0; i < this->curranklist_size(); i++) {
- total_size +=
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- this->curranklist(i));
- }
- // repeated .fish_protocols.DropGoldHistory changeList = 9;
- total_size += 1 * this->changelist_size();
- for (int i = 0; i < this->changelist_size(); i++) {
- total_size +=
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- this->changelist(i));
- }
- // repeated int32 thresholdValue = 10;
- {
- int data_size = 0;
- for (int i = 0; i < this->thresholdvalue_size(); i++) {
- data_size += ::google::protobuf::internal::WireFormatLite::
- Int32Size(this->thresholdvalue(i));
- }
- total_size += 1 * this->thresholdvalue_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 packetl2c_get_mythical_palace_info_result::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const packetl2c_get_mythical_palace_info_result* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_get_mythical_palace_info_result*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void packetl2c_get_mythical_palace_info_result::MergeFrom(const packetl2c_get_mythical_palace_info_result& from) {
- GOOGLE_CHECK_NE(&from, this);
- curranklist_.MergeFrom(from.curranklist_);
- changelist_.MergeFrom(from.changelist_);
- thresholdvalue_.MergeFrom(from.thresholdvalue_);
- 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_zhuquepoints()) {
- set_zhuquepoints(from.zhuquepoints());
- }
- if (from.has_baihupoints()) {
- set_baihupoints(from.baihupoints());
- }
- if (from.has_caishenpoints()) {
- set_caishenpoints(from.caishenpoints());
- }
- if (from.has_totalpoints()) {
- set_totalpoints(from.totalpoints());
- }
- if (from.has_receivedpointsawardcount()) {
- set_receivedpointsawardcount(from.receivedpointsawardcount());
- }
- }
- if (from._has_bits_[10 / 32] & (0xffu << (10 % 32))) {
- if (from.has_myrank()) {
- set_myrank(from.myrank());
- }
- }
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void packetl2c_get_mythical_palace_info_result::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void packetl2c_get_mythical_palace_info_result::CopyFrom(const packetl2c_get_mythical_palace_info_result& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool packetl2c_get_mythical_palace_info_result::IsInitialized() const {
- return true;
- }
- void packetl2c_get_mythical_palace_info_result::Swap(packetl2c_get_mythical_palace_info_result* other) {
- if (other != this) {
- std::swap(packet_id_, other->packet_id_);
- std::swap(result_, other->result_);
- std::swap(zhuquepoints_, other->zhuquepoints_);
- std::swap(baihupoints_, other->baihupoints_);
- std::swap(caishenpoints_, other->caishenpoints_);
- std::swap(totalpoints_, other->totalpoints_);
- std::swap(receivedpointsawardcount_, other->receivedpointsawardcount_);
- curranklist_.Swap(&other->curranklist_);
- changelist_.Swap(&other->changelist_);
- thresholdvalue_.Swap(&other->thresholdvalue_);
- std::swap(myrank_, other->myrank_);
- 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 packetl2c_get_mythical_palace_info_result::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = packetl2c_get_mythical_palace_info_result_descriptor_;
- metadata.reflection = packetl2c_get_mythical_palace_info_result_reflection_;
- return metadata;
- }
- // ===================================================================
- #ifndef _MSC_VER
- const int packetl2c_bc_trigger_mythical_palace_event::kPacketIdFieldNumber;
- const int packetl2c_bc_trigger_mythical_palace_event::kPlayerIdFieldNumber;
- const int packetl2c_bc_trigger_mythical_palace_event::kEventIdFieldNumber;
- const int packetl2c_bc_trigger_mythical_palace_event::kBossRateFieldNumber;
- const int packetl2c_bc_trigger_mythical_palace_event::kGoldFieldNumber;
- const int packetl2c_bc_trigger_mythical_palace_event::kDropPointsFieldNumber;
- const int packetl2c_bc_trigger_mythical_palace_event::kDropPointsExFieldNumber;
- #endif // !_MSC_VER
- packetl2c_bc_trigger_mythical_palace_event::packetl2c_bc_trigger_mythical_palace_event()
- : ::google::protobuf::Message() {
- SharedCtor();
- }
- void packetl2c_bc_trigger_mythical_palace_event::InitAsDefaultInstance() {
- }
- packetl2c_bc_trigger_mythical_palace_event::packetl2c_bc_trigger_mythical_palace_event(const packetl2c_bc_trigger_mythical_palace_event& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- }
- void packetl2c_bc_trigger_mythical_palace_event::SharedCtor() {
- _cached_size_ = 0;
- packet_id_ = 16195;
- playerid_ = 0;
- eventid_ = 0;
- bossrate_ = 0;
- gold_ = 0;
- droppoints_ = 0;
- droppointsex_ = 0;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- packetl2c_bc_trigger_mythical_palace_event::~packetl2c_bc_trigger_mythical_palace_event() {
- SharedDtor();
- }
- void packetl2c_bc_trigger_mythical_palace_event::SharedDtor() {
- if (this != default_instance_) {
- }
- }
- void packetl2c_bc_trigger_mythical_palace_event::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* packetl2c_bc_trigger_mythical_palace_event::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return packetl2c_bc_trigger_mythical_palace_event_descriptor_;
- }
- const packetl2c_bc_trigger_mythical_palace_event& packetl2c_bc_trigger_mythical_palace_event::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmythical_5fpalace_2eproto();
- return *default_instance_;
- }
- packetl2c_bc_trigger_mythical_palace_event* packetl2c_bc_trigger_mythical_palace_event::default_instance_ = NULL;
- packetl2c_bc_trigger_mythical_palace_event* packetl2c_bc_trigger_mythical_palace_event::New() const {
- return new packetl2c_bc_trigger_mythical_palace_event;
- }
- void packetl2c_bc_trigger_mythical_palace_event::Clear() {
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- packet_id_ = 16195;
- playerid_ = 0;
- eventid_ = 0;
- bossrate_ = 0;
- gold_ = 0;
- droppoints_ = 0;
- droppointsex_ = 0;
- }
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool packetl2c_bc_trigger_mythical_palace_event::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 .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_mythical_palace_event];
- 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 (::fish_protocols::e_server_msg_type_IsValid(value)) {
- set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value));
- } else {
- mutable_unknown_fields()->AddVarint(1, value);
- }
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(16)) goto parse_playerId;
- break;
- }
- // optional int32 playerId = 2;
- case 2: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_playerId:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &playerid_)));
- set_has_playerid();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(24)) goto parse_eventId;
- break;
- }
- // optional int32 eventId = 3;
- case 3: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_eventId:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &eventid_)));
- set_has_eventid();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(32)) goto parse_bossRate;
- break;
- }
- // optional int32 bossRate = 4;
- case 4: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_bossRate:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &bossrate_)));
- set_has_bossrate();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(40)) goto parse_gold;
- break;
- }
- // optional int32 gold = 5;
- case 5: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_gold:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &gold_)));
- set_has_gold();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(48)) goto parse_dropPoints;
- break;
- }
- // optional int32 dropPoints = 6;
- case 6: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_dropPoints:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &droppoints_)));
- set_has_droppoints();
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(56)) goto parse_dropPointsEx;
- break;
- }
- // optional int32 dropPointsEx = 7;
- case 7: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
- parse_dropPointsEx:
- DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
- ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
- input, &droppointsex_)));
- set_has_droppointsex();
- } 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 packetl2c_bc_trigger_mythical_palace_event::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_mythical_palace_event];
- if (has_packet_id()) {
- ::google::protobuf::internal::WireFormatLite::WriteEnum(
- 1, this->packet_id(), output);
- }
- // optional int32 playerId = 2;
- if (has_playerid()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playerid(), output);
- }
- // optional int32 eventId = 3;
- if (has_eventid()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->eventid(), output);
- }
- // optional int32 bossRate = 4;
- if (has_bossrate()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->bossrate(), output);
- }
- // optional int32 gold = 5;
- if (has_gold()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->gold(), output);
- }
- // optional int32 dropPoints = 6;
- if (has_droppoints()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->droppoints(), output);
- }
- // optional int32 dropPointsEx = 7;
- if (has_droppointsex()) {
- ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->droppointsex(), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- }
- ::google::protobuf::uint8* packetl2c_bc_trigger_mythical_palace_event::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_mythical_palace_event];
- if (has_packet_id()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
- 1, this->packet_id(), target);
- }
- // optional int32 playerId = 2;
- if (has_playerid()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playerid(), target);
- }
- // optional int32 eventId = 3;
- if (has_eventid()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->eventid(), target);
- }
- // optional int32 bossRate = 4;
- if (has_bossrate()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->bossrate(), target);
- }
- // optional int32 gold = 5;
- if (has_gold()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->gold(), target);
- }
- // optional int32 dropPoints = 6;
- if (has_droppoints()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->droppoints(), target);
- }
- // optional int32 dropPointsEx = 7;
- if (has_droppointsex()) {
- target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->droppointsex(), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- return target;
- }
- int packetl2c_bc_trigger_mythical_palace_event::ByteSize() const {
- int total_size = 0;
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_mythical_palace_event];
- if (has_packet_id()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id());
- }
- // optional int32 playerId = 2;
- if (has_playerid()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->playerid());
- }
- // optional int32 eventId = 3;
- if (has_eventid()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->eventid());
- }
- // optional int32 bossRate = 4;
- if (has_bossrate()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->bossrate());
- }
- // optional int32 gold = 5;
- if (has_gold()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->gold());
- }
- // optional int32 dropPoints = 6;
- if (has_droppoints()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->droppoints());
- }
- // optional int32 dropPointsEx = 7;
- if (has_droppointsex()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::Int32Size(
- this->droppointsex());
- }
- }
- 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 packetl2c_bc_trigger_mythical_palace_event::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const packetl2c_bc_trigger_mythical_palace_event* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_bc_trigger_mythical_palace_event*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void packetl2c_bc_trigger_mythical_palace_event::MergeFrom(const packetl2c_bc_trigger_mythical_palace_event& 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_playerid()) {
- set_playerid(from.playerid());
- }
- if (from.has_eventid()) {
- set_eventid(from.eventid());
- }
- if (from.has_bossrate()) {
- set_bossrate(from.bossrate());
- }
- if (from.has_gold()) {
- set_gold(from.gold());
- }
- if (from.has_droppoints()) {
- set_droppoints(from.droppoints());
- }
- if (from.has_droppointsex()) {
- set_droppointsex(from.droppointsex());
- }
- }
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void packetl2c_bc_trigger_mythical_palace_event::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void packetl2c_bc_trigger_mythical_palace_event::CopyFrom(const packetl2c_bc_trigger_mythical_palace_event& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool packetl2c_bc_trigger_mythical_palace_event::IsInitialized() const {
- return true;
- }
- void packetl2c_bc_trigger_mythical_palace_event::Swap(packetl2c_bc_trigger_mythical_palace_event* other) {
- if (other != this) {
- std::swap(packet_id_, other->packet_id_);
- std::swap(playerid_, other->playerid_);
- std::swap(eventid_, other->eventid_);
- std::swap(bossrate_, other->bossrate_);
- std::swap(gold_, other->gold_);
- std::swap(droppoints_, other->droppoints_);
- std::swap(droppointsex_, other->droppointsex_);
- 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 packetl2c_bc_trigger_mythical_palace_event::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = packetl2c_bc_trigger_mythical_palace_event_descriptor_;
- metadata.reflection = packetl2c_bc_trigger_mythical_palace_event_reflection_;
- return metadata;
- }
- // ===================================================================
- #ifndef _MSC_VER
- const int packetc2l_receive_mythical_points_award::kPacketIdFieldNumber;
- #endif // !_MSC_VER
- packetc2l_receive_mythical_points_award::packetc2l_receive_mythical_points_award()
- : ::google::protobuf::Message() {
- SharedCtor();
- }
- void packetc2l_receive_mythical_points_award::InitAsDefaultInstance() {
- }
- packetc2l_receive_mythical_points_award::packetc2l_receive_mythical_points_award(const packetc2l_receive_mythical_points_award& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- }
- void packetc2l_receive_mythical_points_award::SharedCtor() {
- _cached_size_ = 0;
- packet_id_ = 10201;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- packetc2l_receive_mythical_points_award::~packetc2l_receive_mythical_points_award() {
- SharedDtor();
- }
- void packetc2l_receive_mythical_points_award::SharedDtor() {
- if (this != default_instance_) {
- }
- }
- void packetc2l_receive_mythical_points_award::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* packetc2l_receive_mythical_points_award::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return packetc2l_receive_mythical_points_award_descriptor_;
- }
- const packetc2l_receive_mythical_points_award& packetc2l_receive_mythical_points_award::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmythical_5fpalace_2eproto();
- return *default_instance_;
- }
- packetc2l_receive_mythical_points_award* packetc2l_receive_mythical_points_award::default_instance_ = NULL;
- packetc2l_receive_mythical_points_award* packetc2l_receive_mythical_points_award::New() const {
- return new packetc2l_receive_mythical_points_award;
- }
- void packetc2l_receive_mythical_points_award::Clear() {
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- packet_id_ = 10201;
- }
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool packetc2l_receive_mythical_points_award::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 .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_receive_mythical_points_award];
- 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 (::fish_protocols::e_server_msg_type_IsValid(value)) {
- set_packet_id(static_cast< ::fish_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 packetc2l_receive_mythical_points_award::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_receive_mythical_points_award];
- 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* packetc2l_receive_mythical_points_award::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_receive_mythical_points_award];
- 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 packetc2l_receive_mythical_points_award::ByteSize() const {
- int total_size = 0;
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_receive_mythical_points_award];
- 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 packetc2l_receive_mythical_points_award::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const packetc2l_receive_mythical_points_award* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const packetc2l_receive_mythical_points_award*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void packetc2l_receive_mythical_points_award::MergeFrom(const packetc2l_receive_mythical_points_award& 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 packetc2l_receive_mythical_points_award::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void packetc2l_receive_mythical_points_award::CopyFrom(const packetc2l_receive_mythical_points_award& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool packetc2l_receive_mythical_points_award::IsInitialized() const {
- return true;
- }
- void packetc2l_receive_mythical_points_award::Swap(packetc2l_receive_mythical_points_award* 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 packetc2l_receive_mythical_points_award::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = packetc2l_receive_mythical_points_award_descriptor_;
- metadata.reflection = packetc2l_receive_mythical_points_award_reflection_;
- return metadata;
- }
- // ===================================================================
- #ifndef _MSC_VER
- const int packetl2c_receive_mythical_points_award_result::kPacketIdFieldNumber;
- const int packetl2c_receive_mythical_points_award_result::kResultFieldNumber;
- const int packetl2c_receive_mythical_points_award_result::kItemsFieldNumber;
- #endif // !_MSC_VER
- packetl2c_receive_mythical_points_award_result::packetl2c_receive_mythical_points_award_result()
- : ::google::protobuf::Message() {
- SharedCtor();
- }
- void packetl2c_receive_mythical_points_award_result::InitAsDefaultInstance() {
- }
- packetl2c_receive_mythical_points_award_result::packetl2c_receive_mythical_points_award_result(const packetl2c_receive_mythical_points_award_result& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- }
- void packetl2c_receive_mythical_points_award_result::SharedCtor() {
- _cached_size_ = 0;
- packet_id_ = 16196;
- result_ = 0;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- packetl2c_receive_mythical_points_award_result::~packetl2c_receive_mythical_points_award_result() {
- SharedDtor();
- }
- void packetl2c_receive_mythical_points_award_result::SharedDtor() {
- if (this != default_instance_) {
- }
- }
- void packetl2c_receive_mythical_points_award_result::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* packetl2c_receive_mythical_points_award_result::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return packetl2c_receive_mythical_points_award_result_descriptor_;
- }
- const packetl2c_receive_mythical_points_award_result& packetl2c_receive_mythical_points_award_result::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_fish_5fmythical_5fpalace_2eproto();
- return *default_instance_;
- }
- packetl2c_receive_mythical_points_award_result* packetl2c_receive_mythical_points_award_result::default_instance_ = NULL;
- packetl2c_receive_mythical_points_award_result* packetl2c_receive_mythical_points_award_result::New() const {
- return new packetl2c_receive_mythical_points_award_result;
- }
- void packetl2c_receive_mythical_points_award_result::Clear() {
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- packet_id_ = 16196;
- result_ = 0;
- }
- items_.Clear();
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool packetl2c_receive_mythical_points_award_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 .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_receive_mythical_points_award_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 (::fish_protocols::e_server_msg_type_IsValid(value)) {
- set_packet_id(static_cast< ::fish_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(26)) goto parse_items;
- break;
- }
- // repeated .fish_protocols.ItemInfo items = 3;
- case 3: {
- if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
- parse_items:
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, add_items()));
- } else {
- goto handle_uninterpreted;
- }
- if (input->ExpectTag(26)) goto parse_items;
- 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 packetl2c_receive_mythical_points_award_result::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_receive_mythical_points_award_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);
- }
- // repeated .fish_protocols.ItemInfo items = 3;
- for (int i = 0; i < this->items_size(); i++) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 3, this->items(i), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- }
- ::google::protobuf::uint8* packetl2c_receive_mythical_points_award_result::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_receive_mythical_points_award_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);
- }
- // repeated .fish_protocols.ItemInfo items = 3;
- for (int i = 0; i < this->items_size(); i++) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 3, this->items(i), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- return target;
- }
- int packetl2c_receive_mythical_points_award_result::ByteSize() const {
- int total_size = 0;
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_receive_mythical_points_award_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());
- }
- }
- // repeated .fish_protocols.ItemInfo items = 3;
- total_size += 1 * this->items_size();
- for (int i = 0; i < this->items_size(); i++) {
- total_size +=
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- this->items(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 packetl2c_receive_mythical_points_award_result::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const packetl2c_receive_mythical_points_award_result* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const packetl2c_receive_mythical_points_award_result*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void packetl2c_receive_mythical_points_award_result::MergeFrom(const packetl2c_receive_mythical_points_award_result& from) {
- GOOGLE_CHECK_NE(&from, this);
- items_.MergeFrom(from.items_);
- 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());
- }
- }
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void packetl2c_receive_mythical_points_award_result::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void packetl2c_receive_mythical_points_award_result::CopyFrom(const packetl2c_receive_mythical_points_award_result& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool packetl2c_receive_mythical_points_award_result::IsInitialized() const {
- return true;
- }
- void packetl2c_receive_mythical_points_award_result::Swap(packetl2c_receive_mythical_points_award_result* other) {
- if (other != this) {
- std::swap(packet_id_, other->packet_id_);
- std::swap(result_, other->result_);
- items_.Swap(&other->items_);
- 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 packetl2c_receive_mythical_points_award_result::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = packetl2c_receive_mythical_points_award_result_descriptor_;
- metadata.reflection = packetl2c_receive_mythical_points_award_result_reflection_;
- return metadata;
- }
- // @@protoc_insertion_point(namespace_scope)
- } // namespace fish_protocols
- // @@protoc_insertion_point(global_scope)
|