You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

Message2Clients.pb.h 144 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: Message2Clients.proto
  3. #ifndef GOOGLE_PROTOBUF_INCLUDED_Message2Clients_2eproto
  4. #define GOOGLE_PROTOBUF_INCLUDED_Message2Clients_2eproto
  5. #include <limits>
  6. #include <string>
  7. #include <google/protobuf/port_def.inc>
  8. #if PROTOBUF_VERSION < 3021000
  9. #error This file was generated by a newer version of protoc which is
  10. #error incompatible with your Protocol Buffer headers. Please update
  11. #error your headers.
  12. #endif
  13. #if 3021009 < PROTOBUF_MIN_PROTOC_VERSION
  14. #error This file was generated by an older version of protoc which is
  15. #error incompatible with your Protocol Buffer headers. Please
  16. #error regenerate this file with a newer version of protoc.
  17. #endif
  18. #include <google/protobuf/port_undef.inc>
  19. #include <google/protobuf/io/coded_stream.h>
  20. #include <google/protobuf/arena.h>
  21. #include <google/protobuf/arenastring.h>
  22. #include <google/protobuf/generated_message_util.h>
  23. #include <google/protobuf/metadata_lite.h>
  24. #include <google/protobuf/generated_message_reflection.h>
  25. #include <google/protobuf/message.h>
  26. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  27. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  28. #include <google/protobuf/unknown_field_set.h>
  29. #include "MessageType.pb.h"
  30. // @@protoc_insertion_point(includes)
  31. #include <google/protobuf/port_def.inc>
  32. #define PROTOBUF_INTERNAL_EXPORT_Message2Clients_2eproto
  33. PROTOBUF_NAMESPACE_OPEN
  34. namespace internal
  35. {
  36. class AnyMetadata;
  37. } // namespace internal
  38. PROTOBUF_NAMESPACE_CLOSE
  39. // Internal implementation detail -- do not use these members.
  40. struct TableStruct_Message2Clients_2eproto
  41. {
  42. static const uint32_t offsets[];
  43. };
  44. extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_Message2Clients_2eproto;
  45. namespace protobuf
  46. {
  47. class BoolRes;
  48. struct BoolResDefaultTypeInternal;
  49. extern BoolResDefaultTypeInternal _BoolRes_default_instance_;
  50. class MessageOfButcher;
  51. struct MessageOfButcherDefaultTypeInternal;
  52. extern MessageOfButcherDefaultTypeInternal _MessageOfButcher_default_instance_;
  53. class MessageOfHuman;
  54. struct MessageOfHumanDefaultTypeInternal;
  55. extern MessageOfHumanDefaultTypeInternal _MessageOfHuman_default_instance_;
  56. class MessageOfMap;
  57. struct MessageOfMapDefaultTypeInternal;
  58. extern MessageOfMapDefaultTypeInternal _MessageOfMap_default_instance_;
  59. class MessageOfMap_Row;
  60. struct MessageOfMap_RowDefaultTypeInternal;
  61. extern MessageOfMap_RowDefaultTypeInternal _MessageOfMap_Row_default_instance_;
  62. class MessageOfPickedProp;
  63. struct MessageOfPickedPropDefaultTypeInternal;
  64. extern MessageOfPickedPropDefaultTypeInternal _MessageOfPickedProp_default_instance_;
  65. class MessageOfProp;
  66. struct MessageOfPropDefaultTypeInternal;
  67. extern MessageOfPropDefaultTypeInternal _MessageOfProp_default_instance_;
  68. class MessageToClient;
  69. struct MessageToClientDefaultTypeInternal;
  70. extern MessageToClientDefaultTypeInternal _MessageToClient_default_instance_;
  71. class MoveRes;
  72. struct MoveResDefaultTypeInternal;
  73. extern MoveResDefaultTypeInternal _MoveRes_default_instance_;
  74. class MsgRes;
  75. struct MsgResDefaultTypeInternal;
  76. extern MsgResDefaultTypeInternal _MsgRes_default_instance_;
  77. } // namespace protobuf
  78. PROTOBUF_NAMESPACE_OPEN
  79. template<>
  80. ::protobuf::BoolRes* Arena::CreateMaybeMessage<::protobuf::BoolRes>(Arena*);
  81. template<>
  82. ::protobuf::MessageOfButcher* Arena::CreateMaybeMessage<::protobuf::MessageOfButcher>(Arena*);
  83. template<>
  84. ::protobuf::MessageOfHuman* Arena::CreateMaybeMessage<::protobuf::MessageOfHuman>(Arena*);
  85. template<>
  86. ::protobuf::MessageOfMap* Arena::CreateMaybeMessage<::protobuf::MessageOfMap>(Arena*);
  87. template<>
  88. ::protobuf::MessageOfMap_Row* Arena::CreateMaybeMessage<::protobuf::MessageOfMap_Row>(Arena*);
  89. template<>
  90. ::protobuf::MessageOfPickedProp* Arena::CreateMaybeMessage<::protobuf::MessageOfPickedProp>(Arena*);
  91. template<>
  92. ::protobuf::MessageOfProp* Arena::CreateMaybeMessage<::protobuf::MessageOfProp>(Arena*);
  93. template<>
  94. ::protobuf::MessageToClient* Arena::CreateMaybeMessage<::protobuf::MessageToClient>(Arena*);
  95. template<>
  96. ::protobuf::MoveRes* Arena::CreateMaybeMessage<::protobuf::MoveRes>(Arena*);
  97. template<>
  98. ::protobuf::MsgRes* Arena::CreateMaybeMessage<::protobuf::MsgRes>(Arena*);
  99. PROTOBUF_NAMESPACE_CLOSE
  100. namespace protobuf
  101. {
  102. // ===================================================================
  103. class MessageOfHuman final :
  104. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfHuman) */
  105. {
  106. public:
  107. inline MessageOfHuman() :
  108. MessageOfHuman(nullptr)
  109. {
  110. }
  111. ~MessageOfHuman() override;
  112. explicit PROTOBUF_CONSTEXPR MessageOfHuman(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  113. MessageOfHuman(const MessageOfHuman& from);
  114. MessageOfHuman(MessageOfHuman&& from) noexcept
  115. :
  116. MessageOfHuman()
  117. {
  118. *this = ::std::move(from);
  119. }
  120. inline MessageOfHuman& operator=(const MessageOfHuman& from)
  121. {
  122. CopyFrom(from);
  123. return *this;
  124. }
  125. inline MessageOfHuman& operator=(MessageOfHuman&& from) noexcept
  126. {
  127. if (this == &from)
  128. return *this;
  129. if (GetOwningArena() == from.GetOwningArena()
  130. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  131. && GetOwningArena() != nullptr
  132. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  133. )
  134. {
  135. InternalSwap(&from);
  136. }
  137. else
  138. {
  139. CopyFrom(from);
  140. }
  141. return *this;
  142. }
  143. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
  144. {
  145. return GetDescriptor();
  146. }
  147. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
  148. {
  149. return default_instance().GetMetadata().descriptor;
  150. }
  151. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
  152. {
  153. return default_instance().GetMetadata().reflection;
  154. }
  155. static const MessageOfHuman& default_instance()
  156. {
  157. return *internal_default_instance();
  158. }
  159. static inline const MessageOfHuman* internal_default_instance()
  160. {
  161. return reinterpret_cast<const MessageOfHuman*>(
  162. &_MessageOfHuman_default_instance_
  163. );
  164. }
  165. static constexpr int kIndexInFileMessages =
  166. 0;
  167. friend void swap(MessageOfHuman& a, MessageOfHuman& b)
  168. {
  169. a.Swap(&b);
  170. }
  171. inline void Swap(MessageOfHuman* other)
  172. {
  173. if (other == this)
  174. return;
  175. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  176. if (GetOwningArena() != nullptr &&
  177. GetOwningArena() == other->GetOwningArena())
  178. {
  179. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  180. if (GetOwningArena() == other->GetOwningArena())
  181. {
  182. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  183. InternalSwap(other);
  184. }
  185. else
  186. {
  187. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  188. }
  189. }
  190. void UnsafeArenaSwap(MessageOfHuman* other)
  191. {
  192. if (other == this)
  193. return;
  194. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  195. InternalSwap(other);
  196. }
  197. // implements Message ----------------------------------------------
  198. MessageOfHuman* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
  199. {
  200. return CreateMaybeMessage<MessageOfHuman>(arena);
  201. }
  202. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  203. void CopyFrom(const MessageOfHuman& from);
  204. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  205. void MergeFrom(const MessageOfHuman& from)
  206. {
  207. MessageOfHuman::MergeImpl(*this, from);
  208. }
  209. private:
  210. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  211. public:
  212. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  213. bool IsInitialized() const final;
  214. size_t ByteSizeLong() const final;
  215. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  216. uint8_t* _InternalSerialize(
  217. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
  218. ) const final;
  219. int GetCachedSize() const final
  220. {
  221. return _impl_._cached_size_.Get();
  222. }
  223. private:
  224. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  225. void SharedDtor();
  226. void SetCachedSize(int size) const final;
  227. void InternalSwap(MessageOfHuman* other);
  228. private:
  229. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  230. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
  231. {
  232. return "protobuf.MessageOfHuman";
  233. }
  234. protected:
  235. explicit MessageOfHuman(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
  236. public:
  237. static const ClassData _class_data_;
  238. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
  239. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  240. // nested types ----------------------------------------------------
  241. // accessors -------------------------------------------------------
  242. enum : int
  243. {
  244. kBuffFieldNumber = 18,
  245. kXFieldNumber = 1,
  246. kYFieldNumber = 2,
  247. kSpeedFieldNumber = 3,
  248. kLifeFieldNumber = 4,
  249. kTimeUntilSkillAvailableFieldNumber = 6,
  250. kHangedTimeFieldNumber = 5,
  251. kPlaceFieldNumber = 7,
  252. kPropFieldNumber = 8,
  253. kHumanTypeFieldNumber = 9,
  254. kGuidFieldNumber = 10,
  255. kChairTimeFieldNumber = 12,
  256. kOnChairFieldNumber = 11,
  257. kOnGroundFieldNumber = 13,
  258. kViewRangeFieldNumber = 16,
  259. kGroundTimeFieldNumber = 14,
  260. kPlayerIdFieldNumber = 15,
  261. kRadiusFieldNumber = 17,
  262. };
  263. // repeated .protobuf.HumanBuffType buff = 18;
  264. int buff_size() const;
  265. private:
  266. int _internal_buff_size() const;
  267. public:
  268. void clear_buff();
  269. private:
  270. ::protobuf::HumanBuffType _internal_buff(int index) const;
  271. void _internal_add_buff(::protobuf::HumanBuffType value);
  272. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_buff();
  273. public:
  274. ::protobuf::HumanBuffType buff(int index) const;
  275. void set_buff(int index, ::protobuf::HumanBuffType value);
  276. void add_buff(::protobuf::HumanBuffType value);
  277. const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& buff() const;
  278. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_buff();
  279. // int32 x = 1;
  280. void clear_x();
  281. int32_t x() const;
  282. void set_x(int32_t value);
  283. private:
  284. int32_t _internal_x() const;
  285. void _internal_set_x(int32_t value);
  286. public:
  287. // int32 y = 2;
  288. void clear_y();
  289. int32_t y() const;
  290. void set_y(int32_t value);
  291. private:
  292. int32_t _internal_y() const;
  293. void _internal_set_y(int32_t value);
  294. public:
  295. // int32 speed = 3;
  296. void clear_speed();
  297. int32_t speed() const;
  298. void set_speed(int32_t value);
  299. private:
  300. int32_t _internal_speed() const;
  301. void _internal_set_speed(int32_t value);
  302. public:
  303. // int32 life = 4;
  304. void clear_life();
  305. int32_t life() const;
  306. void set_life(int32_t value);
  307. private:
  308. int32_t _internal_life() const;
  309. void _internal_set_life(int32_t value);
  310. public:
  311. // double time_until_skill_available = 6;
  312. void clear_time_until_skill_available();
  313. double time_until_skill_available() const;
  314. void set_time_until_skill_available(double value);
  315. private:
  316. double _internal_time_until_skill_available() const;
  317. void _internal_set_time_until_skill_available(double value);
  318. public:
  319. // int32 hanged_time = 5;
  320. void clear_hanged_time();
  321. int32_t hanged_time() const;
  322. void set_hanged_time(int32_t value);
  323. private:
  324. int32_t _internal_hanged_time() const;
  325. void _internal_set_hanged_time(int32_t value);
  326. public:
  327. // .protobuf.PlaceType place = 7;
  328. void clear_place();
  329. ::protobuf::PlaceType place() const;
  330. void set_place(::protobuf::PlaceType value);
  331. private:
  332. ::protobuf::PlaceType _internal_place() const;
  333. void _internal_set_place(::protobuf::PlaceType value);
  334. public:
  335. // .protobuf.PropType prop = 8;
  336. void clear_prop();
  337. ::protobuf::PropType prop() const;
  338. void set_prop(::protobuf::PropType value);
  339. private:
  340. ::protobuf::PropType _internal_prop() const;
  341. void _internal_set_prop(::protobuf::PropType value);
  342. public:
  343. // .protobuf.HumanType human_type = 9;
  344. void clear_human_type();
  345. ::protobuf::HumanType human_type() const;
  346. void set_human_type(::protobuf::HumanType value);
  347. private:
  348. ::protobuf::HumanType _internal_human_type() const;
  349. void _internal_set_human_type(::protobuf::HumanType value);
  350. public:
  351. // int64 guid = 10;
  352. void clear_guid();
  353. int64_t guid() const;
  354. void set_guid(int64_t value);
  355. private:
  356. int64_t _internal_guid() const;
  357. void _internal_set_guid(int64_t value);
  358. public:
  359. // double chair_time = 12;
  360. void clear_chair_time();
  361. double chair_time() const;
  362. void set_chair_time(double value);
  363. private:
  364. double _internal_chair_time() const;
  365. void _internal_set_chair_time(double value);
  366. public:
  367. // bool on_chair = 11;
  368. void clear_on_chair();
  369. bool on_chair() const;
  370. void set_on_chair(bool value);
  371. private:
  372. bool _internal_on_chair() const;
  373. void _internal_set_on_chair(bool value);
  374. public:
  375. // bool on_ground = 13;
  376. void clear_on_ground();
  377. bool on_ground() const;
  378. void set_on_ground(bool value);
  379. private:
  380. bool _internal_on_ground() const;
  381. void _internal_set_on_ground(bool value);
  382. public:
  383. // int32 view_range = 16;
  384. void clear_view_range();
  385. int32_t view_range() const;
  386. void set_view_range(int32_t value);
  387. private:
  388. int32_t _internal_view_range() const;
  389. void _internal_set_view_range(int32_t value);
  390. public:
  391. // double ground_time = 14;
  392. void clear_ground_time();
  393. double ground_time() const;
  394. void set_ground_time(double value);
  395. private:
  396. double _internal_ground_time() const;
  397. void _internal_set_ground_time(double value);
  398. public:
  399. // int64 player_id = 15;
  400. void clear_player_id();
  401. int64_t player_id() const;
  402. void set_player_id(int64_t value);
  403. private:
  404. int64_t _internal_player_id() const;
  405. void _internal_set_player_id(int64_t value);
  406. public:
  407. // int32 radius = 17;
  408. void clear_radius();
  409. int32_t radius() const;
  410. void set_radius(int32_t value);
  411. private:
  412. int32_t _internal_radius() const;
  413. void _internal_set_radius(int32_t value);
  414. public:
  415. // @@protoc_insertion_point(class_scope:protobuf.MessageOfHuman)
  416. private:
  417. class _Internal;
  418. template<typename T>
  419. friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  420. typedef void InternalArenaConstructable_;
  421. typedef void DestructorSkippable_;
  422. struct Impl_
  423. {
  424. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> buff_;
  425. mutable std::atomic<int> _buff_cached_byte_size_;
  426. int32_t x_;
  427. int32_t y_;
  428. int32_t speed_;
  429. int32_t life_;
  430. double time_until_skill_available_;
  431. int32_t hanged_time_;
  432. int place_;
  433. int prop_;
  434. int human_type_;
  435. int64_t guid_;
  436. double chair_time_;
  437. bool on_chair_;
  438. bool on_ground_;
  439. int32_t view_range_;
  440. double ground_time_;
  441. int64_t player_id_;
  442. int32_t radius_;
  443. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  444. };
  445. union
  446. {
  447. Impl_ _impl_;
  448. };
  449. friend struct ::TableStruct_Message2Clients_2eproto;
  450. };
  451. // -------------------------------------------------------------------
  452. class MessageOfButcher final :
  453. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfButcher) */
  454. {
  455. public:
  456. inline MessageOfButcher() :
  457. MessageOfButcher(nullptr)
  458. {
  459. }
  460. ~MessageOfButcher() override;
  461. explicit PROTOBUF_CONSTEXPR MessageOfButcher(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  462. MessageOfButcher(const MessageOfButcher& from);
  463. MessageOfButcher(MessageOfButcher&& from) noexcept
  464. :
  465. MessageOfButcher()
  466. {
  467. *this = ::std::move(from);
  468. }
  469. inline MessageOfButcher& operator=(const MessageOfButcher& from)
  470. {
  471. CopyFrom(from);
  472. return *this;
  473. }
  474. inline MessageOfButcher& operator=(MessageOfButcher&& from) noexcept
  475. {
  476. if (this == &from)
  477. return *this;
  478. if (GetOwningArena() == from.GetOwningArena()
  479. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  480. && GetOwningArena() != nullptr
  481. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  482. )
  483. {
  484. InternalSwap(&from);
  485. }
  486. else
  487. {
  488. CopyFrom(from);
  489. }
  490. return *this;
  491. }
  492. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
  493. {
  494. return GetDescriptor();
  495. }
  496. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
  497. {
  498. return default_instance().GetMetadata().descriptor;
  499. }
  500. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
  501. {
  502. return default_instance().GetMetadata().reflection;
  503. }
  504. static const MessageOfButcher& default_instance()
  505. {
  506. return *internal_default_instance();
  507. }
  508. static inline const MessageOfButcher* internal_default_instance()
  509. {
  510. return reinterpret_cast<const MessageOfButcher*>(
  511. &_MessageOfButcher_default_instance_
  512. );
  513. }
  514. static constexpr int kIndexInFileMessages =
  515. 1;
  516. friend void swap(MessageOfButcher& a, MessageOfButcher& b)
  517. {
  518. a.Swap(&b);
  519. }
  520. inline void Swap(MessageOfButcher* other)
  521. {
  522. if (other == this)
  523. return;
  524. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  525. if (GetOwningArena() != nullptr &&
  526. GetOwningArena() == other->GetOwningArena())
  527. {
  528. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  529. if (GetOwningArena() == other->GetOwningArena())
  530. {
  531. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  532. InternalSwap(other);
  533. }
  534. else
  535. {
  536. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  537. }
  538. }
  539. void UnsafeArenaSwap(MessageOfButcher* other)
  540. {
  541. if (other == this)
  542. return;
  543. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  544. InternalSwap(other);
  545. }
  546. // implements Message ----------------------------------------------
  547. MessageOfButcher* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
  548. {
  549. return CreateMaybeMessage<MessageOfButcher>(arena);
  550. }
  551. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  552. void CopyFrom(const MessageOfButcher& from);
  553. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  554. void MergeFrom(const MessageOfButcher& from)
  555. {
  556. MessageOfButcher::MergeImpl(*this, from);
  557. }
  558. private:
  559. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  560. public:
  561. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  562. bool IsInitialized() const final;
  563. size_t ByteSizeLong() const final;
  564. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  565. uint8_t* _InternalSerialize(
  566. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
  567. ) const final;
  568. int GetCachedSize() const final
  569. {
  570. return _impl_._cached_size_.Get();
  571. }
  572. private:
  573. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  574. void SharedDtor();
  575. void SetCachedSize(int size) const final;
  576. void InternalSwap(MessageOfButcher* other);
  577. private:
  578. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  579. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
  580. {
  581. return "protobuf.MessageOfButcher";
  582. }
  583. protected:
  584. explicit MessageOfButcher(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
  585. public:
  586. static const ClassData _class_data_;
  587. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
  588. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  589. // nested types ----------------------------------------------------
  590. // accessors -------------------------------------------------------
  591. enum : int
  592. {
  593. kBuffFieldNumber = 14,
  594. kXFieldNumber = 1,
  595. kYFieldNumber = 2,
  596. kSpeedFieldNumber = 3,
  597. kDamageFieldNumber = 4,
  598. kTimeUntilSkillAvailableFieldNumber = 5,
  599. kPlaceFieldNumber = 6,
  600. kPropFieldNumber = 7,
  601. kGuidFieldNumber = 9,
  602. kButcherTypeFieldNumber = 8,
  603. kMovableFieldNumber = 10,
  604. kPlayerIDFieldNumber = 11,
  605. kViewRangeFieldNumber = 12,
  606. kRadiusFieldNumber = 13,
  607. };
  608. // repeated .protobuf.ButcherBuffType buff = 14;
  609. int buff_size() const;
  610. private:
  611. int _internal_buff_size() const;
  612. public:
  613. void clear_buff();
  614. private:
  615. ::protobuf::ButcherBuffType _internal_buff(int index) const;
  616. void _internal_add_buff(::protobuf::ButcherBuffType value);
  617. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_buff();
  618. public:
  619. ::protobuf::ButcherBuffType buff(int index) const;
  620. void set_buff(int index, ::protobuf::ButcherBuffType value);
  621. void add_buff(::protobuf::ButcherBuffType value);
  622. const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& buff() const;
  623. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_buff();
  624. // int32 x = 1;
  625. void clear_x();
  626. int32_t x() const;
  627. void set_x(int32_t value);
  628. private:
  629. int32_t _internal_x() const;
  630. void _internal_set_x(int32_t value);
  631. public:
  632. // int32 y = 2;
  633. void clear_y();
  634. int32_t y() const;
  635. void set_y(int32_t value);
  636. private:
  637. int32_t _internal_y() const;
  638. void _internal_set_y(int32_t value);
  639. public:
  640. // int32 speed = 3;
  641. void clear_speed();
  642. int32_t speed() const;
  643. void set_speed(int32_t value);
  644. private:
  645. int32_t _internal_speed() const;
  646. void _internal_set_speed(int32_t value);
  647. public:
  648. // int32 damage = 4;
  649. void clear_damage();
  650. int32_t damage() const;
  651. void set_damage(int32_t value);
  652. private:
  653. int32_t _internal_damage() const;
  654. void _internal_set_damage(int32_t value);
  655. public:
  656. // double time_until_skill_available = 5;
  657. void clear_time_until_skill_available();
  658. double time_until_skill_available() const;
  659. void set_time_until_skill_available(double value);
  660. private:
  661. double _internal_time_until_skill_available() const;
  662. void _internal_set_time_until_skill_available(double value);
  663. public:
  664. // .protobuf.PlaceType place = 6;
  665. void clear_place();
  666. ::protobuf::PlaceType place() const;
  667. void set_place(::protobuf::PlaceType value);
  668. private:
  669. ::protobuf::PlaceType _internal_place() const;
  670. void _internal_set_place(::protobuf::PlaceType value);
  671. public:
  672. // .protobuf.PropType prop = 7;
  673. void clear_prop();
  674. ::protobuf::PropType prop() const;
  675. void set_prop(::protobuf::PropType value);
  676. private:
  677. ::protobuf::PropType _internal_prop() const;
  678. void _internal_set_prop(::protobuf::PropType value);
  679. public:
  680. // int64 guid = 9;
  681. void clear_guid();
  682. int64_t guid() const;
  683. void set_guid(int64_t value);
  684. private:
  685. int64_t _internal_guid() const;
  686. void _internal_set_guid(int64_t value);
  687. public:
  688. // .protobuf.ButcherType butcher_type = 8;
  689. void clear_butcher_type();
  690. ::protobuf::ButcherType butcher_type() const;
  691. void set_butcher_type(::protobuf::ButcherType value);
  692. private:
  693. ::protobuf::ButcherType _internal_butcher_type() const;
  694. void _internal_set_butcher_type(::protobuf::ButcherType value);
  695. public:
  696. // bool movable = 10;
  697. void clear_movable();
  698. bool movable() const;
  699. void set_movable(bool value);
  700. private:
  701. bool _internal_movable() const;
  702. void _internal_set_movable(bool value);
  703. public:
  704. // int64 playerID = 11;
  705. void clear_playerid();
  706. int64_t playerid() const;
  707. void set_playerid(int64_t value);
  708. private:
  709. int64_t _internal_playerid() const;
  710. void _internal_set_playerid(int64_t value);
  711. public:
  712. // int32 view_range = 12;
  713. void clear_view_range();
  714. int32_t view_range() const;
  715. void set_view_range(int32_t value);
  716. private:
  717. int32_t _internal_view_range() const;
  718. void _internal_set_view_range(int32_t value);
  719. public:
  720. // int32 radius = 13;
  721. void clear_radius();
  722. int32_t radius() const;
  723. void set_radius(int32_t value);
  724. private:
  725. int32_t _internal_radius() const;
  726. void _internal_set_radius(int32_t value);
  727. public:
  728. // @@protoc_insertion_point(class_scope:protobuf.MessageOfButcher)
  729. private:
  730. class _Internal;
  731. template<typename T>
  732. friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  733. typedef void InternalArenaConstructable_;
  734. typedef void DestructorSkippable_;
  735. struct Impl_
  736. {
  737. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> buff_;
  738. mutable std::atomic<int> _buff_cached_byte_size_;
  739. int32_t x_;
  740. int32_t y_;
  741. int32_t speed_;
  742. int32_t damage_;
  743. double time_until_skill_available_;
  744. int place_;
  745. int prop_;
  746. int64_t guid_;
  747. int butcher_type_;
  748. bool movable_;
  749. int64_t playerid_;
  750. int32_t view_range_;
  751. int32_t radius_;
  752. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  753. };
  754. union
  755. {
  756. Impl_ _impl_;
  757. };
  758. friend struct ::TableStruct_Message2Clients_2eproto;
  759. };
  760. // -------------------------------------------------------------------
  761. class MessageOfProp final :
  762. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfProp) */
  763. {
  764. public:
  765. inline MessageOfProp() :
  766. MessageOfProp(nullptr)
  767. {
  768. }
  769. ~MessageOfProp() override;
  770. explicit PROTOBUF_CONSTEXPR MessageOfProp(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  771. MessageOfProp(const MessageOfProp& from);
  772. MessageOfProp(MessageOfProp&& from) noexcept
  773. :
  774. MessageOfProp()
  775. {
  776. *this = ::std::move(from);
  777. }
  778. inline MessageOfProp& operator=(const MessageOfProp& from)
  779. {
  780. CopyFrom(from);
  781. return *this;
  782. }
  783. inline MessageOfProp& operator=(MessageOfProp&& from) noexcept
  784. {
  785. if (this == &from)
  786. return *this;
  787. if (GetOwningArena() == from.GetOwningArena()
  788. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  789. && GetOwningArena() != nullptr
  790. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  791. )
  792. {
  793. InternalSwap(&from);
  794. }
  795. else
  796. {
  797. CopyFrom(from);
  798. }
  799. return *this;
  800. }
  801. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
  802. {
  803. return GetDescriptor();
  804. }
  805. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
  806. {
  807. return default_instance().GetMetadata().descriptor;
  808. }
  809. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
  810. {
  811. return default_instance().GetMetadata().reflection;
  812. }
  813. static const MessageOfProp& default_instance()
  814. {
  815. return *internal_default_instance();
  816. }
  817. static inline const MessageOfProp* internal_default_instance()
  818. {
  819. return reinterpret_cast<const MessageOfProp*>(
  820. &_MessageOfProp_default_instance_
  821. );
  822. }
  823. static constexpr int kIndexInFileMessages =
  824. 2;
  825. friend void swap(MessageOfProp& a, MessageOfProp& b)
  826. {
  827. a.Swap(&b);
  828. }
  829. inline void Swap(MessageOfProp* other)
  830. {
  831. if (other == this)
  832. return;
  833. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  834. if (GetOwningArena() != nullptr &&
  835. GetOwningArena() == other->GetOwningArena())
  836. {
  837. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  838. if (GetOwningArena() == other->GetOwningArena())
  839. {
  840. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  841. InternalSwap(other);
  842. }
  843. else
  844. {
  845. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  846. }
  847. }
  848. void UnsafeArenaSwap(MessageOfProp* other)
  849. {
  850. if (other == this)
  851. return;
  852. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  853. InternalSwap(other);
  854. }
  855. // implements Message ----------------------------------------------
  856. MessageOfProp* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
  857. {
  858. return CreateMaybeMessage<MessageOfProp>(arena);
  859. }
  860. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  861. void CopyFrom(const MessageOfProp& from);
  862. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  863. void MergeFrom(const MessageOfProp& from)
  864. {
  865. MessageOfProp::MergeImpl(*this, from);
  866. }
  867. private:
  868. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  869. public:
  870. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  871. bool IsInitialized() const final;
  872. size_t ByteSizeLong() const final;
  873. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  874. uint8_t* _InternalSerialize(
  875. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
  876. ) const final;
  877. int GetCachedSize() const final
  878. {
  879. return _impl_._cached_size_.Get();
  880. }
  881. private:
  882. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  883. void SharedDtor();
  884. void SetCachedSize(int size) const final;
  885. void InternalSwap(MessageOfProp* other);
  886. private:
  887. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  888. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
  889. {
  890. return "protobuf.MessageOfProp";
  891. }
  892. protected:
  893. explicit MessageOfProp(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
  894. public:
  895. static const ClassData _class_data_;
  896. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
  897. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  898. // nested types ----------------------------------------------------
  899. // accessors -------------------------------------------------------
  900. enum : int
  901. {
  902. kTypeFieldNumber = 1,
  903. kXFieldNumber = 2,
  904. kFacingDirectionFieldNumber = 4,
  905. kYFieldNumber = 3,
  906. kPlaceFieldNumber = 6,
  907. kGuidFieldNumber = 5,
  908. kSizeFieldNumber = 7,
  909. kIsMovingFieldNumber = 8,
  910. };
  911. // .protobuf.PropType type = 1;
  912. void clear_type();
  913. ::protobuf::PropType type() const;
  914. void set_type(::protobuf::PropType value);
  915. private:
  916. ::protobuf::PropType _internal_type() const;
  917. void _internal_set_type(::protobuf::PropType value);
  918. public:
  919. // int32 x = 2;
  920. void clear_x();
  921. int32_t x() const;
  922. void set_x(int32_t value);
  923. private:
  924. int32_t _internal_x() const;
  925. void _internal_set_x(int32_t value);
  926. public:
  927. // double facing_direction = 4;
  928. void clear_facing_direction();
  929. double facing_direction() const;
  930. void set_facing_direction(double value);
  931. private:
  932. double _internal_facing_direction() const;
  933. void _internal_set_facing_direction(double value);
  934. public:
  935. // int32 y = 3;
  936. void clear_y();
  937. int32_t y() const;
  938. void set_y(int32_t value);
  939. private:
  940. int32_t _internal_y() const;
  941. void _internal_set_y(int32_t value);
  942. public:
  943. // .protobuf.PlaceType place = 6;
  944. void clear_place();
  945. ::protobuf::PlaceType place() const;
  946. void set_place(::protobuf::PlaceType value);
  947. private:
  948. ::protobuf::PlaceType _internal_place() const;
  949. void _internal_set_place(::protobuf::PlaceType value);
  950. public:
  951. // int64 guid = 5;
  952. void clear_guid();
  953. int64_t guid() const;
  954. void set_guid(int64_t value);
  955. private:
  956. int64_t _internal_guid() const;
  957. void _internal_set_guid(int64_t value);
  958. public:
  959. // int32 size = 7;
  960. void clear_size();
  961. int32_t size() const;
  962. void set_size(int32_t value);
  963. private:
  964. int32_t _internal_size() const;
  965. void _internal_set_size(int32_t value);
  966. public:
  967. // bool is_moving = 8;
  968. void clear_is_moving();
  969. bool is_moving() const;
  970. void set_is_moving(bool value);
  971. private:
  972. bool _internal_is_moving() const;
  973. void _internal_set_is_moving(bool value);
  974. public:
  975. // @@protoc_insertion_point(class_scope:protobuf.MessageOfProp)
  976. private:
  977. class _Internal;
  978. template<typename T>
  979. friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  980. typedef void InternalArenaConstructable_;
  981. typedef void DestructorSkippable_;
  982. struct Impl_
  983. {
  984. int type_;
  985. int32_t x_;
  986. double facing_direction_;
  987. int32_t y_;
  988. int place_;
  989. int64_t guid_;
  990. int32_t size_;
  991. bool is_moving_;
  992. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  993. };
  994. union
  995. {
  996. Impl_ _impl_;
  997. };
  998. friend struct ::TableStruct_Message2Clients_2eproto;
  999. };
  1000. // -------------------------------------------------------------------
  1001. class MessageOfPickedProp final :
  1002. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfPickedProp) */
  1003. {
  1004. public:
  1005. inline MessageOfPickedProp() :
  1006. MessageOfPickedProp(nullptr)
  1007. {
  1008. }
  1009. ~MessageOfPickedProp() override;
  1010. explicit PROTOBUF_CONSTEXPR MessageOfPickedProp(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1011. MessageOfPickedProp(const MessageOfPickedProp& from);
  1012. MessageOfPickedProp(MessageOfPickedProp&& from) noexcept
  1013. :
  1014. MessageOfPickedProp()
  1015. {
  1016. *this = ::std::move(from);
  1017. }
  1018. inline MessageOfPickedProp& operator=(const MessageOfPickedProp& from)
  1019. {
  1020. CopyFrom(from);
  1021. return *this;
  1022. }
  1023. inline MessageOfPickedProp& operator=(MessageOfPickedProp&& from) noexcept
  1024. {
  1025. if (this == &from)
  1026. return *this;
  1027. if (GetOwningArena() == from.GetOwningArena()
  1028. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1029. && GetOwningArena() != nullptr
  1030. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1031. )
  1032. {
  1033. InternalSwap(&from);
  1034. }
  1035. else
  1036. {
  1037. CopyFrom(from);
  1038. }
  1039. return *this;
  1040. }
  1041. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
  1042. {
  1043. return GetDescriptor();
  1044. }
  1045. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
  1046. {
  1047. return default_instance().GetMetadata().descriptor;
  1048. }
  1049. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
  1050. {
  1051. return default_instance().GetMetadata().reflection;
  1052. }
  1053. static const MessageOfPickedProp& default_instance()
  1054. {
  1055. return *internal_default_instance();
  1056. }
  1057. static inline const MessageOfPickedProp* internal_default_instance()
  1058. {
  1059. return reinterpret_cast<const MessageOfPickedProp*>(
  1060. &_MessageOfPickedProp_default_instance_
  1061. );
  1062. }
  1063. static constexpr int kIndexInFileMessages =
  1064. 3;
  1065. friend void swap(MessageOfPickedProp& a, MessageOfPickedProp& b)
  1066. {
  1067. a.Swap(&b);
  1068. }
  1069. inline void Swap(MessageOfPickedProp* other)
  1070. {
  1071. if (other == this)
  1072. return;
  1073. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1074. if (GetOwningArena() != nullptr &&
  1075. GetOwningArena() == other->GetOwningArena())
  1076. {
  1077. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1078. if (GetOwningArena() == other->GetOwningArena())
  1079. {
  1080. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1081. InternalSwap(other);
  1082. }
  1083. else
  1084. {
  1085. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1086. }
  1087. }
  1088. void UnsafeArenaSwap(MessageOfPickedProp* other)
  1089. {
  1090. if (other == this)
  1091. return;
  1092. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1093. InternalSwap(other);
  1094. }
  1095. // implements Message ----------------------------------------------
  1096. MessageOfPickedProp* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
  1097. {
  1098. return CreateMaybeMessage<MessageOfPickedProp>(arena);
  1099. }
  1100. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1101. void CopyFrom(const MessageOfPickedProp& from);
  1102. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1103. void MergeFrom(const MessageOfPickedProp& from)
  1104. {
  1105. MessageOfPickedProp::MergeImpl(*this, from);
  1106. }
  1107. private:
  1108. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  1109. public:
  1110. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1111. bool IsInitialized() const final;
  1112. size_t ByteSizeLong() const final;
  1113. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1114. uint8_t* _InternalSerialize(
  1115. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
  1116. ) const final;
  1117. int GetCachedSize() const final
  1118. {
  1119. return _impl_._cached_size_.Get();
  1120. }
  1121. private:
  1122. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  1123. void SharedDtor();
  1124. void SetCachedSize(int size) const final;
  1125. void InternalSwap(MessageOfPickedProp* other);
  1126. private:
  1127. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1128. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
  1129. {
  1130. return "protobuf.MessageOfPickedProp";
  1131. }
  1132. protected:
  1133. explicit MessageOfPickedProp(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
  1134. public:
  1135. static const ClassData _class_data_;
  1136. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
  1137. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1138. // nested types ----------------------------------------------------
  1139. // accessors -------------------------------------------------------
  1140. enum : int
  1141. {
  1142. kTypeFieldNumber = 1,
  1143. kXFieldNumber = 2,
  1144. kFacingDirectionFieldNumber = 4,
  1145. kMappingIdFieldNumber = 5,
  1146. kYFieldNumber = 3,
  1147. };
  1148. // .protobuf.PropType type = 1;
  1149. void clear_type();
  1150. ::protobuf::PropType type() const;
  1151. void set_type(::protobuf::PropType value);
  1152. private:
  1153. ::protobuf::PropType _internal_type() const;
  1154. void _internal_set_type(::protobuf::PropType value);
  1155. public:
  1156. // int32 x = 2;
  1157. void clear_x();
  1158. int32_t x() const;
  1159. void set_x(int32_t value);
  1160. private:
  1161. int32_t _internal_x() const;
  1162. void _internal_set_x(int32_t value);
  1163. public:
  1164. // double facing_direction = 4;
  1165. void clear_facing_direction();
  1166. double facing_direction() const;
  1167. void set_facing_direction(double value);
  1168. private:
  1169. double _internal_facing_direction() const;
  1170. void _internal_set_facing_direction(double value);
  1171. public:
  1172. // int64 mapping_id = 5;
  1173. void clear_mapping_id();
  1174. int64_t mapping_id() const;
  1175. void set_mapping_id(int64_t value);
  1176. private:
  1177. int64_t _internal_mapping_id() const;
  1178. void _internal_set_mapping_id(int64_t value);
  1179. public:
  1180. // int32 y = 3;
  1181. void clear_y();
  1182. int32_t y() const;
  1183. void set_y(int32_t value);
  1184. private:
  1185. int32_t _internal_y() const;
  1186. void _internal_set_y(int32_t value);
  1187. public:
  1188. // @@protoc_insertion_point(class_scope:protobuf.MessageOfPickedProp)
  1189. private:
  1190. class _Internal;
  1191. template<typename T>
  1192. friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1193. typedef void InternalArenaConstructable_;
  1194. typedef void DestructorSkippable_;
  1195. struct Impl_
  1196. {
  1197. int type_;
  1198. int32_t x_;
  1199. double facing_direction_;
  1200. int64_t mapping_id_;
  1201. int32_t y_;
  1202. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1203. };
  1204. union
  1205. {
  1206. Impl_ _impl_;
  1207. };
  1208. friend struct ::TableStruct_Message2Clients_2eproto;
  1209. };
  1210. // -------------------------------------------------------------------
  1211. class MessageOfMap_Row final :
  1212. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfMap.Row) */
  1213. {
  1214. public:
  1215. inline MessageOfMap_Row() :
  1216. MessageOfMap_Row(nullptr)
  1217. {
  1218. }
  1219. ~MessageOfMap_Row() override;
  1220. explicit PROTOBUF_CONSTEXPR MessageOfMap_Row(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1221. MessageOfMap_Row(const MessageOfMap_Row& from);
  1222. MessageOfMap_Row(MessageOfMap_Row&& from) noexcept
  1223. :
  1224. MessageOfMap_Row()
  1225. {
  1226. *this = ::std::move(from);
  1227. }
  1228. inline MessageOfMap_Row& operator=(const MessageOfMap_Row& from)
  1229. {
  1230. CopyFrom(from);
  1231. return *this;
  1232. }
  1233. inline MessageOfMap_Row& operator=(MessageOfMap_Row&& from) noexcept
  1234. {
  1235. if (this == &from)
  1236. return *this;
  1237. if (GetOwningArena() == from.GetOwningArena()
  1238. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1239. && GetOwningArena() != nullptr
  1240. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1241. )
  1242. {
  1243. InternalSwap(&from);
  1244. }
  1245. else
  1246. {
  1247. CopyFrom(from);
  1248. }
  1249. return *this;
  1250. }
  1251. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
  1252. {
  1253. return GetDescriptor();
  1254. }
  1255. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
  1256. {
  1257. return default_instance().GetMetadata().descriptor;
  1258. }
  1259. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
  1260. {
  1261. return default_instance().GetMetadata().reflection;
  1262. }
  1263. static const MessageOfMap_Row& default_instance()
  1264. {
  1265. return *internal_default_instance();
  1266. }
  1267. static inline const MessageOfMap_Row* internal_default_instance()
  1268. {
  1269. return reinterpret_cast<const MessageOfMap_Row*>(
  1270. &_MessageOfMap_Row_default_instance_
  1271. );
  1272. }
  1273. static constexpr int kIndexInFileMessages =
  1274. 4;
  1275. friend void swap(MessageOfMap_Row& a, MessageOfMap_Row& b)
  1276. {
  1277. a.Swap(&b);
  1278. }
  1279. inline void Swap(MessageOfMap_Row* other)
  1280. {
  1281. if (other == this)
  1282. return;
  1283. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1284. if (GetOwningArena() != nullptr &&
  1285. GetOwningArena() == other->GetOwningArena())
  1286. {
  1287. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1288. if (GetOwningArena() == other->GetOwningArena())
  1289. {
  1290. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1291. InternalSwap(other);
  1292. }
  1293. else
  1294. {
  1295. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1296. }
  1297. }
  1298. void UnsafeArenaSwap(MessageOfMap_Row* other)
  1299. {
  1300. if (other == this)
  1301. return;
  1302. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1303. InternalSwap(other);
  1304. }
  1305. // implements Message ----------------------------------------------
  1306. MessageOfMap_Row* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
  1307. {
  1308. return CreateMaybeMessage<MessageOfMap_Row>(arena);
  1309. }
  1310. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1311. void CopyFrom(const MessageOfMap_Row& from);
  1312. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1313. void MergeFrom(const MessageOfMap_Row& from)
  1314. {
  1315. MessageOfMap_Row::MergeImpl(*this, from);
  1316. }
  1317. private:
  1318. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  1319. public:
  1320. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1321. bool IsInitialized() const final;
  1322. size_t ByteSizeLong() const final;
  1323. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1324. uint8_t* _InternalSerialize(
  1325. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
  1326. ) const final;
  1327. int GetCachedSize() const final
  1328. {
  1329. return _impl_._cached_size_.Get();
  1330. }
  1331. private:
  1332. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  1333. void SharedDtor();
  1334. void SetCachedSize(int size) const final;
  1335. void InternalSwap(MessageOfMap_Row* other);
  1336. private:
  1337. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1338. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
  1339. {
  1340. return "protobuf.MessageOfMap.Row";
  1341. }
  1342. protected:
  1343. explicit MessageOfMap_Row(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
  1344. public:
  1345. static const ClassData _class_data_;
  1346. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
  1347. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1348. // nested types ----------------------------------------------------
  1349. // accessors -------------------------------------------------------
  1350. enum : int
  1351. {
  1352. kColFieldNumber = 1,
  1353. };
  1354. // repeated .protobuf.PlaceType col = 1;
  1355. int col_size() const;
  1356. private:
  1357. int _internal_col_size() const;
  1358. public:
  1359. void clear_col();
  1360. private:
  1361. ::protobuf::PlaceType _internal_col(int index) const;
  1362. void _internal_add_col(::protobuf::PlaceType value);
  1363. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_col();
  1364. public:
  1365. ::protobuf::PlaceType col(int index) const;
  1366. void set_col(int index, ::protobuf::PlaceType value);
  1367. void add_col(::protobuf::PlaceType value);
  1368. const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& col() const;
  1369. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_col();
  1370. // @@protoc_insertion_point(class_scope:protobuf.MessageOfMap.Row)
  1371. private:
  1372. class _Internal;
  1373. template<typename T>
  1374. friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1375. typedef void InternalArenaConstructable_;
  1376. typedef void DestructorSkippable_;
  1377. struct Impl_
  1378. {
  1379. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> col_;
  1380. mutable std::atomic<int> _col_cached_byte_size_;
  1381. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1382. };
  1383. union
  1384. {
  1385. Impl_ _impl_;
  1386. };
  1387. friend struct ::TableStruct_Message2Clients_2eproto;
  1388. };
  1389. // -------------------------------------------------------------------
  1390. class MessageOfMap final :
  1391. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfMap) */
  1392. {
  1393. public:
  1394. inline MessageOfMap() :
  1395. MessageOfMap(nullptr)
  1396. {
  1397. }
  1398. ~MessageOfMap() override;
  1399. explicit PROTOBUF_CONSTEXPR MessageOfMap(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1400. MessageOfMap(const MessageOfMap& from);
  1401. MessageOfMap(MessageOfMap&& from) noexcept
  1402. :
  1403. MessageOfMap()
  1404. {
  1405. *this = ::std::move(from);
  1406. }
  1407. inline MessageOfMap& operator=(const MessageOfMap& from)
  1408. {
  1409. CopyFrom(from);
  1410. return *this;
  1411. }
  1412. inline MessageOfMap& operator=(MessageOfMap&& from) noexcept
  1413. {
  1414. if (this == &from)
  1415. return *this;
  1416. if (GetOwningArena() == from.GetOwningArena()
  1417. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1418. && GetOwningArena() != nullptr
  1419. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1420. )
  1421. {
  1422. InternalSwap(&from);
  1423. }
  1424. else
  1425. {
  1426. CopyFrom(from);
  1427. }
  1428. return *this;
  1429. }
  1430. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
  1431. {
  1432. return GetDescriptor();
  1433. }
  1434. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
  1435. {
  1436. return default_instance().GetMetadata().descriptor;
  1437. }
  1438. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
  1439. {
  1440. return default_instance().GetMetadata().reflection;
  1441. }
  1442. static const MessageOfMap& default_instance()
  1443. {
  1444. return *internal_default_instance();
  1445. }
  1446. static inline const MessageOfMap* internal_default_instance()
  1447. {
  1448. return reinterpret_cast<const MessageOfMap*>(
  1449. &_MessageOfMap_default_instance_
  1450. );
  1451. }
  1452. static constexpr int kIndexInFileMessages =
  1453. 5;
  1454. friend void swap(MessageOfMap& a, MessageOfMap& b)
  1455. {
  1456. a.Swap(&b);
  1457. }
  1458. inline void Swap(MessageOfMap* other)
  1459. {
  1460. if (other == this)
  1461. return;
  1462. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1463. if (GetOwningArena() != nullptr &&
  1464. GetOwningArena() == other->GetOwningArena())
  1465. {
  1466. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1467. if (GetOwningArena() == other->GetOwningArena())
  1468. {
  1469. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1470. InternalSwap(other);
  1471. }
  1472. else
  1473. {
  1474. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1475. }
  1476. }
  1477. void UnsafeArenaSwap(MessageOfMap* other)
  1478. {
  1479. if (other == this)
  1480. return;
  1481. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1482. InternalSwap(other);
  1483. }
  1484. // implements Message ----------------------------------------------
  1485. MessageOfMap* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
  1486. {
  1487. return CreateMaybeMessage<MessageOfMap>(arena);
  1488. }
  1489. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1490. void CopyFrom(const MessageOfMap& from);
  1491. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1492. void MergeFrom(const MessageOfMap& from)
  1493. {
  1494. MessageOfMap::MergeImpl(*this, from);
  1495. }
  1496. private:
  1497. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  1498. public:
  1499. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1500. bool IsInitialized() const final;
  1501. size_t ByteSizeLong() const final;
  1502. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1503. uint8_t* _InternalSerialize(
  1504. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
  1505. ) const final;
  1506. int GetCachedSize() const final
  1507. {
  1508. return _impl_._cached_size_.Get();
  1509. }
  1510. private:
  1511. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  1512. void SharedDtor();
  1513. void SetCachedSize(int size) const final;
  1514. void InternalSwap(MessageOfMap* other);
  1515. private:
  1516. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1517. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
  1518. {
  1519. return "protobuf.MessageOfMap";
  1520. }
  1521. protected:
  1522. explicit MessageOfMap(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
  1523. public:
  1524. static const ClassData _class_data_;
  1525. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
  1526. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1527. // nested types ----------------------------------------------------
  1528. typedef MessageOfMap_Row Row;
  1529. // accessors -------------------------------------------------------
  1530. enum : int
  1531. {
  1532. kRowFieldNumber = 2,
  1533. };
  1534. // repeated .protobuf.MessageOfMap.Row row = 2;
  1535. int row_size() const;
  1536. private:
  1537. int _internal_row_size() const;
  1538. public:
  1539. void clear_row();
  1540. ::protobuf::MessageOfMap_Row* mutable_row(int index);
  1541. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfMap_Row>*
  1542. mutable_row();
  1543. private:
  1544. const ::protobuf::MessageOfMap_Row& _internal_row(int index) const;
  1545. ::protobuf::MessageOfMap_Row* _internal_add_row();
  1546. public:
  1547. const ::protobuf::MessageOfMap_Row& row(int index) const;
  1548. ::protobuf::MessageOfMap_Row* add_row();
  1549. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfMap_Row>&
  1550. row() const;
  1551. // @@protoc_insertion_point(class_scope:protobuf.MessageOfMap)
  1552. private:
  1553. class _Internal;
  1554. template<typename T>
  1555. friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1556. typedef void InternalArenaConstructable_;
  1557. typedef void DestructorSkippable_;
  1558. struct Impl_
  1559. {
  1560. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfMap_Row> row_;
  1561. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1562. };
  1563. union
  1564. {
  1565. Impl_ _impl_;
  1566. };
  1567. friend struct ::TableStruct_Message2Clients_2eproto;
  1568. };
  1569. // -------------------------------------------------------------------
  1570. class MessageToClient final :
  1571. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageToClient) */
  1572. {
  1573. public:
  1574. inline MessageToClient() :
  1575. MessageToClient(nullptr)
  1576. {
  1577. }
  1578. ~MessageToClient() override;
  1579. explicit PROTOBUF_CONSTEXPR MessageToClient(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1580. MessageToClient(const MessageToClient& from);
  1581. MessageToClient(MessageToClient&& from) noexcept
  1582. :
  1583. MessageToClient()
  1584. {
  1585. *this = ::std::move(from);
  1586. }
  1587. inline MessageToClient& operator=(const MessageToClient& from)
  1588. {
  1589. CopyFrom(from);
  1590. return *this;
  1591. }
  1592. inline MessageToClient& operator=(MessageToClient&& from) noexcept
  1593. {
  1594. if (this == &from)
  1595. return *this;
  1596. if (GetOwningArena() == from.GetOwningArena()
  1597. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1598. && GetOwningArena() != nullptr
  1599. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1600. )
  1601. {
  1602. InternalSwap(&from);
  1603. }
  1604. else
  1605. {
  1606. CopyFrom(from);
  1607. }
  1608. return *this;
  1609. }
  1610. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
  1611. {
  1612. return GetDescriptor();
  1613. }
  1614. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
  1615. {
  1616. return default_instance().GetMetadata().descriptor;
  1617. }
  1618. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
  1619. {
  1620. return default_instance().GetMetadata().reflection;
  1621. }
  1622. static const MessageToClient& default_instance()
  1623. {
  1624. return *internal_default_instance();
  1625. }
  1626. static inline const MessageToClient* internal_default_instance()
  1627. {
  1628. return reinterpret_cast<const MessageToClient*>(
  1629. &_MessageToClient_default_instance_
  1630. );
  1631. }
  1632. static constexpr int kIndexInFileMessages =
  1633. 6;
  1634. friend void swap(MessageToClient& a, MessageToClient& b)
  1635. {
  1636. a.Swap(&b);
  1637. }
  1638. inline void Swap(MessageToClient* other)
  1639. {
  1640. if (other == this)
  1641. return;
  1642. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1643. if (GetOwningArena() != nullptr &&
  1644. GetOwningArena() == other->GetOwningArena())
  1645. {
  1646. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1647. if (GetOwningArena() == other->GetOwningArena())
  1648. {
  1649. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1650. InternalSwap(other);
  1651. }
  1652. else
  1653. {
  1654. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1655. }
  1656. }
  1657. void UnsafeArenaSwap(MessageToClient* other)
  1658. {
  1659. if (other == this)
  1660. return;
  1661. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1662. InternalSwap(other);
  1663. }
  1664. // implements Message ----------------------------------------------
  1665. MessageToClient* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
  1666. {
  1667. return CreateMaybeMessage<MessageToClient>(arena);
  1668. }
  1669. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1670. void CopyFrom(const MessageToClient& from);
  1671. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1672. void MergeFrom(const MessageToClient& from)
  1673. {
  1674. MessageToClient::MergeImpl(*this, from);
  1675. }
  1676. private:
  1677. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  1678. public:
  1679. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1680. bool IsInitialized() const final;
  1681. size_t ByteSizeLong() const final;
  1682. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1683. uint8_t* _InternalSerialize(
  1684. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
  1685. ) const final;
  1686. int GetCachedSize() const final
  1687. {
  1688. return _impl_._cached_size_.Get();
  1689. }
  1690. private:
  1691. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  1692. void SharedDtor();
  1693. void SetCachedSize(int size) const final;
  1694. void InternalSwap(MessageToClient* other);
  1695. private:
  1696. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1697. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
  1698. {
  1699. return "protobuf.MessageToClient";
  1700. }
  1701. protected:
  1702. explicit MessageToClient(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
  1703. public:
  1704. static const ClassData _class_data_;
  1705. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
  1706. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1707. // nested types ----------------------------------------------------
  1708. // accessors -------------------------------------------------------
  1709. enum : int
  1710. {
  1711. kHumanMessageFieldNumber = 1,
  1712. kButcherMessageFieldNumber = 2,
  1713. kPropMessageFieldNumber = 3,
  1714. kMapMassageFieldNumber = 4,
  1715. };
  1716. // repeated .protobuf.MessageOfHuman human_message = 1;
  1717. int human_message_size() const;
  1718. private:
  1719. int _internal_human_message_size() const;
  1720. public:
  1721. void clear_human_message();
  1722. ::protobuf::MessageOfHuman* mutable_human_message(int index);
  1723. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfHuman>*
  1724. mutable_human_message();
  1725. private:
  1726. const ::protobuf::MessageOfHuman& _internal_human_message(int index) const;
  1727. ::protobuf::MessageOfHuman* _internal_add_human_message();
  1728. public:
  1729. const ::protobuf::MessageOfHuman& human_message(int index) const;
  1730. ::protobuf::MessageOfHuman* add_human_message();
  1731. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfHuman>&
  1732. human_message() const;
  1733. // repeated .protobuf.MessageOfButcher butcher_message = 2;
  1734. int butcher_message_size() const;
  1735. private:
  1736. int _internal_butcher_message_size() const;
  1737. public:
  1738. void clear_butcher_message();
  1739. ::protobuf::MessageOfButcher* mutable_butcher_message(int index);
  1740. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfButcher>*
  1741. mutable_butcher_message();
  1742. private:
  1743. const ::protobuf::MessageOfButcher& _internal_butcher_message(int index) const;
  1744. ::protobuf::MessageOfButcher* _internal_add_butcher_message();
  1745. public:
  1746. const ::protobuf::MessageOfButcher& butcher_message(int index) const;
  1747. ::protobuf::MessageOfButcher* add_butcher_message();
  1748. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfButcher>&
  1749. butcher_message() const;
  1750. // repeated .protobuf.MessageOfProp prop_message = 3;
  1751. int prop_message_size() const;
  1752. private:
  1753. int _internal_prop_message_size() const;
  1754. public:
  1755. void clear_prop_message();
  1756. ::protobuf::MessageOfProp* mutable_prop_message(int index);
  1757. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfProp>*
  1758. mutable_prop_message();
  1759. private:
  1760. const ::protobuf::MessageOfProp& _internal_prop_message(int index) const;
  1761. ::protobuf::MessageOfProp* _internal_add_prop_message();
  1762. public:
  1763. const ::protobuf::MessageOfProp& prop_message(int index) const;
  1764. ::protobuf::MessageOfProp* add_prop_message();
  1765. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfProp>&
  1766. prop_message() const;
  1767. // .protobuf.MessageOfMap map_massage = 4;
  1768. bool has_map_massage() const;
  1769. private:
  1770. bool _internal_has_map_massage() const;
  1771. public:
  1772. void clear_map_massage();
  1773. const ::protobuf::MessageOfMap& map_massage() const;
  1774. PROTOBUF_NODISCARD ::protobuf::MessageOfMap* release_map_massage();
  1775. ::protobuf::MessageOfMap* mutable_map_massage();
  1776. void set_allocated_map_massage(::protobuf::MessageOfMap* map_massage);
  1777. private:
  1778. const ::protobuf::MessageOfMap& _internal_map_massage() const;
  1779. ::protobuf::MessageOfMap* _internal_mutable_map_massage();
  1780. public:
  1781. void unsafe_arena_set_allocated_map_massage(
  1782. ::protobuf::MessageOfMap* map_massage
  1783. );
  1784. ::protobuf::MessageOfMap* unsafe_arena_release_map_massage();
  1785. // @@protoc_insertion_point(class_scope:protobuf.MessageToClient)
  1786. private:
  1787. class _Internal;
  1788. template<typename T>
  1789. friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1790. typedef void InternalArenaConstructable_;
  1791. typedef void DestructorSkippable_;
  1792. struct Impl_
  1793. {
  1794. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfHuman> human_message_;
  1795. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfButcher> butcher_message_;
  1796. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfProp> prop_message_;
  1797. ::protobuf::MessageOfMap* map_massage_;
  1798. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1799. };
  1800. union
  1801. {
  1802. Impl_ _impl_;
  1803. };
  1804. friend struct ::TableStruct_Message2Clients_2eproto;
  1805. };
  1806. // -------------------------------------------------------------------
  1807. class MoveRes final :
  1808. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MoveRes) */
  1809. {
  1810. public:
  1811. inline MoveRes() :
  1812. MoveRes(nullptr)
  1813. {
  1814. }
  1815. ~MoveRes() override;
  1816. explicit PROTOBUF_CONSTEXPR MoveRes(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1817. MoveRes(const MoveRes& from);
  1818. MoveRes(MoveRes&& from) noexcept
  1819. :
  1820. MoveRes()
  1821. {
  1822. *this = ::std::move(from);
  1823. }
  1824. inline MoveRes& operator=(const MoveRes& from)
  1825. {
  1826. CopyFrom(from);
  1827. return *this;
  1828. }
  1829. inline MoveRes& operator=(MoveRes&& from) noexcept
  1830. {
  1831. if (this == &from)
  1832. return *this;
  1833. if (GetOwningArena() == from.GetOwningArena()
  1834. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1835. && GetOwningArena() != nullptr
  1836. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1837. )
  1838. {
  1839. InternalSwap(&from);
  1840. }
  1841. else
  1842. {
  1843. CopyFrom(from);
  1844. }
  1845. return *this;
  1846. }
  1847. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
  1848. {
  1849. return GetDescriptor();
  1850. }
  1851. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
  1852. {
  1853. return default_instance().GetMetadata().descriptor;
  1854. }
  1855. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
  1856. {
  1857. return default_instance().GetMetadata().reflection;
  1858. }
  1859. static const MoveRes& default_instance()
  1860. {
  1861. return *internal_default_instance();
  1862. }
  1863. static inline const MoveRes* internal_default_instance()
  1864. {
  1865. return reinterpret_cast<const MoveRes*>(
  1866. &_MoveRes_default_instance_
  1867. );
  1868. }
  1869. static constexpr int kIndexInFileMessages =
  1870. 7;
  1871. friend void swap(MoveRes& a, MoveRes& b)
  1872. {
  1873. a.Swap(&b);
  1874. }
  1875. inline void Swap(MoveRes* other)
  1876. {
  1877. if (other == this)
  1878. return;
  1879. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1880. if (GetOwningArena() != nullptr &&
  1881. GetOwningArena() == other->GetOwningArena())
  1882. {
  1883. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1884. if (GetOwningArena() == other->GetOwningArena())
  1885. {
  1886. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1887. InternalSwap(other);
  1888. }
  1889. else
  1890. {
  1891. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1892. }
  1893. }
  1894. void UnsafeArenaSwap(MoveRes* other)
  1895. {
  1896. if (other == this)
  1897. return;
  1898. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1899. InternalSwap(other);
  1900. }
  1901. // implements Message ----------------------------------------------
  1902. MoveRes* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
  1903. {
  1904. return CreateMaybeMessage<MoveRes>(arena);
  1905. }
  1906. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1907. void CopyFrom(const MoveRes& from);
  1908. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1909. void MergeFrom(const MoveRes& from)
  1910. {
  1911. MoveRes::MergeImpl(*this, from);
  1912. }
  1913. private:
  1914. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  1915. public:
  1916. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1917. bool IsInitialized() const final;
  1918. size_t ByteSizeLong() const final;
  1919. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1920. uint8_t* _InternalSerialize(
  1921. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
  1922. ) const final;
  1923. int GetCachedSize() const final
  1924. {
  1925. return _impl_._cached_size_.Get();
  1926. }
  1927. private:
  1928. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  1929. void SharedDtor();
  1930. void SetCachedSize(int size) const final;
  1931. void InternalSwap(MoveRes* other);
  1932. private:
  1933. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1934. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
  1935. {
  1936. return "protobuf.MoveRes";
  1937. }
  1938. protected:
  1939. explicit MoveRes(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
  1940. public:
  1941. static const ClassData _class_data_;
  1942. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
  1943. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1944. // nested types ----------------------------------------------------
  1945. // accessors -------------------------------------------------------
  1946. enum : int
  1947. {
  1948. kActualSpeedFieldNumber = 1,
  1949. kActualAngleFieldNumber = 2,
  1950. };
  1951. // int64 actual_speed = 1;
  1952. void clear_actual_speed();
  1953. int64_t actual_speed() const;
  1954. void set_actual_speed(int64_t value);
  1955. private:
  1956. int64_t _internal_actual_speed() const;
  1957. void _internal_set_actual_speed(int64_t value);
  1958. public:
  1959. // double actual_angle = 2;
  1960. void clear_actual_angle();
  1961. double actual_angle() const;
  1962. void set_actual_angle(double value);
  1963. private:
  1964. double _internal_actual_angle() const;
  1965. void _internal_set_actual_angle(double value);
  1966. public:
  1967. // @@protoc_insertion_point(class_scope:protobuf.MoveRes)
  1968. private:
  1969. class _Internal;
  1970. template<typename T>
  1971. friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1972. typedef void InternalArenaConstructable_;
  1973. typedef void DestructorSkippable_;
  1974. struct Impl_
  1975. {
  1976. int64_t actual_speed_;
  1977. double actual_angle_;
  1978. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1979. };
  1980. union
  1981. {
  1982. Impl_ _impl_;
  1983. };
  1984. friend struct ::TableStruct_Message2Clients_2eproto;
  1985. };
  1986. // -------------------------------------------------------------------
  1987. class BoolRes final :
  1988. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.BoolRes) */
  1989. {
  1990. public:
  1991. inline BoolRes() :
  1992. BoolRes(nullptr)
  1993. {
  1994. }
  1995. ~BoolRes() override;
  1996. explicit PROTOBUF_CONSTEXPR BoolRes(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1997. BoolRes(const BoolRes& from);
  1998. BoolRes(BoolRes&& from) noexcept
  1999. :
  2000. BoolRes()
  2001. {
  2002. *this = ::std::move(from);
  2003. }
  2004. inline BoolRes& operator=(const BoolRes& from)
  2005. {
  2006. CopyFrom(from);
  2007. return *this;
  2008. }
  2009. inline BoolRes& operator=(BoolRes&& from) noexcept
  2010. {
  2011. if (this == &from)
  2012. return *this;
  2013. if (GetOwningArena() == from.GetOwningArena()
  2014. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2015. && GetOwningArena() != nullptr
  2016. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2017. )
  2018. {
  2019. InternalSwap(&from);
  2020. }
  2021. else
  2022. {
  2023. CopyFrom(from);
  2024. }
  2025. return *this;
  2026. }
  2027. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
  2028. {
  2029. return GetDescriptor();
  2030. }
  2031. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
  2032. {
  2033. return default_instance().GetMetadata().descriptor;
  2034. }
  2035. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
  2036. {
  2037. return default_instance().GetMetadata().reflection;
  2038. }
  2039. static const BoolRes& default_instance()
  2040. {
  2041. return *internal_default_instance();
  2042. }
  2043. static inline const BoolRes* internal_default_instance()
  2044. {
  2045. return reinterpret_cast<const BoolRes*>(
  2046. &_BoolRes_default_instance_
  2047. );
  2048. }
  2049. static constexpr int kIndexInFileMessages =
  2050. 8;
  2051. friend void swap(BoolRes& a, BoolRes& b)
  2052. {
  2053. a.Swap(&b);
  2054. }
  2055. inline void Swap(BoolRes* other)
  2056. {
  2057. if (other == this)
  2058. return;
  2059. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2060. if (GetOwningArena() != nullptr &&
  2061. GetOwningArena() == other->GetOwningArena())
  2062. {
  2063. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2064. if (GetOwningArena() == other->GetOwningArena())
  2065. {
  2066. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2067. InternalSwap(other);
  2068. }
  2069. else
  2070. {
  2071. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2072. }
  2073. }
  2074. void UnsafeArenaSwap(BoolRes* other)
  2075. {
  2076. if (other == this)
  2077. return;
  2078. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2079. InternalSwap(other);
  2080. }
  2081. // implements Message ----------------------------------------------
  2082. BoolRes* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
  2083. {
  2084. return CreateMaybeMessage<BoolRes>(arena);
  2085. }
  2086. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2087. void CopyFrom(const BoolRes& from);
  2088. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2089. void MergeFrom(const BoolRes& from)
  2090. {
  2091. BoolRes::MergeImpl(*this, from);
  2092. }
  2093. private:
  2094. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  2095. public:
  2096. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2097. bool IsInitialized() const final;
  2098. size_t ByteSizeLong() const final;
  2099. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2100. uint8_t* _InternalSerialize(
  2101. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
  2102. ) const final;
  2103. int GetCachedSize() const final
  2104. {
  2105. return _impl_._cached_size_.Get();
  2106. }
  2107. private:
  2108. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  2109. void SharedDtor();
  2110. void SetCachedSize(int size) const final;
  2111. void InternalSwap(BoolRes* other);
  2112. private:
  2113. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2114. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
  2115. {
  2116. return "protobuf.BoolRes";
  2117. }
  2118. protected:
  2119. explicit BoolRes(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
  2120. public:
  2121. static const ClassData _class_data_;
  2122. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
  2123. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2124. // nested types ----------------------------------------------------
  2125. // accessors -------------------------------------------------------
  2126. enum : int
  2127. {
  2128. kActSuccessFieldNumber = 1,
  2129. };
  2130. // bool act_success = 1;
  2131. void clear_act_success();
  2132. bool act_success() const;
  2133. void set_act_success(bool value);
  2134. private:
  2135. bool _internal_act_success() const;
  2136. void _internal_set_act_success(bool value);
  2137. public:
  2138. // @@protoc_insertion_point(class_scope:protobuf.BoolRes)
  2139. private:
  2140. class _Internal;
  2141. template<typename T>
  2142. friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2143. typedef void InternalArenaConstructable_;
  2144. typedef void DestructorSkippable_;
  2145. struct Impl_
  2146. {
  2147. bool act_success_;
  2148. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2149. };
  2150. union
  2151. {
  2152. Impl_ _impl_;
  2153. };
  2154. friend struct ::TableStruct_Message2Clients_2eproto;
  2155. };
  2156. // -------------------------------------------------------------------
  2157. class MsgRes final :
  2158. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MsgRes) */
  2159. {
  2160. public:
  2161. inline MsgRes() :
  2162. MsgRes(nullptr)
  2163. {
  2164. }
  2165. ~MsgRes() override;
  2166. explicit PROTOBUF_CONSTEXPR MsgRes(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2167. MsgRes(const MsgRes& from);
  2168. MsgRes(MsgRes&& from) noexcept
  2169. :
  2170. MsgRes()
  2171. {
  2172. *this = ::std::move(from);
  2173. }
  2174. inline MsgRes& operator=(const MsgRes& from)
  2175. {
  2176. CopyFrom(from);
  2177. return *this;
  2178. }
  2179. inline MsgRes& operator=(MsgRes&& from) noexcept
  2180. {
  2181. if (this == &from)
  2182. return *this;
  2183. if (GetOwningArena() == from.GetOwningArena()
  2184. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2185. && GetOwningArena() != nullptr
  2186. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2187. )
  2188. {
  2189. InternalSwap(&from);
  2190. }
  2191. else
  2192. {
  2193. CopyFrom(from);
  2194. }
  2195. return *this;
  2196. }
  2197. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
  2198. {
  2199. return GetDescriptor();
  2200. }
  2201. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
  2202. {
  2203. return default_instance().GetMetadata().descriptor;
  2204. }
  2205. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
  2206. {
  2207. return default_instance().GetMetadata().reflection;
  2208. }
  2209. static const MsgRes& default_instance()
  2210. {
  2211. return *internal_default_instance();
  2212. }
  2213. static inline const MsgRes* internal_default_instance()
  2214. {
  2215. return reinterpret_cast<const MsgRes*>(
  2216. &_MsgRes_default_instance_
  2217. );
  2218. }
  2219. static constexpr int kIndexInFileMessages =
  2220. 9;
  2221. friend void swap(MsgRes& a, MsgRes& b)
  2222. {
  2223. a.Swap(&b);
  2224. }
  2225. inline void Swap(MsgRes* other)
  2226. {
  2227. if (other == this)
  2228. return;
  2229. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2230. if (GetOwningArena() != nullptr &&
  2231. GetOwningArena() == other->GetOwningArena())
  2232. {
  2233. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2234. if (GetOwningArena() == other->GetOwningArena())
  2235. {
  2236. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2237. InternalSwap(other);
  2238. }
  2239. else
  2240. {
  2241. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2242. }
  2243. }
  2244. void UnsafeArenaSwap(MsgRes* other)
  2245. {
  2246. if (other == this)
  2247. return;
  2248. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2249. InternalSwap(other);
  2250. }
  2251. // implements Message ----------------------------------------------
  2252. MsgRes* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
  2253. {
  2254. return CreateMaybeMessage<MsgRes>(arena);
  2255. }
  2256. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2257. void CopyFrom(const MsgRes& from);
  2258. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2259. void MergeFrom(const MsgRes& from)
  2260. {
  2261. MsgRes::MergeImpl(*this, from);
  2262. }
  2263. private:
  2264. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  2265. public:
  2266. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2267. bool IsInitialized() const final;
  2268. size_t ByteSizeLong() const final;
  2269. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2270. uint8_t* _InternalSerialize(
  2271. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
  2272. ) const final;
  2273. int GetCachedSize() const final
  2274. {
  2275. return _impl_._cached_size_.Get();
  2276. }
  2277. private:
  2278. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  2279. void SharedDtor();
  2280. void SetCachedSize(int size) const final;
  2281. void InternalSwap(MsgRes* other);
  2282. private:
  2283. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2284. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
  2285. {
  2286. return "protobuf.MsgRes";
  2287. }
  2288. protected:
  2289. explicit MsgRes(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
  2290. public:
  2291. static const ClassData _class_data_;
  2292. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
  2293. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2294. // nested types ----------------------------------------------------
  2295. // accessors -------------------------------------------------------
  2296. enum : int
  2297. {
  2298. kMessageReceivedFieldNumber = 3,
  2299. kFromPlayerIdFieldNumber = 2,
  2300. kHaveMessageFieldNumber = 1,
  2301. };
  2302. // string message_received = 3;
  2303. void clear_message_received();
  2304. const std::string& message_received() const;
  2305. template<typename ArgT0 = const std::string&, typename... ArgT>
  2306. void set_message_received(ArgT0&& arg0, ArgT... args);
  2307. std::string* mutable_message_received();
  2308. PROTOBUF_NODISCARD std::string* release_message_received();
  2309. void set_allocated_message_received(std::string* message_received);
  2310. private:
  2311. const std::string& _internal_message_received() const;
  2312. inline PROTOBUF_ALWAYS_INLINE void _internal_set_message_received(const std::string& value);
  2313. std::string* _internal_mutable_message_received();
  2314. public:
  2315. // int64 from_player_id = 2;
  2316. void clear_from_player_id();
  2317. int64_t from_player_id() const;
  2318. void set_from_player_id(int64_t value);
  2319. private:
  2320. int64_t _internal_from_player_id() const;
  2321. void _internal_set_from_player_id(int64_t value);
  2322. public:
  2323. // bool have_message = 1;
  2324. void clear_have_message();
  2325. bool have_message() const;
  2326. void set_have_message(bool value);
  2327. private:
  2328. bool _internal_have_message() const;
  2329. void _internal_set_have_message(bool value);
  2330. public:
  2331. // @@protoc_insertion_point(class_scope:protobuf.MsgRes)
  2332. private:
  2333. class _Internal;
  2334. template<typename T>
  2335. friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2336. typedef void InternalArenaConstructable_;
  2337. typedef void DestructorSkippable_;
  2338. struct Impl_
  2339. {
  2340. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr message_received_;
  2341. int64_t from_player_id_;
  2342. bool have_message_;
  2343. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2344. };
  2345. union
  2346. {
  2347. Impl_ _impl_;
  2348. };
  2349. friend struct ::TableStruct_Message2Clients_2eproto;
  2350. };
  2351. // ===================================================================
  2352. // ===================================================================
  2353. #ifdef __GNUC__
  2354. #pragma GCC diagnostic push
  2355. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  2356. #endif // __GNUC__
  2357. // MessageOfHuman
  2358. // int32 x = 1;
  2359. inline void MessageOfHuman::clear_x()
  2360. {
  2361. _impl_.x_ = 0;
  2362. }
  2363. inline int32_t MessageOfHuman::_internal_x() const
  2364. {
  2365. return _impl_.x_;
  2366. }
  2367. inline int32_t MessageOfHuman::x() const
  2368. {
  2369. // @@protoc_insertion_point(field_get:protobuf.MessageOfHuman.x)
  2370. return _internal_x();
  2371. }
  2372. inline void MessageOfHuman::_internal_set_x(int32_t value)
  2373. {
  2374. _impl_.x_ = value;
  2375. }
  2376. inline void MessageOfHuman::set_x(int32_t value)
  2377. {
  2378. _internal_set_x(value);
  2379. // @@protoc_insertion_point(field_set:protobuf.MessageOfHuman.x)
  2380. }
  2381. // int32 y = 2;
  2382. inline void MessageOfHuman::clear_y()
  2383. {
  2384. _impl_.y_ = 0;
  2385. }
  2386. inline int32_t MessageOfHuman::_internal_y() const
  2387. {
  2388. return _impl_.y_;
  2389. }
  2390. inline int32_t MessageOfHuman::y() const
  2391. {
  2392. // @@protoc_insertion_point(field_get:protobuf.MessageOfHuman.y)
  2393. return _internal_y();
  2394. }
  2395. inline void MessageOfHuman::_internal_set_y(int32_t value)
  2396. {
  2397. _impl_.y_ = value;
  2398. }
  2399. inline void MessageOfHuman::set_y(int32_t value)
  2400. {
  2401. _internal_set_y(value);
  2402. // @@protoc_insertion_point(field_set:protobuf.MessageOfHuman.y)
  2403. }
  2404. // int32 speed = 3;
  2405. inline void MessageOfHuman::clear_speed()
  2406. {
  2407. _impl_.speed_ = 0;
  2408. }
  2409. inline int32_t MessageOfHuman::_internal_speed() const
  2410. {
  2411. return _impl_.speed_;
  2412. }
  2413. inline int32_t MessageOfHuman::speed() const
  2414. {
  2415. // @@protoc_insertion_point(field_get:protobuf.MessageOfHuman.speed)
  2416. return _internal_speed();
  2417. }
  2418. inline void MessageOfHuman::_internal_set_speed(int32_t value)
  2419. {
  2420. _impl_.speed_ = value;
  2421. }
  2422. inline void MessageOfHuman::set_speed(int32_t value)
  2423. {
  2424. _internal_set_speed(value);
  2425. // @@protoc_insertion_point(field_set:protobuf.MessageOfHuman.speed)
  2426. }
  2427. // int32 life = 4;
  2428. inline void MessageOfHuman::clear_life()
  2429. {
  2430. _impl_.life_ = 0;
  2431. }
  2432. inline int32_t MessageOfHuman::_internal_life() const
  2433. {
  2434. return _impl_.life_;
  2435. }
  2436. inline int32_t MessageOfHuman::life() const
  2437. {
  2438. // @@protoc_insertion_point(field_get:protobuf.MessageOfHuman.life)
  2439. return _internal_life();
  2440. }
  2441. inline void MessageOfHuman::_internal_set_life(int32_t value)
  2442. {
  2443. _impl_.life_ = value;
  2444. }
  2445. inline void MessageOfHuman::set_life(int32_t value)
  2446. {
  2447. _internal_set_life(value);
  2448. // @@protoc_insertion_point(field_set:protobuf.MessageOfHuman.life)
  2449. }
  2450. // int32 hanged_time = 5;
  2451. inline void MessageOfHuman::clear_hanged_time()
  2452. {
  2453. _impl_.hanged_time_ = 0;
  2454. }
  2455. inline int32_t MessageOfHuman::_internal_hanged_time() const
  2456. {
  2457. return _impl_.hanged_time_;
  2458. }
  2459. inline int32_t MessageOfHuman::hanged_time() const
  2460. {
  2461. // @@protoc_insertion_point(field_get:protobuf.MessageOfHuman.hanged_time)
  2462. return _internal_hanged_time();
  2463. }
  2464. inline void MessageOfHuman::_internal_set_hanged_time(int32_t value)
  2465. {
  2466. _impl_.hanged_time_ = value;
  2467. }
  2468. inline void MessageOfHuman::set_hanged_time(int32_t value)
  2469. {
  2470. _internal_set_hanged_time(value);
  2471. // @@protoc_insertion_point(field_set:protobuf.MessageOfHuman.hanged_time)
  2472. }
  2473. // double time_until_skill_available = 6;
  2474. inline void MessageOfHuman::clear_time_until_skill_available()
  2475. {
  2476. _impl_.time_until_skill_available_ = 0;
  2477. }
  2478. inline double MessageOfHuman::_internal_time_until_skill_available() const
  2479. {
  2480. return _impl_.time_until_skill_available_;
  2481. }
  2482. inline double MessageOfHuman::time_until_skill_available() const
  2483. {
  2484. // @@protoc_insertion_point(field_get:protobuf.MessageOfHuman.time_until_skill_available)
  2485. return _internal_time_until_skill_available();
  2486. }
  2487. inline void MessageOfHuman::_internal_set_time_until_skill_available(double value)
  2488. {
  2489. _impl_.time_until_skill_available_ = value;
  2490. }
  2491. inline void MessageOfHuman::set_time_until_skill_available(double value)
  2492. {
  2493. _internal_set_time_until_skill_available(value);
  2494. // @@protoc_insertion_point(field_set:protobuf.MessageOfHuman.time_until_skill_available)
  2495. }
  2496. // .protobuf.PlaceType place = 7;
  2497. inline void MessageOfHuman::clear_place()
  2498. {
  2499. _impl_.place_ = 0;
  2500. }
  2501. inline ::protobuf::PlaceType MessageOfHuman::_internal_place() const
  2502. {
  2503. return static_cast<::protobuf::PlaceType>(_impl_.place_);
  2504. }
  2505. inline ::protobuf::PlaceType MessageOfHuman::place() const
  2506. {
  2507. // @@protoc_insertion_point(field_get:protobuf.MessageOfHuman.place)
  2508. return _internal_place();
  2509. }
  2510. inline void MessageOfHuman::_internal_set_place(::protobuf::PlaceType value)
  2511. {
  2512. _impl_.place_ = value;
  2513. }
  2514. inline void MessageOfHuman::set_place(::protobuf::PlaceType value)
  2515. {
  2516. _internal_set_place(value);
  2517. // @@protoc_insertion_point(field_set:protobuf.MessageOfHuman.place)
  2518. }
  2519. // .protobuf.PropType prop = 8;
  2520. inline void MessageOfHuman::clear_prop()
  2521. {
  2522. _impl_.prop_ = 0;
  2523. }
  2524. inline ::protobuf::PropType MessageOfHuman::_internal_prop() const
  2525. {
  2526. return static_cast<::protobuf::PropType>(_impl_.prop_);
  2527. }
  2528. inline ::protobuf::PropType MessageOfHuman::prop() const
  2529. {
  2530. // @@protoc_insertion_point(field_get:protobuf.MessageOfHuman.prop)
  2531. return _internal_prop();
  2532. }
  2533. inline void MessageOfHuman::_internal_set_prop(::protobuf::PropType value)
  2534. {
  2535. _impl_.prop_ = value;
  2536. }
  2537. inline void MessageOfHuman::set_prop(::protobuf::PropType value)
  2538. {
  2539. _internal_set_prop(value);
  2540. // @@protoc_insertion_point(field_set:protobuf.MessageOfHuman.prop)
  2541. }
  2542. // .protobuf.HumanType human_type = 9;
  2543. inline void MessageOfHuman::clear_human_type()
  2544. {
  2545. _impl_.human_type_ = 0;
  2546. }
  2547. inline ::protobuf::HumanType MessageOfHuman::_internal_human_type() const
  2548. {
  2549. return static_cast<::protobuf::HumanType>(_impl_.human_type_);
  2550. }
  2551. inline ::protobuf::HumanType MessageOfHuman::human_type() const
  2552. {
  2553. // @@protoc_insertion_point(field_get:protobuf.MessageOfHuman.human_type)
  2554. return _internal_human_type();
  2555. }
  2556. inline void MessageOfHuman::_internal_set_human_type(::protobuf::HumanType value)
  2557. {
  2558. _impl_.human_type_ = value;
  2559. }
  2560. inline void MessageOfHuman::set_human_type(::protobuf::HumanType value)
  2561. {
  2562. _internal_set_human_type(value);
  2563. // @@protoc_insertion_point(field_set:protobuf.MessageOfHuman.human_type)
  2564. }
  2565. // int64 guid = 10;
  2566. inline void MessageOfHuman::clear_guid()
  2567. {
  2568. _impl_.guid_ = int64_t{0};
  2569. }
  2570. inline int64_t MessageOfHuman::_internal_guid() const
  2571. {
  2572. return _impl_.guid_;
  2573. }
  2574. inline int64_t MessageOfHuman::guid() const
  2575. {
  2576. // @@protoc_insertion_point(field_get:protobuf.MessageOfHuman.guid)
  2577. return _internal_guid();
  2578. }
  2579. inline void MessageOfHuman::_internal_set_guid(int64_t value)
  2580. {
  2581. _impl_.guid_ = value;
  2582. }
  2583. inline void MessageOfHuman::set_guid(int64_t value)
  2584. {
  2585. _internal_set_guid(value);
  2586. // @@protoc_insertion_point(field_set:protobuf.MessageOfHuman.guid)
  2587. }
  2588. // bool on_chair = 11;
  2589. inline void MessageOfHuman::clear_on_chair()
  2590. {
  2591. _impl_.on_chair_ = false;
  2592. }
  2593. inline bool MessageOfHuman::_internal_on_chair() const
  2594. {
  2595. return _impl_.on_chair_;
  2596. }
  2597. inline bool MessageOfHuman::on_chair() const
  2598. {
  2599. // @@protoc_insertion_point(field_get:protobuf.MessageOfHuman.on_chair)
  2600. return _internal_on_chair();
  2601. }
  2602. inline void MessageOfHuman::_internal_set_on_chair(bool value)
  2603. {
  2604. _impl_.on_chair_ = value;
  2605. }
  2606. inline void MessageOfHuman::set_on_chair(bool value)
  2607. {
  2608. _internal_set_on_chair(value);
  2609. // @@protoc_insertion_point(field_set:protobuf.MessageOfHuman.on_chair)
  2610. }
  2611. // double chair_time = 12;
  2612. inline void MessageOfHuman::clear_chair_time()
  2613. {
  2614. _impl_.chair_time_ = 0;
  2615. }
  2616. inline double MessageOfHuman::_internal_chair_time() const
  2617. {
  2618. return _impl_.chair_time_;
  2619. }
  2620. inline double MessageOfHuman::chair_time() const
  2621. {
  2622. // @@protoc_insertion_point(field_get:protobuf.MessageOfHuman.chair_time)
  2623. return _internal_chair_time();
  2624. }
  2625. inline void MessageOfHuman::_internal_set_chair_time(double value)
  2626. {
  2627. _impl_.chair_time_ = value;
  2628. }
  2629. inline void MessageOfHuman::set_chair_time(double value)
  2630. {
  2631. _internal_set_chair_time(value);
  2632. // @@protoc_insertion_point(field_set:protobuf.MessageOfHuman.chair_time)
  2633. }
  2634. // bool on_ground = 13;
  2635. inline void MessageOfHuman::clear_on_ground()
  2636. {
  2637. _impl_.on_ground_ = false;
  2638. }
  2639. inline bool MessageOfHuman::_internal_on_ground() const
  2640. {
  2641. return _impl_.on_ground_;
  2642. }
  2643. inline bool MessageOfHuman::on_ground() const
  2644. {
  2645. // @@protoc_insertion_point(field_get:protobuf.MessageOfHuman.on_ground)
  2646. return _internal_on_ground();
  2647. }
  2648. inline void MessageOfHuman::_internal_set_on_ground(bool value)
  2649. {
  2650. _impl_.on_ground_ = value;
  2651. }
  2652. inline void MessageOfHuman::set_on_ground(bool value)
  2653. {
  2654. _internal_set_on_ground(value);
  2655. // @@protoc_insertion_point(field_set:protobuf.MessageOfHuman.on_ground)
  2656. }
  2657. // double ground_time = 14;
  2658. inline void MessageOfHuman::clear_ground_time()
  2659. {
  2660. _impl_.ground_time_ = 0;
  2661. }
  2662. inline double MessageOfHuman::_internal_ground_time() const
  2663. {
  2664. return _impl_.ground_time_;
  2665. }
  2666. inline double MessageOfHuman::ground_time() const
  2667. {
  2668. // @@protoc_insertion_point(field_get:protobuf.MessageOfHuman.ground_time)
  2669. return _internal_ground_time();
  2670. }
  2671. inline void MessageOfHuman::_internal_set_ground_time(double value)
  2672. {
  2673. _impl_.ground_time_ = value;
  2674. }
  2675. inline void MessageOfHuman::set_ground_time(double value)
  2676. {
  2677. _internal_set_ground_time(value);
  2678. // @@protoc_insertion_point(field_set:protobuf.MessageOfHuman.ground_time)
  2679. }
  2680. // int64 player_id = 15;
  2681. inline void MessageOfHuman::clear_player_id()
  2682. {
  2683. _impl_.player_id_ = int64_t{0};
  2684. }
  2685. inline int64_t MessageOfHuman::_internal_player_id() const
  2686. {
  2687. return _impl_.player_id_;
  2688. }
  2689. inline int64_t MessageOfHuman::player_id() const
  2690. {
  2691. // @@protoc_insertion_point(field_get:protobuf.MessageOfHuman.player_id)
  2692. return _internal_player_id();
  2693. }
  2694. inline void MessageOfHuman::_internal_set_player_id(int64_t value)
  2695. {
  2696. _impl_.player_id_ = value;
  2697. }
  2698. inline void MessageOfHuman::set_player_id(int64_t value)
  2699. {
  2700. _internal_set_player_id(value);
  2701. // @@protoc_insertion_point(field_set:protobuf.MessageOfHuman.player_id)
  2702. }
  2703. // int32 view_range = 16;
  2704. inline void MessageOfHuman::clear_view_range()
  2705. {
  2706. _impl_.view_range_ = 0;
  2707. }
  2708. inline int32_t MessageOfHuman::_internal_view_range() const
  2709. {
  2710. return _impl_.view_range_;
  2711. }
  2712. inline int32_t MessageOfHuman::view_range() const
  2713. {
  2714. // @@protoc_insertion_point(field_get:protobuf.MessageOfHuman.view_range)
  2715. return _internal_view_range();
  2716. }
  2717. inline void MessageOfHuman::_internal_set_view_range(int32_t value)
  2718. {
  2719. _impl_.view_range_ = value;
  2720. }
  2721. inline void MessageOfHuman::set_view_range(int32_t value)
  2722. {
  2723. _internal_set_view_range(value);
  2724. // @@protoc_insertion_point(field_set:protobuf.MessageOfHuman.view_range)
  2725. }
  2726. // int32 radius = 17;
  2727. inline void MessageOfHuman::clear_radius()
  2728. {
  2729. _impl_.radius_ = 0;
  2730. }
  2731. inline int32_t MessageOfHuman::_internal_radius() const
  2732. {
  2733. return _impl_.radius_;
  2734. }
  2735. inline int32_t MessageOfHuman::radius() const
  2736. {
  2737. // @@protoc_insertion_point(field_get:protobuf.MessageOfHuman.radius)
  2738. return _internal_radius();
  2739. }
  2740. inline void MessageOfHuman::_internal_set_radius(int32_t value)
  2741. {
  2742. _impl_.radius_ = value;
  2743. }
  2744. inline void MessageOfHuman::set_radius(int32_t value)
  2745. {
  2746. _internal_set_radius(value);
  2747. // @@protoc_insertion_point(field_set:protobuf.MessageOfHuman.radius)
  2748. }
  2749. // repeated .protobuf.HumanBuffType buff = 18;
  2750. inline int MessageOfHuman::_internal_buff_size() const
  2751. {
  2752. return _impl_.buff_.size();
  2753. }
  2754. inline int MessageOfHuman::buff_size() const
  2755. {
  2756. return _internal_buff_size();
  2757. }
  2758. inline void MessageOfHuman::clear_buff()
  2759. {
  2760. _impl_.buff_.Clear();
  2761. }
  2762. inline ::protobuf::HumanBuffType MessageOfHuman::_internal_buff(int index) const
  2763. {
  2764. return static_cast<::protobuf::HumanBuffType>(_impl_.buff_.Get(index));
  2765. }
  2766. inline ::protobuf::HumanBuffType MessageOfHuman::buff(int index) const
  2767. {
  2768. // @@protoc_insertion_point(field_get:protobuf.MessageOfHuman.buff)
  2769. return _internal_buff(index);
  2770. }
  2771. inline void MessageOfHuman::set_buff(int index, ::protobuf::HumanBuffType value)
  2772. {
  2773. _impl_.buff_.Set(index, value);
  2774. // @@protoc_insertion_point(field_set:protobuf.MessageOfHuman.buff)
  2775. }
  2776. inline void MessageOfHuman::_internal_add_buff(::protobuf::HumanBuffType value)
  2777. {
  2778. _impl_.buff_.Add(value);
  2779. }
  2780. inline void MessageOfHuman::add_buff(::protobuf::HumanBuffType value)
  2781. {
  2782. _internal_add_buff(value);
  2783. // @@protoc_insertion_point(field_add:protobuf.MessageOfHuman.buff)
  2784. }
  2785. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
  2786. MessageOfHuman::buff() const
  2787. {
  2788. // @@protoc_insertion_point(field_list:protobuf.MessageOfHuman.buff)
  2789. return _impl_.buff_;
  2790. }
  2791. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
  2792. MessageOfHuman::_internal_mutable_buff()
  2793. {
  2794. return &_impl_.buff_;
  2795. }
  2796. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
  2797. MessageOfHuman::mutable_buff()
  2798. {
  2799. // @@protoc_insertion_point(field_mutable_list:protobuf.MessageOfHuman.buff)
  2800. return _internal_mutable_buff();
  2801. }
  2802. // -------------------------------------------------------------------
  2803. // MessageOfButcher
  2804. // int32 x = 1;
  2805. inline void MessageOfButcher::clear_x()
  2806. {
  2807. _impl_.x_ = 0;
  2808. }
  2809. inline int32_t MessageOfButcher::_internal_x() const
  2810. {
  2811. return _impl_.x_;
  2812. }
  2813. inline int32_t MessageOfButcher::x() const
  2814. {
  2815. // @@protoc_insertion_point(field_get:protobuf.MessageOfButcher.x)
  2816. return _internal_x();
  2817. }
  2818. inline void MessageOfButcher::_internal_set_x(int32_t value)
  2819. {
  2820. _impl_.x_ = value;
  2821. }
  2822. inline void MessageOfButcher::set_x(int32_t value)
  2823. {
  2824. _internal_set_x(value);
  2825. // @@protoc_insertion_point(field_set:protobuf.MessageOfButcher.x)
  2826. }
  2827. // int32 y = 2;
  2828. inline void MessageOfButcher::clear_y()
  2829. {
  2830. _impl_.y_ = 0;
  2831. }
  2832. inline int32_t MessageOfButcher::_internal_y() const
  2833. {
  2834. return _impl_.y_;
  2835. }
  2836. inline int32_t MessageOfButcher::y() const
  2837. {
  2838. // @@protoc_insertion_point(field_get:protobuf.MessageOfButcher.y)
  2839. return _internal_y();
  2840. }
  2841. inline void MessageOfButcher::_internal_set_y(int32_t value)
  2842. {
  2843. _impl_.y_ = value;
  2844. }
  2845. inline void MessageOfButcher::set_y(int32_t value)
  2846. {
  2847. _internal_set_y(value);
  2848. // @@protoc_insertion_point(field_set:protobuf.MessageOfButcher.y)
  2849. }
  2850. // int32 speed = 3;
  2851. inline void MessageOfButcher::clear_speed()
  2852. {
  2853. _impl_.speed_ = 0;
  2854. }
  2855. inline int32_t MessageOfButcher::_internal_speed() const
  2856. {
  2857. return _impl_.speed_;
  2858. }
  2859. inline int32_t MessageOfButcher::speed() const
  2860. {
  2861. // @@protoc_insertion_point(field_get:protobuf.MessageOfButcher.speed)
  2862. return _internal_speed();
  2863. }
  2864. inline void MessageOfButcher::_internal_set_speed(int32_t value)
  2865. {
  2866. _impl_.speed_ = value;
  2867. }
  2868. inline void MessageOfButcher::set_speed(int32_t value)
  2869. {
  2870. _internal_set_speed(value);
  2871. // @@protoc_insertion_point(field_set:protobuf.MessageOfButcher.speed)
  2872. }
  2873. // int32 damage = 4;
  2874. inline void MessageOfButcher::clear_damage()
  2875. {
  2876. _impl_.damage_ = 0;
  2877. }
  2878. inline int32_t MessageOfButcher::_internal_damage() const
  2879. {
  2880. return _impl_.damage_;
  2881. }
  2882. inline int32_t MessageOfButcher::damage() const
  2883. {
  2884. // @@protoc_insertion_point(field_get:protobuf.MessageOfButcher.damage)
  2885. return _internal_damage();
  2886. }
  2887. inline void MessageOfButcher::_internal_set_damage(int32_t value)
  2888. {
  2889. _impl_.damage_ = value;
  2890. }
  2891. inline void MessageOfButcher::set_damage(int32_t value)
  2892. {
  2893. _internal_set_damage(value);
  2894. // @@protoc_insertion_point(field_set:protobuf.MessageOfButcher.damage)
  2895. }
  2896. // double time_until_skill_available = 5;
  2897. inline void MessageOfButcher::clear_time_until_skill_available()
  2898. {
  2899. _impl_.time_until_skill_available_ = 0;
  2900. }
  2901. inline double MessageOfButcher::_internal_time_until_skill_available() const
  2902. {
  2903. return _impl_.time_until_skill_available_;
  2904. }
  2905. inline double MessageOfButcher::time_until_skill_available() const
  2906. {
  2907. // @@protoc_insertion_point(field_get:protobuf.MessageOfButcher.time_until_skill_available)
  2908. return _internal_time_until_skill_available();
  2909. }
  2910. inline void MessageOfButcher::_internal_set_time_until_skill_available(double value)
  2911. {
  2912. _impl_.time_until_skill_available_ = value;
  2913. }
  2914. inline void MessageOfButcher::set_time_until_skill_available(double value)
  2915. {
  2916. _internal_set_time_until_skill_available(value);
  2917. // @@protoc_insertion_point(field_set:protobuf.MessageOfButcher.time_until_skill_available)
  2918. }
  2919. // .protobuf.PlaceType place = 6;
  2920. inline void MessageOfButcher::clear_place()
  2921. {
  2922. _impl_.place_ = 0;
  2923. }
  2924. inline ::protobuf::PlaceType MessageOfButcher::_internal_place() const
  2925. {
  2926. return static_cast<::protobuf::PlaceType>(_impl_.place_);
  2927. }
  2928. inline ::protobuf::PlaceType MessageOfButcher::place() const
  2929. {
  2930. // @@protoc_insertion_point(field_get:protobuf.MessageOfButcher.place)
  2931. return _internal_place();
  2932. }
  2933. inline void MessageOfButcher::_internal_set_place(::protobuf::PlaceType value)
  2934. {
  2935. _impl_.place_ = value;
  2936. }
  2937. inline void MessageOfButcher::set_place(::protobuf::PlaceType value)
  2938. {
  2939. _internal_set_place(value);
  2940. // @@protoc_insertion_point(field_set:protobuf.MessageOfButcher.place)
  2941. }
  2942. // .protobuf.PropType prop = 7;
  2943. inline void MessageOfButcher::clear_prop()
  2944. {
  2945. _impl_.prop_ = 0;
  2946. }
  2947. inline ::protobuf::PropType MessageOfButcher::_internal_prop() const
  2948. {
  2949. return static_cast<::protobuf::PropType>(_impl_.prop_);
  2950. }
  2951. inline ::protobuf::PropType MessageOfButcher::prop() const
  2952. {
  2953. // @@protoc_insertion_point(field_get:protobuf.MessageOfButcher.prop)
  2954. return _internal_prop();
  2955. }
  2956. inline void MessageOfButcher::_internal_set_prop(::protobuf::PropType value)
  2957. {
  2958. _impl_.prop_ = value;
  2959. }
  2960. inline void MessageOfButcher::set_prop(::protobuf::PropType value)
  2961. {
  2962. _internal_set_prop(value);
  2963. // @@protoc_insertion_point(field_set:protobuf.MessageOfButcher.prop)
  2964. }
  2965. // .protobuf.ButcherType butcher_type = 8;
  2966. inline void MessageOfButcher::clear_butcher_type()
  2967. {
  2968. _impl_.butcher_type_ = 0;
  2969. }
  2970. inline ::protobuf::ButcherType MessageOfButcher::_internal_butcher_type() const
  2971. {
  2972. return static_cast<::protobuf::ButcherType>(_impl_.butcher_type_);
  2973. }
  2974. inline ::protobuf::ButcherType MessageOfButcher::butcher_type() const
  2975. {
  2976. // @@protoc_insertion_point(field_get:protobuf.MessageOfButcher.butcher_type)
  2977. return _internal_butcher_type();
  2978. }
  2979. inline void MessageOfButcher::_internal_set_butcher_type(::protobuf::ButcherType value)
  2980. {
  2981. _impl_.butcher_type_ = value;
  2982. }
  2983. inline void MessageOfButcher::set_butcher_type(::protobuf::ButcherType value)
  2984. {
  2985. _internal_set_butcher_type(value);
  2986. // @@protoc_insertion_point(field_set:protobuf.MessageOfButcher.butcher_type)
  2987. }
  2988. // int64 guid = 9;
  2989. inline void MessageOfButcher::clear_guid()
  2990. {
  2991. _impl_.guid_ = int64_t{0};
  2992. }
  2993. inline int64_t MessageOfButcher::_internal_guid() const
  2994. {
  2995. return _impl_.guid_;
  2996. }
  2997. inline int64_t MessageOfButcher::guid() const
  2998. {
  2999. // @@protoc_insertion_point(field_get:protobuf.MessageOfButcher.guid)
  3000. return _internal_guid();
  3001. }
  3002. inline void MessageOfButcher::_internal_set_guid(int64_t value)
  3003. {
  3004. _impl_.guid_ = value;
  3005. }
  3006. inline void MessageOfButcher::set_guid(int64_t value)
  3007. {
  3008. _internal_set_guid(value);
  3009. // @@protoc_insertion_point(field_set:protobuf.MessageOfButcher.guid)
  3010. }
  3011. // bool movable = 10;
  3012. inline void MessageOfButcher::clear_movable()
  3013. {
  3014. _impl_.movable_ = false;
  3015. }
  3016. inline bool MessageOfButcher::_internal_movable() const
  3017. {
  3018. return _impl_.movable_;
  3019. }
  3020. inline bool MessageOfButcher::movable() const
  3021. {
  3022. // @@protoc_insertion_point(field_get:protobuf.MessageOfButcher.movable)
  3023. return _internal_movable();
  3024. }
  3025. inline void MessageOfButcher::_internal_set_movable(bool value)
  3026. {
  3027. _impl_.movable_ = value;
  3028. }
  3029. inline void MessageOfButcher::set_movable(bool value)
  3030. {
  3031. _internal_set_movable(value);
  3032. // @@protoc_insertion_point(field_set:protobuf.MessageOfButcher.movable)
  3033. }
  3034. // int64 playerID = 11;
  3035. inline void MessageOfButcher::clear_playerid()
  3036. {
  3037. _impl_.playerid_ = int64_t{0};
  3038. }
  3039. inline int64_t MessageOfButcher::_internal_playerid() const
  3040. {
  3041. return _impl_.playerid_;
  3042. }
  3043. inline int64_t MessageOfButcher::playerid() const
  3044. {
  3045. // @@protoc_insertion_point(field_get:protobuf.MessageOfButcher.playerID)
  3046. return _internal_playerid();
  3047. }
  3048. inline void MessageOfButcher::_internal_set_playerid(int64_t value)
  3049. {
  3050. _impl_.playerid_ = value;
  3051. }
  3052. inline void MessageOfButcher::set_playerid(int64_t value)
  3053. {
  3054. _internal_set_playerid(value);
  3055. // @@protoc_insertion_point(field_set:protobuf.MessageOfButcher.playerID)
  3056. }
  3057. // int32 view_range = 12;
  3058. inline void MessageOfButcher::clear_view_range()
  3059. {
  3060. _impl_.view_range_ = 0;
  3061. }
  3062. inline int32_t MessageOfButcher::_internal_view_range() const
  3063. {
  3064. return _impl_.view_range_;
  3065. }
  3066. inline int32_t MessageOfButcher::view_range() const
  3067. {
  3068. // @@protoc_insertion_point(field_get:protobuf.MessageOfButcher.view_range)
  3069. return _internal_view_range();
  3070. }
  3071. inline void MessageOfButcher::_internal_set_view_range(int32_t value)
  3072. {
  3073. _impl_.view_range_ = value;
  3074. }
  3075. inline void MessageOfButcher::set_view_range(int32_t value)
  3076. {
  3077. _internal_set_view_range(value);
  3078. // @@protoc_insertion_point(field_set:protobuf.MessageOfButcher.view_range)
  3079. }
  3080. // int32 radius = 13;
  3081. inline void MessageOfButcher::clear_radius()
  3082. {
  3083. _impl_.radius_ = 0;
  3084. }
  3085. inline int32_t MessageOfButcher::_internal_radius() const
  3086. {
  3087. return _impl_.radius_;
  3088. }
  3089. inline int32_t MessageOfButcher::radius() const
  3090. {
  3091. // @@protoc_insertion_point(field_get:protobuf.MessageOfButcher.radius)
  3092. return _internal_radius();
  3093. }
  3094. inline void MessageOfButcher::_internal_set_radius(int32_t value)
  3095. {
  3096. _impl_.radius_ = value;
  3097. }
  3098. inline void MessageOfButcher::set_radius(int32_t value)
  3099. {
  3100. _internal_set_radius(value);
  3101. // @@protoc_insertion_point(field_set:protobuf.MessageOfButcher.radius)
  3102. }
  3103. // repeated .protobuf.ButcherBuffType buff = 14;
  3104. inline int MessageOfButcher::_internal_buff_size() const
  3105. {
  3106. return _impl_.buff_.size();
  3107. }
  3108. inline int MessageOfButcher::buff_size() const
  3109. {
  3110. return _internal_buff_size();
  3111. }
  3112. inline void MessageOfButcher::clear_buff()
  3113. {
  3114. _impl_.buff_.Clear();
  3115. }
  3116. inline ::protobuf::ButcherBuffType MessageOfButcher::_internal_buff(int index) const
  3117. {
  3118. return static_cast<::protobuf::ButcherBuffType>(_impl_.buff_.Get(index));
  3119. }
  3120. inline ::protobuf::ButcherBuffType MessageOfButcher::buff(int index) const
  3121. {
  3122. // @@protoc_insertion_point(field_get:protobuf.MessageOfButcher.buff)
  3123. return _internal_buff(index);
  3124. }
  3125. inline void MessageOfButcher::set_buff(int index, ::protobuf::ButcherBuffType value)
  3126. {
  3127. _impl_.buff_.Set(index, value);
  3128. // @@protoc_insertion_point(field_set:protobuf.MessageOfButcher.buff)
  3129. }
  3130. inline void MessageOfButcher::_internal_add_buff(::protobuf::ButcherBuffType value)
  3131. {
  3132. _impl_.buff_.Add(value);
  3133. }
  3134. inline void MessageOfButcher::add_buff(::protobuf::ButcherBuffType value)
  3135. {
  3136. _internal_add_buff(value);
  3137. // @@protoc_insertion_point(field_add:protobuf.MessageOfButcher.buff)
  3138. }
  3139. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
  3140. MessageOfButcher::buff() const
  3141. {
  3142. // @@protoc_insertion_point(field_list:protobuf.MessageOfButcher.buff)
  3143. return _impl_.buff_;
  3144. }
  3145. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
  3146. MessageOfButcher::_internal_mutable_buff()
  3147. {
  3148. return &_impl_.buff_;
  3149. }
  3150. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
  3151. MessageOfButcher::mutable_buff()
  3152. {
  3153. // @@protoc_insertion_point(field_mutable_list:protobuf.MessageOfButcher.buff)
  3154. return _internal_mutable_buff();
  3155. }
  3156. // -------------------------------------------------------------------
  3157. // MessageOfProp
  3158. // .protobuf.PropType type = 1;
  3159. inline void MessageOfProp::clear_type()
  3160. {
  3161. _impl_.type_ = 0;
  3162. }
  3163. inline ::protobuf::PropType MessageOfProp::_internal_type() const
  3164. {
  3165. return static_cast<::protobuf::PropType>(_impl_.type_);
  3166. }
  3167. inline ::protobuf::PropType MessageOfProp::type() const
  3168. {
  3169. // @@protoc_insertion_point(field_get:protobuf.MessageOfProp.type)
  3170. return _internal_type();
  3171. }
  3172. inline void MessageOfProp::_internal_set_type(::protobuf::PropType value)
  3173. {
  3174. _impl_.type_ = value;
  3175. }
  3176. inline void MessageOfProp::set_type(::protobuf::PropType value)
  3177. {
  3178. _internal_set_type(value);
  3179. // @@protoc_insertion_point(field_set:protobuf.MessageOfProp.type)
  3180. }
  3181. // int32 x = 2;
  3182. inline void MessageOfProp::clear_x()
  3183. {
  3184. _impl_.x_ = 0;
  3185. }
  3186. inline int32_t MessageOfProp::_internal_x() const
  3187. {
  3188. return _impl_.x_;
  3189. }
  3190. inline int32_t MessageOfProp::x() const
  3191. {
  3192. // @@protoc_insertion_point(field_get:protobuf.MessageOfProp.x)
  3193. return _internal_x();
  3194. }
  3195. inline void MessageOfProp::_internal_set_x(int32_t value)
  3196. {
  3197. _impl_.x_ = value;
  3198. }
  3199. inline void MessageOfProp::set_x(int32_t value)
  3200. {
  3201. _internal_set_x(value);
  3202. // @@protoc_insertion_point(field_set:protobuf.MessageOfProp.x)
  3203. }
  3204. // int32 y = 3;
  3205. inline void MessageOfProp::clear_y()
  3206. {
  3207. _impl_.y_ = 0;
  3208. }
  3209. inline int32_t MessageOfProp::_internal_y() const
  3210. {
  3211. return _impl_.y_;
  3212. }
  3213. inline int32_t MessageOfProp::y() const
  3214. {
  3215. // @@protoc_insertion_point(field_get:protobuf.MessageOfProp.y)
  3216. return _internal_y();
  3217. }
  3218. inline void MessageOfProp::_internal_set_y(int32_t value)
  3219. {
  3220. _impl_.y_ = value;
  3221. }
  3222. inline void MessageOfProp::set_y(int32_t value)
  3223. {
  3224. _internal_set_y(value);
  3225. // @@protoc_insertion_point(field_set:protobuf.MessageOfProp.y)
  3226. }
  3227. // double facing_direction = 4;
  3228. inline void MessageOfProp::clear_facing_direction()
  3229. {
  3230. _impl_.facing_direction_ = 0;
  3231. }
  3232. inline double MessageOfProp::_internal_facing_direction() const
  3233. {
  3234. return _impl_.facing_direction_;
  3235. }
  3236. inline double MessageOfProp::facing_direction() const
  3237. {
  3238. // @@protoc_insertion_point(field_get:protobuf.MessageOfProp.facing_direction)
  3239. return _internal_facing_direction();
  3240. }
  3241. inline void MessageOfProp::_internal_set_facing_direction(double value)
  3242. {
  3243. _impl_.facing_direction_ = value;
  3244. }
  3245. inline void MessageOfProp::set_facing_direction(double value)
  3246. {
  3247. _internal_set_facing_direction(value);
  3248. // @@protoc_insertion_point(field_set:protobuf.MessageOfProp.facing_direction)
  3249. }
  3250. // int64 guid = 5;
  3251. inline void MessageOfProp::clear_guid()
  3252. {
  3253. _impl_.guid_ = int64_t{0};
  3254. }
  3255. inline int64_t MessageOfProp::_internal_guid() const
  3256. {
  3257. return _impl_.guid_;
  3258. }
  3259. inline int64_t MessageOfProp::guid() const
  3260. {
  3261. // @@protoc_insertion_point(field_get:protobuf.MessageOfProp.guid)
  3262. return _internal_guid();
  3263. }
  3264. inline void MessageOfProp::_internal_set_guid(int64_t value)
  3265. {
  3266. _impl_.guid_ = value;
  3267. }
  3268. inline void MessageOfProp::set_guid(int64_t value)
  3269. {
  3270. _internal_set_guid(value);
  3271. // @@protoc_insertion_point(field_set:protobuf.MessageOfProp.guid)
  3272. }
  3273. // .protobuf.PlaceType place = 6;
  3274. inline void MessageOfProp::clear_place()
  3275. {
  3276. _impl_.place_ = 0;
  3277. }
  3278. inline ::protobuf::PlaceType MessageOfProp::_internal_place() const
  3279. {
  3280. return static_cast<::protobuf::PlaceType>(_impl_.place_);
  3281. }
  3282. inline ::protobuf::PlaceType MessageOfProp::place() const
  3283. {
  3284. // @@protoc_insertion_point(field_get:protobuf.MessageOfProp.place)
  3285. return _internal_place();
  3286. }
  3287. inline void MessageOfProp::_internal_set_place(::protobuf::PlaceType value)
  3288. {
  3289. _impl_.place_ = value;
  3290. }
  3291. inline void MessageOfProp::set_place(::protobuf::PlaceType value)
  3292. {
  3293. _internal_set_place(value);
  3294. // @@protoc_insertion_point(field_set:protobuf.MessageOfProp.place)
  3295. }
  3296. // int32 size = 7;
  3297. inline void MessageOfProp::clear_size()
  3298. {
  3299. _impl_.size_ = 0;
  3300. }
  3301. inline int32_t MessageOfProp::_internal_size() const
  3302. {
  3303. return _impl_.size_;
  3304. }
  3305. inline int32_t MessageOfProp::size() const
  3306. {
  3307. // @@protoc_insertion_point(field_get:protobuf.MessageOfProp.size)
  3308. return _internal_size();
  3309. }
  3310. inline void MessageOfProp::_internal_set_size(int32_t value)
  3311. {
  3312. _impl_.size_ = value;
  3313. }
  3314. inline void MessageOfProp::set_size(int32_t value)
  3315. {
  3316. _internal_set_size(value);
  3317. // @@protoc_insertion_point(field_set:protobuf.MessageOfProp.size)
  3318. }
  3319. // bool is_moving = 8;
  3320. inline void MessageOfProp::clear_is_moving()
  3321. {
  3322. _impl_.is_moving_ = false;
  3323. }
  3324. inline bool MessageOfProp::_internal_is_moving() const
  3325. {
  3326. return _impl_.is_moving_;
  3327. }
  3328. inline bool MessageOfProp::is_moving() const
  3329. {
  3330. // @@protoc_insertion_point(field_get:protobuf.MessageOfProp.is_moving)
  3331. return _internal_is_moving();
  3332. }
  3333. inline void MessageOfProp::_internal_set_is_moving(bool value)
  3334. {
  3335. _impl_.is_moving_ = value;
  3336. }
  3337. inline void MessageOfProp::set_is_moving(bool value)
  3338. {
  3339. _internal_set_is_moving(value);
  3340. // @@protoc_insertion_point(field_set:protobuf.MessageOfProp.is_moving)
  3341. }
  3342. // -------------------------------------------------------------------
  3343. // MessageOfPickedProp
  3344. // .protobuf.PropType type = 1;
  3345. inline void MessageOfPickedProp::clear_type()
  3346. {
  3347. _impl_.type_ = 0;
  3348. }
  3349. inline ::protobuf::PropType MessageOfPickedProp::_internal_type() const
  3350. {
  3351. return static_cast<::protobuf::PropType>(_impl_.type_);
  3352. }
  3353. inline ::protobuf::PropType MessageOfPickedProp::type() const
  3354. {
  3355. // @@protoc_insertion_point(field_get:protobuf.MessageOfPickedProp.type)
  3356. return _internal_type();
  3357. }
  3358. inline void MessageOfPickedProp::_internal_set_type(::protobuf::PropType value)
  3359. {
  3360. _impl_.type_ = value;
  3361. }
  3362. inline void MessageOfPickedProp::set_type(::protobuf::PropType value)
  3363. {
  3364. _internal_set_type(value);
  3365. // @@protoc_insertion_point(field_set:protobuf.MessageOfPickedProp.type)
  3366. }
  3367. // int32 x = 2;
  3368. inline void MessageOfPickedProp::clear_x()
  3369. {
  3370. _impl_.x_ = 0;
  3371. }
  3372. inline int32_t MessageOfPickedProp::_internal_x() const
  3373. {
  3374. return _impl_.x_;
  3375. }
  3376. inline int32_t MessageOfPickedProp::x() const
  3377. {
  3378. // @@protoc_insertion_point(field_get:protobuf.MessageOfPickedProp.x)
  3379. return _internal_x();
  3380. }
  3381. inline void MessageOfPickedProp::_internal_set_x(int32_t value)
  3382. {
  3383. _impl_.x_ = value;
  3384. }
  3385. inline void MessageOfPickedProp::set_x(int32_t value)
  3386. {
  3387. _internal_set_x(value);
  3388. // @@protoc_insertion_point(field_set:protobuf.MessageOfPickedProp.x)
  3389. }
  3390. // int32 y = 3;
  3391. inline void MessageOfPickedProp::clear_y()
  3392. {
  3393. _impl_.y_ = 0;
  3394. }
  3395. inline int32_t MessageOfPickedProp::_internal_y() const
  3396. {
  3397. return _impl_.y_;
  3398. }
  3399. inline int32_t MessageOfPickedProp::y() const
  3400. {
  3401. // @@protoc_insertion_point(field_get:protobuf.MessageOfPickedProp.y)
  3402. return _internal_y();
  3403. }
  3404. inline void MessageOfPickedProp::_internal_set_y(int32_t value)
  3405. {
  3406. _impl_.y_ = value;
  3407. }
  3408. inline void MessageOfPickedProp::set_y(int32_t value)
  3409. {
  3410. _internal_set_y(value);
  3411. // @@protoc_insertion_point(field_set:protobuf.MessageOfPickedProp.y)
  3412. }
  3413. // double facing_direction = 4;
  3414. inline void MessageOfPickedProp::clear_facing_direction()
  3415. {
  3416. _impl_.facing_direction_ = 0;
  3417. }
  3418. inline double MessageOfPickedProp::_internal_facing_direction() const
  3419. {
  3420. return _impl_.facing_direction_;
  3421. }
  3422. inline double MessageOfPickedProp::facing_direction() const
  3423. {
  3424. // @@protoc_insertion_point(field_get:protobuf.MessageOfPickedProp.facing_direction)
  3425. return _internal_facing_direction();
  3426. }
  3427. inline void MessageOfPickedProp::_internal_set_facing_direction(double value)
  3428. {
  3429. _impl_.facing_direction_ = value;
  3430. }
  3431. inline void MessageOfPickedProp::set_facing_direction(double value)
  3432. {
  3433. _internal_set_facing_direction(value);
  3434. // @@protoc_insertion_point(field_set:protobuf.MessageOfPickedProp.facing_direction)
  3435. }
  3436. // int64 mapping_id = 5;
  3437. inline void MessageOfPickedProp::clear_mapping_id()
  3438. {
  3439. _impl_.mapping_id_ = int64_t{0};
  3440. }
  3441. inline int64_t MessageOfPickedProp::_internal_mapping_id() const
  3442. {
  3443. return _impl_.mapping_id_;
  3444. }
  3445. inline int64_t MessageOfPickedProp::mapping_id() const
  3446. {
  3447. // @@protoc_insertion_point(field_get:protobuf.MessageOfPickedProp.mapping_id)
  3448. return _internal_mapping_id();
  3449. }
  3450. inline void MessageOfPickedProp::_internal_set_mapping_id(int64_t value)
  3451. {
  3452. _impl_.mapping_id_ = value;
  3453. }
  3454. inline void MessageOfPickedProp::set_mapping_id(int64_t value)
  3455. {
  3456. _internal_set_mapping_id(value);
  3457. // @@protoc_insertion_point(field_set:protobuf.MessageOfPickedProp.mapping_id)
  3458. }
  3459. // -------------------------------------------------------------------
  3460. // MessageOfMap_Row
  3461. // repeated .protobuf.PlaceType col = 1;
  3462. inline int MessageOfMap_Row::_internal_col_size() const
  3463. {
  3464. return _impl_.col_.size();
  3465. }
  3466. inline int MessageOfMap_Row::col_size() const
  3467. {
  3468. return _internal_col_size();
  3469. }
  3470. inline void MessageOfMap_Row::clear_col()
  3471. {
  3472. _impl_.col_.Clear();
  3473. }
  3474. inline ::protobuf::PlaceType MessageOfMap_Row::_internal_col(int index) const
  3475. {
  3476. return static_cast<::protobuf::PlaceType>(_impl_.col_.Get(index));
  3477. }
  3478. inline ::protobuf::PlaceType MessageOfMap_Row::col(int index) const
  3479. {
  3480. // @@protoc_insertion_point(field_get:protobuf.MessageOfMap.Row.col)
  3481. return _internal_col(index);
  3482. }
  3483. inline void MessageOfMap_Row::set_col(int index, ::protobuf::PlaceType value)
  3484. {
  3485. _impl_.col_.Set(index, value);
  3486. // @@protoc_insertion_point(field_set:protobuf.MessageOfMap.Row.col)
  3487. }
  3488. inline void MessageOfMap_Row::_internal_add_col(::protobuf::PlaceType value)
  3489. {
  3490. _impl_.col_.Add(value);
  3491. }
  3492. inline void MessageOfMap_Row::add_col(::protobuf::PlaceType value)
  3493. {
  3494. _internal_add_col(value);
  3495. // @@protoc_insertion_point(field_add:protobuf.MessageOfMap.Row.col)
  3496. }
  3497. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
  3498. MessageOfMap_Row::col() const
  3499. {
  3500. // @@protoc_insertion_point(field_list:protobuf.MessageOfMap.Row.col)
  3501. return _impl_.col_;
  3502. }
  3503. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
  3504. MessageOfMap_Row::_internal_mutable_col()
  3505. {
  3506. return &_impl_.col_;
  3507. }
  3508. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
  3509. MessageOfMap_Row::mutable_col()
  3510. {
  3511. // @@protoc_insertion_point(field_mutable_list:protobuf.MessageOfMap.Row.col)
  3512. return _internal_mutable_col();
  3513. }
  3514. // -------------------------------------------------------------------
  3515. // MessageOfMap
  3516. // repeated .protobuf.MessageOfMap.Row row = 2;
  3517. inline int MessageOfMap::_internal_row_size() const
  3518. {
  3519. return _impl_.row_.size();
  3520. }
  3521. inline int MessageOfMap::row_size() const
  3522. {
  3523. return _internal_row_size();
  3524. }
  3525. inline void MessageOfMap::clear_row()
  3526. {
  3527. _impl_.row_.Clear();
  3528. }
  3529. inline ::protobuf::MessageOfMap_Row* MessageOfMap::mutable_row(int index)
  3530. {
  3531. // @@protoc_insertion_point(field_mutable:protobuf.MessageOfMap.row)
  3532. return _impl_.row_.Mutable(index);
  3533. }
  3534. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfMap_Row>*
  3535. MessageOfMap::mutable_row()
  3536. {
  3537. // @@protoc_insertion_point(field_mutable_list:protobuf.MessageOfMap.row)
  3538. return &_impl_.row_;
  3539. }
  3540. inline const ::protobuf::MessageOfMap_Row& MessageOfMap::_internal_row(int index) const
  3541. {
  3542. return _impl_.row_.Get(index);
  3543. }
  3544. inline const ::protobuf::MessageOfMap_Row& MessageOfMap::row(int index) const
  3545. {
  3546. // @@protoc_insertion_point(field_get:protobuf.MessageOfMap.row)
  3547. return _internal_row(index);
  3548. }
  3549. inline ::protobuf::MessageOfMap_Row* MessageOfMap::_internal_add_row()
  3550. {
  3551. return _impl_.row_.Add();
  3552. }
  3553. inline ::protobuf::MessageOfMap_Row* MessageOfMap::add_row()
  3554. {
  3555. ::protobuf::MessageOfMap_Row* _add = _internal_add_row();
  3556. // @@protoc_insertion_point(field_add:protobuf.MessageOfMap.row)
  3557. return _add;
  3558. }
  3559. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfMap_Row>&
  3560. MessageOfMap::row() const
  3561. {
  3562. // @@protoc_insertion_point(field_list:protobuf.MessageOfMap.row)
  3563. return _impl_.row_;
  3564. }
  3565. // -------------------------------------------------------------------
  3566. // MessageToClient
  3567. // repeated .protobuf.MessageOfHuman human_message = 1;
  3568. inline int MessageToClient::_internal_human_message_size() const
  3569. {
  3570. return _impl_.human_message_.size();
  3571. }
  3572. inline int MessageToClient::human_message_size() const
  3573. {
  3574. return _internal_human_message_size();
  3575. }
  3576. inline void MessageToClient::clear_human_message()
  3577. {
  3578. _impl_.human_message_.Clear();
  3579. }
  3580. inline ::protobuf::MessageOfHuman* MessageToClient::mutable_human_message(int index)
  3581. {
  3582. // @@protoc_insertion_point(field_mutable:protobuf.MessageToClient.human_message)
  3583. return _impl_.human_message_.Mutable(index);
  3584. }
  3585. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfHuman>*
  3586. MessageToClient::mutable_human_message()
  3587. {
  3588. // @@protoc_insertion_point(field_mutable_list:protobuf.MessageToClient.human_message)
  3589. return &_impl_.human_message_;
  3590. }
  3591. inline const ::protobuf::MessageOfHuman& MessageToClient::_internal_human_message(int index) const
  3592. {
  3593. return _impl_.human_message_.Get(index);
  3594. }
  3595. inline const ::protobuf::MessageOfHuman& MessageToClient::human_message(int index) const
  3596. {
  3597. // @@protoc_insertion_point(field_get:protobuf.MessageToClient.human_message)
  3598. return _internal_human_message(index);
  3599. }
  3600. inline ::protobuf::MessageOfHuman* MessageToClient::_internal_add_human_message()
  3601. {
  3602. return _impl_.human_message_.Add();
  3603. }
  3604. inline ::protobuf::MessageOfHuman* MessageToClient::add_human_message()
  3605. {
  3606. ::protobuf::MessageOfHuman* _add = _internal_add_human_message();
  3607. // @@protoc_insertion_point(field_add:protobuf.MessageToClient.human_message)
  3608. return _add;
  3609. }
  3610. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfHuman>&
  3611. MessageToClient::human_message() const
  3612. {
  3613. // @@protoc_insertion_point(field_list:protobuf.MessageToClient.human_message)
  3614. return _impl_.human_message_;
  3615. }
  3616. // repeated .protobuf.MessageOfButcher butcher_message = 2;
  3617. inline int MessageToClient::_internal_butcher_message_size() const
  3618. {
  3619. return _impl_.butcher_message_.size();
  3620. }
  3621. inline int MessageToClient::butcher_message_size() const
  3622. {
  3623. return _internal_butcher_message_size();
  3624. }
  3625. inline void MessageToClient::clear_butcher_message()
  3626. {
  3627. _impl_.butcher_message_.Clear();
  3628. }
  3629. inline ::protobuf::MessageOfButcher* MessageToClient::mutable_butcher_message(int index)
  3630. {
  3631. // @@protoc_insertion_point(field_mutable:protobuf.MessageToClient.butcher_message)
  3632. return _impl_.butcher_message_.Mutable(index);
  3633. }
  3634. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfButcher>*
  3635. MessageToClient::mutable_butcher_message()
  3636. {
  3637. // @@protoc_insertion_point(field_mutable_list:protobuf.MessageToClient.butcher_message)
  3638. return &_impl_.butcher_message_;
  3639. }
  3640. inline const ::protobuf::MessageOfButcher& MessageToClient::_internal_butcher_message(int index) const
  3641. {
  3642. return _impl_.butcher_message_.Get(index);
  3643. }
  3644. inline const ::protobuf::MessageOfButcher& MessageToClient::butcher_message(int index) const
  3645. {
  3646. // @@protoc_insertion_point(field_get:protobuf.MessageToClient.butcher_message)
  3647. return _internal_butcher_message(index);
  3648. }
  3649. inline ::protobuf::MessageOfButcher* MessageToClient::_internal_add_butcher_message()
  3650. {
  3651. return _impl_.butcher_message_.Add();
  3652. }
  3653. inline ::protobuf::MessageOfButcher* MessageToClient::add_butcher_message()
  3654. {
  3655. ::protobuf::MessageOfButcher* _add = _internal_add_butcher_message();
  3656. // @@protoc_insertion_point(field_add:protobuf.MessageToClient.butcher_message)
  3657. return _add;
  3658. }
  3659. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfButcher>&
  3660. MessageToClient::butcher_message() const
  3661. {
  3662. // @@protoc_insertion_point(field_list:protobuf.MessageToClient.butcher_message)
  3663. return _impl_.butcher_message_;
  3664. }
  3665. // repeated .protobuf.MessageOfProp prop_message = 3;
  3666. inline int MessageToClient::_internal_prop_message_size() const
  3667. {
  3668. return _impl_.prop_message_.size();
  3669. }
  3670. inline int MessageToClient::prop_message_size() const
  3671. {
  3672. return _internal_prop_message_size();
  3673. }
  3674. inline void MessageToClient::clear_prop_message()
  3675. {
  3676. _impl_.prop_message_.Clear();
  3677. }
  3678. inline ::protobuf::MessageOfProp* MessageToClient::mutable_prop_message(int index)
  3679. {
  3680. // @@protoc_insertion_point(field_mutable:protobuf.MessageToClient.prop_message)
  3681. return _impl_.prop_message_.Mutable(index);
  3682. }
  3683. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfProp>*
  3684. MessageToClient::mutable_prop_message()
  3685. {
  3686. // @@protoc_insertion_point(field_mutable_list:protobuf.MessageToClient.prop_message)
  3687. return &_impl_.prop_message_;
  3688. }
  3689. inline const ::protobuf::MessageOfProp& MessageToClient::_internal_prop_message(int index) const
  3690. {
  3691. return _impl_.prop_message_.Get(index);
  3692. }
  3693. inline const ::protobuf::MessageOfProp& MessageToClient::prop_message(int index) const
  3694. {
  3695. // @@protoc_insertion_point(field_get:protobuf.MessageToClient.prop_message)
  3696. return _internal_prop_message(index);
  3697. }
  3698. inline ::protobuf::MessageOfProp* MessageToClient::_internal_add_prop_message()
  3699. {
  3700. return _impl_.prop_message_.Add();
  3701. }
  3702. inline ::protobuf::MessageOfProp* MessageToClient::add_prop_message()
  3703. {
  3704. ::protobuf::MessageOfProp* _add = _internal_add_prop_message();
  3705. // @@protoc_insertion_point(field_add:protobuf.MessageToClient.prop_message)
  3706. return _add;
  3707. }
  3708. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfProp>&
  3709. MessageToClient::prop_message() const
  3710. {
  3711. // @@protoc_insertion_point(field_list:protobuf.MessageToClient.prop_message)
  3712. return _impl_.prop_message_;
  3713. }
  3714. // .protobuf.MessageOfMap map_massage = 4;
  3715. inline bool MessageToClient::_internal_has_map_massage() const
  3716. {
  3717. return this != internal_default_instance() && _impl_.map_massage_ != nullptr;
  3718. }
  3719. inline bool MessageToClient::has_map_massage() const
  3720. {
  3721. return _internal_has_map_massage();
  3722. }
  3723. inline void MessageToClient::clear_map_massage()
  3724. {
  3725. if (GetArenaForAllocation() == nullptr && _impl_.map_massage_ != nullptr)
  3726. {
  3727. delete _impl_.map_massage_;
  3728. }
  3729. _impl_.map_massage_ = nullptr;
  3730. }
  3731. inline const ::protobuf::MessageOfMap& MessageToClient::_internal_map_massage() const
  3732. {
  3733. const ::protobuf::MessageOfMap* p = _impl_.map_massage_;
  3734. return p != nullptr ? *p : reinterpret_cast<const ::protobuf::MessageOfMap&>(::protobuf::_MessageOfMap_default_instance_);
  3735. }
  3736. inline const ::protobuf::MessageOfMap& MessageToClient::map_massage() const
  3737. {
  3738. // @@protoc_insertion_point(field_get:protobuf.MessageToClient.map_massage)
  3739. return _internal_map_massage();
  3740. }
  3741. inline void MessageToClient::unsafe_arena_set_allocated_map_massage(
  3742. ::protobuf::MessageOfMap* map_massage
  3743. )
  3744. {
  3745. if (GetArenaForAllocation() == nullptr)
  3746. {
  3747. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.map_massage_);
  3748. }
  3749. _impl_.map_massage_ = map_massage;
  3750. if (map_massage)
  3751. {
  3752. }
  3753. else
  3754. {
  3755. }
  3756. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protobuf.MessageToClient.map_massage)
  3757. }
  3758. inline ::protobuf::MessageOfMap* MessageToClient::release_map_massage()
  3759. {
  3760. ::protobuf::MessageOfMap* temp = _impl_.map_massage_;
  3761. _impl_.map_massage_ = nullptr;
  3762. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  3763. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  3764. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  3765. if (GetArenaForAllocation() == nullptr)
  3766. {
  3767. delete old;
  3768. }
  3769. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  3770. if (GetArenaForAllocation() != nullptr)
  3771. {
  3772. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  3773. }
  3774. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  3775. return temp;
  3776. }
  3777. inline ::protobuf::MessageOfMap* MessageToClient::unsafe_arena_release_map_massage()
  3778. {
  3779. // @@protoc_insertion_point(field_release:protobuf.MessageToClient.map_massage)
  3780. ::protobuf::MessageOfMap* temp = _impl_.map_massage_;
  3781. _impl_.map_massage_ = nullptr;
  3782. return temp;
  3783. }
  3784. inline ::protobuf::MessageOfMap* MessageToClient::_internal_mutable_map_massage()
  3785. {
  3786. if (_impl_.map_massage_ == nullptr)
  3787. {
  3788. auto* p = CreateMaybeMessage<::protobuf::MessageOfMap>(GetArenaForAllocation());
  3789. _impl_.map_massage_ = p;
  3790. }
  3791. return _impl_.map_massage_;
  3792. }
  3793. inline ::protobuf::MessageOfMap* MessageToClient::mutable_map_massage()
  3794. {
  3795. ::protobuf::MessageOfMap* _msg = _internal_mutable_map_massage();
  3796. // @@protoc_insertion_point(field_mutable:protobuf.MessageToClient.map_massage)
  3797. return _msg;
  3798. }
  3799. inline void MessageToClient::set_allocated_map_massage(::protobuf::MessageOfMap* map_massage)
  3800. {
  3801. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  3802. if (message_arena == nullptr)
  3803. {
  3804. delete _impl_.map_massage_;
  3805. }
  3806. if (map_massage)
  3807. {
  3808. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  3809. ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(map_massage);
  3810. if (message_arena != submessage_arena)
  3811. {
  3812. map_massage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  3813. message_arena, map_massage, submessage_arena
  3814. );
  3815. }
  3816. }
  3817. else
  3818. {
  3819. }
  3820. _impl_.map_massage_ = map_massage;
  3821. // @@protoc_insertion_point(field_set_allocated:protobuf.MessageToClient.map_massage)
  3822. }
  3823. // -------------------------------------------------------------------
  3824. // MoveRes
  3825. // int64 actual_speed = 1;
  3826. inline void MoveRes::clear_actual_speed()
  3827. {
  3828. _impl_.actual_speed_ = int64_t{0};
  3829. }
  3830. inline int64_t MoveRes::_internal_actual_speed() const
  3831. {
  3832. return _impl_.actual_speed_;
  3833. }
  3834. inline int64_t MoveRes::actual_speed() const
  3835. {
  3836. // @@protoc_insertion_point(field_get:protobuf.MoveRes.actual_speed)
  3837. return _internal_actual_speed();
  3838. }
  3839. inline void MoveRes::_internal_set_actual_speed(int64_t value)
  3840. {
  3841. _impl_.actual_speed_ = value;
  3842. }
  3843. inline void MoveRes::set_actual_speed(int64_t value)
  3844. {
  3845. _internal_set_actual_speed(value);
  3846. // @@protoc_insertion_point(field_set:protobuf.MoveRes.actual_speed)
  3847. }
  3848. // double actual_angle = 2;
  3849. inline void MoveRes::clear_actual_angle()
  3850. {
  3851. _impl_.actual_angle_ = 0;
  3852. }
  3853. inline double MoveRes::_internal_actual_angle() const
  3854. {
  3855. return _impl_.actual_angle_;
  3856. }
  3857. inline double MoveRes::actual_angle() const
  3858. {
  3859. // @@protoc_insertion_point(field_get:protobuf.MoveRes.actual_angle)
  3860. return _internal_actual_angle();
  3861. }
  3862. inline void MoveRes::_internal_set_actual_angle(double value)
  3863. {
  3864. _impl_.actual_angle_ = value;
  3865. }
  3866. inline void MoveRes::set_actual_angle(double value)
  3867. {
  3868. _internal_set_actual_angle(value);
  3869. // @@protoc_insertion_point(field_set:protobuf.MoveRes.actual_angle)
  3870. }
  3871. // -------------------------------------------------------------------
  3872. // BoolRes
  3873. // bool act_success = 1;
  3874. inline void BoolRes::clear_act_success()
  3875. {
  3876. _impl_.act_success_ = false;
  3877. }
  3878. inline bool BoolRes::_internal_act_success() const
  3879. {
  3880. return _impl_.act_success_;
  3881. }
  3882. inline bool BoolRes::act_success() const
  3883. {
  3884. // @@protoc_insertion_point(field_get:protobuf.BoolRes.act_success)
  3885. return _internal_act_success();
  3886. }
  3887. inline void BoolRes::_internal_set_act_success(bool value)
  3888. {
  3889. _impl_.act_success_ = value;
  3890. }
  3891. inline void BoolRes::set_act_success(bool value)
  3892. {
  3893. _internal_set_act_success(value);
  3894. // @@protoc_insertion_point(field_set:protobuf.BoolRes.act_success)
  3895. }
  3896. // -------------------------------------------------------------------
  3897. // MsgRes
  3898. // bool have_message = 1;
  3899. inline void MsgRes::clear_have_message()
  3900. {
  3901. _impl_.have_message_ = false;
  3902. }
  3903. inline bool MsgRes::_internal_have_message() const
  3904. {
  3905. return _impl_.have_message_;
  3906. }
  3907. inline bool MsgRes::have_message() const
  3908. {
  3909. // @@protoc_insertion_point(field_get:protobuf.MsgRes.have_message)
  3910. return _internal_have_message();
  3911. }
  3912. inline void MsgRes::_internal_set_have_message(bool value)
  3913. {
  3914. _impl_.have_message_ = value;
  3915. }
  3916. inline void MsgRes::set_have_message(bool value)
  3917. {
  3918. _internal_set_have_message(value);
  3919. // @@protoc_insertion_point(field_set:protobuf.MsgRes.have_message)
  3920. }
  3921. // int64 from_player_id = 2;
  3922. inline void MsgRes::clear_from_player_id()
  3923. {
  3924. _impl_.from_player_id_ = int64_t{0};
  3925. }
  3926. inline int64_t MsgRes::_internal_from_player_id() const
  3927. {
  3928. return _impl_.from_player_id_;
  3929. }
  3930. inline int64_t MsgRes::from_player_id() const
  3931. {
  3932. // @@protoc_insertion_point(field_get:protobuf.MsgRes.from_player_id)
  3933. return _internal_from_player_id();
  3934. }
  3935. inline void MsgRes::_internal_set_from_player_id(int64_t value)
  3936. {
  3937. _impl_.from_player_id_ = value;
  3938. }
  3939. inline void MsgRes::set_from_player_id(int64_t value)
  3940. {
  3941. _internal_set_from_player_id(value);
  3942. // @@protoc_insertion_point(field_set:protobuf.MsgRes.from_player_id)
  3943. }
  3944. // string message_received = 3;
  3945. inline void MsgRes::clear_message_received()
  3946. {
  3947. _impl_.message_received_.ClearToEmpty();
  3948. }
  3949. inline const std::string& MsgRes::message_received() const
  3950. {
  3951. // @@protoc_insertion_point(field_get:protobuf.MsgRes.message_received)
  3952. return _internal_message_received();
  3953. }
  3954. template<typename ArgT0, typename... ArgT>
  3955. inline PROTOBUF_ALWAYS_INLINE void MsgRes::set_message_received(ArgT0&& arg0, ArgT... args)
  3956. {
  3957. _impl_.message_received_.Set(static_cast<ArgT0&&>(arg0), args..., GetArenaForAllocation());
  3958. // @@protoc_insertion_point(field_set:protobuf.MsgRes.message_received)
  3959. }
  3960. inline std::string* MsgRes::mutable_message_received()
  3961. {
  3962. std::string* _s = _internal_mutable_message_received();
  3963. // @@protoc_insertion_point(field_mutable:protobuf.MsgRes.message_received)
  3964. return _s;
  3965. }
  3966. inline const std::string& MsgRes::_internal_message_received() const
  3967. {
  3968. return _impl_.message_received_.Get();
  3969. }
  3970. inline void MsgRes::_internal_set_message_received(const std::string& value)
  3971. {
  3972. _impl_.message_received_.Set(value, GetArenaForAllocation());
  3973. }
  3974. inline std::string* MsgRes::_internal_mutable_message_received()
  3975. {
  3976. return _impl_.message_received_.Mutable(GetArenaForAllocation());
  3977. }
  3978. inline std::string* MsgRes::release_message_received()
  3979. {
  3980. // @@protoc_insertion_point(field_release:protobuf.MsgRes.message_received)
  3981. return _impl_.message_received_.Release();
  3982. }
  3983. inline void MsgRes::set_allocated_message_received(std::string* message_received)
  3984. {
  3985. if (message_received != nullptr)
  3986. {
  3987. }
  3988. else
  3989. {
  3990. }
  3991. _impl_.message_received_.SetAllocated(message_received, GetArenaForAllocation());
  3992. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  3993. if (_impl_.message_received_.IsDefault())
  3994. {
  3995. _impl_.message_received_.Set("", GetArenaForAllocation());
  3996. }
  3997. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  3998. // @@protoc_insertion_point(field_set_allocated:protobuf.MsgRes.message_received)
  3999. }
  4000. #ifdef __GNUC__
  4001. #pragma GCC diagnostic pop
  4002. #endif // __GNUC__
  4003. // -------------------------------------------------------------------
  4004. // -------------------------------------------------------------------
  4005. // -------------------------------------------------------------------
  4006. // -------------------------------------------------------------------
  4007. // -------------------------------------------------------------------
  4008. // -------------------------------------------------------------------
  4009. // -------------------------------------------------------------------
  4010. // -------------------------------------------------------------------
  4011. // -------------------------------------------------------------------
  4012. // @@protoc_insertion_point(namespace_scope)
  4013. } // namespace protobuf
  4014. // @@protoc_insertion_point(global_scope)
  4015. #include <google/protobuf/port_undef.inc>
  4016. #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_Message2Clients_2eproto