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

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