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 146 kB

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