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

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