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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: Message2Clients.proto
  3. #ifndef GOOGLE_PROTOBUF_INCLUDED_Message2Clients_2eproto
  4. #define GOOGLE_PROTOBUF_INCLUDED_Message2Clients_2eproto
  5. #include <limits>
  6. #include <string>
  7. #include <google/protobuf/port_def.inc>
  8. #if PROTOBUF_VERSION < 3021000
  9. #error This file was generated by a newer version of protoc which is
  10. #error incompatible with your Protocol Buffer headers. Please update
  11. #error your headers.
  12. #endif
  13. #if 3021005 < PROTOBUF_MIN_PROTOC_VERSION
  14. #error This file was generated by an older version of protoc which is
  15. #error incompatible with your Protocol Buffer headers. Please
  16. #error regenerate this file with a newer version of protoc.
  17. #endif
  18. #include <google/protobuf/port_undef.inc>
  19. #include <google/protobuf/io/coded_stream.h>
  20. #include <google/protobuf/arena.h>
  21. #include <google/protobuf/arenastring.h>
  22. #include <google/protobuf/generated_message_util.h>
  23. #include <google/protobuf/metadata_lite.h>
  24. #include <google/protobuf/generated_message_reflection.h>
  25. #include <google/protobuf/message.h>
  26. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  27. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  28. #include <google/protobuf/unknown_field_set.h>
  29. #include "MessageType.pb.h"
  30. // @@protoc_insertion_point(includes)
  31. #include <google/protobuf/port_def.inc>
  32. #define PROTOBUF_INTERNAL_EXPORT_Message2Clients_2eproto
  33. PROTOBUF_NAMESPACE_OPEN
  34. namespace internal
  35. {
  36. class AnyMetadata;
  37. } // namespace internal
  38. PROTOBUF_NAMESPACE_CLOSE
  39. // Internal implementation detail -- do not use these members.
  40. struct TableStruct_Message2Clients_2eproto
  41. {
  42. static const uint32_t offsets[];
  43. };
  44. extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_Message2Clients_2eproto;
  45. namespace protobuf
  46. {
  47. class BoolRes;
  48. struct BoolResDefaultTypeInternal;
  49. extern BoolResDefaultTypeInternal _BoolRes_default_instance_;
  50. class MessageOfAll;
  51. struct MessageOfAllDefaultTypeInternal;
  52. extern MessageOfAllDefaultTypeInternal _MessageOfAll_default_instance_;
  53. class MessageOfBombedBullet;
  54. struct MessageOfBombedBulletDefaultTypeInternal;
  55. extern MessageOfBombedBulletDefaultTypeInternal _MessageOfBombedBullet_default_instance_;
  56. class MessageOfBullet;
  57. struct MessageOfBulletDefaultTypeInternal;
  58. extern MessageOfBulletDefaultTypeInternal _MessageOfBullet_default_instance_;
  59. class MessageOfChest;
  60. struct MessageOfChestDefaultTypeInternal;
  61. extern MessageOfChestDefaultTypeInternal _MessageOfChest_default_instance_;
  62. class MessageOfClassroom;
  63. struct MessageOfClassroomDefaultTypeInternal;
  64. extern MessageOfClassroomDefaultTypeInternal _MessageOfClassroom_default_instance_;
  65. class MessageOfDoor;
  66. struct MessageOfDoorDefaultTypeInternal;
  67. extern MessageOfDoorDefaultTypeInternal _MessageOfDoor_default_instance_;
  68. class MessageOfGate;
  69. struct MessageOfGateDefaultTypeInternal;
  70. extern MessageOfGateDefaultTypeInternal _MessageOfGate_default_instance_;
  71. class MessageOfHiddenGate;
  72. struct MessageOfHiddenGateDefaultTypeInternal;
  73. extern MessageOfHiddenGateDefaultTypeInternal _MessageOfHiddenGate_default_instance_;
  74. class MessageOfMap;
  75. struct MessageOfMapDefaultTypeInternal;
  76. extern MessageOfMapDefaultTypeInternal _MessageOfMap_default_instance_;
  77. class MessageOfMap_Row;
  78. struct MessageOfMap_RowDefaultTypeInternal;
  79. extern MessageOfMap_RowDefaultTypeInternal _MessageOfMap_Row_default_instance_;
  80. class MessageOfNews;
  81. struct MessageOfNewsDefaultTypeInternal;
  82. extern MessageOfNewsDefaultTypeInternal _MessageOfNews_default_instance_;
  83. class MessageOfObj;
  84. struct MessageOfObjDefaultTypeInternal;
  85. extern MessageOfObjDefaultTypeInternal _MessageOfObj_default_instance_;
  86. class MessageOfPickedProp;
  87. struct MessageOfPickedPropDefaultTypeInternal;
  88. extern MessageOfPickedPropDefaultTypeInternal _MessageOfPickedProp_default_instance_;
  89. class MessageOfProp;
  90. struct MessageOfPropDefaultTypeInternal;
  91. extern MessageOfPropDefaultTypeInternal _MessageOfProp_default_instance_;
  92. class MessageOfStudent;
  93. struct MessageOfStudentDefaultTypeInternal;
  94. extern MessageOfStudentDefaultTypeInternal _MessageOfStudent_default_instance_;
  95. class MessageOfTricker;
  96. struct MessageOfTrickerDefaultTypeInternal;
  97. extern MessageOfTrickerDefaultTypeInternal _MessageOfTricker_default_instance_;
  98. class MessageToClient;
  99. struct MessageToClientDefaultTypeInternal;
  100. extern MessageToClientDefaultTypeInternal _MessageToClient_default_instance_;
  101. class MoveRes;
  102. struct MoveResDefaultTypeInternal;
  103. extern MoveResDefaultTypeInternal _MoveRes_default_instance_;
  104. } // namespace protobuf
  105. PROTOBUF_NAMESPACE_OPEN
  106. template<>
  107. ::protobuf::BoolRes* Arena::CreateMaybeMessage<::protobuf::BoolRes>(Arena*);
  108. template<>
  109. ::protobuf::MessageOfAll* Arena::CreateMaybeMessage<::protobuf::MessageOfAll>(Arena*);
  110. template<>
  111. ::protobuf::MessageOfBombedBullet* Arena::CreateMaybeMessage<::protobuf::MessageOfBombedBullet>(Arena*);
  112. template<>
  113. ::protobuf::MessageOfBullet* Arena::CreateMaybeMessage<::protobuf::MessageOfBullet>(Arena*);
  114. template<>
  115. ::protobuf::MessageOfChest* Arena::CreateMaybeMessage<::protobuf::MessageOfChest>(Arena*);
  116. template<>
  117. ::protobuf::MessageOfClassroom* Arena::CreateMaybeMessage<::protobuf::MessageOfClassroom>(Arena*);
  118. template<>
  119. ::protobuf::MessageOfDoor* Arena::CreateMaybeMessage<::protobuf::MessageOfDoor>(Arena*);
  120. template<>
  121. ::protobuf::MessageOfGate* Arena::CreateMaybeMessage<::protobuf::MessageOfGate>(Arena*);
  122. template<>
  123. ::protobuf::MessageOfHiddenGate* Arena::CreateMaybeMessage<::protobuf::MessageOfHiddenGate>(Arena*);
  124. template<>
  125. ::protobuf::MessageOfMap* Arena::CreateMaybeMessage<::protobuf::MessageOfMap>(Arena*);
  126. template<>
  127. ::protobuf::MessageOfMap_Row* Arena::CreateMaybeMessage<::protobuf::MessageOfMap_Row>(Arena*);
  128. template<>
  129. ::protobuf::MessageOfNews* Arena::CreateMaybeMessage<::protobuf::MessageOfNews>(Arena*);
  130. template<>
  131. ::protobuf::MessageOfObj* Arena::CreateMaybeMessage<::protobuf::MessageOfObj>(Arena*);
  132. template<>
  133. ::protobuf::MessageOfPickedProp* Arena::CreateMaybeMessage<::protobuf::MessageOfPickedProp>(Arena*);
  134. template<>
  135. ::protobuf::MessageOfProp* Arena::CreateMaybeMessage<::protobuf::MessageOfProp>(Arena*);
  136. template<>
  137. ::protobuf::MessageOfStudent* Arena::CreateMaybeMessage<::protobuf::MessageOfStudent>(Arena*);
  138. template<>
  139. ::protobuf::MessageOfTricker* Arena::CreateMaybeMessage<::protobuf::MessageOfTricker>(Arena*);
  140. template<>
  141. ::protobuf::MessageToClient* Arena::CreateMaybeMessage<::protobuf::MessageToClient>(Arena*);
  142. template<>
  143. ::protobuf::MoveRes* Arena::CreateMaybeMessage<::protobuf::MoveRes>(Arena*);
  144. PROTOBUF_NAMESPACE_CLOSE
  145. namespace protobuf
  146. {
  147. // ===================================================================
  148. class MessageOfStudent final :
  149. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfStudent) */
  150. {
  151. public:
  152. inline MessageOfStudent() :
  153. MessageOfStudent(nullptr)
  154. {
  155. }
  156. ~MessageOfStudent() override;
  157. explicit PROTOBUF_CONSTEXPR MessageOfStudent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  158. MessageOfStudent(const MessageOfStudent& from);
  159. MessageOfStudent(MessageOfStudent&& from) noexcept
  160. :
  161. MessageOfStudent()
  162. {
  163. *this = ::std::move(from);
  164. }
  165. inline MessageOfStudent& operator=(const MessageOfStudent& from)
  166. {
  167. CopyFrom(from);
  168. return *this;
  169. }
  170. inline MessageOfStudent& operator=(MessageOfStudent&& from) noexcept
  171. {
  172. if (this == &from)
  173. return *this;
  174. if (GetOwningArena() == from.GetOwningArena()
  175. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  176. && GetOwningArena() != nullptr
  177. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  178. )
  179. {
  180. InternalSwap(&from);
  181. }
  182. else
  183. {
  184. CopyFrom(from);
  185. }
  186. return *this;
  187. }
  188. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
  189. {
  190. return GetDescriptor();
  191. }
  192. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
  193. {
  194. return default_instance().GetMetadata().descriptor;
  195. }
  196. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
  197. {
  198. return default_instance().GetMetadata().reflection;
  199. }
  200. static const MessageOfStudent& default_instance()
  201. {
  202. return *internal_default_instance();
  203. }
  204. static inline const MessageOfStudent* internal_default_instance()
  205. {
  206. return reinterpret_cast<const MessageOfStudent*>(
  207. &_MessageOfStudent_default_instance_
  208. );
  209. }
  210. static constexpr int kIndexInFileMessages =
  211. 0;
  212. friend void swap(MessageOfStudent& a, MessageOfStudent& b)
  213. {
  214. a.Swap(&b);
  215. }
  216. inline void Swap(MessageOfStudent* other)
  217. {
  218. if (other == this)
  219. return;
  220. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  221. if (GetOwningArena() != nullptr &&
  222. GetOwningArena() == other->GetOwningArena())
  223. {
  224. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  225. if (GetOwningArena() == other->GetOwningArena())
  226. {
  227. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  228. InternalSwap(other);
  229. }
  230. else
  231. {
  232. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  233. }
  234. }
  235. void UnsafeArenaSwap(MessageOfStudent* other)
  236. {
  237. if (other == this)
  238. return;
  239. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  240. InternalSwap(other);
  241. }
  242. // implements Message ----------------------------------------------
  243. MessageOfStudent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
  244. {
  245. return CreateMaybeMessage<MessageOfStudent>(arena);
  246. }
  247. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  248. void CopyFrom(const MessageOfStudent& from);
  249. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  250. void MergeFrom(const MessageOfStudent& from)
  251. {
  252. MessageOfStudent::MergeImpl(*this, from);
  253. }
  254. private:
  255. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  256. public:
  257. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  258. bool IsInitialized() const final;
  259. size_t ByteSizeLong() const final;
  260. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  261. uint8_t* _InternalSerialize(
  262. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
  263. ) const final;
  264. int GetCachedSize() const final
  265. {
  266. return _impl_._cached_size_.Get();
  267. }
  268. private:
  269. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  270. void SharedDtor();
  271. void SetCachedSize(int size) const final;
  272. void InternalSwap(MessageOfStudent* other);
  273. private:
  274. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  275. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
  276. {
  277. return "protobuf.MessageOfStudent";
  278. }
  279. protected:
  280. explicit MessageOfStudent(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
  281. public:
  282. static const ClassData _class_data_;
  283. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
  284. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  285. // nested types ----------------------------------------------------
  286. // accessors -------------------------------------------------------
  287. enum : int
  288. {
  289. kTimeUntilSkillAvailableFieldNumber = 6,
  290. kPropFieldNumber = 8,
  291. kBuffFieldNumber = 25,
  292. kXFieldNumber = 1,
  293. kYFieldNumber = 2,
  294. kSpeedFieldNumber = 3,
  295. kDeterminationFieldNumber = 4,
  296. kAddictionFieldNumber = 5,
  297. kPlaceFieldNumber = 7,
  298. kGuidFieldNumber = 10,
  299. kPlayerStateFieldNumber = 9,
  300. kBulletTypeFieldNumber = 12,
  301. kLearningSpeedFieldNumber = 13,
  302. kTreatSpeedFieldNumber = 14,
  303. kPlayerIdFieldNumber = 15,
  304. kViewRangeFieldNumber = 16,
  305. kRadiusFieldNumber = 17,
  306. kDangerAlertFieldNumber = 19,
  307. kScoreFieldNumber = 20,
  308. kTreatProgressFieldNumber = 21,
  309. kRescueProgressFieldNumber = 22,
  310. kStudentTypeFieldNumber = 23,
  311. kFacingDirectionFieldNumber = 24,
  312. };
  313. // repeated double time_until_skill_available = 6;
  314. int time_until_skill_available_size() const;
  315. private:
  316. int _internal_time_until_skill_available_size() const;
  317. public:
  318. void clear_time_until_skill_available();
  319. private:
  320. double _internal_time_until_skill_available(int index) const;
  321. const ::PROTOBUF_NAMESPACE_ID::RepeatedField<double>&
  322. _internal_time_until_skill_available() const;
  323. void _internal_add_time_until_skill_available(double value);
  324. ::PROTOBUF_NAMESPACE_ID::RepeatedField<double>*
  325. _internal_mutable_time_until_skill_available();
  326. public:
  327. double time_until_skill_available(int index) const;
  328. void set_time_until_skill_available(int index, double value);
  329. void add_time_until_skill_available(double value);
  330. const ::PROTOBUF_NAMESPACE_ID::RepeatedField<double>&
  331. time_until_skill_available() const;
  332. ::PROTOBUF_NAMESPACE_ID::RepeatedField<double>*
  333. mutable_time_until_skill_available();
  334. // repeated .protobuf.PropType prop = 8;
  335. int prop_size() const;
  336. private:
  337. int _internal_prop_size() const;
  338. public:
  339. void clear_prop();
  340. private:
  341. ::protobuf::PropType _internal_prop(int index) const;
  342. void _internal_add_prop(::protobuf::PropType value);
  343. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_prop();
  344. public:
  345. ::protobuf::PropType prop(int index) const;
  346. void set_prop(int index, ::protobuf::PropType value);
  347. void add_prop(::protobuf::PropType value);
  348. const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& prop() const;
  349. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_prop();
  350. // repeated .protobuf.StudentBuffType buff = 25;
  351. int buff_size() const;
  352. private:
  353. int _internal_buff_size() const;
  354. public:
  355. void clear_buff();
  356. private:
  357. ::protobuf::StudentBuffType _internal_buff(int index) const;
  358. void _internal_add_buff(::protobuf::StudentBuffType value);
  359. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_buff();
  360. public:
  361. ::protobuf::StudentBuffType buff(int index) const;
  362. void set_buff(int index, ::protobuf::StudentBuffType value);
  363. void add_buff(::protobuf::StudentBuffType value);
  364. const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& buff() const;
  365. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_buff();
  366. // int32 x = 1;
  367. void clear_x();
  368. int32_t x() const;
  369. void set_x(int32_t value);
  370. private:
  371. int32_t _internal_x() const;
  372. void _internal_set_x(int32_t value);
  373. public:
  374. // int32 y = 2;
  375. void clear_y();
  376. int32_t y() const;
  377. void set_y(int32_t value);
  378. private:
  379. int32_t _internal_y() const;
  380. void _internal_set_y(int32_t value);
  381. public:
  382. // int32 speed = 3;
  383. void clear_speed();
  384. int32_t speed() const;
  385. void set_speed(int32_t value);
  386. private:
  387. int32_t _internal_speed() const;
  388. void _internal_set_speed(int32_t value);
  389. public:
  390. // int32 determination = 4;
  391. void clear_determination();
  392. int32_t determination() const;
  393. void set_determination(int32_t value);
  394. private:
  395. int32_t _internal_determination() const;
  396. void _internal_set_determination(int32_t value);
  397. public:
  398. // int32 addiction = 5;
  399. void clear_addiction();
  400. int32_t addiction() const;
  401. void set_addiction(int32_t value);
  402. private:
  403. int32_t _internal_addiction() const;
  404. void _internal_set_addiction(int32_t value);
  405. public:
  406. // .protobuf.PlaceType place = 7;
  407. void clear_place();
  408. ::protobuf::PlaceType place() const;
  409. void set_place(::protobuf::PlaceType value);
  410. private:
  411. ::protobuf::PlaceType _internal_place() const;
  412. void _internal_set_place(::protobuf::PlaceType value);
  413. public:
  414. // int64 guid = 10;
  415. void clear_guid();
  416. int64_t guid() const;
  417. void set_guid(int64_t value);
  418. private:
  419. int64_t _internal_guid() const;
  420. void _internal_set_guid(int64_t value);
  421. public:
  422. // .protobuf.PlayerState player_state = 9;
  423. void clear_player_state();
  424. ::protobuf::PlayerState player_state() const;
  425. void set_player_state(::protobuf::PlayerState value);
  426. private:
  427. ::protobuf::PlayerState _internal_player_state() const;
  428. void _internal_set_player_state(::protobuf::PlayerState value);
  429. public:
  430. // .protobuf.BulletType bullet_type = 12;
  431. void clear_bullet_type();
  432. ::protobuf::BulletType bullet_type() const;
  433. void set_bullet_type(::protobuf::BulletType value);
  434. private:
  435. ::protobuf::BulletType _internal_bullet_type() const;
  436. void _internal_set_bullet_type(::protobuf::BulletType value);
  437. public:
  438. // int32 learning_speed = 13;
  439. void clear_learning_speed();
  440. int32_t learning_speed() const;
  441. void set_learning_speed(int32_t value);
  442. private:
  443. int32_t _internal_learning_speed() const;
  444. void _internal_set_learning_speed(int32_t value);
  445. public:
  446. // int32 treat_speed = 14;
  447. void clear_treat_speed();
  448. int32_t treat_speed() const;
  449. void set_treat_speed(int32_t value);
  450. private:
  451. int32_t _internal_treat_speed() const;
  452. void _internal_set_treat_speed(int32_t value);
  453. public:
  454. // int64 player_id = 15;
  455. void clear_player_id();
  456. int64_t player_id() const;
  457. void set_player_id(int64_t value);
  458. private:
  459. int64_t _internal_player_id() const;
  460. void _internal_set_player_id(int64_t value);
  461. public:
  462. // int32 view_range = 16;
  463. void clear_view_range();
  464. int32_t view_range() const;
  465. void set_view_range(int32_t value);
  466. private:
  467. int32_t _internal_view_range() const;
  468. void _internal_set_view_range(int32_t value);
  469. public:
  470. // int32 radius = 17;
  471. void clear_radius();
  472. int32_t radius() const;
  473. void set_radius(int32_t value);
  474. private:
  475. int32_t _internal_radius() const;
  476. void _internal_set_radius(int32_t value);
  477. public:
  478. // double danger_alert = 19;
  479. void clear_danger_alert();
  480. double danger_alert() const;
  481. void set_danger_alert(double value);
  482. private:
  483. double _internal_danger_alert() const;
  484. void _internal_set_danger_alert(double value);
  485. public:
  486. // int32 score = 20;
  487. void clear_score();
  488. int32_t score() const;
  489. void set_score(int32_t value);
  490. private:
  491. int32_t _internal_score() const;
  492. void _internal_set_score(int32_t value);
  493. public:
  494. // int32 treat_progress = 21;
  495. void clear_treat_progress();
  496. int32_t treat_progress() const;
  497. void set_treat_progress(int32_t value);
  498. private:
  499. int32_t _internal_treat_progress() const;
  500. void _internal_set_treat_progress(int32_t value);
  501. public:
  502. // int32 rescue_progress = 22;
  503. void clear_rescue_progress();
  504. int32_t rescue_progress() const;
  505. void set_rescue_progress(int32_t value);
  506. private:
  507. int32_t _internal_rescue_progress() const;
  508. void _internal_set_rescue_progress(int32_t value);
  509. public:
  510. // .protobuf.StudentType student_type = 23;
  511. void clear_student_type();
  512. ::protobuf::StudentType student_type() const;
  513. void set_student_type(::protobuf::StudentType value);
  514. private:
  515. ::protobuf::StudentType _internal_student_type() const;
  516. void _internal_set_student_type(::protobuf::StudentType value);
  517. public:
  518. // double facing_direction = 24;
  519. void clear_facing_direction();
  520. double facing_direction() const;
  521. void set_facing_direction(double value);
  522. private:
  523. double _internal_facing_direction() const;
  524. void _internal_set_facing_direction(double value);
  525. public:
  526. // @@protoc_insertion_point(class_scope:protobuf.MessageOfStudent)
  527. private:
  528. class _Internal;
  529. template<typename T>
  530. friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  531. typedef void InternalArenaConstructable_;
  532. typedef void DestructorSkippable_;
  533. struct Impl_
  534. {
  535. ::PROTOBUF_NAMESPACE_ID::RepeatedField<double> time_until_skill_available_;
  536. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> prop_;
  537. mutable std::atomic<int> _prop_cached_byte_size_;
  538. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> buff_;
  539. mutable std::atomic<int> _buff_cached_byte_size_;
  540. int32_t x_;
  541. int32_t y_;
  542. int32_t speed_;
  543. int32_t determination_;
  544. int32_t addiction_;
  545. int place_;
  546. int64_t guid_;
  547. int player_state_;
  548. int bullet_type_;
  549. int32_t learning_speed_;
  550. int32_t treat_speed_;
  551. int64_t player_id_;
  552. int32_t view_range_;
  553. int32_t radius_;
  554. double danger_alert_;
  555. int32_t score_;
  556. int32_t treat_progress_;
  557. int32_t rescue_progress_;
  558. int student_type_;
  559. double facing_direction_;
  560. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  561. };
  562. union
  563. {
  564. Impl_ _impl_;
  565. };
  566. friend struct ::TableStruct_Message2Clients_2eproto;
  567. };
  568. // -------------------------------------------------------------------
  569. class MessageOfTricker final :
  570. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfTricker) */
  571. {
  572. public:
  573. inline MessageOfTricker() :
  574. MessageOfTricker(nullptr)
  575. {
  576. }
  577. ~MessageOfTricker() override;
  578. explicit PROTOBUF_CONSTEXPR MessageOfTricker(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  579. MessageOfTricker(const MessageOfTricker& from);
  580. MessageOfTricker(MessageOfTricker&& from) noexcept
  581. :
  582. MessageOfTricker()
  583. {
  584. *this = ::std::move(from);
  585. }
  586. inline MessageOfTricker& operator=(const MessageOfTricker& from)
  587. {
  588. CopyFrom(from);
  589. return *this;
  590. }
  591. inline MessageOfTricker& operator=(MessageOfTricker&& from) noexcept
  592. {
  593. if (this == &from)
  594. return *this;
  595. if (GetOwningArena() == from.GetOwningArena()
  596. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  597. && GetOwningArena() != nullptr
  598. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  599. )
  600. {
  601. InternalSwap(&from);
  602. }
  603. else
  604. {
  605. CopyFrom(from);
  606. }
  607. return *this;
  608. }
  609. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
  610. {
  611. return GetDescriptor();
  612. }
  613. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
  614. {
  615. return default_instance().GetMetadata().descriptor;
  616. }
  617. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
  618. {
  619. return default_instance().GetMetadata().reflection;
  620. }
  621. static const MessageOfTricker& default_instance()
  622. {
  623. return *internal_default_instance();
  624. }
  625. static inline const MessageOfTricker* internal_default_instance()
  626. {
  627. return reinterpret_cast<const MessageOfTricker*>(
  628. &_MessageOfTricker_default_instance_
  629. );
  630. }
  631. static constexpr int kIndexInFileMessages =
  632. 1;
  633. friend void swap(MessageOfTricker& a, MessageOfTricker& b)
  634. {
  635. a.Swap(&b);
  636. }
  637. inline void Swap(MessageOfTricker* other)
  638. {
  639. if (other == this)
  640. return;
  641. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  642. if (GetOwningArena() != nullptr &&
  643. GetOwningArena() == other->GetOwningArena())
  644. {
  645. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  646. if (GetOwningArena() == other->GetOwningArena())
  647. {
  648. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  649. InternalSwap(other);
  650. }
  651. else
  652. {
  653. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  654. }
  655. }
  656. void UnsafeArenaSwap(MessageOfTricker* other)
  657. {
  658. if (other == this)
  659. return;
  660. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  661. InternalSwap(other);
  662. }
  663. // implements Message ----------------------------------------------
  664. MessageOfTricker* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
  665. {
  666. return CreateMaybeMessage<MessageOfTricker>(arena);
  667. }
  668. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  669. void CopyFrom(const MessageOfTricker& from);
  670. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  671. void MergeFrom(const MessageOfTricker& from)
  672. {
  673. MessageOfTricker::MergeImpl(*this, from);
  674. }
  675. private:
  676. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  677. public:
  678. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  679. bool IsInitialized() const final;
  680. size_t ByteSizeLong() const final;
  681. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  682. uint8_t* _InternalSerialize(
  683. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
  684. ) const final;
  685. int GetCachedSize() const final
  686. {
  687. return _impl_._cached_size_.Get();
  688. }
  689. private:
  690. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  691. void SharedDtor();
  692. void SetCachedSize(int size) const final;
  693. void InternalSwap(MessageOfTricker* other);
  694. private:
  695. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  696. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
  697. {
  698. return "protobuf.MessageOfTricker";
  699. }
  700. protected:
  701. explicit MessageOfTricker(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
  702. public:
  703. static const ClassData _class_data_;
  704. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
  705. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  706. // nested types ----------------------------------------------------
  707. // accessors -------------------------------------------------------
  708. enum : int
  709. {
  710. kTimeUntilSkillAvailableFieldNumber = 5,
  711. kPropFieldNumber = 7,
  712. kBuffFieldNumber = 19,
  713. kXFieldNumber = 1,
  714. kYFieldNumber = 2,
  715. kSpeedFieldNumber = 3,
  716. kPlaceFieldNumber = 6,
  717. kGuidFieldNumber = 9,
  718. kTrickerTypeFieldNumber = 8,
  719. kScoreFieldNumber = 10,
  720. kPlayerIdFieldNumber = 11,
  721. kViewRangeFieldNumber = 12,
  722. kRadiusFieldNumber = 13,
  723. kTrickDesireFieldNumber = 15,
  724. kClassVolumeFieldNumber = 16,
  725. kPlayerStateFieldNumber = 14,
  726. kBulletTypeFieldNumber = 18,
  727. kFacingDirectionFieldNumber = 17,
  728. };
  729. // repeated double time_until_skill_available = 5;
  730. int time_until_skill_available_size() const;
  731. private:
  732. int _internal_time_until_skill_available_size() const;
  733. public:
  734. void clear_time_until_skill_available();
  735. private:
  736. double _internal_time_until_skill_available(int index) const;
  737. const ::PROTOBUF_NAMESPACE_ID::RepeatedField<double>&
  738. _internal_time_until_skill_available() const;
  739. void _internal_add_time_until_skill_available(double value);
  740. ::PROTOBUF_NAMESPACE_ID::RepeatedField<double>*
  741. _internal_mutable_time_until_skill_available();
  742. public:
  743. double time_until_skill_available(int index) const;
  744. void set_time_until_skill_available(int index, double value);
  745. void add_time_until_skill_available(double value);
  746. const ::PROTOBUF_NAMESPACE_ID::RepeatedField<double>&
  747. time_until_skill_available() const;
  748. ::PROTOBUF_NAMESPACE_ID::RepeatedField<double>*
  749. mutable_time_until_skill_available();
  750. // repeated .protobuf.PropType prop = 7;
  751. int prop_size() const;
  752. private:
  753. int _internal_prop_size() const;
  754. public:
  755. void clear_prop();
  756. private:
  757. ::protobuf::PropType _internal_prop(int index) const;
  758. void _internal_add_prop(::protobuf::PropType value);
  759. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_prop();
  760. public:
  761. ::protobuf::PropType prop(int index) const;
  762. void set_prop(int index, ::protobuf::PropType value);
  763. void add_prop(::protobuf::PropType value);
  764. const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& prop() const;
  765. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_prop();
  766. // repeated .protobuf.TrickerBuffType buff = 19;
  767. int buff_size() const;
  768. private:
  769. int _internal_buff_size() const;
  770. public:
  771. void clear_buff();
  772. private:
  773. ::protobuf::TrickerBuffType _internal_buff(int index) const;
  774. void _internal_add_buff(::protobuf::TrickerBuffType value);
  775. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_buff();
  776. public:
  777. ::protobuf::TrickerBuffType buff(int index) const;
  778. void set_buff(int index, ::protobuf::TrickerBuffType value);
  779. void add_buff(::protobuf::TrickerBuffType value);
  780. const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& buff() const;
  781. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_buff();
  782. // int32 x = 1;
  783. void clear_x();
  784. int32_t x() const;
  785. void set_x(int32_t value);
  786. private:
  787. int32_t _internal_x() const;
  788. void _internal_set_x(int32_t value);
  789. public:
  790. // int32 y = 2;
  791. void clear_y();
  792. int32_t y() const;
  793. void set_y(int32_t value);
  794. private:
  795. int32_t _internal_y() const;
  796. void _internal_set_y(int32_t value);
  797. public:
  798. // int32 speed = 3;
  799. void clear_speed();
  800. int32_t speed() const;
  801. void set_speed(int32_t value);
  802. private:
  803. int32_t _internal_speed() const;
  804. void _internal_set_speed(int32_t value);
  805. public:
  806. // .protobuf.PlaceType place = 6;
  807. void clear_place();
  808. ::protobuf::PlaceType place() const;
  809. void set_place(::protobuf::PlaceType value);
  810. private:
  811. ::protobuf::PlaceType _internal_place() const;
  812. void _internal_set_place(::protobuf::PlaceType value);
  813. public:
  814. // int64 guid = 9;
  815. void clear_guid();
  816. int64_t guid() const;
  817. void set_guid(int64_t value);
  818. private:
  819. int64_t _internal_guid() const;
  820. void _internal_set_guid(int64_t value);
  821. public:
  822. // .protobuf.TrickerType tricker_type = 8;
  823. void clear_tricker_type();
  824. ::protobuf::TrickerType tricker_type() const;
  825. void set_tricker_type(::protobuf::TrickerType value);
  826. private:
  827. ::protobuf::TrickerType _internal_tricker_type() const;
  828. void _internal_set_tricker_type(::protobuf::TrickerType value);
  829. public:
  830. // int32 score = 10;
  831. void clear_score();
  832. int32_t score() const;
  833. void set_score(int32_t value);
  834. private:
  835. int32_t _internal_score() const;
  836. void _internal_set_score(int32_t value);
  837. public:
  838. // int64 player_id = 11;
  839. void clear_player_id();
  840. int64_t player_id() const;
  841. void set_player_id(int64_t value);
  842. private:
  843. int64_t _internal_player_id() const;
  844. void _internal_set_player_id(int64_t value);
  845. public:
  846. // int32 view_range = 12;
  847. void clear_view_range();
  848. int32_t view_range() const;
  849. void set_view_range(int32_t value);
  850. private:
  851. int32_t _internal_view_range() const;
  852. void _internal_set_view_range(int32_t value);
  853. public:
  854. // int32 radius = 13;
  855. void clear_radius();
  856. int32_t radius() const;
  857. void set_radius(int32_t value);
  858. private:
  859. int32_t _internal_radius() const;
  860. void _internal_set_radius(int32_t value);
  861. public:
  862. // double trick_desire = 15;
  863. void clear_trick_desire();
  864. double trick_desire() const;
  865. void set_trick_desire(double value);
  866. private:
  867. double _internal_trick_desire() const;
  868. void _internal_set_trick_desire(double value);
  869. public:
  870. // double class_volume = 16;
  871. void clear_class_volume();
  872. double class_volume() const;
  873. void set_class_volume(double value);
  874. private:
  875. double _internal_class_volume() const;
  876. void _internal_set_class_volume(double value);
  877. public:
  878. // .protobuf.PlayerState player_state = 14;
  879. void clear_player_state();
  880. ::protobuf::PlayerState player_state() const;
  881. void set_player_state(::protobuf::PlayerState value);
  882. private:
  883. ::protobuf::PlayerState _internal_player_state() const;
  884. void _internal_set_player_state(::protobuf::PlayerState value);
  885. public:
  886. // .protobuf.BulletType bullet_type = 18;
  887. void clear_bullet_type();
  888. ::protobuf::BulletType bullet_type() const;
  889. void set_bullet_type(::protobuf::BulletType value);
  890. private:
  891. ::protobuf::BulletType _internal_bullet_type() const;
  892. void _internal_set_bullet_type(::protobuf::BulletType value);
  893. public:
  894. // double facing_direction = 17;
  895. void clear_facing_direction();
  896. double facing_direction() const;
  897. void set_facing_direction(double value);
  898. private:
  899. double _internal_facing_direction() const;
  900. void _internal_set_facing_direction(double value);
  901. public:
  902. // @@protoc_insertion_point(class_scope:protobuf.MessageOfTricker)
  903. private:
  904. class _Internal;
  905. template<typename T>
  906. friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  907. typedef void InternalArenaConstructable_;
  908. typedef void DestructorSkippable_;
  909. struct Impl_
  910. {
  911. ::PROTOBUF_NAMESPACE_ID::RepeatedField<double> time_until_skill_available_;
  912. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> prop_;
  913. mutable std::atomic<int> _prop_cached_byte_size_;
  914. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> buff_;
  915. mutable std::atomic<int> _buff_cached_byte_size_;
  916. int32_t x_;
  917. int32_t y_;
  918. int32_t speed_;
  919. int place_;
  920. int64_t guid_;
  921. int tricker_type_;
  922. int32_t score_;
  923. int64_t player_id_;
  924. int32_t view_range_;
  925. int32_t radius_;
  926. double trick_desire_;
  927. double class_volume_;
  928. int player_state_;
  929. int bullet_type_;
  930. double facing_direction_;
  931. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  932. };
  933. union
  934. {
  935. Impl_ _impl_;
  936. };
  937. friend struct ::TableStruct_Message2Clients_2eproto;
  938. };
  939. // -------------------------------------------------------------------
  940. class MessageOfBullet final :
  941. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfBullet) */
  942. {
  943. public:
  944. inline MessageOfBullet() :
  945. MessageOfBullet(nullptr)
  946. {
  947. }
  948. ~MessageOfBullet() override;
  949. explicit PROTOBUF_CONSTEXPR MessageOfBullet(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  950. MessageOfBullet(const MessageOfBullet& from);
  951. MessageOfBullet(MessageOfBullet&& from) noexcept
  952. :
  953. MessageOfBullet()
  954. {
  955. *this = ::std::move(from);
  956. }
  957. inline MessageOfBullet& operator=(const MessageOfBullet& from)
  958. {
  959. CopyFrom(from);
  960. return *this;
  961. }
  962. inline MessageOfBullet& operator=(MessageOfBullet&& from) noexcept
  963. {
  964. if (this == &from)
  965. return *this;
  966. if (GetOwningArena() == from.GetOwningArena()
  967. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  968. && GetOwningArena() != nullptr
  969. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  970. )
  971. {
  972. InternalSwap(&from);
  973. }
  974. else
  975. {
  976. CopyFrom(from);
  977. }
  978. return *this;
  979. }
  980. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
  981. {
  982. return GetDescriptor();
  983. }
  984. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
  985. {
  986. return default_instance().GetMetadata().descriptor;
  987. }
  988. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
  989. {
  990. return default_instance().GetMetadata().reflection;
  991. }
  992. static const MessageOfBullet& default_instance()
  993. {
  994. return *internal_default_instance();
  995. }
  996. static inline const MessageOfBullet* internal_default_instance()
  997. {
  998. return reinterpret_cast<const MessageOfBullet*>(
  999. &_MessageOfBullet_default_instance_
  1000. );
  1001. }
  1002. static constexpr int kIndexInFileMessages =
  1003. 2;
  1004. friend void swap(MessageOfBullet& a, MessageOfBullet& b)
  1005. {
  1006. a.Swap(&b);
  1007. }
  1008. inline void Swap(MessageOfBullet* other)
  1009. {
  1010. if (other == this)
  1011. return;
  1012. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1013. if (GetOwningArena() != nullptr &&
  1014. GetOwningArena() == other->GetOwningArena())
  1015. {
  1016. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1017. if (GetOwningArena() == other->GetOwningArena())
  1018. {
  1019. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1020. InternalSwap(other);
  1021. }
  1022. else
  1023. {
  1024. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1025. }
  1026. }
  1027. void UnsafeArenaSwap(MessageOfBullet* other)
  1028. {
  1029. if (other == this)
  1030. return;
  1031. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1032. InternalSwap(other);
  1033. }
  1034. // implements Message ----------------------------------------------
  1035. MessageOfBullet* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
  1036. {
  1037. return CreateMaybeMessage<MessageOfBullet>(arena);
  1038. }
  1039. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1040. void CopyFrom(const MessageOfBullet& from);
  1041. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1042. void MergeFrom(const MessageOfBullet& from)
  1043. {
  1044. MessageOfBullet::MergeImpl(*this, from);
  1045. }
  1046. private:
  1047. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  1048. public:
  1049. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1050. bool IsInitialized() const final;
  1051. size_t ByteSizeLong() const final;
  1052. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1053. uint8_t* _InternalSerialize(
  1054. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
  1055. ) const final;
  1056. int GetCachedSize() const final
  1057. {
  1058. return _impl_._cached_size_.Get();
  1059. }
  1060. private:
  1061. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  1062. void SharedDtor();
  1063. void SetCachedSize(int size) const final;
  1064. void InternalSwap(MessageOfBullet* other);
  1065. private:
  1066. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1067. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
  1068. {
  1069. return "protobuf.MessageOfBullet";
  1070. }
  1071. protected:
  1072. explicit MessageOfBullet(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
  1073. public:
  1074. static const ClassData _class_data_;
  1075. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
  1076. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1077. // nested types ----------------------------------------------------
  1078. // accessors -------------------------------------------------------
  1079. enum : int
  1080. {
  1081. kTypeFieldNumber = 1,
  1082. kXFieldNumber = 2,
  1083. kFacingDirectionFieldNumber = 4,
  1084. kYFieldNumber = 3,
  1085. kTeamFieldNumber = 6,
  1086. kGuidFieldNumber = 5,
  1087. kBombRangeFieldNumber = 8,
  1088. kPlaceFieldNumber = 7,
  1089. kSpeedFieldNumber = 9,
  1090. };
  1091. // .protobuf.BulletType type = 1;
  1092. void clear_type();
  1093. ::protobuf::BulletType type() const;
  1094. void set_type(::protobuf::BulletType value);
  1095. private:
  1096. ::protobuf::BulletType _internal_type() const;
  1097. void _internal_set_type(::protobuf::BulletType value);
  1098. public:
  1099. // int32 x = 2;
  1100. void clear_x();
  1101. int32_t x() const;
  1102. void set_x(int32_t value);
  1103. private:
  1104. int32_t _internal_x() const;
  1105. void _internal_set_x(int32_t value);
  1106. public:
  1107. // double facing_direction = 4;
  1108. void clear_facing_direction();
  1109. double facing_direction() const;
  1110. void set_facing_direction(double value);
  1111. private:
  1112. double _internal_facing_direction() const;
  1113. void _internal_set_facing_direction(double value);
  1114. public:
  1115. // int32 y = 3;
  1116. void clear_y();
  1117. int32_t y() const;
  1118. void set_y(int32_t value);
  1119. private:
  1120. int32_t _internal_y() const;
  1121. void _internal_set_y(int32_t value);
  1122. public:
  1123. // .protobuf.PlayerType team = 6;
  1124. void clear_team();
  1125. ::protobuf::PlayerType team() const;
  1126. void set_team(::protobuf::PlayerType value);
  1127. private:
  1128. ::protobuf::PlayerType _internal_team() const;
  1129. void _internal_set_team(::protobuf::PlayerType value);
  1130. public:
  1131. // int64 guid = 5;
  1132. void clear_guid();
  1133. int64_t guid() const;
  1134. void set_guid(int64_t value);
  1135. private:
  1136. int64_t _internal_guid() const;
  1137. void _internal_set_guid(int64_t value);
  1138. public:
  1139. // double bomb_range = 8;
  1140. void clear_bomb_range();
  1141. double bomb_range() const;
  1142. void set_bomb_range(double value);
  1143. private:
  1144. double _internal_bomb_range() const;
  1145. void _internal_set_bomb_range(double value);
  1146. public:
  1147. // .protobuf.PlaceType place = 7;
  1148. void clear_place();
  1149. ::protobuf::PlaceType place() const;
  1150. void set_place(::protobuf::PlaceType value);
  1151. private:
  1152. ::protobuf::PlaceType _internal_place() const;
  1153. void _internal_set_place(::protobuf::PlaceType value);
  1154. public:
  1155. // int32 speed = 9;
  1156. void clear_speed();
  1157. int32_t speed() const;
  1158. void set_speed(int32_t value);
  1159. private:
  1160. int32_t _internal_speed() const;
  1161. void _internal_set_speed(int32_t value);
  1162. public:
  1163. // @@protoc_insertion_point(class_scope:protobuf.MessageOfBullet)
  1164. private:
  1165. class _Internal;
  1166. template<typename T>
  1167. friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1168. typedef void InternalArenaConstructable_;
  1169. typedef void DestructorSkippable_;
  1170. struct Impl_
  1171. {
  1172. int type_;
  1173. int32_t x_;
  1174. double facing_direction_;
  1175. int32_t y_;
  1176. int team_;
  1177. int64_t guid_;
  1178. double bomb_range_;
  1179. int place_;
  1180. int32_t speed_;
  1181. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1182. };
  1183. union
  1184. {
  1185. Impl_ _impl_;
  1186. };
  1187. friend struct ::TableStruct_Message2Clients_2eproto;
  1188. };
  1189. // -------------------------------------------------------------------
  1190. class MessageOfBombedBullet final :
  1191. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfBombedBullet) */
  1192. {
  1193. public:
  1194. inline MessageOfBombedBullet() :
  1195. MessageOfBombedBullet(nullptr)
  1196. {
  1197. }
  1198. ~MessageOfBombedBullet() override;
  1199. explicit PROTOBUF_CONSTEXPR MessageOfBombedBullet(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1200. MessageOfBombedBullet(const MessageOfBombedBullet& from);
  1201. MessageOfBombedBullet(MessageOfBombedBullet&& from) noexcept
  1202. :
  1203. MessageOfBombedBullet()
  1204. {
  1205. *this = ::std::move(from);
  1206. }
  1207. inline MessageOfBombedBullet& operator=(const MessageOfBombedBullet& from)
  1208. {
  1209. CopyFrom(from);
  1210. return *this;
  1211. }
  1212. inline MessageOfBombedBullet& operator=(MessageOfBombedBullet&& from) noexcept
  1213. {
  1214. if (this == &from)
  1215. return *this;
  1216. if (GetOwningArena() == from.GetOwningArena()
  1217. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1218. && GetOwningArena() != nullptr
  1219. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1220. )
  1221. {
  1222. InternalSwap(&from);
  1223. }
  1224. else
  1225. {
  1226. CopyFrom(from);
  1227. }
  1228. return *this;
  1229. }
  1230. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
  1231. {
  1232. return GetDescriptor();
  1233. }
  1234. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
  1235. {
  1236. return default_instance().GetMetadata().descriptor;
  1237. }
  1238. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
  1239. {
  1240. return default_instance().GetMetadata().reflection;
  1241. }
  1242. static const MessageOfBombedBullet& default_instance()
  1243. {
  1244. return *internal_default_instance();
  1245. }
  1246. static inline const MessageOfBombedBullet* internal_default_instance()
  1247. {
  1248. return reinterpret_cast<const MessageOfBombedBullet*>(
  1249. &_MessageOfBombedBullet_default_instance_
  1250. );
  1251. }
  1252. static constexpr int kIndexInFileMessages =
  1253. 3;
  1254. friend void swap(MessageOfBombedBullet& a, MessageOfBombedBullet& b)
  1255. {
  1256. a.Swap(&b);
  1257. }
  1258. inline void Swap(MessageOfBombedBullet* other)
  1259. {
  1260. if (other == this)
  1261. return;
  1262. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1263. if (GetOwningArena() != nullptr &&
  1264. GetOwningArena() == other->GetOwningArena())
  1265. {
  1266. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1267. if (GetOwningArena() == other->GetOwningArena())
  1268. {
  1269. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1270. InternalSwap(other);
  1271. }
  1272. else
  1273. {
  1274. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1275. }
  1276. }
  1277. void UnsafeArenaSwap(MessageOfBombedBullet* other)
  1278. {
  1279. if (other == this)
  1280. return;
  1281. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1282. InternalSwap(other);
  1283. }
  1284. // implements Message ----------------------------------------------
  1285. MessageOfBombedBullet* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
  1286. {
  1287. return CreateMaybeMessage<MessageOfBombedBullet>(arena);
  1288. }
  1289. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1290. void CopyFrom(const MessageOfBombedBullet& from);
  1291. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1292. void MergeFrom(const MessageOfBombedBullet& from)
  1293. {
  1294. MessageOfBombedBullet::MergeImpl(*this, from);
  1295. }
  1296. private:
  1297. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  1298. public:
  1299. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1300. bool IsInitialized() const final;
  1301. size_t ByteSizeLong() const final;
  1302. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1303. uint8_t* _InternalSerialize(
  1304. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
  1305. ) const final;
  1306. int GetCachedSize() const final
  1307. {
  1308. return _impl_._cached_size_.Get();
  1309. }
  1310. private:
  1311. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  1312. void SharedDtor();
  1313. void SetCachedSize(int size) const final;
  1314. void InternalSwap(MessageOfBombedBullet* other);
  1315. private:
  1316. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1317. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
  1318. {
  1319. return "protobuf.MessageOfBombedBullet";
  1320. }
  1321. protected:
  1322. explicit MessageOfBombedBullet(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
  1323. public:
  1324. static const ClassData _class_data_;
  1325. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
  1326. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1327. // nested types ----------------------------------------------------
  1328. // accessors -------------------------------------------------------
  1329. enum : int
  1330. {
  1331. kTypeFieldNumber = 1,
  1332. kXFieldNumber = 2,
  1333. kFacingDirectionFieldNumber = 4,
  1334. kMappingIdFieldNumber = 5,
  1335. kBombRangeFieldNumber = 6,
  1336. kYFieldNumber = 3,
  1337. };
  1338. // .protobuf.BulletType type = 1;
  1339. void clear_type();
  1340. ::protobuf::BulletType type() const;
  1341. void set_type(::protobuf::BulletType value);
  1342. private:
  1343. ::protobuf::BulletType _internal_type() const;
  1344. void _internal_set_type(::protobuf::BulletType value);
  1345. public:
  1346. // int32 x = 2;
  1347. void clear_x();
  1348. int32_t x() const;
  1349. void set_x(int32_t value);
  1350. private:
  1351. int32_t _internal_x() const;
  1352. void _internal_set_x(int32_t value);
  1353. public:
  1354. // double facing_direction = 4;
  1355. void clear_facing_direction();
  1356. double facing_direction() const;
  1357. void set_facing_direction(double value);
  1358. private:
  1359. double _internal_facing_direction() const;
  1360. void _internal_set_facing_direction(double value);
  1361. public:
  1362. // int64 mapping_id = 5;
  1363. void clear_mapping_id();
  1364. int64_t mapping_id() const;
  1365. void set_mapping_id(int64_t value);
  1366. private:
  1367. int64_t _internal_mapping_id() const;
  1368. void _internal_set_mapping_id(int64_t value);
  1369. public:
  1370. // double bomb_range = 6;
  1371. void clear_bomb_range();
  1372. double bomb_range() const;
  1373. void set_bomb_range(double value);
  1374. private:
  1375. double _internal_bomb_range() const;
  1376. void _internal_set_bomb_range(double value);
  1377. public:
  1378. // int32 y = 3;
  1379. void clear_y();
  1380. int32_t y() const;
  1381. void set_y(int32_t value);
  1382. private:
  1383. int32_t _internal_y() const;
  1384. void _internal_set_y(int32_t value);
  1385. public:
  1386. // @@protoc_insertion_point(class_scope:protobuf.MessageOfBombedBullet)
  1387. private:
  1388. class _Internal;
  1389. template<typename T>
  1390. friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1391. typedef void InternalArenaConstructable_;
  1392. typedef void DestructorSkippable_;
  1393. struct Impl_
  1394. {
  1395. int type_;
  1396. int32_t x_;
  1397. double facing_direction_;
  1398. int64_t mapping_id_;
  1399. double bomb_range_;
  1400. int32_t y_;
  1401. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1402. };
  1403. union
  1404. {
  1405. Impl_ _impl_;
  1406. };
  1407. friend struct ::TableStruct_Message2Clients_2eproto;
  1408. };
  1409. // -------------------------------------------------------------------
  1410. class MessageOfProp final :
  1411. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfProp) */
  1412. {
  1413. public:
  1414. inline MessageOfProp() :
  1415. MessageOfProp(nullptr)
  1416. {
  1417. }
  1418. ~MessageOfProp() override;
  1419. explicit PROTOBUF_CONSTEXPR MessageOfProp(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1420. MessageOfProp(const MessageOfProp& from);
  1421. MessageOfProp(MessageOfProp&& from) noexcept
  1422. :
  1423. MessageOfProp()
  1424. {
  1425. *this = ::std::move(from);
  1426. }
  1427. inline MessageOfProp& operator=(const MessageOfProp& from)
  1428. {
  1429. CopyFrom(from);
  1430. return *this;
  1431. }
  1432. inline MessageOfProp& operator=(MessageOfProp&& from) noexcept
  1433. {
  1434. if (this == &from)
  1435. return *this;
  1436. if (GetOwningArena() == from.GetOwningArena()
  1437. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1438. && GetOwningArena() != nullptr
  1439. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1440. )
  1441. {
  1442. InternalSwap(&from);
  1443. }
  1444. else
  1445. {
  1446. CopyFrom(from);
  1447. }
  1448. return *this;
  1449. }
  1450. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
  1451. {
  1452. return GetDescriptor();
  1453. }
  1454. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
  1455. {
  1456. return default_instance().GetMetadata().descriptor;
  1457. }
  1458. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
  1459. {
  1460. return default_instance().GetMetadata().reflection;
  1461. }
  1462. static const MessageOfProp& default_instance()
  1463. {
  1464. return *internal_default_instance();
  1465. }
  1466. static inline const MessageOfProp* internal_default_instance()
  1467. {
  1468. return reinterpret_cast<const MessageOfProp*>(
  1469. &_MessageOfProp_default_instance_
  1470. );
  1471. }
  1472. static constexpr int kIndexInFileMessages =
  1473. 4;
  1474. friend void swap(MessageOfProp& a, MessageOfProp& b)
  1475. {
  1476. a.Swap(&b);
  1477. }
  1478. inline void Swap(MessageOfProp* other)
  1479. {
  1480. if (other == this)
  1481. return;
  1482. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1483. if (GetOwningArena() != nullptr &&
  1484. GetOwningArena() == other->GetOwningArena())
  1485. {
  1486. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1487. if (GetOwningArena() == other->GetOwningArena())
  1488. {
  1489. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1490. InternalSwap(other);
  1491. }
  1492. else
  1493. {
  1494. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1495. }
  1496. }
  1497. void UnsafeArenaSwap(MessageOfProp* other)
  1498. {
  1499. if (other == this)
  1500. return;
  1501. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1502. InternalSwap(other);
  1503. }
  1504. // implements Message ----------------------------------------------
  1505. MessageOfProp* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
  1506. {
  1507. return CreateMaybeMessage<MessageOfProp>(arena);
  1508. }
  1509. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1510. void CopyFrom(const MessageOfProp& from);
  1511. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1512. void MergeFrom(const MessageOfProp& from)
  1513. {
  1514. MessageOfProp::MergeImpl(*this, from);
  1515. }
  1516. private:
  1517. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  1518. public:
  1519. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1520. bool IsInitialized() const final;
  1521. size_t ByteSizeLong() const final;
  1522. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1523. uint8_t* _InternalSerialize(
  1524. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
  1525. ) const final;
  1526. int GetCachedSize() const final
  1527. {
  1528. return _impl_._cached_size_.Get();
  1529. }
  1530. private:
  1531. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  1532. void SharedDtor();
  1533. void SetCachedSize(int size) const final;
  1534. void InternalSwap(MessageOfProp* other);
  1535. private:
  1536. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1537. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
  1538. {
  1539. return "protobuf.MessageOfProp";
  1540. }
  1541. protected:
  1542. explicit MessageOfProp(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
  1543. public:
  1544. static const ClassData _class_data_;
  1545. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
  1546. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1547. // nested types ----------------------------------------------------
  1548. // accessors -------------------------------------------------------
  1549. enum : int
  1550. {
  1551. kTypeFieldNumber = 1,
  1552. kXFieldNumber = 2,
  1553. kFacingDirectionFieldNumber = 4,
  1554. kYFieldNumber = 3,
  1555. kPlaceFieldNumber = 6,
  1556. kGuidFieldNumber = 5,
  1557. };
  1558. // .protobuf.PropType type = 1;
  1559. void clear_type();
  1560. ::protobuf::PropType type() const;
  1561. void set_type(::protobuf::PropType value);
  1562. private:
  1563. ::protobuf::PropType _internal_type() const;
  1564. void _internal_set_type(::protobuf::PropType value);
  1565. public:
  1566. // int32 x = 2;
  1567. void clear_x();
  1568. int32_t x() const;
  1569. void set_x(int32_t value);
  1570. private:
  1571. int32_t _internal_x() const;
  1572. void _internal_set_x(int32_t value);
  1573. public:
  1574. // double facing_direction = 4;
  1575. void clear_facing_direction();
  1576. double facing_direction() const;
  1577. void set_facing_direction(double value);
  1578. private:
  1579. double _internal_facing_direction() const;
  1580. void _internal_set_facing_direction(double value);
  1581. public:
  1582. // int32 y = 3;
  1583. void clear_y();
  1584. int32_t y() const;
  1585. void set_y(int32_t value);
  1586. private:
  1587. int32_t _internal_y() const;
  1588. void _internal_set_y(int32_t value);
  1589. public:
  1590. // .protobuf.PlaceType place = 6;
  1591. void clear_place();
  1592. ::protobuf::PlaceType place() const;
  1593. void set_place(::protobuf::PlaceType value);
  1594. private:
  1595. ::protobuf::PlaceType _internal_place() const;
  1596. void _internal_set_place(::protobuf::PlaceType value);
  1597. public:
  1598. // int64 guid = 5;
  1599. void clear_guid();
  1600. int64_t guid() const;
  1601. void set_guid(int64_t value);
  1602. private:
  1603. int64_t _internal_guid() const;
  1604. void _internal_set_guid(int64_t value);
  1605. public:
  1606. // @@protoc_insertion_point(class_scope:protobuf.MessageOfProp)
  1607. private:
  1608. class _Internal;
  1609. template<typename T>
  1610. friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1611. typedef void InternalArenaConstructable_;
  1612. typedef void DestructorSkippable_;
  1613. struct Impl_
  1614. {
  1615. int type_;
  1616. int32_t x_;
  1617. double facing_direction_;
  1618. int32_t y_;
  1619. int place_;
  1620. int64_t guid_;
  1621. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1622. };
  1623. union
  1624. {
  1625. Impl_ _impl_;
  1626. };
  1627. friend struct ::TableStruct_Message2Clients_2eproto;
  1628. };
  1629. // -------------------------------------------------------------------
  1630. class MessageOfPickedProp final :
  1631. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfPickedProp) */
  1632. {
  1633. public:
  1634. inline MessageOfPickedProp() :
  1635. MessageOfPickedProp(nullptr)
  1636. {
  1637. }
  1638. ~MessageOfPickedProp() override;
  1639. explicit PROTOBUF_CONSTEXPR MessageOfPickedProp(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1640. MessageOfPickedProp(const MessageOfPickedProp& from);
  1641. MessageOfPickedProp(MessageOfPickedProp&& from) noexcept
  1642. :
  1643. MessageOfPickedProp()
  1644. {
  1645. *this = ::std::move(from);
  1646. }
  1647. inline MessageOfPickedProp& operator=(const MessageOfPickedProp& from)
  1648. {
  1649. CopyFrom(from);
  1650. return *this;
  1651. }
  1652. inline MessageOfPickedProp& operator=(MessageOfPickedProp&& from) noexcept
  1653. {
  1654. if (this == &from)
  1655. return *this;
  1656. if (GetOwningArena() == from.GetOwningArena()
  1657. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1658. && GetOwningArena() != nullptr
  1659. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1660. )
  1661. {
  1662. InternalSwap(&from);
  1663. }
  1664. else
  1665. {
  1666. CopyFrom(from);
  1667. }
  1668. return *this;
  1669. }
  1670. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
  1671. {
  1672. return GetDescriptor();
  1673. }
  1674. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
  1675. {
  1676. return default_instance().GetMetadata().descriptor;
  1677. }
  1678. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
  1679. {
  1680. return default_instance().GetMetadata().reflection;
  1681. }
  1682. static const MessageOfPickedProp& default_instance()
  1683. {
  1684. return *internal_default_instance();
  1685. }
  1686. static inline const MessageOfPickedProp* internal_default_instance()
  1687. {
  1688. return reinterpret_cast<const MessageOfPickedProp*>(
  1689. &_MessageOfPickedProp_default_instance_
  1690. );
  1691. }
  1692. static constexpr int kIndexInFileMessages =
  1693. 5;
  1694. friend void swap(MessageOfPickedProp& a, MessageOfPickedProp& b)
  1695. {
  1696. a.Swap(&b);
  1697. }
  1698. inline void Swap(MessageOfPickedProp* other)
  1699. {
  1700. if (other == this)
  1701. return;
  1702. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1703. if (GetOwningArena() != nullptr &&
  1704. GetOwningArena() == other->GetOwningArena())
  1705. {
  1706. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1707. if (GetOwningArena() == other->GetOwningArena())
  1708. {
  1709. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1710. InternalSwap(other);
  1711. }
  1712. else
  1713. {
  1714. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1715. }
  1716. }
  1717. void UnsafeArenaSwap(MessageOfPickedProp* other)
  1718. {
  1719. if (other == this)
  1720. return;
  1721. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1722. InternalSwap(other);
  1723. }
  1724. // implements Message ----------------------------------------------
  1725. MessageOfPickedProp* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
  1726. {
  1727. return CreateMaybeMessage<MessageOfPickedProp>(arena);
  1728. }
  1729. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1730. void CopyFrom(const MessageOfPickedProp& from);
  1731. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1732. void MergeFrom(const MessageOfPickedProp& from)
  1733. {
  1734. MessageOfPickedProp::MergeImpl(*this, from);
  1735. }
  1736. private:
  1737. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  1738. public:
  1739. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1740. bool IsInitialized() const final;
  1741. size_t ByteSizeLong() const final;
  1742. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1743. uint8_t* _InternalSerialize(
  1744. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
  1745. ) const final;
  1746. int GetCachedSize() const final
  1747. {
  1748. return _impl_._cached_size_.Get();
  1749. }
  1750. private:
  1751. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  1752. void SharedDtor();
  1753. void SetCachedSize(int size) const final;
  1754. void InternalSwap(MessageOfPickedProp* other);
  1755. private:
  1756. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1757. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
  1758. {
  1759. return "protobuf.MessageOfPickedProp";
  1760. }
  1761. protected:
  1762. explicit MessageOfPickedProp(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
  1763. public:
  1764. static const ClassData _class_data_;
  1765. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
  1766. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1767. // nested types ----------------------------------------------------
  1768. // accessors -------------------------------------------------------
  1769. enum : int
  1770. {
  1771. kTypeFieldNumber = 1,
  1772. kXFieldNumber = 2,
  1773. kFacingDirectionFieldNumber = 4,
  1774. kMappingIdFieldNumber = 5,
  1775. kYFieldNumber = 3,
  1776. };
  1777. // .protobuf.PropType type = 1;
  1778. void clear_type();
  1779. ::protobuf::PropType type() const;
  1780. void set_type(::protobuf::PropType value);
  1781. private:
  1782. ::protobuf::PropType _internal_type() const;
  1783. void _internal_set_type(::protobuf::PropType value);
  1784. public:
  1785. // int32 x = 2;
  1786. void clear_x();
  1787. int32_t x() const;
  1788. void set_x(int32_t value);
  1789. private:
  1790. int32_t _internal_x() const;
  1791. void _internal_set_x(int32_t value);
  1792. public:
  1793. // double facing_direction = 4;
  1794. void clear_facing_direction();
  1795. double facing_direction() const;
  1796. void set_facing_direction(double value);
  1797. private:
  1798. double _internal_facing_direction() const;
  1799. void _internal_set_facing_direction(double value);
  1800. public:
  1801. // int64 mapping_id = 5;
  1802. void clear_mapping_id();
  1803. int64_t mapping_id() const;
  1804. void set_mapping_id(int64_t value);
  1805. private:
  1806. int64_t _internal_mapping_id() const;
  1807. void _internal_set_mapping_id(int64_t value);
  1808. public:
  1809. // int32 y = 3;
  1810. void clear_y();
  1811. int32_t y() const;
  1812. void set_y(int32_t value);
  1813. private:
  1814. int32_t _internal_y() const;
  1815. void _internal_set_y(int32_t value);
  1816. public:
  1817. // @@protoc_insertion_point(class_scope:protobuf.MessageOfPickedProp)
  1818. private:
  1819. class _Internal;
  1820. template<typename T>
  1821. friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1822. typedef void InternalArenaConstructable_;
  1823. typedef void DestructorSkippable_;
  1824. struct Impl_
  1825. {
  1826. int type_;
  1827. int32_t x_;
  1828. double facing_direction_;
  1829. int64_t mapping_id_;
  1830. int32_t y_;
  1831. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1832. };
  1833. union
  1834. {
  1835. Impl_ _impl_;
  1836. };
  1837. friend struct ::TableStruct_Message2Clients_2eproto;
  1838. };
  1839. // -------------------------------------------------------------------
  1840. class MessageOfClassroom final :
  1841. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfClassroom) */
  1842. {
  1843. public:
  1844. inline MessageOfClassroom() :
  1845. MessageOfClassroom(nullptr)
  1846. {
  1847. }
  1848. ~MessageOfClassroom() override;
  1849. explicit PROTOBUF_CONSTEXPR MessageOfClassroom(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1850. MessageOfClassroom(const MessageOfClassroom& from);
  1851. MessageOfClassroom(MessageOfClassroom&& from) noexcept
  1852. :
  1853. MessageOfClassroom()
  1854. {
  1855. *this = ::std::move(from);
  1856. }
  1857. inline MessageOfClassroom& operator=(const MessageOfClassroom& from)
  1858. {
  1859. CopyFrom(from);
  1860. return *this;
  1861. }
  1862. inline MessageOfClassroom& operator=(MessageOfClassroom&& from) noexcept
  1863. {
  1864. if (this == &from)
  1865. return *this;
  1866. if (GetOwningArena() == from.GetOwningArena()
  1867. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1868. && GetOwningArena() != nullptr
  1869. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1870. )
  1871. {
  1872. InternalSwap(&from);
  1873. }
  1874. else
  1875. {
  1876. CopyFrom(from);
  1877. }
  1878. return *this;
  1879. }
  1880. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
  1881. {
  1882. return GetDescriptor();
  1883. }
  1884. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
  1885. {
  1886. return default_instance().GetMetadata().descriptor;
  1887. }
  1888. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
  1889. {
  1890. return default_instance().GetMetadata().reflection;
  1891. }
  1892. static const MessageOfClassroom& default_instance()
  1893. {
  1894. return *internal_default_instance();
  1895. }
  1896. static inline const MessageOfClassroom* internal_default_instance()
  1897. {
  1898. return reinterpret_cast<const MessageOfClassroom*>(
  1899. &_MessageOfClassroom_default_instance_
  1900. );
  1901. }
  1902. static constexpr int kIndexInFileMessages =
  1903. 6;
  1904. friend void swap(MessageOfClassroom& a, MessageOfClassroom& b)
  1905. {
  1906. a.Swap(&b);
  1907. }
  1908. inline void Swap(MessageOfClassroom* other)
  1909. {
  1910. if (other == this)
  1911. return;
  1912. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1913. if (GetOwningArena() != nullptr &&
  1914. GetOwningArena() == other->GetOwningArena())
  1915. {
  1916. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1917. if (GetOwningArena() == other->GetOwningArena())
  1918. {
  1919. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1920. InternalSwap(other);
  1921. }
  1922. else
  1923. {
  1924. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1925. }
  1926. }
  1927. void UnsafeArenaSwap(MessageOfClassroom* other)
  1928. {
  1929. if (other == this)
  1930. return;
  1931. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1932. InternalSwap(other);
  1933. }
  1934. // implements Message ----------------------------------------------
  1935. MessageOfClassroom* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
  1936. {
  1937. return CreateMaybeMessage<MessageOfClassroom>(arena);
  1938. }
  1939. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1940. void CopyFrom(const MessageOfClassroom& from);
  1941. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1942. void MergeFrom(const MessageOfClassroom& from)
  1943. {
  1944. MessageOfClassroom::MergeImpl(*this, from);
  1945. }
  1946. private:
  1947. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  1948. public:
  1949. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1950. bool IsInitialized() const final;
  1951. size_t ByteSizeLong() const final;
  1952. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1953. uint8_t* _InternalSerialize(
  1954. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
  1955. ) const final;
  1956. int GetCachedSize() const final
  1957. {
  1958. return _impl_._cached_size_.Get();
  1959. }
  1960. private:
  1961. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  1962. void SharedDtor();
  1963. void SetCachedSize(int size) const final;
  1964. void InternalSwap(MessageOfClassroom* other);
  1965. private:
  1966. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1967. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
  1968. {
  1969. return "protobuf.MessageOfClassroom";
  1970. }
  1971. protected:
  1972. explicit MessageOfClassroom(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
  1973. public:
  1974. static const ClassData _class_data_;
  1975. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
  1976. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1977. // nested types ----------------------------------------------------
  1978. // accessors -------------------------------------------------------
  1979. enum : int
  1980. {
  1981. kXFieldNumber = 1,
  1982. kYFieldNumber = 2,
  1983. kProgressFieldNumber = 3,
  1984. };
  1985. // int32 x = 1;
  1986. void clear_x();
  1987. int32_t x() const;
  1988. void set_x(int32_t value);
  1989. private:
  1990. int32_t _internal_x() const;
  1991. void _internal_set_x(int32_t value);
  1992. public:
  1993. // int32 y = 2;
  1994. void clear_y();
  1995. int32_t y() const;
  1996. void set_y(int32_t value);
  1997. private:
  1998. int32_t _internal_y() const;
  1999. void _internal_set_y(int32_t value);
  2000. public:
  2001. // int32 progress = 3;
  2002. void clear_progress();
  2003. int32_t progress() const;
  2004. void set_progress(int32_t value);
  2005. private:
  2006. int32_t _internal_progress() const;
  2007. void _internal_set_progress(int32_t value);
  2008. public:
  2009. // @@protoc_insertion_point(class_scope:protobuf.MessageOfClassroom)
  2010. private:
  2011. class _Internal;
  2012. template<typename T>
  2013. friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2014. typedef void InternalArenaConstructable_;
  2015. typedef void DestructorSkippable_;
  2016. struct Impl_
  2017. {
  2018. int32_t x_;
  2019. int32_t y_;
  2020. int32_t progress_;
  2021. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2022. };
  2023. union
  2024. {
  2025. Impl_ _impl_;
  2026. };
  2027. friend struct ::TableStruct_Message2Clients_2eproto;
  2028. };
  2029. // -------------------------------------------------------------------
  2030. class MessageOfGate final :
  2031. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfGate) */
  2032. {
  2033. public:
  2034. inline MessageOfGate() :
  2035. MessageOfGate(nullptr)
  2036. {
  2037. }
  2038. ~MessageOfGate() override;
  2039. explicit PROTOBUF_CONSTEXPR MessageOfGate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2040. MessageOfGate(const MessageOfGate& from);
  2041. MessageOfGate(MessageOfGate&& from) noexcept
  2042. :
  2043. MessageOfGate()
  2044. {
  2045. *this = ::std::move(from);
  2046. }
  2047. inline MessageOfGate& operator=(const MessageOfGate& from)
  2048. {
  2049. CopyFrom(from);
  2050. return *this;
  2051. }
  2052. inline MessageOfGate& operator=(MessageOfGate&& from) noexcept
  2053. {
  2054. if (this == &from)
  2055. return *this;
  2056. if (GetOwningArena() == from.GetOwningArena()
  2057. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2058. && GetOwningArena() != nullptr
  2059. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2060. )
  2061. {
  2062. InternalSwap(&from);
  2063. }
  2064. else
  2065. {
  2066. CopyFrom(from);
  2067. }
  2068. return *this;
  2069. }
  2070. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
  2071. {
  2072. return GetDescriptor();
  2073. }
  2074. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
  2075. {
  2076. return default_instance().GetMetadata().descriptor;
  2077. }
  2078. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
  2079. {
  2080. return default_instance().GetMetadata().reflection;
  2081. }
  2082. static const MessageOfGate& default_instance()
  2083. {
  2084. return *internal_default_instance();
  2085. }
  2086. static inline const MessageOfGate* internal_default_instance()
  2087. {
  2088. return reinterpret_cast<const MessageOfGate*>(
  2089. &_MessageOfGate_default_instance_
  2090. );
  2091. }
  2092. static constexpr int kIndexInFileMessages =
  2093. 7;
  2094. friend void swap(MessageOfGate& a, MessageOfGate& b)
  2095. {
  2096. a.Swap(&b);
  2097. }
  2098. inline void Swap(MessageOfGate* other)
  2099. {
  2100. if (other == this)
  2101. return;
  2102. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2103. if (GetOwningArena() != nullptr &&
  2104. GetOwningArena() == other->GetOwningArena())
  2105. {
  2106. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2107. if (GetOwningArena() == other->GetOwningArena())
  2108. {
  2109. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2110. InternalSwap(other);
  2111. }
  2112. else
  2113. {
  2114. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2115. }
  2116. }
  2117. void UnsafeArenaSwap(MessageOfGate* other)
  2118. {
  2119. if (other == this)
  2120. return;
  2121. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2122. InternalSwap(other);
  2123. }
  2124. // implements Message ----------------------------------------------
  2125. MessageOfGate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
  2126. {
  2127. return CreateMaybeMessage<MessageOfGate>(arena);
  2128. }
  2129. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2130. void CopyFrom(const MessageOfGate& from);
  2131. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2132. void MergeFrom(const MessageOfGate& from)
  2133. {
  2134. MessageOfGate::MergeImpl(*this, from);
  2135. }
  2136. private:
  2137. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  2138. public:
  2139. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2140. bool IsInitialized() const final;
  2141. size_t ByteSizeLong() const final;
  2142. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2143. uint8_t* _InternalSerialize(
  2144. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
  2145. ) const final;
  2146. int GetCachedSize() const final
  2147. {
  2148. return _impl_._cached_size_.Get();
  2149. }
  2150. private:
  2151. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  2152. void SharedDtor();
  2153. void SetCachedSize(int size) const final;
  2154. void InternalSwap(MessageOfGate* other);
  2155. private:
  2156. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2157. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
  2158. {
  2159. return "protobuf.MessageOfGate";
  2160. }
  2161. protected:
  2162. explicit MessageOfGate(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
  2163. public:
  2164. static const ClassData _class_data_;
  2165. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
  2166. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2167. // nested types ----------------------------------------------------
  2168. // accessors -------------------------------------------------------
  2169. enum : int
  2170. {
  2171. kXFieldNumber = 1,
  2172. kYFieldNumber = 2,
  2173. kProgressFieldNumber = 3,
  2174. };
  2175. // int32 x = 1;
  2176. void clear_x();
  2177. int32_t x() const;
  2178. void set_x(int32_t value);
  2179. private:
  2180. int32_t _internal_x() const;
  2181. void _internal_set_x(int32_t value);
  2182. public:
  2183. // int32 y = 2;
  2184. void clear_y();
  2185. int32_t y() const;
  2186. void set_y(int32_t value);
  2187. private:
  2188. int32_t _internal_y() const;
  2189. void _internal_set_y(int32_t value);
  2190. public:
  2191. // int32 progress = 3;
  2192. void clear_progress();
  2193. int32_t progress() const;
  2194. void set_progress(int32_t value);
  2195. private:
  2196. int32_t _internal_progress() const;
  2197. void _internal_set_progress(int32_t value);
  2198. public:
  2199. // @@protoc_insertion_point(class_scope:protobuf.MessageOfGate)
  2200. private:
  2201. class _Internal;
  2202. template<typename T>
  2203. friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2204. typedef void InternalArenaConstructable_;
  2205. typedef void DestructorSkippable_;
  2206. struct Impl_
  2207. {
  2208. int32_t x_;
  2209. int32_t y_;
  2210. int32_t progress_;
  2211. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2212. };
  2213. union
  2214. {
  2215. Impl_ _impl_;
  2216. };
  2217. friend struct ::TableStruct_Message2Clients_2eproto;
  2218. };
  2219. // -------------------------------------------------------------------
  2220. class MessageOfHiddenGate final :
  2221. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfHiddenGate) */
  2222. {
  2223. public:
  2224. inline MessageOfHiddenGate() :
  2225. MessageOfHiddenGate(nullptr)
  2226. {
  2227. }
  2228. ~MessageOfHiddenGate() override;
  2229. explicit PROTOBUF_CONSTEXPR MessageOfHiddenGate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2230. MessageOfHiddenGate(const MessageOfHiddenGate& from);
  2231. MessageOfHiddenGate(MessageOfHiddenGate&& from) noexcept
  2232. :
  2233. MessageOfHiddenGate()
  2234. {
  2235. *this = ::std::move(from);
  2236. }
  2237. inline MessageOfHiddenGate& operator=(const MessageOfHiddenGate& from)
  2238. {
  2239. CopyFrom(from);
  2240. return *this;
  2241. }
  2242. inline MessageOfHiddenGate& operator=(MessageOfHiddenGate&& from) noexcept
  2243. {
  2244. if (this == &from)
  2245. return *this;
  2246. if (GetOwningArena() == from.GetOwningArena()
  2247. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2248. && GetOwningArena() != nullptr
  2249. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2250. )
  2251. {
  2252. InternalSwap(&from);
  2253. }
  2254. else
  2255. {
  2256. CopyFrom(from);
  2257. }
  2258. return *this;
  2259. }
  2260. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
  2261. {
  2262. return GetDescriptor();
  2263. }
  2264. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
  2265. {
  2266. return default_instance().GetMetadata().descriptor;
  2267. }
  2268. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
  2269. {
  2270. return default_instance().GetMetadata().reflection;
  2271. }
  2272. static const MessageOfHiddenGate& default_instance()
  2273. {
  2274. return *internal_default_instance();
  2275. }
  2276. static inline const MessageOfHiddenGate* internal_default_instance()
  2277. {
  2278. return reinterpret_cast<const MessageOfHiddenGate*>(
  2279. &_MessageOfHiddenGate_default_instance_
  2280. );
  2281. }
  2282. static constexpr int kIndexInFileMessages =
  2283. 8;
  2284. friend void swap(MessageOfHiddenGate& a, MessageOfHiddenGate& b)
  2285. {
  2286. a.Swap(&b);
  2287. }
  2288. inline void Swap(MessageOfHiddenGate* other)
  2289. {
  2290. if (other == this)
  2291. return;
  2292. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2293. if (GetOwningArena() != nullptr &&
  2294. GetOwningArena() == other->GetOwningArena())
  2295. {
  2296. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2297. if (GetOwningArena() == other->GetOwningArena())
  2298. {
  2299. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2300. InternalSwap(other);
  2301. }
  2302. else
  2303. {
  2304. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2305. }
  2306. }
  2307. void UnsafeArenaSwap(MessageOfHiddenGate* other)
  2308. {
  2309. if (other == this)
  2310. return;
  2311. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2312. InternalSwap(other);
  2313. }
  2314. // implements Message ----------------------------------------------
  2315. MessageOfHiddenGate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
  2316. {
  2317. return CreateMaybeMessage<MessageOfHiddenGate>(arena);
  2318. }
  2319. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2320. void CopyFrom(const MessageOfHiddenGate& from);
  2321. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2322. void MergeFrom(const MessageOfHiddenGate& from)
  2323. {
  2324. MessageOfHiddenGate::MergeImpl(*this, from);
  2325. }
  2326. private:
  2327. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  2328. public:
  2329. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2330. bool IsInitialized() const final;
  2331. size_t ByteSizeLong() const final;
  2332. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2333. uint8_t* _InternalSerialize(
  2334. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
  2335. ) const final;
  2336. int GetCachedSize() const final
  2337. {
  2338. return _impl_._cached_size_.Get();
  2339. }
  2340. private:
  2341. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  2342. void SharedDtor();
  2343. void SetCachedSize(int size) const final;
  2344. void InternalSwap(MessageOfHiddenGate* other);
  2345. private:
  2346. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2347. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
  2348. {
  2349. return "protobuf.MessageOfHiddenGate";
  2350. }
  2351. protected:
  2352. explicit MessageOfHiddenGate(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
  2353. public:
  2354. static const ClassData _class_data_;
  2355. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
  2356. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2357. // nested types ----------------------------------------------------
  2358. // accessors -------------------------------------------------------
  2359. enum : int
  2360. {
  2361. kXFieldNumber = 1,
  2362. kYFieldNumber = 2,
  2363. kOpenedFieldNumber = 3,
  2364. };
  2365. // int32 x = 1;
  2366. void clear_x();
  2367. int32_t x() const;
  2368. void set_x(int32_t value);
  2369. private:
  2370. int32_t _internal_x() const;
  2371. void _internal_set_x(int32_t value);
  2372. public:
  2373. // int32 y = 2;
  2374. void clear_y();
  2375. int32_t y() const;
  2376. void set_y(int32_t value);
  2377. private:
  2378. int32_t _internal_y() const;
  2379. void _internal_set_y(int32_t value);
  2380. public:
  2381. // bool opened = 3;
  2382. void clear_opened();
  2383. bool opened() const;
  2384. void set_opened(bool value);
  2385. private:
  2386. bool _internal_opened() const;
  2387. void _internal_set_opened(bool value);
  2388. public:
  2389. // @@protoc_insertion_point(class_scope:protobuf.MessageOfHiddenGate)
  2390. private:
  2391. class _Internal;
  2392. template<typename T>
  2393. friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2394. typedef void InternalArenaConstructable_;
  2395. typedef void DestructorSkippable_;
  2396. struct Impl_
  2397. {
  2398. int32_t x_;
  2399. int32_t y_;
  2400. bool opened_;
  2401. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2402. };
  2403. union
  2404. {
  2405. Impl_ _impl_;
  2406. };
  2407. friend struct ::TableStruct_Message2Clients_2eproto;
  2408. };
  2409. // -------------------------------------------------------------------
  2410. class MessageOfDoor final :
  2411. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfDoor) */
  2412. {
  2413. public:
  2414. inline MessageOfDoor() :
  2415. MessageOfDoor(nullptr)
  2416. {
  2417. }
  2418. ~MessageOfDoor() override;
  2419. explicit PROTOBUF_CONSTEXPR MessageOfDoor(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2420. MessageOfDoor(const MessageOfDoor& from);
  2421. MessageOfDoor(MessageOfDoor&& from) noexcept
  2422. :
  2423. MessageOfDoor()
  2424. {
  2425. *this = ::std::move(from);
  2426. }
  2427. inline MessageOfDoor& operator=(const MessageOfDoor& from)
  2428. {
  2429. CopyFrom(from);
  2430. return *this;
  2431. }
  2432. inline MessageOfDoor& operator=(MessageOfDoor&& from) noexcept
  2433. {
  2434. if (this == &from)
  2435. return *this;
  2436. if (GetOwningArena() == from.GetOwningArena()
  2437. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2438. && GetOwningArena() != nullptr
  2439. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2440. )
  2441. {
  2442. InternalSwap(&from);
  2443. }
  2444. else
  2445. {
  2446. CopyFrom(from);
  2447. }
  2448. return *this;
  2449. }
  2450. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
  2451. {
  2452. return GetDescriptor();
  2453. }
  2454. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
  2455. {
  2456. return default_instance().GetMetadata().descriptor;
  2457. }
  2458. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
  2459. {
  2460. return default_instance().GetMetadata().reflection;
  2461. }
  2462. static const MessageOfDoor& default_instance()
  2463. {
  2464. return *internal_default_instance();
  2465. }
  2466. static inline const MessageOfDoor* internal_default_instance()
  2467. {
  2468. return reinterpret_cast<const MessageOfDoor*>(
  2469. &_MessageOfDoor_default_instance_
  2470. );
  2471. }
  2472. static constexpr int kIndexInFileMessages =
  2473. 9;
  2474. friend void swap(MessageOfDoor& a, MessageOfDoor& b)
  2475. {
  2476. a.Swap(&b);
  2477. }
  2478. inline void Swap(MessageOfDoor* other)
  2479. {
  2480. if (other == this)
  2481. return;
  2482. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2483. if (GetOwningArena() != nullptr &&
  2484. GetOwningArena() == other->GetOwningArena())
  2485. {
  2486. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2487. if (GetOwningArena() == other->GetOwningArena())
  2488. {
  2489. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2490. InternalSwap(other);
  2491. }
  2492. else
  2493. {
  2494. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2495. }
  2496. }
  2497. void UnsafeArenaSwap(MessageOfDoor* other)
  2498. {
  2499. if (other == this)
  2500. return;
  2501. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2502. InternalSwap(other);
  2503. }
  2504. // implements Message ----------------------------------------------
  2505. MessageOfDoor* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
  2506. {
  2507. return CreateMaybeMessage<MessageOfDoor>(arena);
  2508. }
  2509. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2510. void CopyFrom(const MessageOfDoor& from);
  2511. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2512. void MergeFrom(const MessageOfDoor& from)
  2513. {
  2514. MessageOfDoor::MergeImpl(*this, from);
  2515. }
  2516. private:
  2517. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  2518. public:
  2519. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2520. bool IsInitialized() const final;
  2521. size_t ByteSizeLong() const final;
  2522. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2523. uint8_t* _InternalSerialize(
  2524. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
  2525. ) const final;
  2526. int GetCachedSize() const final
  2527. {
  2528. return _impl_._cached_size_.Get();
  2529. }
  2530. private:
  2531. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  2532. void SharedDtor();
  2533. void SetCachedSize(int size) const final;
  2534. void InternalSwap(MessageOfDoor* other);
  2535. private:
  2536. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2537. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
  2538. {
  2539. return "protobuf.MessageOfDoor";
  2540. }
  2541. protected:
  2542. explicit MessageOfDoor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
  2543. public:
  2544. static const ClassData _class_data_;
  2545. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
  2546. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2547. // nested types ----------------------------------------------------
  2548. // accessors -------------------------------------------------------
  2549. enum : int
  2550. {
  2551. kXFieldNumber = 1,
  2552. kYFieldNumber = 2,
  2553. kIsOpenFieldNumber = 3,
  2554. kProgressFieldNumber = 4,
  2555. };
  2556. // int32 x = 1;
  2557. void clear_x();
  2558. int32_t x() const;
  2559. void set_x(int32_t value);
  2560. private:
  2561. int32_t _internal_x() const;
  2562. void _internal_set_x(int32_t value);
  2563. public:
  2564. // int32 y = 2;
  2565. void clear_y();
  2566. int32_t y() const;
  2567. void set_y(int32_t value);
  2568. private:
  2569. int32_t _internal_y() const;
  2570. void _internal_set_y(int32_t value);
  2571. public:
  2572. // bool is_open = 3;
  2573. void clear_is_open();
  2574. bool is_open() const;
  2575. void set_is_open(bool value);
  2576. private:
  2577. bool _internal_is_open() const;
  2578. void _internal_set_is_open(bool value);
  2579. public:
  2580. // int32 progress = 4;
  2581. void clear_progress();
  2582. int32_t progress() const;
  2583. void set_progress(int32_t value);
  2584. private:
  2585. int32_t _internal_progress() const;
  2586. void _internal_set_progress(int32_t value);
  2587. public:
  2588. // @@protoc_insertion_point(class_scope:protobuf.MessageOfDoor)
  2589. private:
  2590. class _Internal;
  2591. template<typename T>
  2592. friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2593. typedef void InternalArenaConstructable_;
  2594. typedef void DestructorSkippable_;
  2595. struct Impl_
  2596. {
  2597. int32_t x_;
  2598. int32_t y_;
  2599. bool is_open_;
  2600. int32_t progress_;
  2601. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2602. };
  2603. union
  2604. {
  2605. Impl_ _impl_;
  2606. };
  2607. friend struct ::TableStruct_Message2Clients_2eproto;
  2608. };
  2609. // -------------------------------------------------------------------
  2610. class MessageOfChest final :
  2611. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfChest) */
  2612. {
  2613. public:
  2614. inline MessageOfChest() :
  2615. MessageOfChest(nullptr)
  2616. {
  2617. }
  2618. ~MessageOfChest() override;
  2619. explicit PROTOBUF_CONSTEXPR MessageOfChest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2620. MessageOfChest(const MessageOfChest& from);
  2621. MessageOfChest(MessageOfChest&& from) noexcept
  2622. :
  2623. MessageOfChest()
  2624. {
  2625. *this = ::std::move(from);
  2626. }
  2627. inline MessageOfChest& operator=(const MessageOfChest& from)
  2628. {
  2629. CopyFrom(from);
  2630. return *this;
  2631. }
  2632. inline MessageOfChest& operator=(MessageOfChest&& from) noexcept
  2633. {
  2634. if (this == &from)
  2635. return *this;
  2636. if (GetOwningArena() == from.GetOwningArena()
  2637. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2638. && GetOwningArena() != nullptr
  2639. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2640. )
  2641. {
  2642. InternalSwap(&from);
  2643. }
  2644. else
  2645. {
  2646. CopyFrom(from);
  2647. }
  2648. return *this;
  2649. }
  2650. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
  2651. {
  2652. return GetDescriptor();
  2653. }
  2654. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
  2655. {
  2656. return default_instance().GetMetadata().descriptor;
  2657. }
  2658. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
  2659. {
  2660. return default_instance().GetMetadata().reflection;
  2661. }
  2662. static const MessageOfChest& default_instance()
  2663. {
  2664. return *internal_default_instance();
  2665. }
  2666. static inline const MessageOfChest* internal_default_instance()
  2667. {
  2668. return reinterpret_cast<const MessageOfChest*>(
  2669. &_MessageOfChest_default_instance_
  2670. );
  2671. }
  2672. static constexpr int kIndexInFileMessages =
  2673. 10;
  2674. friend void swap(MessageOfChest& a, MessageOfChest& b)
  2675. {
  2676. a.Swap(&b);
  2677. }
  2678. inline void Swap(MessageOfChest* other)
  2679. {
  2680. if (other == this)
  2681. return;
  2682. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2683. if (GetOwningArena() != nullptr &&
  2684. GetOwningArena() == other->GetOwningArena())
  2685. {
  2686. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2687. if (GetOwningArena() == other->GetOwningArena())
  2688. {
  2689. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2690. InternalSwap(other);
  2691. }
  2692. else
  2693. {
  2694. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2695. }
  2696. }
  2697. void UnsafeArenaSwap(MessageOfChest* other)
  2698. {
  2699. if (other == this)
  2700. return;
  2701. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2702. InternalSwap(other);
  2703. }
  2704. // implements Message ----------------------------------------------
  2705. MessageOfChest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
  2706. {
  2707. return CreateMaybeMessage<MessageOfChest>(arena);
  2708. }
  2709. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2710. void CopyFrom(const MessageOfChest& from);
  2711. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2712. void MergeFrom(const MessageOfChest& from)
  2713. {
  2714. MessageOfChest::MergeImpl(*this, from);
  2715. }
  2716. private:
  2717. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  2718. public:
  2719. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2720. bool IsInitialized() const final;
  2721. size_t ByteSizeLong() const final;
  2722. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2723. uint8_t* _InternalSerialize(
  2724. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
  2725. ) const final;
  2726. int GetCachedSize() const final
  2727. {
  2728. return _impl_._cached_size_.Get();
  2729. }
  2730. private:
  2731. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  2732. void SharedDtor();
  2733. void SetCachedSize(int size) const final;
  2734. void InternalSwap(MessageOfChest* other);
  2735. private:
  2736. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2737. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
  2738. {
  2739. return "protobuf.MessageOfChest";
  2740. }
  2741. protected:
  2742. explicit MessageOfChest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
  2743. public:
  2744. static const ClassData _class_data_;
  2745. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
  2746. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2747. // nested types ----------------------------------------------------
  2748. // accessors -------------------------------------------------------
  2749. enum : int
  2750. {
  2751. kXFieldNumber = 1,
  2752. kYFieldNumber = 2,
  2753. kProgressFieldNumber = 3,
  2754. };
  2755. // int32 x = 1;
  2756. void clear_x();
  2757. int32_t x() const;
  2758. void set_x(int32_t value);
  2759. private:
  2760. int32_t _internal_x() const;
  2761. void _internal_set_x(int32_t value);
  2762. public:
  2763. // int32 y = 2;
  2764. void clear_y();
  2765. int32_t y() const;
  2766. void set_y(int32_t value);
  2767. private:
  2768. int32_t _internal_y() const;
  2769. void _internal_set_y(int32_t value);
  2770. public:
  2771. // int32 progress = 3;
  2772. void clear_progress();
  2773. int32_t progress() const;
  2774. void set_progress(int32_t value);
  2775. private:
  2776. int32_t _internal_progress() const;
  2777. void _internal_set_progress(int32_t value);
  2778. public:
  2779. // @@protoc_insertion_point(class_scope:protobuf.MessageOfChest)
  2780. private:
  2781. class _Internal;
  2782. template<typename T>
  2783. friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2784. typedef void InternalArenaConstructable_;
  2785. typedef void DestructorSkippable_;
  2786. struct Impl_
  2787. {
  2788. int32_t x_;
  2789. int32_t y_;
  2790. int32_t progress_;
  2791. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2792. };
  2793. union
  2794. {
  2795. Impl_ _impl_;
  2796. };
  2797. friend struct ::TableStruct_Message2Clients_2eproto;
  2798. };
  2799. // -------------------------------------------------------------------
  2800. class MessageOfMap_Row final :
  2801. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfMap.Row) */
  2802. {
  2803. public:
  2804. inline MessageOfMap_Row() :
  2805. MessageOfMap_Row(nullptr)
  2806. {
  2807. }
  2808. ~MessageOfMap_Row() override;
  2809. explicit PROTOBUF_CONSTEXPR MessageOfMap_Row(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2810. MessageOfMap_Row(const MessageOfMap_Row& from);
  2811. MessageOfMap_Row(MessageOfMap_Row&& from) noexcept
  2812. :
  2813. MessageOfMap_Row()
  2814. {
  2815. *this = ::std::move(from);
  2816. }
  2817. inline MessageOfMap_Row& operator=(const MessageOfMap_Row& from)
  2818. {
  2819. CopyFrom(from);
  2820. return *this;
  2821. }
  2822. inline MessageOfMap_Row& operator=(MessageOfMap_Row&& from) noexcept
  2823. {
  2824. if (this == &from)
  2825. return *this;
  2826. if (GetOwningArena() == from.GetOwningArena()
  2827. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2828. && GetOwningArena() != nullptr
  2829. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2830. )
  2831. {
  2832. InternalSwap(&from);
  2833. }
  2834. else
  2835. {
  2836. CopyFrom(from);
  2837. }
  2838. return *this;
  2839. }
  2840. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
  2841. {
  2842. return GetDescriptor();
  2843. }
  2844. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
  2845. {
  2846. return default_instance().GetMetadata().descriptor;
  2847. }
  2848. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
  2849. {
  2850. return default_instance().GetMetadata().reflection;
  2851. }
  2852. static const MessageOfMap_Row& default_instance()
  2853. {
  2854. return *internal_default_instance();
  2855. }
  2856. static inline const MessageOfMap_Row* internal_default_instance()
  2857. {
  2858. return reinterpret_cast<const MessageOfMap_Row*>(
  2859. &_MessageOfMap_Row_default_instance_
  2860. );
  2861. }
  2862. static constexpr int kIndexInFileMessages =
  2863. 11;
  2864. friend void swap(MessageOfMap_Row& a, MessageOfMap_Row& b)
  2865. {
  2866. a.Swap(&b);
  2867. }
  2868. inline void Swap(MessageOfMap_Row* other)
  2869. {
  2870. if (other == this)
  2871. return;
  2872. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2873. if (GetOwningArena() != nullptr &&
  2874. GetOwningArena() == other->GetOwningArena())
  2875. {
  2876. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2877. if (GetOwningArena() == other->GetOwningArena())
  2878. {
  2879. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2880. InternalSwap(other);
  2881. }
  2882. else
  2883. {
  2884. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2885. }
  2886. }
  2887. void UnsafeArenaSwap(MessageOfMap_Row* other)
  2888. {
  2889. if (other == this)
  2890. return;
  2891. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2892. InternalSwap(other);
  2893. }
  2894. // implements Message ----------------------------------------------
  2895. MessageOfMap_Row* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
  2896. {
  2897. return CreateMaybeMessage<MessageOfMap_Row>(arena);
  2898. }
  2899. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2900. void CopyFrom(const MessageOfMap_Row& from);
  2901. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2902. void MergeFrom(const MessageOfMap_Row& from)
  2903. {
  2904. MessageOfMap_Row::MergeImpl(*this, from);
  2905. }
  2906. private:
  2907. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  2908. public:
  2909. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2910. bool IsInitialized() const final;
  2911. size_t ByteSizeLong() const final;
  2912. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2913. uint8_t* _InternalSerialize(
  2914. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
  2915. ) const final;
  2916. int GetCachedSize() const final
  2917. {
  2918. return _impl_._cached_size_.Get();
  2919. }
  2920. private:
  2921. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  2922. void SharedDtor();
  2923. void SetCachedSize(int size) const final;
  2924. void InternalSwap(MessageOfMap_Row* other);
  2925. private:
  2926. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2927. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
  2928. {
  2929. return "protobuf.MessageOfMap.Row";
  2930. }
  2931. protected:
  2932. explicit MessageOfMap_Row(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
  2933. public:
  2934. static const ClassData _class_data_;
  2935. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
  2936. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2937. // nested types ----------------------------------------------------
  2938. // accessors -------------------------------------------------------
  2939. enum : int
  2940. {
  2941. kColFieldNumber = 1,
  2942. };
  2943. // repeated .protobuf.PlaceType col = 1;
  2944. int col_size() const;
  2945. private:
  2946. int _internal_col_size() const;
  2947. public:
  2948. void clear_col();
  2949. private:
  2950. ::protobuf::PlaceType _internal_col(int index) const;
  2951. void _internal_add_col(::protobuf::PlaceType value);
  2952. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_col();
  2953. public:
  2954. ::protobuf::PlaceType col(int index) const;
  2955. void set_col(int index, ::protobuf::PlaceType value);
  2956. void add_col(::protobuf::PlaceType value);
  2957. const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& col() const;
  2958. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_col();
  2959. // @@protoc_insertion_point(class_scope:protobuf.MessageOfMap.Row)
  2960. private:
  2961. class _Internal;
  2962. template<typename T>
  2963. friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2964. typedef void InternalArenaConstructable_;
  2965. typedef void DestructorSkippable_;
  2966. struct Impl_
  2967. {
  2968. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> col_;
  2969. mutable std::atomic<int> _col_cached_byte_size_;
  2970. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2971. };
  2972. union
  2973. {
  2974. Impl_ _impl_;
  2975. };
  2976. friend struct ::TableStruct_Message2Clients_2eproto;
  2977. };
  2978. // -------------------------------------------------------------------
  2979. class MessageOfMap final :
  2980. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfMap) */
  2981. {
  2982. public:
  2983. inline MessageOfMap() :
  2984. MessageOfMap(nullptr)
  2985. {
  2986. }
  2987. ~MessageOfMap() override;
  2988. explicit PROTOBUF_CONSTEXPR MessageOfMap(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2989. MessageOfMap(const MessageOfMap& from);
  2990. MessageOfMap(MessageOfMap&& from) noexcept
  2991. :
  2992. MessageOfMap()
  2993. {
  2994. *this = ::std::move(from);
  2995. }
  2996. inline MessageOfMap& operator=(const MessageOfMap& from)
  2997. {
  2998. CopyFrom(from);
  2999. return *this;
  3000. }
  3001. inline MessageOfMap& operator=(MessageOfMap&& from) noexcept
  3002. {
  3003. if (this == &from)
  3004. return *this;
  3005. if (GetOwningArena() == from.GetOwningArena()
  3006. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3007. && GetOwningArena() != nullptr
  3008. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3009. )
  3010. {
  3011. InternalSwap(&from);
  3012. }
  3013. else
  3014. {
  3015. CopyFrom(from);
  3016. }
  3017. return *this;
  3018. }
  3019. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
  3020. {
  3021. return GetDescriptor();
  3022. }
  3023. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
  3024. {
  3025. return default_instance().GetMetadata().descriptor;
  3026. }
  3027. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
  3028. {
  3029. return default_instance().GetMetadata().reflection;
  3030. }
  3031. static const MessageOfMap& default_instance()
  3032. {
  3033. return *internal_default_instance();
  3034. }
  3035. static inline const MessageOfMap* internal_default_instance()
  3036. {
  3037. return reinterpret_cast<const MessageOfMap*>(
  3038. &_MessageOfMap_default_instance_
  3039. );
  3040. }
  3041. static constexpr int kIndexInFileMessages =
  3042. 12;
  3043. friend void swap(MessageOfMap& a, MessageOfMap& b)
  3044. {
  3045. a.Swap(&b);
  3046. }
  3047. inline void Swap(MessageOfMap* other)
  3048. {
  3049. if (other == this)
  3050. return;
  3051. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3052. if (GetOwningArena() != nullptr &&
  3053. GetOwningArena() == other->GetOwningArena())
  3054. {
  3055. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3056. if (GetOwningArena() == other->GetOwningArena())
  3057. {
  3058. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3059. InternalSwap(other);
  3060. }
  3061. else
  3062. {
  3063. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3064. }
  3065. }
  3066. void UnsafeArenaSwap(MessageOfMap* other)
  3067. {
  3068. if (other == this)
  3069. return;
  3070. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3071. InternalSwap(other);
  3072. }
  3073. // implements Message ----------------------------------------------
  3074. MessageOfMap* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
  3075. {
  3076. return CreateMaybeMessage<MessageOfMap>(arena);
  3077. }
  3078. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3079. void CopyFrom(const MessageOfMap& from);
  3080. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3081. void MergeFrom(const MessageOfMap& from)
  3082. {
  3083. MessageOfMap::MergeImpl(*this, from);
  3084. }
  3085. private:
  3086. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  3087. public:
  3088. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3089. bool IsInitialized() const final;
  3090. size_t ByteSizeLong() const final;
  3091. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3092. uint8_t* _InternalSerialize(
  3093. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
  3094. ) const final;
  3095. int GetCachedSize() const final
  3096. {
  3097. return _impl_._cached_size_.Get();
  3098. }
  3099. private:
  3100. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  3101. void SharedDtor();
  3102. void SetCachedSize(int size) const final;
  3103. void InternalSwap(MessageOfMap* other);
  3104. private:
  3105. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3106. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
  3107. {
  3108. return "protobuf.MessageOfMap";
  3109. }
  3110. protected:
  3111. explicit MessageOfMap(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
  3112. public:
  3113. static const ClassData _class_data_;
  3114. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
  3115. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3116. // nested types ----------------------------------------------------
  3117. typedef MessageOfMap_Row Row;
  3118. // accessors -------------------------------------------------------
  3119. enum : int
  3120. {
  3121. kRowFieldNumber = 2,
  3122. };
  3123. // repeated .protobuf.MessageOfMap.Row row = 2;
  3124. int row_size() const;
  3125. private:
  3126. int _internal_row_size() const;
  3127. public:
  3128. void clear_row();
  3129. ::protobuf::MessageOfMap_Row* mutable_row(int index);
  3130. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfMap_Row>*
  3131. mutable_row();
  3132. private:
  3133. const ::protobuf::MessageOfMap_Row& _internal_row(int index) const;
  3134. ::protobuf::MessageOfMap_Row* _internal_add_row();
  3135. public:
  3136. const ::protobuf::MessageOfMap_Row& row(int index) const;
  3137. ::protobuf::MessageOfMap_Row* add_row();
  3138. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfMap_Row>&
  3139. row() const;
  3140. // @@protoc_insertion_point(class_scope:protobuf.MessageOfMap)
  3141. private:
  3142. class _Internal;
  3143. template<typename T>
  3144. friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3145. typedef void InternalArenaConstructable_;
  3146. typedef void DestructorSkippable_;
  3147. struct Impl_
  3148. {
  3149. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfMap_Row> row_;
  3150. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3151. };
  3152. union
  3153. {
  3154. Impl_ _impl_;
  3155. };
  3156. friend struct ::TableStruct_Message2Clients_2eproto;
  3157. };
  3158. // -------------------------------------------------------------------
  3159. class MessageOfNews final :
  3160. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfNews) */
  3161. {
  3162. public:
  3163. inline MessageOfNews() :
  3164. MessageOfNews(nullptr)
  3165. {
  3166. }
  3167. ~MessageOfNews() override;
  3168. explicit PROTOBUF_CONSTEXPR MessageOfNews(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3169. MessageOfNews(const MessageOfNews& from);
  3170. MessageOfNews(MessageOfNews&& from) noexcept
  3171. :
  3172. MessageOfNews()
  3173. {
  3174. *this = ::std::move(from);
  3175. }
  3176. inline MessageOfNews& operator=(const MessageOfNews& from)
  3177. {
  3178. CopyFrom(from);
  3179. return *this;
  3180. }
  3181. inline MessageOfNews& operator=(MessageOfNews&& from) noexcept
  3182. {
  3183. if (this == &from)
  3184. return *this;
  3185. if (GetOwningArena() == from.GetOwningArena()
  3186. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3187. && GetOwningArena() != nullptr
  3188. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3189. )
  3190. {
  3191. InternalSwap(&from);
  3192. }
  3193. else
  3194. {
  3195. CopyFrom(from);
  3196. }
  3197. return *this;
  3198. }
  3199. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
  3200. {
  3201. return GetDescriptor();
  3202. }
  3203. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
  3204. {
  3205. return default_instance().GetMetadata().descriptor;
  3206. }
  3207. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
  3208. {
  3209. return default_instance().GetMetadata().reflection;
  3210. }
  3211. static const MessageOfNews& default_instance()
  3212. {
  3213. return *internal_default_instance();
  3214. }
  3215. static inline const MessageOfNews* internal_default_instance()
  3216. {
  3217. return reinterpret_cast<const MessageOfNews*>(
  3218. &_MessageOfNews_default_instance_
  3219. );
  3220. }
  3221. static constexpr int kIndexInFileMessages =
  3222. 13;
  3223. friend void swap(MessageOfNews& a, MessageOfNews& b)
  3224. {
  3225. a.Swap(&b);
  3226. }
  3227. inline void Swap(MessageOfNews* other)
  3228. {
  3229. if (other == this)
  3230. return;
  3231. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3232. if (GetOwningArena() != nullptr &&
  3233. GetOwningArena() == other->GetOwningArena())
  3234. {
  3235. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3236. if (GetOwningArena() == other->GetOwningArena())
  3237. {
  3238. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3239. InternalSwap(other);
  3240. }
  3241. else
  3242. {
  3243. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3244. }
  3245. }
  3246. void UnsafeArenaSwap(MessageOfNews* other)
  3247. {
  3248. if (other == this)
  3249. return;
  3250. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3251. InternalSwap(other);
  3252. }
  3253. // implements Message ----------------------------------------------
  3254. MessageOfNews* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
  3255. {
  3256. return CreateMaybeMessage<MessageOfNews>(arena);
  3257. }
  3258. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3259. void CopyFrom(const MessageOfNews& from);
  3260. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3261. void MergeFrom(const MessageOfNews& from)
  3262. {
  3263. MessageOfNews::MergeImpl(*this, from);
  3264. }
  3265. private:
  3266. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  3267. public:
  3268. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3269. bool IsInitialized() const final;
  3270. size_t ByteSizeLong() const final;
  3271. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3272. uint8_t* _InternalSerialize(
  3273. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
  3274. ) const final;
  3275. int GetCachedSize() const final
  3276. {
  3277. return _impl_._cached_size_.Get();
  3278. }
  3279. private:
  3280. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  3281. void SharedDtor();
  3282. void SetCachedSize(int size) const final;
  3283. void InternalSwap(MessageOfNews* other);
  3284. private:
  3285. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3286. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
  3287. {
  3288. return "protobuf.MessageOfNews";
  3289. }
  3290. protected:
  3291. explicit MessageOfNews(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
  3292. public:
  3293. static const ClassData _class_data_;
  3294. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
  3295. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3296. // nested types ----------------------------------------------------
  3297. // accessors -------------------------------------------------------
  3298. enum : int
  3299. {
  3300. kNewsFieldNumber = 1,
  3301. kFromIdFieldNumber = 2,
  3302. kToIdFieldNumber = 3,
  3303. };
  3304. // string news = 1;
  3305. void clear_news();
  3306. const std::string& news() const;
  3307. template<typename ArgT0 = const std::string&, typename... ArgT>
  3308. void set_news(ArgT0&& arg0, ArgT... args);
  3309. std::string* mutable_news();
  3310. PROTOBUF_NODISCARD std::string* release_news();
  3311. void set_allocated_news(std::string* news);
  3312. private:
  3313. const std::string& _internal_news() const;
  3314. inline PROTOBUF_ALWAYS_INLINE void _internal_set_news(const std::string& value);
  3315. std::string* _internal_mutable_news();
  3316. public:
  3317. // int64 from_id = 2;
  3318. void clear_from_id();
  3319. int64_t from_id() const;
  3320. void set_from_id(int64_t value);
  3321. private:
  3322. int64_t _internal_from_id() const;
  3323. void _internal_set_from_id(int64_t value);
  3324. public:
  3325. // int64 to_id = 3;
  3326. void clear_to_id();
  3327. int64_t to_id() const;
  3328. void set_to_id(int64_t value);
  3329. private:
  3330. int64_t _internal_to_id() const;
  3331. void _internal_set_to_id(int64_t value);
  3332. public:
  3333. // @@protoc_insertion_point(class_scope:protobuf.MessageOfNews)
  3334. private:
  3335. class _Internal;
  3336. template<typename T>
  3337. friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3338. typedef void InternalArenaConstructable_;
  3339. typedef void DestructorSkippable_;
  3340. struct Impl_
  3341. {
  3342. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr news_;
  3343. int64_t from_id_;
  3344. int64_t to_id_;
  3345. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3346. };
  3347. union
  3348. {
  3349. Impl_ _impl_;
  3350. };
  3351. friend struct ::TableStruct_Message2Clients_2eproto;
  3352. };
  3353. // -------------------------------------------------------------------
  3354. class MessageOfObj final :
  3355. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfObj) */
  3356. {
  3357. public:
  3358. inline MessageOfObj() :
  3359. MessageOfObj(nullptr)
  3360. {
  3361. }
  3362. ~MessageOfObj() override;
  3363. explicit PROTOBUF_CONSTEXPR MessageOfObj(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3364. MessageOfObj(const MessageOfObj& from);
  3365. MessageOfObj(MessageOfObj&& from) noexcept
  3366. :
  3367. MessageOfObj()
  3368. {
  3369. *this = ::std::move(from);
  3370. }
  3371. inline MessageOfObj& operator=(const MessageOfObj& from)
  3372. {
  3373. CopyFrom(from);
  3374. return *this;
  3375. }
  3376. inline MessageOfObj& operator=(MessageOfObj&& from) noexcept
  3377. {
  3378. if (this == &from)
  3379. return *this;
  3380. if (GetOwningArena() == from.GetOwningArena()
  3381. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3382. && GetOwningArena() != nullptr
  3383. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3384. )
  3385. {
  3386. InternalSwap(&from);
  3387. }
  3388. else
  3389. {
  3390. CopyFrom(from);
  3391. }
  3392. return *this;
  3393. }
  3394. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
  3395. {
  3396. return GetDescriptor();
  3397. }
  3398. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
  3399. {
  3400. return default_instance().GetMetadata().descriptor;
  3401. }
  3402. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
  3403. {
  3404. return default_instance().GetMetadata().reflection;
  3405. }
  3406. static const MessageOfObj& default_instance()
  3407. {
  3408. return *internal_default_instance();
  3409. }
  3410. enum MessageOfObjCase
  3411. {
  3412. kStudentMessage = 1,
  3413. kTrickerMessage = 2,
  3414. kPropMessage = 3,
  3415. kBulletMessage = 4,
  3416. kBombedBulletMessage = 5,
  3417. kClassroomMessage = 6,
  3418. kDoorMessage = 7,
  3419. kGateMessage = 8,
  3420. kChestMessage = 9,
  3421. kHiddenGateMessage = 10,
  3422. kNewsMessage = 11,
  3423. kMapMessage = 12,
  3424. MESSAGE_OF_OBJ_NOT_SET = 0,
  3425. };
  3426. static inline const MessageOfObj* internal_default_instance()
  3427. {
  3428. return reinterpret_cast<const MessageOfObj*>(
  3429. &_MessageOfObj_default_instance_
  3430. );
  3431. }
  3432. static constexpr int kIndexInFileMessages =
  3433. 14;
  3434. friend void swap(MessageOfObj& a, MessageOfObj& b)
  3435. {
  3436. a.Swap(&b);
  3437. }
  3438. inline void Swap(MessageOfObj* other)
  3439. {
  3440. if (other == this)
  3441. return;
  3442. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3443. if (GetOwningArena() != nullptr &&
  3444. GetOwningArena() == other->GetOwningArena())
  3445. {
  3446. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3447. if (GetOwningArena() == other->GetOwningArena())
  3448. {
  3449. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3450. InternalSwap(other);
  3451. }
  3452. else
  3453. {
  3454. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3455. }
  3456. }
  3457. void UnsafeArenaSwap(MessageOfObj* other)
  3458. {
  3459. if (other == this)
  3460. return;
  3461. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3462. InternalSwap(other);
  3463. }
  3464. // implements Message ----------------------------------------------
  3465. MessageOfObj* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
  3466. {
  3467. return CreateMaybeMessage<MessageOfObj>(arena);
  3468. }
  3469. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3470. void CopyFrom(const MessageOfObj& from);
  3471. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3472. void MergeFrom(const MessageOfObj& from)
  3473. {
  3474. MessageOfObj::MergeImpl(*this, from);
  3475. }
  3476. private:
  3477. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  3478. public:
  3479. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3480. bool IsInitialized() const final;
  3481. size_t ByteSizeLong() const final;
  3482. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3483. uint8_t* _InternalSerialize(
  3484. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
  3485. ) const final;
  3486. int GetCachedSize() const final
  3487. {
  3488. return _impl_._cached_size_.Get();
  3489. }
  3490. private:
  3491. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  3492. void SharedDtor();
  3493. void SetCachedSize(int size) const final;
  3494. void InternalSwap(MessageOfObj* other);
  3495. private:
  3496. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3497. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
  3498. {
  3499. return "protobuf.MessageOfObj";
  3500. }
  3501. protected:
  3502. explicit MessageOfObj(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
  3503. public:
  3504. static const ClassData _class_data_;
  3505. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
  3506. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3507. // nested types ----------------------------------------------------
  3508. // accessors -------------------------------------------------------
  3509. enum : int
  3510. {
  3511. kStudentMessageFieldNumber = 1,
  3512. kTrickerMessageFieldNumber = 2,
  3513. kPropMessageFieldNumber = 3,
  3514. kBulletMessageFieldNumber = 4,
  3515. kBombedBulletMessageFieldNumber = 5,
  3516. kClassroomMessageFieldNumber = 6,
  3517. kDoorMessageFieldNumber = 7,
  3518. kGateMessageFieldNumber = 8,
  3519. kChestMessageFieldNumber = 9,
  3520. kHiddenGateMessageFieldNumber = 10,
  3521. kNewsMessageFieldNumber = 11,
  3522. kMapMessageFieldNumber = 12,
  3523. };
  3524. // .protobuf.MessageOfStudent student_message = 1;
  3525. bool has_student_message() const;
  3526. private:
  3527. bool _internal_has_student_message() const;
  3528. public:
  3529. void clear_student_message();
  3530. const ::protobuf::MessageOfStudent& student_message() const;
  3531. PROTOBUF_NODISCARD ::protobuf::MessageOfStudent* release_student_message();
  3532. ::protobuf::MessageOfStudent* mutable_student_message();
  3533. void set_allocated_student_message(::protobuf::MessageOfStudent* student_message);
  3534. private:
  3535. const ::protobuf::MessageOfStudent& _internal_student_message() const;
  3536. ::protobuf::MessageOfStudent* _internal_mutable_student_message();
  3537. public:
  3538. void unsafe_arena_set_allocated_student_message(
  3539. ::protobuf::MessageOfStudent* student_message
  3540. );
  3541. ::protobuf::MessageOfStudent* unsafe_arena_release_student_message();
  3542. // .protobuf.MessageOfTricker tricker_message = 2;
  3543. bool has_tricker_message() const;
  3544. private:
  3545. bool _internal_has_tricker_message() const;
  3546. public:
  3547. void clear_tricker_message();
  3548. const ::protobuf::MessageOfTricker& tricker_message() const;
  3549. PROTOBUF_NODISCARD ::protobuf::MessageOfTricker* release_tricker_message();
  3550. ::protobuf::MessageOfTricker* mutable_tricker_message();
  3551. void set_allocated_tricker_message(::protobuf::MessageOfTricker* tricker_message);
  3552. private:
  3553. const ::protobuf::MessageOfTricker& _internal_tricker_message() const;
  3554. ::protobuf::MessageOfTricker* _internal_mutable_tricker_message();
  3555. public:
  3556. void unsafe_arena_set_allocated_tricker_message(
  3557. ::protobuf::MessageOfTricker* tricker_message
  3558. );
  3559. ::protobuf::MessageOfTricker* unsafe_arena_release_tricker_message();
  3560. // .protobuf.MessageOfProp prop_message = 3;
  3561. bool has_prop_message() const;
  3562. private:
  3563. bool _internal_has_prop_message() const;
  3564. public:
  3565. void clear_prop_message();
  3566. const ::protobuf::MessageOfProp& prop_message() const;
  3567. PROTOBUF_NODISCARD ::protobuf::MessageOfProp* release_prop_message();
  3568. ::protobuf::MessageOfProp* mutable_prop_message();
  3569. void set_allocated_prop_message(::protobuf::MessageOfProp* prop_message);
  3570. private:
  3571. const ::protobuf::MessageOfProp& _internal_prop_message() const;
  3572. ::protobuf::MessageOfProp* _internal_mutable_prop_message();
  3573. public:
  3574. void unsafe_arena_set_allocated_prop_message(
  3575. ::protobuf::MessageOfProp* prop_message
  3576. );
  3577. ::protobuf::MessageOfProp* unsafe_arena_release_prop_message();
  3578. // .protobuf.MessageOfBullet bullet_message = 4;
  3579. bool has_bullet_message() const;
  3580. private:
  3581. bool _internal_has_bullet_message() const;
  3582. public:
  3583. void clear_bullet_message();
  3584. const ::protobuf::MessageOfBullet& bullet_message() const;
  3585. PROTOBUF_NODISCARD ::protobuf::MessageOfBullet* release_bullet_message();
  3586. ::protobuf::MessageOfBullet* mutable_bullet_message();
  3587. void set_allocated_bullet_message(::protobuf::MessageOfBullet* bullet_message);
  3588. private:
  3589. const ::protobuf::MessageOfBullet& _internal_bullet_message() const;
  3590. ::protobuf::MessageOfBullet* _internal_mutable_bullet_message();
  3591. public:
  3592. void unsafe_arena_set_allocated_bullet_message(
  3593. ::protobuf::MessageOfBullet* bullet_message
  3594. );
  3595. ::protobuf::MessageOfBullet* unsafe_arena_release_bullet_message();
  3596. // .protobuf.MessageOfBombedBullet bombed_bullet_message = 5;
  3597. bool has_bombed_bullet_message() const;
  3598. private:
  3599. bool _internal_has_bombed_bullet_message() const;
  3600. public:
  3601. void clear_bombed_bullet_message();
  3602. const ::protobuf::MessageOfBombedBullet& bombed_bullet_message() const;
  3603. PROTOBUF_NODISCARD ::protobuf::MessageOfBombedBullet* release_bombed_bullet_message();
  3604. ::protobuf::MessageOfBombedBullet* mutable_bombed_bullet_message();
  3605. void set_allocated_bombed_bullet_message(::protobuf::MessageOfBombedBullet* bombed_bullet_message);
  3606. private:
  3607. const ::protobuf::MessageOfBombedBullet& _internal_bombed_bullet_message() const;
  3608. ::protobuf::MessageOfBombedBullet* _internal_mutable_bombed_bullet_message();
  3609. public:
  3610. void unsafe_arena_set_allocated_bombed_bullet_message(
  3611. ::protobuf::MessageOfBombedBullet* bombed_bullet_message
  3612. );
  3613. ::protobuf::MessageOfBombedBullet* unsafe_arena_release_bombed_bullet_message();
  3614. // .protobuf.MessageOfClassroom classroom_message = 6;
  3615. bool has_classroom_message() const;
  3616. private:
  3617. bool _internal_has_classroom_message() const;
  3618. public:
  3619. void clear_classroom_message();
  3620. const ::protobuf::MessageOfClassroom& classroom_message() const;
  3621. PROTOBUF_NODISCARD ::protobuf::MessageOfClassroom* release_classroom_message();
  3622. ::protobuf::MessageOfClassroom* mutable_classroom_message();
  3623. void set_allocated_classroom_message(::protobuf::MessageOfClassroom* classroom_message);
  3624. private:
  3625. const ::protobuf::MessageOfClassroom& _internal_classroom_message() const;
  3626. ::protobuf::MessageOfClassroom* _internal_mutable_classroom_message();
  3627. public:
  3628. void unsafe_arena_set_allocated_classroom_message(
  3629. ::protobuf::MessageOfClassroom* classroom_message
  3630. );
  3631. ::protobuf::MessageOfClassroom* unsafe_arena_release_classroom_message();
  3632. // .protobuf.MessageOfDoor door_message = 7;
  3633. bool has_door_message() const;
  3634. private:
  3635. bool _internal_has_door_message() const;
  3636. public:
  3637. void clear_door_message();
  3638. const ::protobuf::MessageOfDoor& door_message() const;
  3639. PROTOBUF_NODISCARD ::protobuf::MessageOfDoor* release_door_message();
  3640. ::protobuf::MessageOfDoor* mutable_door_message();
  3641. void set_allocated_door_message(::protobuf::MessageOfDoor* door_message);
  3642. private:
  3643. const ::protobuf::MessageOfDoor& _internal_door_message() const;
  3644. ::protobuf::MessageOfDoor* _internal_mutable_door_message();
  3645. public:
  3646. void unsafe_arena_set_allocated_door_message(
  3647. ::protobuf::MessageOfDoor* door_message
  3648. );
  3649. ::protobuf::MessageOfDoor* unsafe_arena_release_door_message();
  3650. // .protobuf.MessageOfGate gate_message = 8;
  3651. bool has_gate_message() const;
  3652. private:
  3653. bool _internal_has_gate_message() const;
  3654. public:
  3655. void clear_gate_message();
  3656. const ::protobuf::MessageOfGate& gate_message() const;
  3657. PROTOBUF_NODISCARD ::protobuf::MessageOfGate* release_gate_message();
  3658. ::protobuf::MessageOfGate* mutable_gate_message();
  3659. void set_allocated_gate_message(::protobuf::MessageOfGate* gate_message);
  3660. private:
  3661. const ::protobuf::MessageOfGate& _internal_gate_message() const;
  3662. ::protobuf::MessageOfGate* _internal_mutable_gate_message();
  3663. public:
  3664. void unsafe_arena_set_allocated_gate_message(
  3665. ::protobuf::MessageOfGate* gate_message
  3666. );
  3667. ::protobuf::MessageOfGate* unsafe_arena_release_gate_message();
  3668. // .protobuf.MessageOfChest chest_message = 9;
  3669. bool has_chest_message() const;
  3670. private:
  3671. bool _internal_has_chest_message() const;
  3672. public:
  3673. void clear_chest_message();
  3674. const ::protobuf::MessageOfChest& chest_message() const;
  3675. PROTOBUF_NODISCARD ::protobuf::MessageOfChest* release_chest_message();
  3676. ::protobuf::MessageOfChest* mutable_chest_message();
  3677. void set_allocated_chest_message(::protobuf::MessageOfChest* chest_message);
  3678. private:
  3679. const ::protobuf::MessageOfChest& _internal_chest_message() const;
  3680. ::protobuf::MessageOfChest* _internal_mutable_chest_message();
  3681. public:
  3682. void unsafe_arena_set_allocated_chest_message(
  3683. ::protobuf::MessageOfChest* chest_message
  3684. );
  3685. ::protobuf::MessageOfChest* unsafe_arena_release_chest_message();
  3686. // .protobuf.MessageOfHiddenGate hidden_gate_message = 10;
  3687. bool has_hidden_gate_message() const;
  3688. private:
  3689. bool _internal_has_hidden_gate_message() const;
  3690. public:
  3691. void clear_hidden_gate_message();
  3692. const ::protobuf::MessageOfHiddenGate& hidden_gate_message() const;
  3693. PROTOBUF_NODISCARD ::protobuf::MessageOfHiddenGate* release_hidden_gate_message();
  3694. ::protobuf::MessageOfHiddenGate* mutable_hidden_gate_message();
  3695. void set_allocated_hidden_gate_message(::protobuf::MessageOfHiddenGate* hidden_gate_message);
  3696. private:
  3697. const ::protobuf::MessageOfHiddenGate& _internal_hidden_gate_message() const;
  3698. ::protobuf::MessageOfHiddenGate* _internal_mutable_hidden_gate_message();
  3699. public:
  3700. void unsafe_arena_set_allocated_hidden_gate_message(
  3701. ::protobuf::MessageOfHiddenGate* hidden_gate_message
  3702. );
  3703. ::protobuf::MessageOfHiddenGate* unsafe_arena_release_hidden_gate_message();
  3704. // .protobuf.MessageOfNews news_message = 11;
  3705. bool has_news_message() const;
  3706. private:
  3707. bool _internal_has_news_message() const;
  3708. public:
  3709. void clear_news_message();
  3710. const ::protobuf::MessageOfNews& news_message() const;
  3711. PROTOBUF_NODISCARD ::protobuf::MessageOfNews* release_news_message();
  3712. ::protobuf::MessageOfNews* mutable_news_message();
  3713. void set_allocated_news_message(::protobuf::MessageOfNews* news_message);
  3714. private:
  3715. const ::protobuf::MessageOfNews& _internal_news_message() const;
  3716. ::protobuf::MessageOfNews* _internal_mutable_news_message();
  3717. public:
  3718. void unsafe_arena_set_allocated_news_message(
  3719. ::protobuf::MessageOfNews* news_message
  3720. );
  3721. ::protobuf::MessageOfNews* unsafe_arena_release_news_message();
  3722. // .protobuf.MessageOfMap map_message = 12;
  3723. bool has_map_message() const;
  3724. private:
  3725. bool _internal_has_map_message() const;
  3726. public:
  3727. void clear_map_message();
  3728. const ::protobuf::MessageOfMap& map_message() const;
  3729. PROTOBUF_NODISCARD ::protobuf::MessageOfMap* release_map_message();
  3730. ::protobuf::MessageOfMap* mutable_map_message();
  3731. void set_allocated_map_message(::protobuf::MessageOfMap* map_message);
  3732. private:
  3733. const ::protobuf::MessageOfMap& _internal_map_message() const;
  3734. ::protobuf::MessageOfMap* _internal_mutable_map_message();
  3735. public:
  3736. void unsafe_arena_set_allocated_map_message(
  3737. ::protobuf::MessageOfMap* map_message
  3738. );
  3739. ::protobuf::MessageOfMap* unsafe_arena_release_map_message();
  3740. void clear_message_of_obj();
  3741. MessageOfObjCase message_of_obj_case() const;
  3742. // @@protoc_insertion_point(class_scope:protobuf.MessageOfObj)
  3743. private:
  3744. class _Internal;
  3745. void set_has_student_message();
  3746. void set_has_tricker_message();
  3747. void set_has_prop_message();
  3748. void set_has_bullet_message();
  3749. void set_has_bombed_bullet_message();
  3750. void set_has_classroom_message();
  3751. void set_has_door_message();
  3752. void set_has_gate_message();
  3753. void set_has_chest_message();
  3754. void set_has_hidden_gate_message();
  3755. void set_has_news_message();
  3756. void set_has_map_message();
  3757. inline bool has_message_of_obj() const;
  3758. inline void clear_has_message_of_obj();
  3759. template<typename T>
  3760. friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3761. typedef void InternalArenaConstructable_;
  3762. typedef void DestructorSkippable_;
  3763. struct Impl_
  3764. {
  3765. union MessageOfObjUnion
  3766. {
  3767. constexpr MessageOfObjUnion() :
  3768. _constinit_{}
  3769. {
  3770. }
  3771. ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
  3772. ::protobuf::MessageOfStudent* student_message_;
  3773. ::protobuf::MessageOfTricker* tricker_message_;
  3774. ::protobuf::MessageOfProp* prop_message_;
  3775. ::protobuf::MessageOfBullet* bullet_message_;
  3776. ::protobuf::MessageOfBombedBullet* bombed_bullet_message_;
  3777. ::protobuf::MessageOfClassroom* classroom_message_;
  3778. ::protobuf::MessageOfDoor* door_message_;
  3779. ::protobuf::MessageOfGate* gate_message_;
  3780. ::protobuf::MessageOfChest* chest_message_;
  3781. ::protobuf::MessageOfHiddenGate* hidden_gate_message_;
  3782. ::protobuf::MessageOfNews* news_message_;
  3783. ::protobuf::MessageOfMap* map_message_;
  3784. } message_of_obj_;
  3785. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  3786. uint32_t _oneof_case_[1];
  3787. };
  3788. union
  3789. {
  3790. Impl_ _impl_;
  3791. };
  3792. friend struct ::TableStruct_Message2Clients_2eproto;
  3793. };
  3794. // -------------------------------------------------------------------
  3795. class MessageOfAll final :
  3796. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfAll) */
  3797. {
  3798. public:
  3799. inline MessageOfAll() :
  3800. MessageOfAll(nullptr)
  3801. {
  3802. }
  3803. ~MessageOfAll() override;
  3804. explicit PROTOBUF_CONSTEXPR MessageOfAll(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  3805. MessageOfAll(const MessageOfAll& from);
  3806. MessageOfAll(MessageOfAll&& from) noexcept
  3807. :
  3808. MessageOfAll()
  3809. {
  3810. *this = ::std::move(from);
  3811. }
  3812. inline MessageOfAll& operator=(const MessageOfAll& from)
  3813. {
  3814. CopyFrom(from);
  3815. return *this;
  3816. }
  3817. inline MessageOfAll& operator=(MessageOfAll&& from) noexcept
  3818. {
  3819. if (this == &from)
  3820. return *this;
  3821. if (GetOwningArena() == from.GetOwningArena()
  3822. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  3823. && GetOwningArena() != nullptr
  3824. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  3825. )
  3826. {
  3827. InternalSwap(&from);
  3828. }
  3829. else
  3830. {
  3831. CopyFrom(from);
  3832. }
  3833. return *this;
  3834. }
  3835. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
  3836. {
  3837. return GetDescriptor();
  3838. }
  3839. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
  3840. {
  3841. return default_instance().GetMetadata().descriptor;
  3842. }
  3843. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
  3844. {
  3845. return default_instance().GetMetadata().reflection;
  3846. }
  3847. static const MessageOfAll& default_instance()
  3848. {
  3849. return *internal_default_instance();
  3850. }
  3851. static inline const MessageOfAll* internal_default_instance()
  3852. {
  3853. return reinterpret_cast<const MessageOfAll*>(
  3854. &_MessageOfAll_default_instance_
  3855. );
  3856. }
  3857. static constexpr int kIndexInFileMessages =
  3858. 15;
  3859. friend void swap(MessageOfAll& a, MessageOfAll& b)
  3860. {
  3861. a.Swap(&b);
  3862. }
  3863. inline void Swap(MessageOfAll* other)
  3864. {
  3865. if (other == this)
  3866. return;
  3867. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  3868. if (GetOwningArena() != nullptr &&
  3869. GetOwningArena() == other->GetOwningArena())
  3870. {
  3871. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  3872. if (GetOwningArena() == other->GetOwningArena())
  3873. {
  3874. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  3875. InternalSwap(other);
  3876. }
  3877. else
  3878. {
  3879. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  3880. }
  3881. }
  3882. void UnsafeArenaSwap(MessageOfAll* other)
  3883. {
  3884. if (other == this)
  3885. return;
  3886. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  3887. InternalSwap(other);
  3888. }
  3889. // implements Message ----------------------------------------------
  3890. MessageOfAll* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
  3891. {
  3892. return CreateMaybeMessage<MessageOfAll>(arena);
  3893. }
  3894. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  3895. void CopyFrom(const MessageOfAll& from);
  3896. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  3897. void MergeFrom(const MessageOfAll& from)
  3898. {
  3899. MessageOfAll::MergeImpl(*this, from);
  3900. }
  3901. private:
  3902. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  3903. public:
  3904. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  3905. bool IsInitialized() const final;
  3906. size_t ByteSizeLong() const final;
  3907. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  3908. uint8_t* _InternalSerialize(
  3909. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
  3910. ) const final;
  3911. int GetCachedSize() const final
  3912. {
  3913. return _impl_._cached_size_.Get();
  3914. }
  3915. private:
  3916. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  3917. void SharedDtor();
  3918. void SetCachedSize(int size) const final;
  3919. void InternalSwap(MessageOfAll* other);
  3920. private:
  3921. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  3922. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
  3923. {
  3924. return "protobuf.MessageOfAll";
  3925. }
  3926. protected:
  3927. explicit MessageOfAll(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
  3928. public:
  3929. static const ClassData _class_data_;
  3930. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
  3931. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  3932. // nested types ----------------------------------------------------
  3933. // accessors -------------------------------------------------------
  3934. enum : int
  3935. {
  3936. kGameTimeFieldNumber = 1,
  3937. kSubjectFinishedFieldNumber = 2,
  3938. kStudentGraduatedFieldNumber = 3,
  3939. kStudentQuitedFieldNumber = 4,
  3940. kStudentScoreFieldNumber = 5,
  3941. kTrickerScoreFieldNumber = 6,
  3942. };
  3943. // int32 game_time = 1;
  3944. void clear_game_time();
  3945. int32_t game_time() const;
  3946. void set_game_time(int32_t value);
  3947. private:
  3948. int32_t _internal_game_time() const;
  3949. void _internal_set_game_time(int32_t value);
  3950. public:
  3951. // int32 subject_finished = 2;
  3952. void clear_subject_finished();
  3953. int32_t subject_finished() const;
  3954. void set_subject_finished(int32_t value);
  3955. private:
  3956. int32_t _internal_subject_finished() const;
  3957. void _internal_set_subject_finished(int32_t value);
  3958. public:
  3959. // int32 student_graduated = 3;
  3960. void clear_student_graduated();
  3961. int32_t student_graduated() const;
  3962. void set_student_graduated(int32_t value);
  3963. private:
  3964. int32_t _internal_student_graduated() const;
  3965. void _internal_set_student_graduated(int32_t value);
  3966. public:
  3967. // int32 student_quited = 4;
  3968. void clear_student_quited();
  3969. int32_t student_quited() const;
  3970. void set_student_quited(int32_t value);
  3971. private:
  3972. int32_t _internal_student_quited() const;
  3973. void _internal_set_student_quited(int32_t value);
  3974. public:
  3975. // int32 student_score = 5;
  3976. void clear_student_score();
  3977. int32_t student_score() const;
  3978. void set_student_score(int32_t value);
  3979. private:
  3980. int32_t _internal_student_score() const;
  3981. void _internal_set_student_score(int32_t value);
  3982. public:
  3983. // int32 tricker_score = 6;
  3984. void clear_tricker_score();
  3985. int32_t tricker_score() const;
  3986. void set_tricker_score(int32_t value);
  3987. private:
  3988. int32_t _internal_tricker_score() const;
  3989. void _internal_set_tricker_score(int32_t value);
  3990. public:
  3991. // @@protoc_insertion_point(class_scope:protobuf.MessageOfAll)
  3992. private:
  3993. class _Internal;
  3994. template<typename T>
  3995. friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  3996. typedef void InternalArenaConstructable_;
  3997. typedef void DestructorSkippable_;
  3998. struct Impl_
  3999. {
  4000. int32_t game_time_;
  4001. int32_t subject_finished_;
  4002. int32_t student_graduated_;
  4003. int32_t student_quited_;
  4004. int32_t student_score_;
  4005. int32_t tricker_score_;
  4006. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4007. };
  4008. union
  4009. {
  4010. Impl_ _impl_;
  4011. };
  4012. friend struct ::TableStruct_Message2Clients_2eproto;
  4013. };
  4014. // -------------------------------------------------------------------
  4015. class MessageToClient final :
  4016. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageToClient) */
  4017. {
  4018. public:
  4019. inline MessageToClient() :
  4020. MessageToClient(nullptr)
  4021. {
  4022. }
  4023. ~MessageToClient() override;
  4024. explicit PROTOBUF_CONSTEXPR MessageToClient(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4025. MessageToClient(const MessageToClient& from);
  4026. MessageToClient(MessageToClient&& from) noexcept
  4027. :
  4028. MessageToClient()
  4029. {
  4030. *this = ::std::move(from);
  4031. }
  4032. inline MessageToClient& operator=(const MessageToClient& from)
  4033. {
  4034. CopyFrom(from);
  4035. return *this;
  4036. }
  4037. inline MessageToClient& operator=(MessageToClient&& from) noexcept
  4038. {
  4039. if (this == &from)
  4040. return *this;
  4041. if (GetOwningArena() == from.GetOwningArena()
  4042. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4043. && GetOwningArena() != nullptr
  4044. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4045. )
  4046. {
  4047. InternalSwap(&from);
  4048. }
  4049. else
  4050. {
  4051. CopyFrom(from);
  4052. }
  4053. return *this;
  4054. }
  4055. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
  4056. {
  4057. return GetDescriptor();
  4058. }
  4059. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
  4060. {
  4061. return default_instance().GetMetadata().descriptor;
  4062. }
  4063. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
  4064. {
  4065. return default_instance().GetMetadata().reflection;
  4066. }
  4067. static const MessageToClient& default_instance()
  4068. {
  4069. return *internal_default_instance();
  4070. }
  4071. static inline const MessageToClient* internal_default_instance()
  4072. {
  4073. return reinterpret_cast<const MessageToClient*>(
  4074. &_MessageToClient_default_instance_
  4075. );
  4076. }
  4077. static constexpr int kIndexInFileMessages =
  4078. 16;
  4079. friend void swap(MessageToClient& a, MessageToClient& b)
  4080. {
  4081. a.Swap(&b);
  4082. }
  4083. inline void Swap(MessageToClient* other)
  4084. {
  4085. if (other == this)
  4086. return;
  4087. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4088. if (GetOwningArena() != nullptr &&
  4089. GetOwningArena() == other->GetOwningArena())
  4090. {
  4091. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4092. if (GetOwningArena() == other->GetOwningArena())
  4093. {
  4094. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4095. InternalSwap(other);
  4096. }
  4097. else
  4098. {
  4099. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4100. }
  4101. }
  4102. void UnsafeArenaSwap(MessageToClient* other)
  4103. {
  4104. if (other == this)
  4105. return;
  4106. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4107. InternalSwap(other);
  4108. }
  4109. // implements Message ----------------------------------------------
  4110. MessageToClient* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
  4111. {
  4112. return CreateMaybeMessage<MessageToClient>(arena);
  4113. }
  4114. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4115. void CopyFrom(const MessageToClient& from);
  4116. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4117. void MergeFrom(const MessageToClient& from)
  4118. {
  4119. MessageToClient::MergeImpl(*this, from);
  4120. }
  4121. private:
  4122. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  4123. public:
  4124. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4125. bool IsInitialized() const final;
  4126. size_t ByteSizeLong() const final;
  4127. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4128. uint8_t* _InternalSerialize(
  4129. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
  4130. ) const final;
  4131. int GetCachedSize() const final
  4132. {
  4133. return _impl_._cached_size_.Get();
  4134. }
  4135. private:
  4136. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  4137. void SharedDtor();
  4138. void SetCachedSize(int size) const final;
  4139. void InternalSwap(MessageToClient* other);
  4140. private:
  4141. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4142. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
  4143. {
  4144. return "protobuf.MessageToClient";
  4145. }
  4146. protected:
  4147. explicit MessageToClient(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
  4148. public:
  4149. static const ClassData _class_data_;
  4150. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
  4151. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4152. // nested types ----------------------------------------------------
  4153. // accessors -------------------------------------------------------
  4154. enum : int
  4155. {
  4156. kObjMessageFieldNumber = 1,
  4157. kAllMessageFieldNumber = 3,
  4158. kGameStateFieldNumber = 2,
  4159. };
  4160. // repeated .protobuf.MessageOfObj obj_message = 1;
  4161. int obj_message_size() const;
  4162. private:
  4163. int _internal_obj_message_size() const;
  4164. public:
  4165. void clear_obj_message();
  4166. ::protobuf::MessageOfObj* mutable_obj_message(int index);
  4167. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfObj>*
  4168. mutable_obj_message();
  4169. private:
  4170. const ::protobuf::MessageOfObj& _internal_obj_message(int index) const;
  4171. ::protobuf::MessageOfObj* _internal_add_obj_message();
  4172. public:
  4173. const ::protobuf::MessageOfObj& obj_message(int index) const;
  4174. ::protobuf::MessageOfObj* add_obj_message();
  4175. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfObj>&
  4176. obj_message() const;
  4177. // .protobuf.MessageOfAll all_message = 3;
  4178. bool has_all_message() const;
  4179. private:
  4180. bool _internal_has_all_message() const;
  4181. public:
  4182. void clear_all_message();
  4183. const ::protobuf::MessageOfAll& all_message() const;
  4184. PROTOBUF_NODISCARD ::protobuf::MessageOfAll* release_all_message();
  4185. ::protobuf::MessageOfAll* mutable_all_message();
  4186. void set_allocated_all_message(::protobuf::MessageOfAll* all_message);
  4187. private:
  4188. const ::protobuf::MessageOfAll& _internal_all_message() const;
  4189. ::protobuf::MessageOfAll* _internal_mutable_all_message();
  4190. public:
  4191. void unsafe_arena_set_allocated_all_message(
  4192. ::protobuf::MessageOfAll* all_message
  4193. );
  4194. ::protobuf::MessageOfAll* unsafe_arena_release_all_message();
  4195. // .protobuf.GameState game_state = 2;
  4196. void clear_game_state();
  4197. ::protobuf::GameState game_state() const;
  4198. void set_game_state(::protobuf::GameState value);
  4199. private:
  4200. ::protobuf::GameState _internal_game_state() const;
  4201. void _internal_set_game_state(::protobuf::GameState value);
  4202. public:
  4203. // @@protoc_insertion_point(class_scope:protobuf.MessageToClient)
  4204. private:
  4205. class _Internal;
  4206. template<typename T>
  4207. friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4208. typedef void InternalArenaConstructable_;
  4209. typedef void DestructorSkippable_;
  4210. struct Impl_
  4211. {
  4212. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfObj> obj_message_;
  4213. ::protobuf::MessageOfAll* all_message_;
  4214. int game_state_;
  4215. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4216. };
  4217. union
  4218. {
  4219. Impl_ _impl_;
  4220. };
  4221. friend struct ::TableStruct_Message2Clients_2eproto;
  4222. };
  4223. // -------------------------------------------------------------------
  4224. class MoveRes final :
  4225. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MoveRes) */
  4226. {
  4227. public:
  4228. inline MoveRes() :
  4229. MoveRes(nullptr)
  4230. {
  4231. }
  4232. ~MoveRes() override;
  4233. explicit PROTOBUF_CONSTEXPR MoveRes(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4234. MoveRes(const MoveRes& from);
  4235. MoveRes(MoveRes&& from) noexcept
  4236. :
  4237. MoveRes()
  4238. {
  4239. *this = ::std::move(from);
  4240. }
  4241. inline MoveRes& operator=(const MoveRes& from)
  4242. {
  4243. CopyFrom(from);
  4244. return *this;
  4245. }
  4246. inline MoveRes& operator=(MoveRes&& from) noexcept
  4247. {
  4248. if (this == &from)
  4249. return *this;
  4250. if (GetOwningArena() == from.GetOwningArena()
  4251. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4252. && GetOwningArena() != nullptr
  4253. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4254. )
  4255. {
  4256. InternalSwap(&from);
  4257. }
  4258. else
  4259. {
  4260. CopyFrom(from);
  4261. }
  4262. return *this;
  4263. }
  4264. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
  4265. {
  4266. return GetDescriptor();
  4267. }
  4268. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
  4269. {
  4270. return default_instance().GetMetadata().descriptor;
  4271. }
  4272. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
  4273. {
  4274. return default_instance().GetMetadata().reflection;
  4275. }
  4276. static const MoveRes& default_instance()
  4277. {
  4278. return *internal_default_instance();
  4279. }
  4280. static inline const MoveRes* internal_default_instance()
  4281. {
  4282. return reinterpret_cast<const MoveRes*>(
  4283. &_MoveRes_default_instance_
  4284. );
  4285. }
  4286. static constexpr int kIndexInFileMessages =
  4287. 17;
  4288. friend void swap(MoveRes& a, MoveRes& b)
  4289. {
  4290. a.Swap(&b);
  4291. }
  4292. inline void Swap(MoveRes* other)
  4293. {
  4294. if (other == this)
  4295. return;
  4296. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4297. if (GetOwningArena() != nullptr &&
  4298. GetOwningArena() == other->GetOwningArena())
  4299. {
  4300. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4301. if (GetOwningArena() == other->GetOwningArena())
  4302. {
  4303. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4304. InternalSwap(other);
  4305. }
  4306. else
  4307. {
  4308. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4309. }
  4310. }
  4311. void UnsafeArenaSwap(MoveRes* other)
  4312. {
  4313. if (other == this)
  4314. return;
  4315. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4316. InternalSwap(other);
  4317. }
  4318. // implements Message ----------------------------------------------
  4319. MoveRes* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
  4320. {
  4321. return CreateMaybeMessage<MoveRes>(arena);
  4322. }
  4323. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4324. void CopyFrom(const MoveRes& from);
  4325. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4326. void MergeFrom(const MoveRes& from)
  4327. {
  4328. MoveRes::MergeImpl(*this, from);
  4329. }
  4330. private:
  4331. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  4332. public:
  4333. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4334. bool IsInitialized() const final;
  4335. size_t ByteSizeLong() const final;
  4336. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4337. uint8_t* _InternalSerialize(
  4338. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
  4339. ) const final;
  4340. int GetCachedSize() const final
  4341. {
  4342. return _impl_._cached_size_.Get();
  4343. }
  4344. private:
  4345. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  4346. void SharedDtor();
  4347. void SetCachedSize(int size) const final;
  4348. void InternalSwap(MoveRes* other);
  4349. private:
  4350. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4351. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
  4352. {
  4353. return "protobuf.MoveRes";
  4354. }
  4355. protected:
  4356. explicit MoveRes(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
  4357. public:
  4358. static const ClassData _class_data_;
  4359. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
  4360. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4361. // nested types ----------------------------------------------------
  4362. // accessors -------------------------------------------------------
  4363. enum : int
  4364. {
  4365. kActualSpeedFieldNumber = 1,
  4366. kActualAngleFieldNumber = 2,
  4367. kActSuccessFieldNumber = 3,
  4368. };
  4369. // int64 actual_speed = 1;
  4370. void clear_actual_speed();
  4371. int64_t actual_speed() const;
  4372. void set_actual_speed(int64_t value);
  4373. private:
  4374. int64_t _internal_actual_speed() const;
  4375. void _internal_set_actual_speed(int64_t value);
  4376. public:
  4377. // double actual_angle = 2;
  4378. void clear_actual_angle();
  4379. double actual_angle() const;
  4380. void set_actual_angle(double value);
  4381. private:
  4382. double _internal_actual_angle() const;
  4383. void _internal_set_actual_angle(double value);
  4384. public:
  4385. // bool act_success = 3;
  4386. void clear_act_success();
  4387. bool act_success() const;
  4388. void set_act_success(bool value);
  4389. private:
  4390. bool _internal_act_success() const;
  4391. void _internal_set_act_success(bool value);
  4392. public:
  4393. // @@protoc_insertion_point(class_scope:protobuf.MoveRes)
  4394. private:
  4395. class _Internal;
  4396. template<typename T>
  4397. friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4398. typedef void InternalArenaConstructable_;
  4399. typedef void DestructorSkippable_;
  4400. struct Impl_
  4401. {
  4402. int64_t actual_speed_;
  4403. double actual_angle_;
  4404. bool act_success_;
  4405. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4406. };
  4407. union
  4408. {
  4409. Impl_ _impl_;
  4410. };
  4411. friend struct ::TableStruct_Message2Clients_2eproto;
  4412. };
  4413. // -------------------------------------------------------------------
  4414. class BoolRes final :
  4415. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.BoolRes) */
  4416. {
  4417. public:
  4418. inline BoolRes() :
  4419. BoolRes(nullptr)
  4420. {
  4421. }
  4422. ~BoolRes() override;
  4423. explicit PROTOBUF_CONSTEXPR BoolRes(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  4424. BoolRes(const BoolRes& from);
  4425. BoolRes(BoolRes&& from) noexcept
  4426. :
  4427. BoolRes()
  4428. {
  4429. *this = ::std::move(from);
  4430. }
  4431. inline BoolRes& operator=(const BoolRes& from)
  4432. {
  4433. CopyFrom(from);
  4434. return *this;
  4435. }
  4436. inline BoolRes& operator=(BoolRes&& from) noexcept
  4437. {
  4438. if (this == &from)
  4439. return *this;
  4440. if (GetOwningArena() == from.GetOwningArena()
  4441. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  4442. && GetOwningArena() != nullptr
  4443. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  4444. )
  4445. {
  4446. InternalSwap(&from);
  4447. }
  4448. else
  4449. {
  4450. CopyFrom(from);
  4451. }
  4452. return *this;
  4453. }
  4454. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
  4455. {
  4456. return GetDescriptor();
  4457. }
  4458. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
  4459. {
  4460. return default_instance().GetMetadata().descriptor;
  4461. }
  4462. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
  4463. {
  4464. return default_instance().GetMetadata().reflection;
  4465. }
  4466. static const BoolRes& default_instance()
  4467. {
  4468. return *internal_default_instance();
  4469. }
  4470. static inline const BoolRes* internal_default_instance()
  4471. {
  4472. return reinterpret_cast<const BoolRes*>(
  4473. &_BoolRes_default_instance_
  4474. );
  4475. }
  4476. static constexpr int kIndexInFileMessages =
  4477. 18;
  4478. friend void swap(BoolRes& a, BoolRes& b)
  4479. {
  4480. a.Swap(&b);
  4481. }
  4482. inline void Swap(BoolRes* other)
  4483. {
  4484. if (other == this)
  4485. return;
  4486. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  4487. if (GetOwningArena() != nullptr &&
  4488. GetOwningArena() == other->GetOwningArena())
  4489. {
  4490. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  4491. if (GetOwningArena() == other->GetOwningArena())
  4492. {
  4493. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  4494. InternalSwap(other);
  4495. }
  4496. else
  4497. {
  4498. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  4499. }
  4500. }
  4501. void UnsafeArenaSwap(BoolRes* other)
  4502. {
  4503. if (other == this)
  4504. return;
  4505. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  4506. InternalSwap(other);
  4507. }
  4508. // implements Message ----------------------------------------------
  4509. BoolRes* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
  4510. {
  4511. return CreateMaybeMessage<BoolRes>(arena);
  4512. }
  4513. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  4514. void CopyFrom(const BoolRes& from);
  4515. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  4516. void MergeFrom(const BoolRes& from)
  4517. {
  4518. BoolRes::MergeImpl(*this, from);
  4519. }
  4520. private:
  4521. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  4522. public:
  4523. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  4524. bool IsInitialized() const final;
  4525. size_t ByteSizeLong() const final;
  4526. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  4527. uint8_t* _InternalSerialize(
  4528. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
  4529. ) const final;
  4530. int GetCachedSize() const final
  4531. {
  4532. return _impl_._cached_size_.Get();
  4533. }
  4534. private:
  4535. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  4536. void SharedDtor();
  4537. void SetCachedSize(int size) const final;
  4538. void InternalSwap(BoolRes* other);
  4539. private:
  4540. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  4541. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
  4542. {
  4543. return "protobuf.BoolRes";
  4544. }
  4545. protected:
  4546. explicit BoolRes(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
  4547. public:
  4548. static const ClassData _class_data_;
  4549. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
  4550. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  4551. // nested types ----------------------------------------------------
  4552. // accessors -------------------------------------------------------
  4553. enum : int
  4554. {
  4555. kActSuccessFieldNumber = 1,
  4556. };
  4557. // bool act_success = 1;
  4558. void clear_act_success();
  4559. bool act_success() const;
  4560. void set_act_success(bool value);
  4561. private:
  4562. bool _internal_act_success() const;
  4563. void _internal_set_act_success(bool value);
  4564. public:
  4565. // @@protoc_insertion_point(class_scope:protobuf.BoolRes)
  4566. private:
  4567. class _Internal;
  4568. template<typename T>
  4569. friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  4570. typedef void InternalArenaConstructable_;
  4571. typedef void DestructorSkippable_;
  4572. struct Impl_
  4573. {
  4574. bool act_success_;
  4575. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  4576. };
  4577. union
  4578. {
  4579. Impl_ _impl_;
  4580. };
  4581. friend struct ::TableStruct_Message2Clients_2eproto;
  4582. };
  4583. // ===================================================================
  4584. // ===================================================================
  4585. #ifdef __GNUC__
  4586. #pragma GCC diagnostic push
  4587. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  4588. #endif // __GNUC__
  4589. // MessageOfStudent
  4590. // int32 x = 1;
  4591. inline void MessageOfStudent::clear_x()
  4592. {
  4593. _impl_.x_ = 0;
  4594. }
  4595. inline int32_t MessageOfStudent::_internal_x() const
  4596. {
  4597. return _impl_.x_;
  4598. }
  4599. inline int32_t MessageOfStudent::x() const
  4600. {
  4601. // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.x)
  4602. return _internal_x();
  4603. }
  4604. inline void MessageOfStudent::_internal_set_x(int32_t value)
  4605. {
  4606. _impl_.x_ = value;
  4607. }
  4608. inline void MessageOfStudent::set_x(int32_t value)
  4609. {
  4610. _internal_set_x(value);
  4611. // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.x)
  4612. }
  4613. // int32 y = 2;
  4614. inline void MessageOfStudent::clear_y()
  4615. {
  4616. _impl_.y_ = 0;
  4617. }
  4618. inline int32_t MessageOfStudent::_internal_y() const
  4619. {
  4620. return _impl_.y_;
  4621. }
  4622. inline int32_t MessageOfStudent::y() const
  4623. {
  4624. // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.y)
  4625. return _internal_y();
  4626. }
  4627. inline void MessageOfStudent::_internal_set_y(int32_t value)
  4628. {
  4629. _impl_.y_ = value;
  4630. }
  4631. inline void MessageOfStudent::set_y(int32_t value)
  4632. {
  4633. _internal_set_y(value);
  4634. // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.y)
  4635. }
  4636. // int32 speed = 3;
  4637. inline void MessageOfStudent::clear_speed()
  4638. {
  4639. _impl_.speed_ = 0;
  4640. }
  4641. inline int32_t MessageOfStudent::_internal_speed() const
  4642. {
  4643. return _impl_.speed_;
  4644. }
  4645. inline int32_t MessageOfStudent::speed() const
  4646. {
  4647. // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.speed)
  4648. return _internal_speed();
  4649. }
  4650. inline void MessageOfStudent::_internal_set_speed(int32_t value)
  4651. {
  4652. _impl_.speed_ = value;
  4653. }
  4654. inline void MessageOfStudent::set_speed(int32_t value)
  4655. {
  4656. _internal_set_speed(value);
  4657. // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.speed)
  4658. }
  4659. // int32 determination = 4;
  4660. inline void MessageOfStudent::clear_determination()
  4661. {
  4662. _impl_.determination_ = 0;
  4663. }
  4664. inline int32_t MessageOfStudent::_internal_determination() const
  4665. {
  4666. return _impl_.determination_;
  4667. }
  4668. inline int32_t MessageOfStudent::determination() const
  4669. {
  4670. // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.determination)
  4671. return _internal_determination();
  4672. }
  4673. inline void MessageOfStudent::_internal_set_determination(int32_t value)
  4674. {
  4675. _impl_.determination_ = value;
  4676. }
  4677. inline void MessageOfStudent::set_determination(int32_t value)
  4678. {
  4679. _internal_set_determination(value);
  4680. // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.determination)
  4681. }
  4682. // int32 addiction = 5;
  4683. inline void MessageOfStudent::clear_addiction()
  4684. {
  4685. _impl_.addiction_ = 0;
  4686. }
  4687. inline int32_t MessageOfStudent::_internal_addiction() const
  4688. {
  4689. return _impl_.addiction_;
  4690. }
  4691. inline int32_t MessageOfStudent::addiction() const
  4692. {
  4693. // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.addiction)
  4694. return _internal_addiction();
  4695. }
  4696. inline void MessageOfStudent::_internal_set_addiction(int32_t value)
  4697. {
  4698. _impl_.addiction_ = value;
  4699. }
  4700. inline void MessageOfStudent::set_addiction(int32_t value)
  4701. {
  4702. _internal_set_addiction(value);
  4703. // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.addiction)
  4704. }
  4705. // repeated double time_until_skill_available = 6;
  4706. inline int MessageOfStudent::_internal_time_until_skill_available_size() const
  4707. {
  4708. return _impl_.time_until_skill_available_.size();
  4709. }
  4710. inline int MessageOfStudent::time_until_skill_available_size() const
  4711. {
  4712. return _internal_time_until_skill_available_size();
  4713. }
  4714. inline void MessageOfStudent::clear_time_until_skill_available()
  4715. {
  4716. _impl_.time_until_skill_available_.Clear();
  4717. }
  4718. inline double MessageOfStudent::_internal_time_until_skill_available(int index) const
  4719. {
  4720. return _impl_.time_until_skill_available_.Get(index);
  4721. }
  4722. inline double MessageOfStudent::time_until_skill_available(int index) const
  4723. {
  4724. // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.time_until_skill_available)
  4725. return _internal_time_until_skill_available(index);
  4726. }
  4727. inline void MessageOfStudent::set_time_until_skill_available(int index, double value)
  4728. {
  4729. _impl_.time_until_skill_available_.Set(index, value);
  4730. // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.time_until_skill_available)
  4731. }
  4732. inline void MessageOfStudent::_internal_add_time_until_skill_available(double value)
  4733. {
  4734. _impl_.time_until_skill_available_.Add(value);
  4735. }
  4736. inline void MessageOfStudent::add_time_until_skill_available(double value)
  4737. {
  4738. _internal_add_time_until_skill_available(value);
  4739. // @@protoc_insertion_point(field_add:protobuf.MessageOfStudent.time_until_skill_available)
  4740. }
  4741. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<double>&
  4742. MessageOfStudent::_internal_time_until_skill_available() const
  4743. {
  4744. return _impl_.time_until_skill_available_;
  4745. }
  4746. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<double>&
  4747. MessageOfStudent::time_until_skill_available() const
  4748. {
  4749. // @@protoc_insertion_point(field_list:protobuf.MessageOfStudent.time_until_skill_available)
  4750. return _internal_time_until_skill_available();
  4751. }
  4752. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<double>*
  4753. MessageOfStudent::_internal_mutable_time_until_skill_available()
  4754. {
  4755. return &_impl_.time_until_skill_available_;
  4756. }
  4757. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<double>*
  4758. MessageOfStudent::mutable_time_until_skill_available()
  4759. {
  4760. // @@protoc_insertion_point(field_mutable_list:protobuf.MessageOfStudent.time_until_skill_available)
  4761. return _internal_mutable_time_until_skill_available();
  4762. }
  4763. // .protobuf.PlaceType place = 7;
  4764. inline void MessageOfStudent::clear_place()
  4765. {
  4766. _impl_.place_ = 0;
  4767. }
  4768. inline ::protobuf::PlaceType MessageOfStudent::_internal_place() const
  4769. {
  4770. return static_cast<::protobuf::PlaceType>(_impl_.place_);
  4771. }
  4772. inline ::protobuf::PlaceType MessageOfStudent::place() const
  4773. {
  4774. // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.place)
  4775. return _internal_place();
  4776. }
  4777. inline void MessageOfStudent::_internal_set_place(::protobuf::PlaceType value)
  4778. {
  4779. _impl_.place_ = value;
  4780. }
  4781. inline void MessageOfStudent::set_place(::protobuf::PlaceType value)
  4782. {
  4783. _internal_set_place(value);
  4784. // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.place)
  4785. }
  4786. // repeated .protobuf.PropType prop = 8;
  4787. inline int MessageOfStudent::_internal_prop_size() const
  4788. {
  4789. return _impl_.prop_.size();
  4790. }
  4791. inline int MessageOfStudent::prop_size() const
  4792. {
  4793. return _internal_prop_size();
  4794. }
  4795. inline void MessageOfStudent::clear_prop()
  4796. {
  4797. _impl_.prop_.Clear();
  4798. }
  4799. inline ::protobuf::PropType MessageOfStudent::_internal_prop(int index) const
  4800. {
  4801. return static_cast<::protobuf::PropType>(_impl_.prop_.Get(index));
  4802. }
  4803. inline ::protobuf::PropType MessageOfStudent::prop(int index) const
  4804. {
  4805. // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.prop)
  4806. return _internal_prop(index);
  4807. }
  4808. inline void MessageOfStudent::set_prop(int index, ::protobuf::PropType value)
  4809. {
  4810. _impl_.prop_.Set(index, value);
  4811. // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.prop)
  4812. }
  4813. inline void MessageOfStudent::_internal_add_prop(::protobuf::PropType value)
  4814. {
  4815. _impl_.prop_.Add(value);
  4816. }
  4817. inline void MessageOfStudent::add_prop(::protobuf::PropType value)
  4818. {
  4819. _internal_add_prop(value);
  4820. // @@protoc_insertion_point(field_add:protobuf.MessageOfStudent.prop)
  4821. }
  4822. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
  4823. MessageOfStudent::prop() const
  4824. {
  4825. // @@protoc_insertion_point(field_list:protobuf.MessageOfStudent.prop)
  4826. return _impl_.prop_;
  4827. }
  4828. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
  4829. MessageOfStudent::_internal_mutable_prop()
  4830. {
  4831. return &_impl_.prop_;
  4832. }
  4833. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
  4834. MessageOfStudent::mutable_prop()
  4835. {
  4836. // @@protoc_insertion_point(field_mutable_list:protobuf.MessageOfStudent.prop)
  4837. return _internal_mutable_prop();
  4838. }
  4839. // .protobuf.PlayerState player_state = 9;
  4840. inline void MessageOfStudent::clear_player_state()
  4841. {
  4842. _impl_.player_state_ = 0;
  4843. }
  4844. inline ::protobuf::PlayerState MessageOfStudent::_internal_player_state() const
  4845. {
  4846. return static_cast<::protobuf::PlayerState>(_impl_.player_state_);
  4847. }
  4848. inline ::protobuf::PlayerState MessageOfStudent::player_state() const
  4849. {
  4850. // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.player_state)
  4851. return _internal_player_state();
  4852. }
  4853. inline void MessageOfStudent::_internal_set_player_state(::protobuf::PlayerState value)
  4854. {
  4855. _impl_.player_state_ = value;
  4856. }
  4857. inline void MessageOfStudent::set_player_state(::protobuf::PlayerState value)
  4858. {
  4859. _internal_set_player_state(value);
  4860. // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.player_state)
  4861. }
  4862. // int64 guid = 10;
  4863. inline void MessageOfStudent::clear_guid()
  4864. {
  4865. _impl_.guid_ = int64_t{0};
  4866. }
  4867. inline int64_t MessageOfStudent::_internal_guid() const
  4868. {
  4869. return _impl_.guid_;
  4870. }
  4871. inline int64_t MessageOfStudent::guid() const
  4872. {
  4873. // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.guid)
  4874. return _internal_guid();
  4875. }
  4876. inline void MessageOfStudent::_internal_set_guid(int64_t value)
  4877. {
  4878. _impl_.guid_ = value;
  4879. }
  4880. inline void MessageOfStudent::set_guid(int64_t value)
  4881. {
  4882. _internal_set_guid(value);
  4883. // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.guid)
  4884. }
  4885. // .protobuf.BulletType bullet_type = 12;
  4886. inline void MessageOfStudent::clear_bullet_type()
  4887. {
  4888. _impl_.bullet_type_ = 0;
  4889. }
  4890. inline ::protobuf::BulletType MessageOfStudent::_internal_bullet_type() const
  4891. {
  4892. return static_cast<::protobuf::BulletType>(_impl_.bullet_type_);
  4893. }
  4894. inline ::protobuf::BulletType MessageOfStudent::bullet_type() const
  4895. {
  4896. // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.bullet_type)
  4897. return _internal_bullet_type();
  4898. }
  4899. inline void MessageOfStudent::_internal_set_bullet_type(::protobuf::BulletType value)
  4900. {
  4901. _impl_.bullet_type_ = value;
  4902. }
  4903. inline void MessageOfStudent::set_bullet_type(::protobuf::BulletType value)
  4904. {
  4905. _internal_set_bullet_type(value);
  4906. // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.bullet_type)
  4907. }
  4908. // int32 learning_speed = 13;
  4909. inline void MessageOfStudent::clear_learning_speed()
  4910. {
  4911. _impl_.learning_speed_ = 0;
  4912. }
  4913. inline int32_t MessageOfStudent::_internal_learning_speed() const
  4914. {
  4915. return _impl_.learning_speed_;
  4916. }
  4917. inline int32_t MessageOfStudent::learning_speed() const
  4918. {
  4919. // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.learning_speed)
  4920. return _internal_learning_speed();
  4921. }
  4922. inline void MessageOfStudent::_internal_set_learning_speed(int32_t value)
  4923. {
  4924. _impl_.learning_speed_ = value;
  4925. }
  4926. inline void MessageOfStudent::set_learning_speed(int32_t value)
  4927. {
  4928. _internal_set_learning_speed(value);
  4929. // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.learning_speed)
  4930. }
  4931. // int32 treat_speed = 14;
  4932. inline void MessageOfStudent::clear_treat_speed()
  4933. {
  4934. _impl_.treat_speed_ = 0;
  4935. }
  4936. inline int32_t MessageOfStudent::_internal_treat_speed() const
  4937. {
  4938. return _impl_.treat_speed_;
  4939. }
  4940. inline int32_t MessageOfStudent::treat_speed() const
  4941. {
  4942. // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.treat_speed)
  4943. return _internal_treat_speed();
  4944. }
  4945. inline void MessageOfStudent::_internal_set_treat_speed(int32_t value)
  4946. {
  4947. _impl_.treat_speed_ = value;
  4948. }
  4949. inline void MessageOfStudent::set_treat_speed(int32_t value)
  4950. {
  4951. _internal_set_treat_speed(value);
  4952. // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.treat_speed)
  4953. }
  4954. // int64 player_id = 15;
  4955. inline void MessageOfStudent::clear_player_id()
  4956. {
  4957. _impl_.player_id_ = int64_t{0};
  4958. }
  4959. inline int64_t MessageOfStudent::_internal_player_id() const
  4960. {
  4961. return _impl_.player_id_;
  4962. }
  4963. inline int64_t MessageOfStudent::player_id() const
  4964. {
  4965. // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.player_id)
  4966. return _internal_player_id();
  4967. }
  4968. inline void MessageOfStudent::_internal_set_player_id(int64_t value)
  4969. {
  4970. _impl_.player_id_ = value;
  4971. }
  4972. inline void MessageOfStudent::set_player_id(int64_t value)
  4973. {
  4974. _internal_set_player_id(value);
  4975. // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.player_id)
  4976. }
  4977. // int32 view_range = 16;
  4978. inline void MessageOfStudent::clear_view_range()
  4979. {
  4980. _impl_.view_range_ = 0;
  4981. }
  4982. inline int32_t MessageOfStudent::_internal_view_range() const
  4983. {
  4984. return _impl_.view_range_;
  4985. }
  4986. inline int32_t MessageOfStudent::view_range() const
  4987. {
  4988. // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.view_range)
  4989. return _internal_view_range();
  4990. }
  4991. inline void MessageOfStudent::_internal_set_view_range(int32_t value)
  4992. {
  4993. _impl_.view_range_ = value;
  4994. }
  4995. inline void MessageOfStudent::set_view_range(int32_t value)
  4996. {
  4997. _internal_set_view_range(value);
  4998. // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.view_range)
  4999. }
  5000. // int32 radius = 17;
  5001. inline void MessageOfStudent::clear_radius()
  5002. {
  5003. _impl_.radius_ = 0;
  5004. }
  5005. inline int32_t MessageOfStudent::_internal_radius() const
  5006. {
  5007. return _impl_.radius_;
  5008. }
  5009. inline int32_t MessageOfStudent::radius() const
  5010. {
  5011. // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.radius)
  5012. return _internal_radius();
  5013. }
  5014. inline void MessageOfStudent::_internal_set_radius(int32_t value)
  5015. {
  5016. _impl_.radius_ = value;
  5017. }
  5018. inline void MessageOfStudent::set_radius(int32_t value)
  5019. {
  5020. _internal_set_radius(value);
  5021. // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.radius)
  5022. }
  5023. // double danger_alert = 19;
  5024. inline void MessageOfStudent::clear_danger_alert()
  5025. {
  5026. _impl_.danger_alert_ = 0;
  5027. }
  5028. inline double MessageOfStudent::_internal_danger_alert() const
  5029. {
  5030. return _impl_.danger_alert_;
  5031. }
  5032. inline double MessageOfStudent::danger_alert() const
  5033. {
  5034. // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.danger_alert)
  5035. return _internal_danger_alert();
  5036. }
  5037. inline void MessageOfStudent::_internal_set_danger_alert(double value)
  5038. {
  5039. _impl_.danger_alert_ = value;
  5040. }
  5041. inline void MessageOfStudent::set_danger_alert(double value)
  5042. {
  5043. _internal_set_danger_alert(value);
  5044. // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.danger_alert)
  5045. }
  5046. // int32 score = 20;
  5047. inline void MessageOfStudent::clear_score()
  5048. {
  5049. _impl_.score_ = 0;
  5050. }
  5051. inline int32_t MessageOfStudent::_internal_score() const
  5052. {
  5053. return _impl_.score_;
  5054. }
  5055. inline int32_t MessageOfStudent::score() const
  5056. {
  5057. // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.score)
  5058. return _internal_score();
  5059. }
  5060. inline void MessageOfStudent::_internal_set_score(int32_t value)
  5061. {
  5062. _impl_.score_ = value;
  5063. }
  5064. inline void MessageOfStudent::set_score(int32_t value)
  5065. {
  5066. _internal_set_score(value);
  5067. // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.score)
  5068. }
  5069. // int32 treat_progress = 21;
  5070. inline void MessageOfStudent::clear_treat_progress()
  5071. {
  5072. _impl_.treat_progress_ = 0;
  5073. }
  5074. inline int32_t MessageOfStudent::_internal_treat_progress() const
  5075. {
  5076. return _impl_.treat_progress_;
  5077. }
  5078. inline int32_t MessageOfStudent::treat_progress() const
  5079. {
  5080. // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.treat_progress)
  5081. return _internal_treat_progress();
  5082. }
  5083. inline void MessageOfStudent::_internal_set_treat_progress(int32_t value)
  5084. {
  5085. _impl_.treat_progress_ = value;
  5086. }
  5087. inline void MessageOfStudent::set_treat_progress(int32_t value)
  5088. {
  5089. _internal_set_treat_progress(value);
  5090. // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.treat_progress)
  5091. }
  5092. // int32 rescue_progress = 22;
  5093. inline void MessageOfStudent::clear_rescue_progress()
  5094. {
  5095. _impl_.rescue_progress_ = 0;
  5096. }
  5097. inline int32_t MessageOfStudent::_internal_rescue_progress() const
  5098. {
  5099. return _impl_.rescue_progress_;
  5100. }
  5101. inline int32_t MessageOfStudent::rescue_progress() const
  5102. {
  5103. // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.rescue_progress)
  5104. return _internal_rescue_progress();
  5105. }
  5106. inline void MessageOfStudent::_internal_set_rescue_progress(int32_t value)
  5107. {
  5108. _impl_.rescue_progress_ = value;
  5109. }
  5110. inline void MessageOfStudent::set_rescue_progress(int32_t value)
  5111. {
  5112. _internal_set_rescue_progress(value);
  5113. // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.rescue_progress)
  5114. }
  5115. // .protobuf.StudentType student_type = 23;
  5116. inline void MessageOfStudent::clear_student_type()
  5117. {
  5118. _impl_.student_type_ = 0;
  5119. }
  5120. inline ::protobuf::StudentType MessageOfStudent::_internal_student_type() const
  5121. {
  5122. return static_cast<::protobuf::StudentType>(_impl_.student_type_);
  5123. }
  5124. inline ::protobuf::StudentType MessageOfStudent::student_type() const
  5125. {
  5126. // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.student_type)
  5127. return _internal_student_type();
  5128. }
  5129. inline void MessageOfStudent::_internal_set_student_type(::protobuf::StudentType value)
  5130. {
  5131. _impl_.student_type_ = value;
  5132. }
  5133. inline void MessageOfStudent::set_student_type(::protobuf::StudentType value)
  5134. {
  5135. _internal_set_student_type(value);
  5136. // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.student_type)
  5137. }
  5138. // double facing_direction = 24;
  5139. inline void MessageOfStudent::clear_facing_direction()
  5140. {
  5141. _impl_.facing_direction_ = 0;
  5142. }
  5143. inline double MessageOfStudent::_internal_facing_direction() const
  5144. {
  5145. return _impl_.facing_direction_;
  5146. }
  5147. inline double MessageOfStudent::facing_direction() const
  5148. {
  5149. // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.facing_direction)
  5150. return _internal_facing_direction();
  5151. }
  5152. inline void MessageOfStudent::_internal_set_facing_direction(double value)
  5153. {
  5154. _impl_.facing_direction_ = value;
  5155. }
  5156. inline void MessageOfStudent::set_facing_direction(double value)
  5157. {
  5158. _internal_set_facing_direction(value);
  5159. // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.facing_direction)
  5160. }
  5161. // repeated .protobuf.StudentBuffType buff = 25;
  5162. inline int MessageOfStudent::_internal_buff_size() const
  5163. {
  5164. return _impl_.buff_.size();
  5165. }
  5166. inline int MessageOfStudent::buff_size() const
  5167. {
  5168. return _internal_buff_size();
  5169. }
  5170. inline void MessageOfStudent::clear_buff()
  5171. {
  5172. _impl_.buff_.Clear();
  5173. }
  5174. inline ::protobuf::StudentBuffType MessageOfStudent::_internal_buff(int index) const
  5175. {
  5176. return static_cast<::protobuf::StudentBuffType>(_impl_.buff_.Get(index));
  5177. }
  5178. inline ::protobuf::StudentBuffType MessageOfStudent::buff(int index) const
  5179. {
  5180. // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.buff)
  5181. return _internal_buff(index);
  5182. }
  5183. inline void MessageOfStudent::set_buff(int index, ::protobuf::StudentBuffType value)
  5184. {
  5185. _impl_.buff_.Set(index, value);
  5186. // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.buff)
  5187. }
  5188. inline void MessageOfStudent::_internal_add_buff(::protobuf::StudentBuffType value)
  5189. {
  5190. _impl_.buff_.Add(value);
  5191. }
  5192. inline void MessageOfStudent::add_buff(::protobuf::StudentBuffType value)
  5193. {
  5194. _internal_add_buff(value);
  5195. // @@protoc_insertion_point(field_add:protobuf.MessageOfStudent.buff)
  5196. }
  5197. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
  5198. MessageOfStudent::buff() const
  5199. {
  5200. // @@protoc_insertion_point(field_list:protobuf.MessageOfStudent.buff)
  5201. return _impl_.buff_;
  5202. }
  5203. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
  5204. MessageOfStudent::_internal_mutable_buff()
  5205. {
  5206. return &_impl_.buff_;
  5207. }
  5208. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
  5209. MessageOfStudent::mutable_buff()
  5210. {
  5211. // @@protoc_insertion_point(field_mutable_list:protobuf.MessageOfStudent.buff)
  5212. return _internal_mutable_buff();
  5213. }
  5214. // -------------------------------------------------------------------
  5215. // MessageOfTricker
  5216. // int32 x = 1;
  5217. inline void MessageOfTricker::clear_x()
  5218. {
  5219. _impl_.x_ = 0;
  5220. }
  5221. inline int32_t MessageOfTricker::_internal_x() const
  5222. {
  5223. return _impl_.x_;
  5224. }
  5225. inline int32_t MessageOfTricker::x() const
  5226. {
  5227. // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.x)
  5228. return _internal_x();
  5229. }
  5230. inline void MessageOfTricker::_internal_set_x(int32_t value)
  5231. {
  5232. _impl_.x_ = value;
  5233. }
  5234. inline void MessageOfTricker::set_x(int32_t value)
  5235. {
  5236. _internal_set_x(value);
  5237. // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.x)
  5238. }
  5239. // int32 y = 2;
  5240. inline void MessageOfTricker::clear_y()
  5241. {
  5242. _impl_.y_ = 0;
  5243. }
  5244. inline int32_t MessageOfTricker::_internal_y() const
  5245. {
  5246. return _impl_.y_;
  5247. }
  5248. inline int32_t MessageOfTricker::y() const
  5249. {
  5250. // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.y)
  5251. return _internal_y();
  5252. }
  5253. inline void MessageOfTricker::_internal_set_y(int32_t value)
  5254. {
  5255. _impl_.y_ = value;
  5256. }
  5257. inline void MessageOfTricker::set_y(int32_t value)
  5258. {
  5259. _internal_set_y(value);
  5260. // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.y)
  5261. }
  5262. // int32 speed = 3;
  5263. inline void MessageOfTricker::clear_speed()
  5264. {
  5265. _impl_.speed_ = 0;
  5266. }
  5267. inline int32_t MessageOfTricker::_internal_speed() const
  5268. {
  5269. return _impl_.speed_;
  5270. }
  5271. inline int32_t MessageOfTricker::speed() const
  5272. {
  5273. // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.speed)
  5274. return _internal_speed();
  5275. }
  5276. inline void MessageOfTricker::_internal_set_speed(int32_t value)
  5277. {
  5278. _impl_.speed_ = value;
  5279. }
  5280. inline void MessageOfTricker::set_speed(int32_t value)
  5281. {
  5282. _internal_set_speed(value);
  5283. // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.speed)
  5284. }
  5285. // repeated double time_until_skill_available = 5;
  5286. inline int MessageOfTricker::_internal_time_until_skill_available_size() const
  5287. {
  5288. return _impl_.time_until_skill_available_.size();
  5289. }
  5290. inline int MessageOfTricker::time_until_skill_available_size() const
  5291. {
  5292. return _internal_time_until_skill_available_size();
  5293. }
  5294. inline void MessageOfTricker::clear_time_until_skill_available()
  5295. {
  5296. _impl_.time_until_skill_available_.Clear();
  5297. }
  5298. inline double MessageOfTricker::_internal_time_until_skill_available(int index) const
  5299. {
  5300. return _impl_.time_until_skill_available_.Get(index);
  5301. }
  5302. inline double MessageOfTricker::time_until_skill_available(int index) const
  5303. {
  5304. // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.time_until_skill_available)
  5305. return _internal_time_until_skill_available(index);
  5306. }
  5307. inline void MessageOfTricker::set_time_until_skill_available(int index, double value)
  5308. {
  5309. _impl_.time_until_skill_available_.Set(index, value);
  5310. // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.time_until_skill_available)
  5311. }
  5312. inline void MessageOfTricker::_internal_add_time_until_skill_available(double value)
  5313. {
  5314. _impl_.time_until_skill_available_.Add(value);
  5315. }
  5316. inline void MessageOfTricker::add_time_until_skill_available(double value)
  5317. {
  5318. _internal_add_time_until_skill_available(value);
  5319. // @@protoc_insertion_point(field_add:protobuf.MessageOfTricker.time_until_skill_available)
  5320. }
  5321. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<double>&
  5322. MessageOfTricker::_internal_time_until_skill_available() const
  5323. {
  5324. return _impl_.time_until_skill_available_;
  5325. }
  5326. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<double>&
  5327. MessageOfTricker::time_until_skill_available() const
  5328. {
  5329. // @@protoc_insertion_point(field_list:protobuf.MessageOfTricker.time_until_skill_available)
  5330. return _internal_time_until_skill_available();
  5331. }
  5332. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<double>*
  5333. MessageOfTricker::_internal_mutable_time_until_skill_available()
  5334. {
  5335. return &_impl_.time_until_skill_available_;
  5336. }
  5337. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<double>*
  5338. MessageOfTricker::mutable_time_until_skill_available()
  5339. {
  5340. // @@protoc_insertion_point(field_mutable_list:protobuf.MessageOfTricker.time_until_skill_available)
  5341. return _internal_mutable_time_until_skill_available();
  5342. }
  5343. // .protobuf.PlaceType place = 6;
  5344. inline void MessageOfTricker::clear_place()
  5345. {
  5346. _impl_.place_ = 0;
  5347. }
  5348. inline ::protobuf::PlaceType MessageOfTricker::_internal_place() const
  5349. {
  5350. return static_cast<::protobuf::PlaceType>(_impl_.place_);
  5351. }
  5352. inline ::protobuf::PlaceType MessageOfTricker::place() const
  5353. {
  5354. // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.place)
  5355. return _internal_place();
  5356. }
  5357. inline void MessageOfTricker::_internal_set_place(::protobuf::PlaceType value)
  5358. {
  5359. _impl_.place_ = value;
  5360. }
  5361. inline void MessageOfTricker::set_place(::protobuf::PlaceType value)
  5362. {
  5363. _internal_set_place(value);
  5364. // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.place)
  5365. }
  5366. // repeated .protobuf.PropType prop = 7;
  5367. inline int MessageOfTricker::_internal_prop_size() const
  5368. {
  5369. return _impl_.prop_.size();
  5370. }
  5371. inline int MessageOfTricker::prop_size() const
  5372. {
  5373. return _internal_prop_size();
  5374. }
  5375. inline void MessageOfTricker::clear_prop()
  5376. {
  5377. _impl_.prop_.Clear();
  5378. }
  5379. inline ::protobuf::PropType MessageOfTricker::_internal_prop(int index) const
  5380. {
  5381. return static_cast<::protobuf::PropType>(_impl_.prop_.Get(index));
  5382. }
  5383. inline ::protobuf::PropType MessageOfTricker::prop(int index) const
  5384. {
  5385. // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.prop)
  5386. return _internal_prop(index);
  5387. }
  5388. inline void MessageOfTricker::set_prop(int index, ::protobuf::PropType value)
  5389. {
  5390. _impl_.prop_.Set(index, value);
  5391. // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.prop)
  5392. }
  5393. inline void MessageOfTricker::_internal_add_prop(::protobuf::PropType value)
  5394. {
  5395. _impl_.prop_.Add(value);
  5396. }
  5397. inline void MessageOfTricker::add_prop(::protobuf::PropType value)
  5398. {
  5399. _internal_add_prop(value);
  5400. // @@protoc_insertion_point(field_add:protobuf.MessageOfTricker.prop)
  5401. }
  5402. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
  5403. MessageOfTricker::prop() const
  5404. {
  5405. // @@protoc_insertion_point(field_list:protobuf.MessageOfTricker.prop)
  5406. return _impl_.prop_;
  5407. }
  5408. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
  5409. MessageOfTricker::_internal_mutable_prop()
  5410. {
  5411. return &_impl_.prop_;
  5412. }
  5413. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
  5414. MessageOfTricker::mutable_prop()
  5415. {
  5416. // @@protoc_insertion_point(field_mutable_list:protobuf.MessageOfTricker.prop)
  5417. return _internal_mutable_prop();
  5418. }
  5419. // .protobuf.TrickerType tricker_type = 8;
  5420. inline void MessageOfTricker::clear_tricker_type()
  5421. {
  5422. _impl_.tricker_type_ = 0;
  5423. }
  5424. inline ::protobuf::TrickerType MessageOfTricker::_internal_tricker_type() const
  5425. {
  5426. return static_cast<::protobuf::TrickerType>(_impl_.tricker_type_);
  5427. }
  5428. inline ::protobuf::TrickerType MessageOfTricker::tricker_type() const
  5429. {
  5430. // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.tricker_type)
  5431. return _internal_tricker_type();
  5432. }
  5433. inline void MessageOfTricker::_internal_set_tricker_type(::protobuf::TrickerType value)
  5434. {
  5435. _impl_.tricker_type_ = value;
  5436. }
  5437. inline void MessageOfTricker::set_tricker_type(::protobuf::TrickerType value)
  5438. {
  5439. _internal_set_tricker_type(value);
  5440. // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.tricker_type)
  5441. }
  5442. // int64 guid = 9;
  5443. inline void MessageOfTricker::clear_guid()
  5444. {
  5445. _impl_.guid_ = int64_t{0};
  5446. }
  5447. inline int64_t MessageOfTricker::_internal_guid() const
  5448. {
  5449. return _impl_.guid_;
  5450. }
  5451. inline int64_t MessageOfTricker::guid() const
  5452. {
  5453. // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.guid)
  5454. return _internal_guid();
  5455. }
  5456. inline void MessageOfTricker::_internal_set_guid(int64_t value)
  5457. {
  5458. _impl_.guid_ = value;
  5459. }
  5460. inline void MessageOfTricker::set_guid(int64_t value)
  5461. {
  5462. _internal_set_guid(value);
  5463. // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.guid)
  5464. }
  5465. // int32 score = 10;
  5466. inline void MessageOfTricker::clear_score()
  5467. {
  5468. _impl_.score_ = 0;
  5469. }
  5470. inline int32_t MessageOfTricker::_internal_score() const
  5471. {
  5472. return _impl_.score_;
  5473. }
  5474. inline int32_t MessageOfTricker::score() const
  5475. {
  5476. // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.score)
  5477. return _internal_score();
  5478. }
  5479. inline void MessageOfTricker::_internal_set_score(int32_t value)
  5480. {
  5481. _impl_.score_ = value;
  5482. }
  5483. inline void MessageOfTricker::set_score(int32_t value)
  5484. {
  5485. _internal_set_score(value);
  5486. // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.score)
  5487. }
  5488. // int64 player_id = 11;
  5489. inline void MessageOfTricker::clear_player_id()
  5490. {
  5491. _impl_.player_id_ = int64_t{0};
  5492. }
  5493. inline int64_t MessageOfTricker::_internal_player_id() const
  5494. {
  5495. return _impl_.player_id_;
  5496. }
  5497. inline int64_t MessageOfTricker::player_id() const
  5498. {
  5499. // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.player_id)
  5500. return _internal_player_id();
  5501. }
  5502. inline void MessageOfTricker::_internal_set_player_id(int64_t value)
  5503. {
  5504. _impl_.player_id_ = value;
  5505. }
  5506. inline void MessageOfTricker::set_player_id(int64_t value)
  5507. {
  5508. _internal_set_player_id(value);
  5509. // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.player_id)
  5510. }
  5511. // int32 view_range = 12;
  5512. inline void MessageOfTricker::clear_view_range()
  5513. {
  5514. _impl_.view_range_ = 0;
  5515. }
  5516. inline int32_t MessageOfTricker::_internal_view_range() const
  5517. {
  5518. return _impl_.view_range_;
  5519. }
  5520. inline int32_t MessageOfTricker::view_range() const
  5521. {
  5522. // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.view_range)
  5523. return _internal_view_range();
  5524. }
  5525. inline void MessageOfTricker::_internal_set_view_range(int32_t value)
  5526. {
  5527. _impl_.view_range_ = value;
  5528. }
  5529. inline void MessageOfTricker::set_view_range(int32_t value)
  5530. {
  5531. _internal_set_view_range(value);
  5532. // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.view_range)
  5533. }
  5534. // int32 radius = 13;
  5535. inline void MessageOfTricker::clear_radius()
  5536. {
  5537. _impl_.radius_ = 0;
  5538. }
  5539. inline int32_t MessageOfTricker::_internal_radius() const
  5540. {
  5541. return _impl_.radius_;
  5542. }
  5543. inline int32_t MessageOfTricker::radius() const
  5544. {
  5545. // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.radius)
  5546. return _internal_radius();
  5547. }
  5548. inline void MessageOfTricker::_internal_set_radius(int32_t value)
  5549. {
  5550. _impl_.radius_ = value;
  5551. }
  5552. inline void MessageOfTricker::set_radius(int32_t value)
  5553. {
  5554. _internal_set_radius(value);
  5555. // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.radius)
  5556. }
  5557. // .protobuf.PlayerState player_state = 14;
  5558. inline void MessageOfTricker::clear_player_state()
  5559. {
  5560. _impl_.player_state_ = 0;
  5561. }
  5562. inline ::protobuf::PlayerState MessageOfTricker::_internal_player_state() const
  5563. {
  5564. return static_cast<::protobuf::PlayerState>(_impl_.player_state_);
  5565. }
  5566. inline ::protobuf::PlayerState MessageOfTricker::player_state() const
  5567. {
  5568. // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.player_state)
  5569. return _internal_player_state();
  5570. }
  5571. inline void MessageOfTricker::_internal_set_player_state(::protobuf::PlayerState value)
  5572. {
  5573. _impl_.player_state_ = value;
  5574. }
  5575. inline void MessageOfTricker::set_player_state(::protobuf::PlayerState value)
  5576. {
  5577. _internal_set_player_state(value);
  5578. // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.player_state)
  5579. }
  5580. // double trick_desire = 15;
  5581. inline void MessageOfTricker::clear_trick_desire()
  5582. {
  5583. _impl_.trick_desire_ = 0;
  5584. }
  5585. inline double MessageOfTricker::_internal_trick_desire() const
  5586. {
  5587. return _impl_.trick_desire_;
  5588. }
  5589. inline double MessageOfTricker::trick_desire() const
  5590. {
  5591. // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.trick_desire)
  5592. return _internal_trick_desire();
  5593. }
  5594. inline void MessageOfTricker::_internal_set_trick_desire(double value)
  5595. {
  5596. _impl_.trick_desire_ = value;
  5597. }
  5598. inline void MessageOfTricker::set_trick_desire(double value)
  5599. {
  5600. _internal_set_trick_desire(value);
  5601. // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.trick_desire)
  5602. }
  5603. // double class_volume = 16;
  5604. inline void MessageOfTricker::clear_class_volume()
  5605. {
  5606. _impl_.class_volume_ = 0;
  5607. }
  5608. inline double MessageOfTricker::_internal_class_volume() const
  5609. {
  5610. return _impl_.class_volume_;
  5611. }
  5612. inline double MessageOfTricker::class_volume() const
  5613. {
  5614. // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.class_volume)
  5615. return _internal_class_volume();
  5616. }
  5617. inline void MessageOfTricker::_internal_set_class_volume(double value)
  5618. {
  5619. _impl_.class_volume_ = value;
  5620. }
  5621. inline void MessageOfTricker::set_class_volume(double value)
  5622. {
  5623. _internal_set_class_volume(value);
  5624. // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.class_volume)
  5625. }
  5626. // double facing_direction = 17;
  5627. inline void MessageOfTricker::clear_facing_direction()
  5628. {
  5629. _impl_.facing_direction_ = 0;
  5630. }
  5631. inline double MessageOfTricker::_internal_facing_direction() const
  5632. {
  5633. return _impl_.facing_direction_;
  5634. }
  5635. inline double MessageOfTricker::facing_direction() const
  5636. {
  5637. // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.facing_direction)
  5638. return _internal_facing_direction();
  5639. }
  5640. inline void MessageOfTricker::_internal_set_facing_direction(double value)
  5641. {
  5642. _impl_.facing_direction_ = value;
  5643. }
  5644. inline void MessageOfTricker::set_facing_direction(double value)
  5645. {
  5646. _internal_set_facing_direction(value);
  5647. // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.facing_direction)
  5648. }
  5649. // .protobuf.BulletType bullet_type = 18;
  5650. inline void MessageOfTricker::clear_bullet_type()
  5651. {
  5652. _impl_.bullet_type_ = 0;
  5653. }
  5654. inline ::protobuf::BulletType MessageOfTricker::_internal_bullet_type() const
  5655. {
  5656. return static_cast<::protobuf::BulletType>(_impl_.bullet_type_);
  5657. }
  5658. inline ::protobuf::BulletType MessageOfTricker::bullet_type() const
  5659. {
  5660. // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.bullet_type)
  5661. return _internal_bullet_type();
  5662. }
  5663. inline void MessageOfTricker::_internal_set_bullet_type(::protobuf::BulletType value)
  5664. {
  5665. _impl_.bullet_type_ = value;
  5666. }
  5667. inline void MessageOfTricker::set_bullet_type(::protobuf::BulletType value)
  5668. {
  5669. _internal_set_bullet_type(value);
  5670. // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.bullet_type)
  5671. }
  5672. // repeated .protobuf.TrickerBuffType buff = 19;
  5673. inline int MessageOfTricker::_internal_buff_size() const
  5674. {
  5675. return _impl_.buff_.size();
  5676. }
  5677. inline int MessageOfTricker::buff_size() const
  5678. {
  5679. return _internal_buff_size();
  5680. }
  5681. inline void MessageOfTricker::clear_buff()
  5682. {
  5683. _impl_.buff_.Clear();
  5684. }
  5685. inline ::protobuf::TrickerBuffType MessageOfTricker::_internal_buff(int index) const
  5686. {
  5687. return static_cast<::protobuf::TrickerBuffType>(_impl_.buff_.Get(index));
  5688. }
  5689. inline ::protobuf::TrickerBuffType MessageOfTricker::buff(int index) const
  5690. {
  5691. // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.buff)
  5692. return _internal_buff(index);
  5693. }
  5694. inline void MessageOfTricker::set_buff(int index, ::protobuf::TrickerBuffType value)
  5695. {
  5696. _impl_.buff_.Set(index, value);
  5697. // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.buff)
  5698. }
  5699. inline void MessageOfTricker::_internal_add_buff(::protobuf::TrickerBuffType value)
  5700. {
  5701. _impl_.buff_.Add(value);
  5702. }
  5703. inline void MessageOfTricker::add_buff(::protobuf::TrickerBuffType value)
  5704. {
  5705. _internal_add_buff(value);
  5706. // @@protoc_insertion_point(field_add:protobuf.MessageOfTricker.buff)
  5707. }
  5708. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
  5709. MessageOfTricker::buff() const
  5710. {
  5711. // @@protoc_insertion_point(field_list:protobuf.MessageOfTricker.buff)
  5712. return _impl_.buff_;
  5713. }
  5714. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
  5715. MessageOfTricker::_internal_mutable_buff()
  5716. {
  5717. return &_impl_.buff_;
  5718. }
  5719. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
  5720. MessageOfTricker::mutable_buff()
  5721. {
  5722. // @@protoc_insertion_point(field_mutable_list:protobuf.MessageOfTricker.buff)
  5723. return _internal_mutable_buff();
  5724. }
  5725. // -------------------------------------------------------------------
  5726. // MessageOfBullet
  5727. // .protobuf.BulletType type = 1;
  5728. inline void MessageOfBullet::clear_type()
  5729. {
  5730. _impl_.type_ = 0;
  5731. }
  5732. inline ::protobuf::BulletType MessageOfBullet::_internal_type() const
  5733. {
  5734. return static_cast<::protobuf::BulletType>(_impl_.type_);
  5735. }
  5736. inline ::protobuf::BulletType MessageOfBullet::type() const
  5737. {
  5738. // @@protoc_insertion_point(field_get:protobuf.MessageOfBullet.type)
  5739. return _internal_type();
  5740. }
  5741. inline void MessageOfBullet::_internal_set_type(::protobuf::BulletType value)
  5742. {
  5743. _impl_.type_ = value;
  5744. }
  5745. inline void MessageOfBullet::set_type(::protobuf::BulletType value)
  5746. {
  5747. _internal_set_type(value);
  5748. // @@protoc_insertion_point(field_set:protobuf.MessageOfBullet.type)
  5749. }
  5750. // int32 x = 2;
  5751. inline void MessageOfBullet::clear_x()
  5752. {
  5753. _impl_.x_ = 0;
  5754. }
  5755. inline int32_t MessageOfBullet::_internal_x() const
  5756. {
  5757. return _impl_.x_;
  5758. }
  5759. inline int32_t MessageOfBullet::x() const
  5760. {
  5761. // @@protoc_insertion_point(field_get:protobuf.MessageOfBullet.x)
  5762. return _internal_x();
  5763. }
  5764. inline void MessageOfBullet::_internal_set_x(int32_t value)
  5765. {
  5766. _impl_.x_ = value;
  5767. }
  5768. inline void MessageOfBullet::set_x(int32_t value)
  5769. {
  5770. _internal_set_x(value);
  5771. // @@protoc_insertion_point(field_set:protobuf.MessageOfBullet.x)
  5772. }
  5773. // int32 y = 3;
  5774. inline void MessageOfBullet::clear_y()
  5775. {
  5776. _impl_.y_ = 0;
  5777. }
  5778. inline int32_t MessageOfBullet::_internal_y() const
  5779. {
  5780. return _impl_.y_;
  5781. }
  5782. inline int32_t MessageOfBullet::y() const
  5783. {
  5784. // @@protoc_insertion_point(field_get:protobuf.MessageOfBullet.y)
  5785. return _internal_y();
  5786. }
  5787. inline void MessageOfBullet::_internal_set_y(int32_t value)
  5788. {
  5789. _impl_.y_ = value;
  5790. }
  5791. inline void MessageOfBullet::set_y(int32_t value)
  5792. {
  5793. _internal_set_y(value);
  5794. // @@protoc_insertion_point(field_set:protobuf.MessageOfBullet.y)
  5795. }
  5796. // double facing_direction = 4;
  5797. inline void MessageOfBullet::clear_facing_direction()
  5798. {
  5799. _impl_.facing_direction_ = 0;
  5800. }
  5801. inline double MessageOfBullet::_internal_facing_direction() const
  5802. {
  5803. return _impl_.facing_direction_;
  5804. }
  5805. inline double MessageOfBullet::facing_direction() const
  5806. {
  5807. // @@protoc_insertion_point(field_get:protobuf.MessageOfBullet.facing_direction)
  5808. return _internal_facing_direction();
  5809. }
  5810. inline void MessageOfBullet::_internal_set_facing_direction(double value)
  5811. {
  5812. _impl_.facing_direction_ = value;
  5813. }
  5814. inline void MessageOfBullet::set_facing_direction(double value)
  5815. {
  5816. _internal_set_facing_direction(value);
  5817. // @@protoc_insertion_point(field_set:protobuf.MessageOfBullet.facing_direction)
  5818. }
  5819. // int64 guid = 5;
  5820. inline void MessageOfBullet::clear_guid()
  5821. {
  5822. _impl_.guid_ = int64_t{0};
  5823. }
  5824. inline int64_t MessageOfBullet::_internal_guid() const
  5825. {
  5826. return _impl_.guid_;
  5827. }
  5828. inline int64_t MessageOfBullet::guid() const
  5829. {
  5830. // @@protoc_insertion_point(field_get:protobuf.MessageOfBullet.guid)
  5831. return _internal_guid();
  5832. }
  5833. inline void MessageOfBullet::_internal_set_guid(int64_t value)
  5834. {
  5835. _impl_.guid_ = value;
  5836. }
  5837. inline void MessageOfBullet::set_guid(int64_t value)
  5838. {
  5839. _internal_set_guid(value);
  5840. // @@protoc_insertion_point(field_set:protobuf.MessageOfBullet.guid)
  5841. }
  5842. // .protobuf.PlayerType team = 6;
  5843. inline void MessageOfBullet::clear_team()
  5844. {
  5845. _impl_.team_ = 0;
  5846. }
  5847. inline ::protobuf::PlayerType MessageOfBullet::_internal_team() const
  5848. {
  5849. return static_cast<::protobuf::PlayerType>(_impl_.team_);
  5850. }
  5851. inline ::protobuf::PlayerType MessageOfBullet::team() const
  5852. {
  5853. // @@protoc_insertion_point(field_get:protobuf.MessageOfBullet.team)
  5854. return _internal_team();
  5855. }
  5856. inline void MessageOfBullet::_internal_set_team(::protobuf::PlayerType value)
  5857. {
  5858. _impl_.team_ = value;
  5859. }
  5860. inline void MessageOfBullet::set_team(::protobuf::PlayerType value)
  5861. {
  5862. _internal_set_team(value);
  5863. // @@protoc_insertion_point(field_set:protobuf.MessageOfBullet.team)
  5864. }
  5865. // .protobuf.PlaceType place = 7;
  5866. inline void MessageOfBullet::clear_place()
  5867. {
  5868. _impl_.place_ = 0;
  5869. }
  5870. inline ::protobuf::PlaceType MessageOfBullet::_internal_place() const
  5871. {
  5872. return static_cast<::protobuf::PlaceType>(_impl_.place_);
  5873. }
  5874. inline ::protobuf::PlaceType MessageOfBullet::place() const
  5875. {
  5876. // @@protoc_insertion_point(field_get:protobuf.MessageOfBullet.place)
  5877. return _internal_place();
  5878. }
  5879. inline void MessageOfBullet::_internal_set_place(::protobuf::PlaceType value)
  5880. {
  5881. _impl_.place_ = value;
  5882. }
  5883. inline void MessageOfBullet::set_place(::protobuf::PlaceType value)
  5884. {
  5885. _internal_set_place(value);
  5886. // @@protoc_insertion_point(field_set:protobuf.MessageOfBullet.place)
  5887. }
  5888. // double bomb_range = 8;
  5889. inline void MessageOfBullet::clear_bomb_range()
  5890. {
  5891. _impl_.bomb_range_ = 0;
  5892. }
  5893. inline double MessageOfBullet::_internal_bomb_range() const
  5894. {
  5895. return _impl_.bomb_range_;
  5896. }
  5897. inline double MessageOfBullet::bomb_range() const
  5898. {
  5899. // @@protoc_insertion_point(field_get:protobuf.MessageOfBullet.bomb_range)
  5900. return _internal_bomb_range();
  5901. }
  5902. inline void MessageOfBullet::_internal_set_bomb_range(double value)
  5903. {
  5904. _impl_.bomb_range_ = value;
  5905. }
  5906. inline void MessageOfBullet::set_bomb_range(double value)
  5907. {
  5908. _internal_set_bomb_range(value);
  5909. // @@protoc_insertion_point(field_set:protobuf.MessageOfBullet.bomb_range)
  5910. }
  5911. // int32 speed = 9;
  5912. inline void MessageOfBullet::clear_speed()
  5913. {
  5914. _impl_.speed_ = 0;
  5915. }
  5916. inline int32_t MessageOfBullet::_internal_speed() const
  5917. {
  5918. return _impl_.speed_;
  5919. }
  5920. inline int32_t MessageOfBullet::speed() const
  5921. {
  5922. // @@protoc_insertion_point(field_get:protobuf.MessageOfBullet.speed)
  5923. return _internal_speed();
  5924. }
  5925. inline void MessageOfBullet::_internal_set_speed(int32_t value)
  5926. {
  5927. _impl_.speed_ = value;
  5928. }
  5929. inline void MessageOfBullet::set_speed(int32_t value)
  5930. {
  5931. _internal_set_speed(value);
  5932. // @@protoc_insertion_point(field_set:protobuf.MessageOfBullet.speed)
  5933. }
  5934. // -------------------------------------------------------------------
  5935. // MessageOfBombedBullet
  5936. // .protobuf.BulletType type = 1;
  5937. inline void MessageOfBombedBullet::clear_type()
  5938. {
  5939. _impl_.type_ = 0;
  5940. }
  5941. inline ::protobuf::BulletType MessageOfBombedBullet::_internal_type() const
  5942. {
  5943. return static_cast<::protobuf::BulletType>(_impl_.type_);
  5944. }
  5945. inline ::protobuf::BulletType MessageOfBombedBullet::type() const
  5946. {
  5947. // @@protoc_insertion_point(field_get:protobuf.MessageOfBombedBullet.type)
  5948. return _internal_type();
  5949. }
  5950. inline void MessageOfBombedBullet::_internal_set_type(::protobuf::BulletType value)
  5951. {
  5952. _impl_.type_ = value;
  5953. }
  5954. inline void MessageOfBombedBullet::set_type(::protobuf::BulletType value)
  5955. {
  5956. _internal_set_type(value);
  5957. // @@protoc_insertion_point(field_set:protobuf.MessageOfBombedBullet.type)
  5958. }
  5959. // int32 x = 2;
  5960. inline void MessageOfBombedBullet::clear_x()
  5961. {
  5962. _impl_.x_ = 0;
  5963. }
  5964. inline int32_t MessageOfBombedBullet::_internal_x() const
  5965. {
  5966. return _impl_.x_;
  5967. }
  5968. inline int32_t MessageOfBombedBullet::x() const
  5969. {
  5970. // @@protoc_insertion_point(field_get:protobuf.MessageOfBombedBullet.x)
  5971. return _internal_x();
  5972. }
  5973. inline void MessageOfBombedBullet::_internal_set_x(int32_t value)
  5974. {
  5975. _impl_.x_ = value;
  5976. }
  5977. inline void MessageOfBombedBullet::set_x(int32_t value)
  5978. {
  5979. _internal_set_x(value);
  5980. // @@protoc_insertion_point(field_set:protobuf.MessageOfBombedBullet.x)
  5981. }
  5982. // int32 y = 3;
  5983. inline void MessageOfBombedBullet::clear_y()
  5984. {
  5985. _impl_.y_ = 0;
  5986. }
  5987. inline int32_t MessageOfBombedBullet::_internal_y() const
  5988. {
  5989. return _impl_.y_;
  5990. }
  5991. inline int32_t MessageOfBombedBullet::y() const
  5992. {
  5993. // @@protoc_insertion_point(field_get:protobuf.MessageOfBombedBullet.y)
  5994. return _internal_y();
  5995. }
  5996. inline void MessageOfBombedBullet::_internal_set_y(int32_t value)
  5997. {
  5998. _impl_.y_ = value;
  5999. }
  6000. inline void MessageOfBombedBullet::set_y(int32_t value)
  6001. {
  6002. _internal_set_y(value);
  6003. // @@protoc_insertion_point(field_set:protobuf.MessageOfBombedBullet.y)
  6004. }
  6005. // double facing_direction = 4;
  6006. inline void MessageOfBombedBullet::clear_facing_direction()
  6007. {
  6008. _impl_.facing_direction_ = 0;
  6009. }
  6010. inline double MessageOfBombedBullet::_internal_facing_direction() const
  6011. {
  6012. return _impl_.facing_direction_;
  6013. }
  6014. inline double MessageOfBombedBullet::facing_direction() const
  6015. {
  6016. // @@protoc_insertion_point(field_get:protobuf.MessageOfBombedBullet.facing_direction)
  6017. return _internal_facing_direction();
  6018. }
  6019. inline void MessageOfBombedBullet::_internal_set_facing_direction(double value)
  6020. {
  6021. _impl_.facing_direction_ = value;
  6022. }
  6023. inline void MessageOfBombedBullet::set_facing_direction(double value)
  6024. {
  6025. _internal_set_facing_direction(value);
  6026. // @@protoc_insertion_point(field_set:protobuf.MessageOfBombedBullet.facing_direction)
  6027. }
  6028. // int64 mapping_id = 5;
  6029. inline void MessageOfBombedBullet::clear_mapping_id()
  6030. {
  6031. _impl_.mapping_id_ = int64_t{0};
  6032. }
  6033. inline int64_t MessageOfBombedBullet::_internal_mapping_id() const
  6034. {
  6035. return _impl_.mapping_id_;
  6036. }
  6037. inline int64_t MessageOfBombedBullet::mapping_id() const
  6038. {
  6039. // @@protoc_insertion_point(field_get:protobuf.MessageOfBombedBullet.mapping_id)
  6040. return _internal_mapping_id();
  6041. }
  6042. inline void MessageOfBombedBullet::_internal_set_mapping_id(int64_t value)
  6043. {
  6044. _impl_.mapping_id_ = value;
  6045. }
  6046. inline void MessageOfBombedBullet::set_mapping_id(int64_t value)
  6047. {
  6048. _internal_set_mapping_id(value);
  6049. // @@protoc_insertion_point(field_set:protobuf.MessageOfBombedBullet.mapping_id)
  6050. }
  6051. // double bomb_range = 6;
  6052. inline void MessageOfBombedBullet::clear_bomb_range()
  6053. {
  6054. _impl_.bomb_range_ = 0;
  6055. }
  6056. inline double MessageOfBombedBullet::_internal_bomb_range() const
  6057. {
  6058. return _impl_.bomb_range_;
  6059. }
  6060. inline double MessageOfBombedBullet::bomb_range() const
  6061. {
  6062. // @@protoc_insertion_point(field_get:protobuf.MessageOfBombedBullet.bomb_range)
  6063. return _internal_bomb_range();
  6064. }
  6065. inline void MessageOfBombedBullet::_internal_set_bomb_range(double value)
  6066. {
  6067. _impl_.bomb_range_ = value;
  6068. }
  6069. inline void MessageOfBombedBullet::set_bomb_range(double value)
  6070. {
  6071. _internal_set_bomb_range(value);
  6072. // @@protoc_insertion_point(field_set:protobuf.MessageOfBombedBullet.bomb_range)
  6073. }
  6074. // -------------------------------------------------------------------
  6075. // MessageOfProp
  6076. // .protobuf.PropType type = 1;
  6077. inline void MessageOfProp::clear_type()
  6078. {
  6079. _impl_.type_ = 0;
  6080. }
  6081. inline ::protobuf::PropType MessageOfProp::_internal_type() const
  6082. {
  6083. return static_cast<::protobuf::PropType>(_impl_.type_);
  6084. }
  6085. inline ::protobuf::PropType MessageOfProp::type() const
  6086. {
  6087. // @@protoc_insertion_point(field_get:protobuf.MessageOfProp.type)
  6088. return _internal_type();
  6089. }
  6090. inline void MessageOfProp::_internal_set_type(::protobuf::PropType value)
  6091. {
  6092. _impl_.type_ = value;
  6093. }
  6094. inline void MessageOfProp::set_type(::protobuf::PropType value)
  6095. {
  6096. _internal_set_type(value);
  6097. // @@protoc_insertion_point(field_set:protobuf.MessageOfProp.type)
  6098. }
  6099. // int32 x = 2;
  6100. inline void MessageOfProp::clear_x()
  6101. {
  6102. _impl_.x_ = 0;
  6103. }
  6104. inline int32_t MessageOfProp::_internal_x() const
  6105. {
  6106. return _impl_.x_;
  6107. }
  6108. inline int32_t MessageOfProp::x() const
  6109. {
  6110. // @@protoc_insertion_point(field_get:protobuf.MessageOfProp.x)
  6111. return _internal_x();
  6112. }
  6113. inline void MessageOfProp::_internal_set_x(int32_t value)
  6114. {
  6115. _impl_.x_ = value;
  6116. }
  6117. inline void MessageOfProp::set_x(int32_t value)
  6118. {
  6119. _internal_set_x(value);
  6120. // @@protoc_insertion_point(field_set:protobuf.MessageOfProp.x)
  6121. }
  6122. // int32 y = 3;
  6123. inline void MessageOfProp::clear_y()
  6124. {
  6125. _impl_.y_ = 0;
  6126. }
  6127. inline int32_t MessageOfProp::_internal_y() const
  6128. {
  6129. return _impl_.y_;
  6130. }
  6131. inline int32_t MessageOfProp::y() const
  6132. {
  6133. // @@protoc_insertion_point(field_get:protobuf.MessageOfProp.y)
  6134. return _internal_y();
  6135. }
  6136. inline void MessageOfProp::_internal_set_y(int32_t value)
  6137. {
  6138. _impl_.y_ = value;
  6139. }
  6140. inline void MessageOfProp::set_y(int32_t value)
  6141. {
  6142. _internal_set_y(value);
  6143. // @@protoc_insertion_point(field_set:protobuf.MessageOfProp.y)
  6144. }
  6145. // double facing_direction = 4;
  6146. inline void MessageOfProp::clear_facing_direction()
  6147. {
  6148. _impl_.facing_direction_ = 0;
  6149. }
  6150. inline double MessageOfProp::_internal_facing_direction() const
  6151. {
  6152. return _impl_.facing_direction_;
  6153. }
  6154. inline double MessageOfProp::facing_direction() const
  6155. {
  6156. // @@protoc_insertion_point(field_get:protobuf.MessageOfProp.facing_direction)
  6157. return _internal_facing_direction();
  6158. }
  6159. inline void MessageOfProp::_internal_set_facing_direction(double value)
  6160. {
  6161. _impl_.facing_direction_ = value;
  6162. }
  6163. inline void MessageOfProp::set_facing_direction(double value)
  6164. {
  6165. _internal_set_facing_direction(value);
  6166. // @@protoc_insertion_point(field_set:protobuf.MessageOfProp.facing_direction)
  6167. }
  6168. // int64 guid = 5;
  6169. inline void MessageOfProp::clear_guid()
  6170. {
  6171. _impl_.guid_ = int64_t{0};
  6172. }
  6173. inline int64_t MessageOfProp::_internal_guid() const
  6174. {
  6175. return _impl_.guid_;
  6176. }
  6177. inline int64_t MessageOfProp::guid() const
  6178. {
  6179. // @@protoc_insertion_point(field_get:protobuf.MessageOfProp.guid)
  6180. return _internal_guid();
  6181. }
  6182. inline void MessageOfProp::_internal_set_guid(int64_t value)
  6183. {
  6184. _impl_.guid_ = value;
  6185. }
  6186. inline void MessageOfProp::set_guid(int64_t value)
  6187. {
  6188. _internal_set_guid(value);
  6189. // @@protoc_insertion_point(field_set:protobuf.MessageOfProp.guid)
  6190. }
  6191. // .protobuf.PlaceType place = 6;
  6192. inline void MessageOfProp::clear_place()
  6193. {
  6194. _impl_.place_ = 0;
  6195. }
  6196. inline ::protobuf::PlaceType MessageOfProp::_internal_place() const
  6197. {
  6198. return static_cast<::protobuf::PlaceType>(_impl_.place_);
  6199. }
  6200. inline ::protobuf::PlaceType MessageOfProp::place() const
  6201. {
  6202. // @@protoc_insertion_point(field_get:protobuf.MessageOfProp.place)
  6203. return _internal_place();
  6204. }
  6205. inline void MessageOfProp::_internal_set_place(::protobuf::PlaceType value)
  6206. {
  6207. _impl_.place_ = value;
  6208. }
  6209. inline void MessageOfProp::set_place(::protobuf::PlaceType value)
  6210. {
  6211. _internal_set_place(value);
  6212. // @@protoc_insertion_point(field_set:protobuf.MessageOfProp.place)
  6213. }
  6214. // -------------------------------------------------------------------
  6215. // MessageOfPickedProp
  6216. // .protobuf.PropType type = 1;
  6217. inline void MessageOfPickedProp::clear_type()
  6218. {
  6219. _impl_.type_ = 0;
  6220. }
  6221. inline ::protobuf::PropType MessageOfPickedProp::_internal_type() const
  6222. {
  6223. return static_cast<::protobuf::PropType>(_impl_.type_);
  6224. }
  6225. inline ::protobuf::PropType MessageOfPickedProp::type() const
  6226. {
  6227. // @@protoc_insertion_point(field_get:protobuf.MessageOfPickedProp.type)
  6228. return _internal_type();
  6229. }
  6230. inline void MessageOfPickedProp::_internal_set_type(::protobuf::PropType value)
  6231. {
  6232. _impl_.type_ = value;
  6233. }
  6234. inline void MessageOfPickedProp::set_type(::protobuf::PropType value)
  6235. {
  6236. _internal_set_type(value);
  6237. // @@protoc_insertion_point(field_set:protobuf.MessageOfPickedProp.type)
  6238. }
  6239. // int32 x = 2;
  6240. inline void MessageOfPickedProp::clear_x()
  6241. {
  6242. _impl_.x_ = 0;
  6243. }
  6244. inline int32_t MessageOfPickedProp::_internal_x() const
  6245. {
  6246. return _impl_.x_;
  6247. }
  6248. inline int32_t MessageOfPickedProp::x() const
  6249. {
  6250. // @@protoc_insertion_point(field_get:protobuf.MessageOfPickedProp.x)
  6251. return _internal_x();
  6252. }
  6253. inline void MessageOfPickedProp::_internal_set_x(int32_t value)
  6254. {
  6255. _impl_.x_ = value;
  6256. }
  6257. inline void MessageOfPickedProp::set_x(int32_t value)
  6258. {
  6259. _internal_set_x(value);
  6260. // @@protoc_insertion_point(field_set:protobuf.MessageOfPickedProp.x)
  6261. }
  6262. // int32 y = 3;
  6263. inline void MessageOfPickedProp::clear_y()
  6264. {
  6265. _impl_.y_ = 0;
  6266. }
  6267. inline int32_t MessageOfPickedProp::_internal_y() const
  6268. {
  6269. return _impl_.y_;
  6270. }
  6271. inline int32_t MessageOfPickedProp::y() const
  6272. {
  6273. // @@protoc_insertion_point(field_get:protobuf.MessageOfPickedProp.y)
  6274. return _internal_y();
  6275. }
  6276. inline void MessageOfPickedProp::_internal_set_y(int32_t value)
  6277. {
  6278. _impl_.y_ = value;
  6279. }
  6280. inline void MessageOfPickedProp::set_y(int32_t value)
  6281. {
  6282. _internal_set_y(value);
  6283. // @@protoc_insertion_point(field_set:protobuf.MessageOfPickedProp.y)
  6284. }
  6285. // double facing_direction = 4;
  6286. inline void MessageOfPickedProp::clear_facing_direction()
  6287. {
  6288. _impl_.facing_direction_ = 0;
  6289. }
  6290. inline double MessageOfPickedProp::_internal_facing_direction() const
  6291. {
  6292. return _impl_.facing_direction_;
  6293. }
  6294. inline double MessageOfPickedProp::facing_direction() const
  6295. {
  6296. // @@protoc_insertion_point(field_get:protobuf.MessageOfPickedProp.facing_direction)
  6297. return _internal_facing_direction();
  6298. }
  6299. inline void MessageOfPickedProp::_internal_set_facing_direction(double value)
  6300. {
  6301. _impl_.facing_direction_ = value;
  6302. }
  6303. inline void MessageOfPickedProp::set_facing_direction(double value)
  6304. {
  6305. _internal_set_facing_direction(value);
  6306. // @@protoc_insertion_point(field_set:protobuf.MessageOfPickedProp.facing_direction)
  6307. }
  6308. // int64 mapping_id = 5;
  6309. inline void MessageOfPickedProp::clear_mapping_id()
  6310. {
  6311. _impl_.mapping_id_ = int64_t{0};
  6312. }
  6313. inline int64_t MessageOfPickedProp::_internal_mapping_id() const
  6314. {
  6315. return _impl_.mapping_id_;
  6316. }
  6317. inline int64_t MessageOfPickedProp::mapping_id() const
  6318. {
  6319. // @@protoc_insertion_point(field_get:protobuf.MessageOfPickedProp.mapping_id)
  6320. return _internal_mapping_id();
  6321. }
  6322. inline void MessageOfPickedProp::_internal_set_mapping_id(int64_t value)
  6323. {
  6324. _impl_.mapping_id_ = value;
  6325. }
  6326. inline void MessageOfPickedProp::set_mapping_id(int64_t value)
  6327. {
  6328. _internal_set_mapping_id(value);
  6329. // @@protoc_insertion_point(field_set:protobuf.MessageOfPickedProp.mapping_id)
  6330. }
  6331. // -------------------------------------------------------------------
  6332. // MessageOfClassroom
  6333. // int32 x = 1;
  6334. inline void MessageOfClassroom::clear_x()
  6335. {
  6336. _impl_.x_ = 0;
  6337. }
  6338. inline int32_t MessageOfClassroom::_internal_x() const
  6339. {
  6340. return _impl_.x_;
  6341. }
  6342. inline int32_t MessageOfClassroom::x() const
  6343. {
  6344. // @@protoc_insertion_point(field_get:protobuf.MessageOfClassroom.x)
  6345. return _internal_x();
  6346. }
  6347. inline void MessageOfClassroom::_internal_set_x(int32_t value)
  6348. {
  6349. _impl_.x_ = value;
  6350. }
  6351. inline void MessageOfClassroom::set_x(int32_t value)
  6352. {
  6353. _internal_set_x(value);
  6354. // @@protoc_insertion_point(field_set:protobuf.MessageOfClassroom.x)
  6355. }
  6356. // int32 y = 2;
  6357. inline void MessageOfClassroom::clear_y()
  6358. {
  6359. _impl_.y_ = 0;
  6360. }
  6361. inline int32_t MessageOfClassroom::_internal_y() const
  6362. {
  6363. return _impl_.y_;
  6364. }
  6365. inline int32_t MessageOfClassroom::y() const
  6366. {
  6367. // @@protoc_insertion_point(field_get:protobuf.MessageOfClassroom.y)
  6368. return _internal_y();
  6369. }
  6370. inline void MessageOfClassroom::_internal_set_y(int32_t value)
  6371. {
  6372. _impl_.y_ = value;
  6373. }
  6374. inline void MessageOfClassroom::set_y(int32_t value)
  6375. {
  6376. _internal_set_y(value);
  6377. // @@protoc_insertion_point(field_set:protobuf.MessageOfClassroom.y)
  6378. }
  6379. // int32 progress = 3;
  6380. inline void MessageOfClassroom::clear_progress()
  6381. {
  6382. _impl_.progress_ = 0;
  6383. }
  6384. inline int32_t MessageOfClassroom::_internal_progress() const
  6385. {
  6386. return _impl_.progress_;
  6387. }
  6388. inline int32_t MessageOfClassroom::progress() const
  6389. {
  6390. // @@protoc_insertion_point(field_get:protobuf.MessageOfClassroom.progress)
  6391. return _internal_progress();
  6392. }
  6393. inline void MessageOfClassroom::_internal_set_progress(int32_t value)
  6394. {
  6395. _impl_.progress_ = value;
  6396. }
  6397. inline void MessageOfClassroom::set_progress(int32_t value)
  6398. {
  6399. _internal_set_progress(value);
  6400. // @@protoc_insertion_point(field_set:protobuf.MessageOfClassroom.progress)
  6401. }
  6402. // -------------------------------------------------------------------
  6403. // MessageOfGate
  6404. // int32 x = 1;
  6405. inline void MessageOfGate::clear_x()
  6406. {
  6407. _impl_.x_ = 0;
  6408. }
  6409. inline int32_t MessageOfGate::_internal_x() const
  6410. {
  6411. return _impl_.x_;
  6412. }
  6413. inline int32_t MessageOfGate::x() const
  6414. {
  6415. // @@protoc_insertion_point(field_get:protobuf.MessageOfGate.x)
  6416. return _internal_x();
  6417. }
  6418. inline void MessageOfGate::_internal_set_x(int32_t value)
  6419. {
  6420. _impl_.x_ = value;
  6421. }
  6422. inline void MessageOfGate::set_x(int32_t value)
  6423. {
  6424. _internal_set_x(value);
  6425. // @@protoc_insertion_point(field_set:protobuf.MessageOfGate.x)
  6426. }
  6427. // int32 y = 2;
  6428. inline void MessageOfGate::clear_y()
  6429. {
  6430. _impl_.y_ = 0;
  6431. }
  6432. inline int32_t MessageOfGate::_internal_y() const
  6433. {
  6434. return _impl_.y_;
  6435. }
  6436. inline int32_t MessageOfGate::y() const
  6437. {
  6438. // @@protoc_insertion_point(field_get:protobuf.MessageOfGate.y)
  6439. return _internal_y();
  6440. }
  6441. inline void MessageOfGate::_internal_set_y(int32_t value)
  6442. {
  6443. _impl_.y_ = value;
  6444. }
  6445. inline void MessageOfGate::set_y(int32_t value)
  6446. {
  6447. _internal_set_y(value);
  6448. // @@protoc_insertion_point(field_set:protobuf.MessageOfGate.y)
  6449. }
  6450. // int32 progress = 3;
  6451. inline void MessageOfGate::clear_progress()
  6452. {
  6453. _impl_.progress_ = 0;
  6454. }
  6455. inline int32_t MessageOfGate::_internal_progress() const
  6456. {
  6457. return _impl_.progress_;
  6458. }
  6459. inline int32_t MessageOfGate::progress() const
  6460. {
  6461. // @@protoc_insertion_point(field_get:protobuf.MessageOfGate.progress)
  6462. return _internal_progress();
  6463. }
  6464. inline void MessageOfGate::_internal_set_progress(int32_t value)
  6465. {
  6466. _impl_.progress_ = value;
  6467. }
  6468. inline void MessageOfGate::set_progress(int32_t value)
  6469. {
  6470. _internal_set_progress(value);
  6471. // @@protoc_insertion_point(field_set:protobuf.MessageOfGate.progress)
  6472. }
  6473. // -------------------------------------------------------------------
  6474. // MessageOfHiddenGate
  6475. // int32 x = 1;
  6476. inline void MessageOfHiddenGate::clear_x()
  6477. {
  6478. _impl_.x_ = 0;
  6479. }
  6480. inline int32_t MessageOfHiddenGate::_internal_x() const
  6481. {
  6482. return _impl_.x_;
  6483. }
  6484. inline int32_t MessageOfHiddenGate::x() const
  6485. {
  6486. // @@protoc_insertion_point(field_get:protobuf.MessageOfHiddenGate.x)
  6487. return _internal_x();
  6488. }
  6489. inline void MessageOfHiddenGate::_internal_set_x(int32_t value)
  6490. {
  6491. _impl_.x_ = value;
  6492. }
  6493. inline void MessageOfHiddenGate::set_x(int32_t value)
  6494. {
  6495. _internal_set_x(value);
  6496. // @@protoc_insertion_point(field_set:protobuf.MessageOfHiddenGate.x)
  6497. }
  6498. // int32 y = 2;
  6499. inline void MessageOfHiddenGate::clear_y()
  6500. {
  6501. _impl_.y_ = 0;
  6502. }
  6503. inline int32_t MessageOfHiddenGate::_internal_y() const
  6504. {
  6505. return _impl_.y_;
  6506. }
  6507. inline int32_t MessageOfHiddenGate::y() const
  6508. {
  6509. // @@protoc_insertion_point(field_get:protobuf.MessageOfHiddenGate.y)
  6510. return _internal_y();
  6511. }
  6512. inline void MessageOfHiddenGate::_internal_set_y(int32_t value)
  6513. {
  6514. _impl_.y_ = value;
  6515. }
  6516. inline void MessageOfHiddenGate::set_y(int32_t value)
  6517. {
  6518. _internal_set_y(value);
  6519. // @@protoc_insertion_point(field_set:protobuf.MessageOfHiddenGate.y)
  6520. }
  6521. // bool opened = 3;
  6522. inline void MessageOfHiddenGate::clear_opened()
  6523. {
  6524. _impl_.opened_ = false;
  6525. }
  6526. inline bool MessageOfHiddenGate::_internal_opened() const
  6527. {
  6528. return _impl_.opened_;
  6529. }
  6530. inline bool MessageOfHiddenGate::opened() const
  6531. {
  6532. // @@protoc_insertion_point(field_get:protobuf.MessageOfHiddenGate.opened)
  6533. return _internal_opened();
  6534. }
  6535. inline void MessageOfHiddenGate::_internal_set_opened(bool value)
  6536. {
  6537. _impl_.opened_ = value;
  6538. }
  6539. inline void MessageOfHiddenGate::set_opened(bool value)
  6540. {
  6541. _internal_set_opened(value);
  6542. // @@protoc_insertion_point(field_set:protobuf.MessageOfHiddenGate.opened)
  6543. }
  6544. // -------------------------------------------------------------------
  6545. // MessageOfDoor
  6546. // int32 x = 1;
  6547. inline void MessageOfDoor::clear_x()
  6548. {
  6549. _impl_.x_ = 0;
  6550. }
  6551. inline int32_t MessageOfDoor::_internal_x() const
  6552. {
  6553. return _impl_.x_;
  6554. }
  6555. inline int32_t MessageOfDoor::x() const
  6556. {
  6557. // @@protoc_insertion_point(field_get:protobuf.MessageOfDoor.x)
  6558. return _internal_x();
  6559. }
  6560. inline void MessageOfDoor::_internal_set_x(int32_t value)
  6561. {
  6562. _impl_.x_ = value;
  6563. }
  6564. inline void MessageOfDoor::set_x(int32_t value)
  6565. {
  6566. _internal_set_x(value);
  6567. // @@protoc_insertion_point(field_set:protobuf.MessageOfDoor.x)
  6568. }
  6569. // int32 y = 2;
  6570. inline void MessageOfDoor::clear_y()
  6571. {
  6572. _impl_.y_ = 0;
  6573. }
  6574. inline int32_t MessageOfDoor::_internal_y() const
  6575. {
  6576. return _impl_.y_;
  6577. }
  6578. inline int32_t MessageOfDoor::y() const
  6579. {
  6580. // @@protoc_insertion_point(field_get:protobuf.MessageOfDoor.y)
  6581. return _internal_y();
  6582. }
  6583. inline void MessageOfDoor::_internal_set_y(int32_t value)
  6584. {
  6585. _impl_.y_ = value;
  6586. }
  6587. inline void MessageOfDoor::set_y(int32_t value)
  6588. {
  6589. _internal_set_y(value);
  6590. // @@protoc_insertion_point(field_set:protobuf.MessageOfDoor.y)
  6591. }
  6592. // bool is_open = 3;
  6593. inline void MessageOfDoor::clear_is_open()
  6594. {
  6595. _impl_.is_open_ = false;
  6596. }
  6597. inline bool MessageOfDoor::_internal_is_open() const
  6598. {
  6599. return _impl_.is_open_;
  6600. }
  6601. inline bool MessageOfDoor::is_open() const
  6602. {
  6603. // @@protoc_insertion_point(field_get:protobuf.MessageOfDoor.is_open)
  6604. return _internal_is_open();
  6605. }
  6606. inline void MessageOfDoor::_internal_set_is_open(bool value)
  6607. {
  6608. _impl_.is_open_ = value;
  6609. }
  6610. inline void MessageOfDoor::set_is_open(bool value)
  6611. {
  6612. _internal_set_is_open(value);
  6613. // @@protoc_insertion_point(field_set:protobuf.MessageOfDoor.is_open)
  6614. }
  6615. // int32 progress = 4;
  6616. inline void MessageOfDoor::clear_progress()
  6617. {
  6618. _impl_.progress_ = 0;
  6619. }
  6620. inline int32_t MessageOfDoor::_internal_progress() const
  6621. {
  6622. return _impl_.progress_;
  6623. }
  6624. inline int32_t MessageOfDoor::progress() const
  6625. {
  6626. // @@protoc_insertion_point(field_get:protobuf.MessageOfDoor.progress)
  6627. return _internal_progress();
  6628. }
  6629. inline void MessageOfDoor::_internal_set_progress(int32_t value)
  6630. {
  6631. _impl_.progress_ = value;
  6632. }
  6633. inline void MessageOfDoor::set_progress(int32_t value)
  6634. {
  6635. _internal_set_progress(value);
  6636. // @@protoc_insertion_point(field_set:protobuf.MessageOfDoor.progress)
  6637. }
  6638. // -------------------------------------------------------------------
  6639. // MessageOfChest
  6640. // int32 x = 1;
  6641. inline void MessageOfChest::clear_x()
  6642. {
  6643. _impl_.x_ = 0;
  6644. }
  6645. inline int32_t MessageOfChest::_internal_x() const
  6646. {
  6647. return _impl_.x_;
  6648. }
  6649. inline int32_t MessageOfChest::x() const
  6650. {
  6651. // @@protoc_insertion_point(field_get:protobuf.MessageOfChest.x)
  6652. return _internal_x();
  6653. }
  6654. inline void MessageOfChest::_internal_set_x(int32_t value)
  6655. {
  6656. _impl_.x_ = value;
  6657. }
  6658. inline void MessageOfChest::set_x(int32_t value)
  6659. {
  6660. _internal_set_x(value);
  6661. // @@protoc_insertion_point(field_set:protobuf.MessageOfChest.x)
  6662. }
  6663. // int32 y = 2;
  6664. inline void MessageOfChest::clear_y()
  6665. {
  6666. _impl_.y_ = 0;
  6667. }
  6668. inline int32_t MessageOfChest::_internal_y() const
  6669. {
  6670. return _impl_.y_;
  6671. }
  6672. inline int32_t MessageOfChest::y() const
  6673. {
  6674. // @@protoc_insertion_point(field_get:protobuf.MessageOfChest.y)
  6675. return _internal_y();
  6676. }
  6677. inline void MessageOfChest::_internal_set_y(int32_t value)
  6678. {
  6679. _impl_.y_ = value;
  6680. }
  6681. inline void MessageOfChest::set_y(int32_t value)
  6682. {
  6683. _internal_set_y(value);
  6684. // @@protoc_insertion_point(field_set:protobuf.MessageOfChest.y)
  6685. }
  6686. // int32 progress = 3;
  6687. inline void MessageOfChest::clear_progress()
  6688. {
  6689. _impl_.progress_ = 0;
  6690. }
  6691. inline int32_t MessageOfChest::_internal_progress() const
  6692. {
  6693. return _impl_.progress_;
  6694. }
  6695. inline int32_t MessageOfChest::progress() const
  6696. {
  6697. // @@protoc_insertion_point(field_get:protobuf.MessageOfChest.progress)
  6698. return _internal_progress();
  6699. }
  6700. inline void MessageOfChest::_internal_set_progress(int32_t value)
  6701. {
  6702. _impl_.progress_ = value;
  6703. }
  6704. inline void MessageOfChest::set_progress(int32_t value)
  6705. {
  6706. _internal_set_progress(value);
  6707. // @@protoc_insertion_point(field_set:protobuf.MessageOfChest.progress)
  6708. }
  6709. // -------------------------------------------------------------------
  6710. // MessageOfMap_Row
  6711. // repeated .protobuf.PlaceType col = 1;
  6712. inline int MessageOfMap_Row::_internal_col_size() const
  6713. {
  6714. return _impl_.col_.size();
  6715. }
  6716. inline int MessageOfMap_Row::col_size() const
  6717. {
  6718. return _internal_col_size();
  6719. }
  6720. inline void MessageOfMap_Row::clear_col()
  6721. {
  6722. _impl_.col_.Clear();
  6723. }
  6724. inline ::protobuf::PlaceType MessageOfMap_Row::_internal_col(int index) const
  6725. {
  6726. return static_cast<::protobuf::PlaceType>(_impl_.col_.Get(index));
  6727. }
  6728. inline ::protobuf::PlaceType MessageOfMap_Row::col(int index) const
  6729. {
  6730. // @@protoc_insertion_point(field_get:protobuf.MessageOfMap.Row.col)
  6731. return _internal_col(index);
  6732. }
  6733. inline void MessageOfMap_Row::set_col(int index, ::protobuf::PlaceType value)
  6734. {
  6735. _impl_.col_.Set(index, value);
  6736. // @@protoc_insertion_point(field_set:protobuf.MessageOfMap.Row.col)
  6737. }
  6738. inline void MessageOfMap_Row::_internal_add_col(::protobuf::PlaceType value)
  6739. {
  6740. _impl_.col_.Add(value);
  6741. }
  6742. inline void MessageOfMap_Row::add_col(::protobuf::PlaceType value)
  6743. {
  6744. _internal_add_col(value);
  6745. // @@protoc_insertion_point(field_add:protobuf.MessageOfMap.Row.col)
  6746. }
  6747. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
  6748. MessageOfMap_Row::col() const
  6749. {
  6750. // @@protoc_insertion_point(field_list:protobuf.MessageOfMap.Row.col)
  6751. return _impl_.col_;
  6752. }
  6753. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
  6754. MessageOfMap_Row::_internal_mutable_col()
  6755. {
  6756. return &_impl_.col_;
  6757. }
  6758. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
  6759. MessageOfMap_Row::mutable_col()
  6760. {
  6761. // @@protoc_insertion_point(field_mutable_list:protobuf.MessageOfMap.Row.col)
  6762. return _internal_mutable_col();
  6763. }
  6764. // -------------------------------------------------------------------
  6765. // MessageOfMap
  6766. // repeated .protobuf.MessageOfMap.Row row = 2;
  6767. inline int MessageOfMap::_internal_row_size() const
  6768. {
  6769. return _impl_.row_.size();
  6770. }
  6771. inline int MessageOfMap::row_size() const
  6772. {
  6773. return _internal_row_size();
  6774. }
  6775. inline void MessageOfMap::clear_row()
  6776. {
  6777. _impl_.row_.Clear();
  6778. }
  6779. inline ::protobuf::MessageOfMap_Row* MessageOfMap::mutable_row(int index)
  6780. {
  6781. // @@protoc_insertion_point(field_mutable:protobuf.MessageOfMap.row)
  6782. return _impl_.row_.Mutable(index);
  6783. }
  6784. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfMap_Row>*
  6785. MessageOfMap::mutable_row()
  6786. {
  6787. // @@protoc_insertion_point(field_mutable_list:protobuf.MessageOfMap.row)
  6788. return &_impl_.row_;
  6789. }
  6790. inline const ::protobuf::MessageOfMap_Row& MessageOfMap::_internal_row(int index) const
  6791. {
  6792. return _impl_.row_.Get(index);
  6793. }
  6794. inline const ::protobuf::MessageOfMap_Row& MessageOfMap::row(int index) const
  6795. {
  6796. // @@protoc_insertion_point(field_get:protobuf.MessageOfMap.row)
  6797. return _internal_row(index);
  6798. }
  6799. inline ::protobuf::MessageOfMap_Row* MessageOfMap::_internal_add_row()
  6800. {
  6801. return _impl_.row_.Add();
  6802. }
  6803. inline ::protobuf::MessageOfMap_Row* MessageOfMap::add_row()
  6804. {
  6805. ::protobuf::MessageOfMap_Row* _add = _internal_add_row();
  6806. // @@protoc_insertion_point(field_add:protobuf.MessageOfMap.row)
  6807. return _add;
  6808. }
  6809. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfMap_Row>&
  6810. MessageOfMap::row() const
  6811. {
  6812. // @@protoc_insertion_point(field_list:protobuf.MessageOfMap.row)
  6813. return _impl_.row_;
  6814. }
  6815. // -------------------------------------------------------------------
  6816. // MessageOfNews
  6817. // string news = 1;
  6818. inline void MessageOfNews::clear_news()
  6819. {
  6820. _impl_.news_.ClearToEmpty();
  6821. }
  6822. inline const std::string& MessageOfNews::news() const
  6823. {
  6824. // @@protoc_insertion_point(field_get:protobuf.MessageOfNews.news)
  6825. return _internal_news();
  6826. }
  6827. template<typename ArgT0, typename... ArgT>
  6828. inline PROTOBUF_ALWAYS_INLINE void MessageOfNews::set_news(ArgT0&& arg0, ArgT... args)
  6829. {
  6830. _impl_.news_.Set(static_cast<ArgT0&&>(arg0), args..., GetArenaForAllocation());
  6831. // @@protoc_insertion_point(field_set:protobuf.MessageOfNews.news)
  6832. }
  6833. inline std::string* MessageOfNews::mutable_news()
  6834. {
  6835. std::string* _s = _internal_mutable_news();
  6836. // @@protoc_insertion_point(field_mutable:protobuf.MessageOfNews.news)
  6837. return _s;
  6838. }
  6839. inline const std::string& MessageOfNews::_internal_news() const
  6840. {
  6841. return _impl_.news_.Get();
  6842. }
  6843. inline void MessageOfNews::_internal_set_news(const std::string& value)
  6844. {
  6845. _impl_.news_.Set(value, GetArenaForAllocation());
  6846. }
  6847. inline std::string* MessageOfNews::_internal_mutable_news()
  6848. {
  6849. return _impl_.news_.Mutable(GetArenaForAllocation());
  6850. }
  6851. inline std::string* MessageOfNews::release_news()
  6852. {
  6853. // @@protoc_insertion_point(field_release:protobuf.MessageOfNews.news)
  6854. return _impl_.news_.Release();
  6855. }
  6856. inline void MessageOfNews::set_allocated_news(std::string* news)
  6857. {
  6858. if (news != nullptr)
  6859. {
  6860. }
  6861. else
  6862. {
  6863. }
  6864. _impl_.news_.SetAllocated(news, GetArenaForAllocation());
  6865. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  6866. if (_impl_.news_.IsDefault())
  6867. {
  6868. _impl_.news_.Set("", GetArenaForAllocation());
  6869. }
  6870. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  6871. // @@protoc_insertion_point(field_set_allocated:protobuf.MessageOfNews.news)
  6872. }
  6873. // int64 from_id = 2;
  6874. inline void MessageOfNews::clear_from_id()
  6875. {
  6876. _impl_.from_id_ = int64_t{0};
  6877. }
  6878. inline int64_t MessageOfNews::_internal_from_id() const
  6879. {
  6880. return _impl_.from_id_;
  6881. }
  6882. inline int64_t MessageOfNews::from_id() const
  6883. {
  6884. // @@protoc_insertion_point(field_get:protobuf.MessageOfNews.from_id)
  6885. return _internal_from_id();
  6886. }
  6887. inline void MessageOfNews::_internal_set_from_id(int64_t value)
  6888. {
  6889. _impl_.from_id_ = value;
  6890. }
  6891. inline void MessageOfNews::set_from_id(int64_t value)
  6892. {
  6893. _internal_set_from_id(value);
  6894. // @@protoc_insertion_point(field_set:protobuf.MessageOfNews.from_id)
  6895. }
  6896. // int64 to_id = 3;
  6897. inline void MessageOfNews::clear_to_id()
  6898. {
  6899. _impl_.to_id_ = int64_t{0};
  6900. }
  6901. inline int64_t MessageOfNews::_internal_to_id() const
  6902. {
  6903. return _impl_.to_id_;
  6904. }
  6905. inline int64_t MessageOfNews::to_id() const
  6906. {
  6907. // @@protoc_insertion_point(field_get:protobuf.MessageOfNews.to_id)
  6908. return _internal_to_id();
  6909. }
  6910. inline void MessageOfNews::_internal_set_to_id(int64_t value)
  6911. {
  6912. _impl_.to_id_ = value;
  6913. }
  6914. inline void MessageOfNews::set_to_id(int64_t value)
  6915. {
  6916. _internal_set_to_id(value);
  6917. // @@protoc_insertion_point(field_set:protobuf.MessageOfNews.to_id)
  6918. }
  6919. // -------------------------------------------------------------------
  6920. // MessageOfObj
  6921. // .protobuf.MessageOfStudent student_message = 1;
  6922. inline bool MessageOfObj::_internal_has_student_message() const
  6923. {
  6924. return message_of_obj_case() == kStudentMessage;
  6925. }
  6926. inline bool MessageOfObj::has_student_message() const
  6927. {
  6928. return _internal_has_student_message();
  6929. }
  6930. inline void MessageOfObj::set_has_student_message()
  6931. {
  6932. _impl_._oneof_case_[0] = kStudentMessage;
  6933. }
  6934. inline void MessageOfObj::clear_student_message()
  6935. {
  6936. if (_internal_has_student_message())
  6937. {
  6938. if (GetArenaForAllocation() == nullptr)
  6939. {
  6940. delete _impl_.message_of_obj_.student_message_;
  6941. }
  6942. clear_has_message_of_obj();
  6943. }
  6944. }
  6945. inline ::protobuf::MessageOfStudent* MessageOfObj::release_student_message()
  6946. {
  6947. // @@protoc_insertion_point(field_release:protobuf.MessageOfObj.student_message)
  6948. if (_internal_has_student_message())
  6949. {
  6950. clear_has_message_of_obj();
  6951. ::protobuf::MessageOfStudent* temp = _impl_.message_of_obj_.student_message_;
  6952. if (GetArenaForAllocation() != nullptr)
  6953. {
  6954. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  6955. }
  6956. _impl_.message_of_obj_.student_message_ = nullptr;
  6957. return temp;
  6958. }
  6959. else
  6960. {
  6961. return nullptr;
  6962. }
  6963. }
  6964. inline const ::protobuf::MessageOfStudent& MessageOfObj::_internal_student_message() const
  6965. {
  6966. return _internal_has_student_message() ? *_impl_.message_of_obj_.student_message_ : reinterpret_cast<::protobuf::MessageOfStudent&>(::protobuf::_MessageOfStudent_default_instance_);
  6967. }
  6968. inline const ::protobuf::MessageOfStudent& MessageOfObj::student_message() const
  6969. {
  6970. // @@protoc_insertion_point(field_get:protobuf.MessageOfObj.student_message)
  6971. return _internal_student_message();
  6972. }
  6973. inline ::protobuf::MessageOfStudent* MessageOfObj::unsafe_arena_release_student_message()
  6974. {
  6975. // @@protoc_insertion_point(field_unsafe_arena_release:protobuf.MessageOfObj.student_message)
  6976. if (_internal_has_student_message())
  6977. {
  6978. clear_has_message_of_obj();
  6979. ::protobuf::MessageOfStudent* temp = _impl_.message_of_obj_.student_message_;
  6980. _impl_.message_of_obj_.student_message_ = nullptr;
  6981. return temp;
  6982. }
  6983. else
  6984. {
  6985. return nullptr;
  6986. }
  6987. }
  6988. inline void MessageOfObj::unsafe_arena_set_allocated_student_message(::protobuf::MessageOfStudent* student_message)
  6989. {
  6990. clear_message_of_obj();
  6991. if (student_message)
  6992. {
  6993. set_has_student_message();
  6994. _impl_.message_of_obj_.student_message_ = student_message;
  6995. }
  6996. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protobuf.MessageOfObj.student_message)
  6997. }
  6998. inline ::protobuf::MessageOfStudent* MessageOfObj::_internal_mutable_student_message()
  6999. {
  7000. if (!_internal_has_student_message())
  7001. {
  7002. clear_message_of_obj();
  7003. set_has_student_message();
  7004. _impl_.message_of_obj_.student_message_ = CreateMaybeMessage<::protobuf::MessageOfStudent>(GetArenaForAllocation());
  7005. }
  7006. return _impl_.message_of_obj_.student_message_;
  7007. }
  7008. inline ::protobuf::MessageOfStudent* MessageOfObj::mutable_student_message()
  7009. {
  7010. ::protobuf::MessageOfStudent* _msg = _internal_mutable_student_message();
  7011. // @@protoc_insertion_point(field_mutable:protobuf.MessageOfObj.student_message)
  7012. return _msg;
  7013. }
  7014. // .protobuf.MessageOfTricker tricker_message = 2;
  7015. inline bool MessageOfObj::_internal_has_tricker_message() const
  7016. {
  7017. return message_of_obj_case() == kTrickerMessage;
  7018. }
  7019. inline bool MessageOfObj::has_tricker_message() const
  7020. {
  7021. return _internal_has_tricker_message();
  7022. }
  7023. inline void MessageOfObj::set_has_tricker_message()
  7024. {
  7025. _impl_._oneof_case_[0] = kTrickerMessage;
  7026. }
  7027. inline void MessageOfObj::clear_tricker_message()
  7028. {
  7029. if (_internal_has_tricker_message())
  7030. {
  7031. if (GetArenaForAllocation() == nullptr)
  7032. {
  7033. delete _impl_.message_of_obj_.tricker_message_;
  7034. }
  7035. clear_has_message_of_obj();
  7036. }
  7037. }
  7038. inline ::protobuf::MessageOfTricker* MessageOfObj::release_tricker_message()
  7039. {
  7040. // @@protoc_insertion_point(field_release:protobuf.MessageOfObj.tricker_message)
  7041. if (_internal_has_tricker_message())
  7042. {
  7043. clear_has_message_of_obj();
  7044. ::protobuf::MessageOfTricker* temp = _impl_.message_of_obj_.tricker_message_;
  7045. if (GetArenaForAllocation() != nullptr)
  7046. {
  7047. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  7048. }
  7049. _impl_.message_of_obj_.tricker_message_ = nullptr;
  7050. return temp;
  7051. }
  7052. else
  7053. {
  7054. return nullptr;
  7055. }
  7056. }
  7057. inline const ::protobuf::MessageOfTricker& MessageOfObj::_internal_tricker_message() const
  7058. {
  7059. return _internal_has_tricker_message() ? *_impl_.message_of_obj_.tricker_message_ : reinterpret_cast<::protobuf::MessageOfTricker&>(::protobuf::_MessageOfTricker_default_instance_);
  7060. }
  7061. inline const ::protobuf::MessageOfTricker& MessageOfObj::tricker_message() const
  7062. {
  7063. // @@protoc_insertion_point(field_get:protobuf.MessageOfObj.tricker_message)
  7064. return _internal_tricker_message();
  7065. }
  7066. inline ::protobuf::MessageOfTricker* MessageOfObj::unsafe_arena_release_tricker_message()
  7067. {
  7068. // @@protoc_insertion_point(field_unsafe_arena_release:protobuf.MessageOfObj.tricker_message)
  7069. if (_internal_has_tricker_message())
  7070. {
  7071. clear_has_message_of_obj();
  7072. ::protobuf::MessageOfTricker* temp = _impl_.message_of_obj_.tricker_message_;
  7073. _impl_.message_of_obj_.tricker_message_ = nullptr;
  7074. return temp;
  7075. }
  7076. else
  7077. {
  7078. return nullptr;
  7079. }
  7080. }
  7081. inline void MessageOfObj::unsafe_arena_set_allocated_tricker_message(::protobuf::MessageOfTricker* tricker_message)
  7082. {
  7083. clear_message_of_obj();
  7084. if (tricker_message)
  7085. {
  7086. set_has_tricker_message();
  7087. _impl_.message_of_obj_.tricker_message_ = tricker_message;
  7088. }
  7089. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protobuf.MessageOfObj.tricker_message)
  7090. }
  7091. inline ::protobuf::MessageOfTricker* MessageOfObj::_internal_mutable_tricker_message()
  7092. {
  7093. if (!_internal_has_tricker_message())
  7094. {
  7095. clear_message_of_obj();
  7096. set_has_tricker_message();
  7097. _impl_.message_of_obj_.tricker_message_ = CreateMaybeMessage<::protobuf::MessageOfTricker>(GetArenaForAllocation());
  7098. }
  7099. return _impl_.message_of_obj_.tricker_message_;
  7100. }
  7101. inline ::protobuf::MessageOfTricker* MessageOfObj::mutable_tricker_message()
  7102. {
  7103. ::protobuf::MessageOfTricker* _msg = _internal_mutable_tricker_message();
  7104. // @@protoc_insertion_point(field_mutable:protobuf.MessageOfObj.tricker_message)
  7105. return _msg;
  7106. }
  7107. // .protobuf.MessageOfProp prop_message = 3;
  7108. inline bool MessageOfObj::_internal_has_prop_message() const
  7109. {
  7110. return message_of_obj_case() == kPropMessage;
  7111. }
  7112. inline bool MessageOfObj::has_prop_message() const
  7113. {
  7114. return _internal_has_prop_message();
  7115. }
  7116. inline void MessageOfObj::set_has_prop_message()
  7117. {
  7118. _impl_._oneof_case_[0] = kPropMessage;
  7119. }
  7120. inline void MessageOfObj::clear_prop_message()
  7121. {
  7122. if (_internal_has_prop_message())
  7123. {
  7124. if (GetArenaForAllocation() == nullptr)
  7125. {
  7126. delete _impl_.message_of_obj_.prop_message_;
  7127. }
  7128. clear_has_message_of_obj();
  7129. }
  7130. }
  7131. inline ::protobuf::MessageOfProp* MessageOfObj::release_prop_message()
  7132. {
  7133. // @@protoc_insertion_point(field_release:protobuf.MessageOfObj.prop_message)
  7134. if (_internal_has_prop_message())
  7135. {
  7136. clear_has_message_of_obj();
  7137. ::protobuf::MessageOfProp* temp = _impl_.message_of_obj_.prop_message_;
  7138. if (GetArenaForAllocation() != nullptr)
  7139. {
  7140. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  7141. }
  7142. _impl_.message_of_obj_.prop_message_ = nullptr;
  7143. return temp;
  7144. }
  7145. else
  7146. {
  7147. return nullptr;
  7148. }
  7149. }
  7150. inline const ::protobuf::MessageOfProp& MessageOfObj::_internal_prop_message() const
  7151. {
  7152. return _internal_has_prop_message() ? *_impl_.message_of_obj_.prop_message_ : reinterpret_cast<::protobuf::MessageOfProp&>(::protobuf::_MessageOfProp_default_instance_);
  7153. }
  7154. inline const ::protobuf::MessageOfProp& MessageOfObj::prop_message() const
  7155. {
  7156. // @@protoc_insertion_point(field_get:protobuf.MessageOfObj.prop_message)
  7157. return _internal_prop_message();
  7158. }
  7159. inline ::protobuf::MessageOfProp* MessageOfObj::unsafe_arena_release_prop_message()
  7160. {
  7161. // @@protoc_insertion_point(field_unsafe_arena_release:protobuf.MessageOfObj.prop_message)
  7162. if (_internal_has_prop_message())
  7163. {
  7164. clear_has_message_of_obj();
  7165. ::protobuf::MessageOfProp* temp = _impl_.message_of_obj_.prop_message_;
  7166. _impl_.message_of_obj_.prop_message_ = nullptr;
  7167. return temp;
  7168. }
  7169. else
  7170. {
  7171. return nullptr;
  7172. }
  7173. }
  7174. inline void MessageOfObj::unsafe_arena_set_allocated_prop_message(::protobuf::MessageOfProp* prop_message)
  7175. {
  7176. clear_message_of_obj();
  7177. if (prop_message)
  7178. {
  7179. set_has_prop_message();
  7180. _impl_.message_of_obj_.prop_message_ = prop_message;
  7181. }
  7182. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protobuf.MessageOfObj.prop_message)
  7183. }
  7184. inline ::protobuf::MessageOfProp* MessageOfObj::_internal_mutable_prop_message()
  7185. {
  7186. if (!_internal_has_prop_message())
  7187. {
  7188. clear_message_of_obj();
  7189. set_has_prop_message();
  7190. _impl_.message_of_obj_.prop_message_ = CreateMaybeMessage<::protobuf::MessageOfProp>(GetArenaForAllocation());
  7191. }
  7192. return _impl_.message_of_obj_.prop_message_;
  7193. }
  7194. inline ::protobuf::MessageOfProp* MessageOfObj::mutable_prop_message()
  7195. {
  7196. ::protobuf::MessageOfProp* _msg = _internal_mutable_prop_message();
  7197. // @@protoc_insertion_point(field_mutable:protobuf.MessageOfObj.prop_message)
  7198. return _msg;
  7199. }
  7200. // .protobuf.MessageOfBullet bullet_message = 4;
  7201. inline bool MessageOfObj::_internal_has_bullet_message() const
  7202. {
  7203. return message_of_obj_case() == kBulletMessage;
  7204. }
  7205. inline bool MessageOfObj::has_bullet_message() const
  7206. {
  7207. return _internal_has_bullet_message();
  7208. }
  7209. inline void MessageOfObj::set_has_bullet_message()
  7210. {
  7211. _impl_._oneof_case_[0] = kBulletMessage;
  7212. }
  7213. inline void MessageOfObj::clear_bullet_message()
  7214. {
  7215. if (_internal_has_bullet_message())
  7216. {
  7217. if (GetArenaForAllocation() == nullptr)
  7218. {
  7219. delete _impl_.message_of_obj_.bullet_message_;
  7220. }
  7221. clear_has_message_of_obj();
  7222. }
  7223. }
  7224. inline ::protobuf::MessageOfBullet* MessageOfObj::release_bullet_message()
  7225. {
  7226. // @@protoc_insertion_point(field_release:protobuf.MessageOfObj.bullet_message)
  7227. if (_internal_has_bullet_message())
  7228. {
  7229. clear_has_message_of_obj();
  7230. ::protobuf::MessageOfBullet* temp = _impl_.message_of_obj_.bullet_message_;
  7231. if (GetArenaForAllocation() != nullptr)
  7232. {
  7233. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  7234. }
  7235. _impl_.message_of_obj_.bullet_message_ = nullptr;
  7236. return temp;
  7237. }
  7238. else
  7239. {
  7240. return nullptr;
  7241. }
  7242. }
  7243. inline const ::protobuf::MessageOfBullet& MessageOfObj::_internal_bullet_message() const
  7244. {
  7245. return _internal_has_bullet_message() ? *_impl_.message_of_obj_.bullet_message_ : reinterpret_cast<::protobuf::MessageOfBullet&>(::protobuf::_MessageOfBullet_default_instance_);
  7246. }
  7247. inline const ::protobuf::MessageOfBullet& MessageOfObj::bullet_message() const
  7248. {
  7249. // @@protoc_insertion_point(field_get:protobuf.MessageOfObj.bullet_message)
  7250. return _internal_bullet_message();
  7251. }
  7252. inline ::protobuf::MessageOfBullet* MessageOfObj::unsafe_arena_release_bullet_message()
  7253. {
  7254. // @@protoc_insertion_point(field_unsafe_arena_release:protobuf.MessageOfObj.bullet_message)
  7255. if (_internal_has_bullet_message())
  7256. {
  7257. clear_has_message_of_obj();
  7258. ::protobuf::MessageOfBullet* temp = _impl_.message_of_obj_.bullet_message_;
  7259. _impl_.message_of_obj_.bullet_message_ = nullptr;
  7260. return temp;
  7261. }
  7262. else
  7263. {
  7264. return nullptr;
  7265. }
  7266. }
  7267. inline void MessageOfObj::unsafe_arena_set_allocated_bullet_message(::protobuf::MessageOfBullet* bullet_message)
  7268. {
  7269. clear_message_of_obj();
  7270. if (bullet_message)
  7271. {
  7272. set_has_bullet_message();
  7273. _impl_.message_of_obj_.bullet_message_ = bullet_message;
  7274. }
  7275. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protobuf.MessageOfObj.bullet_message)
  7276. }
  7277. inline ::protobuf::MessageOfBullet* MessageOfObj::_internal_mutable_bullet_message()
  7278. {
  7279. if (!_internal_has_bullet_message())
  7280. {
  7281. clear_message_of_obj();
  7282. set_has_bullet_message();
  7283. _impl_.message_of_obj_.bullet_message_ = CreateMaybeMessage<::protobuf::MessageOfBullet>(GetArenaForAllocation());
  7284. }
  7285. return _impl_.message_of_obj_.bullet_message_;
  7286. }
  7287. inline ::protobuf::MessageOfBullet* MessageOfObj::mutable_bullet_message()
  7288. {
  7289. ::protobuf::MessageOfBullet* _msg = _internal_mutable_bullet_message();
  7290. // @@protoc_insertion_point(field_mutable:protobuf.MessageOfObj.bullet_message)
  7291. return _msg;
  7292. }
  7293. // .protobuf.MessageOfBombedBullet bombed_bullet_message = 5;
  7294. inline bool MessageOfObj::_internal_has_bombed_bullet_message() const
  7295. {
  7296. return message_of_obj_case() == kBombedBulletMessage;
  7297. }
  7298. inline bool MessageOfObj::has_bombed_bullet_message() const
  7299. {
  7300. return _internal_has_bombed_bullet_message();
  7301. }
  7302. inline void MessageOfObj::set_has_bombed_bullet_message()
  7303. {
  7304. _impl_._oneof_case_[0] = kBombedBulletMessage;
  7305. }
  7306. inline void MessageOfObj::clear_bombed_bullet_message()
  7307. {
  7308. if (_internal_has_bombed_bullet_message())
  7309. {
  7310. if (GetArenaForAllocation() == nullptr)
  7311. {
  7312. delete _impl_.message_of_obj_.bombed_bullet_message_;
  7313. }
  7314. clear_has_message_of_obj();
  7315. }
  7316. }
  7317. inline ::protobuf::MessageOfBombedBullet* MessageOfObj::release_bombed_bullet_message()
  7318. {
  7319. // @@protoc_insertion_point(field_release:protobuf.MessageOfObj.bombed_bullet_message)
  7320. if (_internal_has_bombed_bullet_message())
  7321. {
  7322. clear_has_message_of_obj();
  7323. ::protobuf::MessageOfBombedBullet* temp = _impl_.message_of_obj_.bombed_bullet_message_;
  7324. if (GetArenaForAllocation() != nullptr)
  7325. {
  7326. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  7327. }
  7328. _impl_.message_of_obj_.bombed_bullet_message_ = nullptr;
  7329. return temp;
  7330. }
  7331. else
  7332. {
  7333. return nullptr;
  7334. }
  7335. }
  7336. inline const ::protobuf::MessageOfBombedBullet& MessageOfObj::_internal_bombed_bullet_message() const
  7337. {
  7338. return _internal_has_bombed_bullet_message() ? *_impl_.message_of_obj_.bombed_bullet_message_ : reinterpret_cast<::protobuf::MessageOfBombedBullet&>(::protobuf::_MessageOfBombedBullet_default_instance_);
  7339. }
  7340. inline const ::protobuf::MessageOfBombedBullet& MessageOfObj::bombed_bullet_message() const
  7341. {
  7342. // @@protoc_insertion_point(field_get:protobuf.MessageOfObj.bombed_bullet_message)
  7343. return _internal_bombed_bullet_message();
  7344. }
  7345. inline ::protobuf::MessageOfBombedBullet* MessageOfObj::unsafe_arena_release_bombed_bullet_message()
  7346. {
  7347. // @@protoc_insertion_point(field_unsafe_arena_release:protobuf.MessageOfObj.bombed_bullet_message)
  7348. if (_internal_has_bombed_bullet_message())
  7349. {
  7350. clear_has_message_of_obj();
  7351. ::protobuf::MessageOfBombedBullet* temp = _impl_.message_of_obj_.bombed_bullet_message_;
  7352. _impl_.message_of_obj_.bombed_bullet_message_ = nullptr;
  7353. return temp;
  7354. }
  7355. else
  7356. {
  7357. return nullptr;
  7358. }
  7359. }
  7360. inline void MessageOfObj::unsafe_arena_set_allocated_bombed_bullet_message(::protobuf::MessageOfBombedBullet* bombed_bullet_message)
  7361. {
  7362. clear_message_of_obj();
  7363. if (bombed_bullet_message)
  7364. {
  7365. set_has_bombed_bullet_message();
  7366. _impl_.message_of_obj_.bombed_bullet_message_ = bombed_bullet_message;
  7367. }
  7368. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protobuf.MessageOfObj.bombed_bullet_message)
  7369. }
  7370. inline ::protobuf::MessageOfBombedBullet* MessageOfObj::_internal_mutable_bombed_bullet_message()
  7371. {
  7372. if (!_internal_has_bombed_bullet_message())
  7373. {
  7374. clear_message_of_obj();
  7375. set_has_bombed_bullet_message();
  7376. _impl_.message_of_obj_.bombed_bullet_message_ = CreateMaybeMessage<::protobuf::MessageOfBombedBullet>(GetArenaForAllocation());
  7377. }
  7378. return _impl_.message_of_obj_.bombed_bullet_message_;
  7379. }
  7380. inline ::protobuf::MessageOfBombedBullet* MessageOfObj::mutable_bombed_bullet_message()
  7381. {
  7382. ::protobuf::MessageOfBombedBullet* _msg = _internal_mutable_bombed_bullet_message();
  7383. // @@protoc_insertion_point(field_mutable:protobuf.MessageOfObj.bombed_bullet_message)
  7384. return _msg;
  7385. }
  7386. // .protobuf.MessageOfClassroom classroom_message = 6;
  7387. inline bool MessageOfObj::_internal_has_classroom_message() const
  7388. {
  7389. return message_of_obj_case() == kClassroomMessage;
  7390. }
  7391. inline bool MessageOfObj::has_classroom_message() const
  7392. {
  7393. return _internal_has_classroom_message();
  7394. }
  7395. inline void MessageOfObj::set_has_classroom_message()
  7396. {
  7397. _impl_._oneof_case_[0] = kClassroomMessage;
  7398. }
  7399. inline void MessageOfObj::clear_classroom_message()
  7400. {
  7401. if (_internal_has_classroom_message())
  7402. {
  7403. if (GetArenaForAllocation() == nullptr)
  7404. {
  7405. delete _impl_.message_of_obj_.classroom_message_;
  7406. }
  7407. clear_has_message_of_obj();
  7408. }
  7409. }
  7410. inline ::protobuf::MessageOfClassroom* MessageOfObj::release_classroom_message()
  7411. {
  7412. // @@protoc_insertion_point(field_release:protobuf.MessageOfObj.classroom_message)
  7413. if (_internal_has_classroom_message())
  7414. {
  7415. clear_has_message_of_obj();
  7416. ::protobuf::MessageOfClassroom* temp = _impl_.message_of_obj_.classroom_message_;
  7417. if (GetArenaForAllocation() != nullptr)
  7418. {
  7419. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  7420. }
  7421. _impl_.message_of_obj_.classroom_message_ = nullptr;
  7422. return temp;
  7423. }
  7424. else
  7425. {
  7426. return nullptr;
  7427. }
  7428. }
  7429. inline const ::protobuf::MessageOfClassroom& MessageOfObj::_internal_classroom_message() const
  7430. {
  7431. return _internal_has_classroom_message() ? *_impl_.message_of_obj_.classroom_message_ : reinterpret_cast<::protobuf::MessageOfClassroom&>(::protobuf::_MessageOfClassroom_default_instance_);
  7432. }
  7433. inline const ::protobuf::MessageOfClassroom& MessageOfObj::classroom_message() const
  7434. {
  7435. // @@protoc_insertion_point(field_get:protobuf.MessageOfObj.classroom_message)
  7436. return _internal_classroom_message();
  7437. }
  7438. inline ::protobuf::MessageOfClassroom* MessageOfObj::unsafe_arena_release_classroom_message()
  7439. {
  7440. // @@protoc_insertion_point(field_unsafe_arena_release:protobuf.MessageOfObj.classroom_message)
  7441. if (_internal_has_classroom_message())
  7442. {
  7443. clear_has_message_of_obj();
  7444. ::protobuf::MessageOfClassroom* temp = _impl_.message_of_obj_.classroom_message_;
  7445. _impl_.message_of_obj_.classroom_message_ = nullptr;
  7446. return temp;
  7447. }
  7448. else
  7449. {
  7450. return nullptr;
  7451. }
  7452. }
  7453. inline void MessageOfObj::unsafe_arena_set_allocated_classroom_message(::protobuf::MessageOfClassroom* classroom_message)
  7454. {
  7455. clear_message_of_obj();
  7456. if (classroom_message)
  7457. {
  7458. set_has_classroom_message();
  7459. _impl_.message_of_obj_.classroom_message_ = classroom_message;
  7460. }
  7461. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protobuf.MessageOfObj.classroom_message)
  7462. }
  7463. inline ::protobuf::MessageOfClassroom* MessageOfObj::_internal_mutable_classroom_message()
  7464. {
  7465. if (!_internal_has_classroom_message())
  7466. {
  7467. clear_message_of_obj();
  7468. set_has_classroom_message();
  7469. _impl_.message_of_obj_.classroom_message_ = CreateMaybeMessage<::protobuf::MessageOfClassroom>(GetArenaForAllocation());
  7470. }
  7471. return _impl_.message_of_obj_.classroom_message_;
  7472. }
  7473. inline ::protobuf::MessageOfClassroom* MessageOfObj::mutable_classroom_message()
  7474. {
  7475. ::protobuf::MessageOfClassroom* _msg = _internal_mutable_classroom_message();
  7476. // @@protoc_insertion_point(field_mutable:protobuf.MessageOfObj.classroom_message)
  7477. return _msg;
  7478. }
  7479. // .protobuf.MessageOfDoor door_message = 7;
  7480. inline bool MessageOfObj::_internal_has_door_message() const
  7481. {
  7482. return message_of_obj_case() == kDoorMessage;
  7483. }
  7484. inline bool MessageOfObj::has_door_message() const
  7485. {
  7486. return _internal_has_door_message();
  7487. }
  7488. inline void MessageOfObj::set_has_door_message()
  7489. {
  7490. _impl_._oneof_case_[0] = kDoorMessage;
  7491. }
  7492. inline void MessageOfObj::clear_door_message()
  7493. {
  7494. if (_internal_has_door_message())
  7495. {
  7496. if (GetArenaForAllocation() == nullptr)
  7497. {
  7498. delete _impl_.message_of_obj_.door_message_;
  7499. }
  7500. clear_has_message_of_obj();
  7501. }
  7502. }
  7503. inline ::protobuf::MessageOfDoor* MessageOfObj::release_door_message()
  7504. {
  7505. // @@protoc_insertion_point(field_release:protobuf.MessageOfObj.door_message)
  7506. if (_internal_has_door_message())
  7507. {
  7508. clear_has_message_of_obj();
  7509. ::protobuf::MessageOfDoor* temp = _impl_.message_of_obj_.door_message_;
  7510. if (GetArenaForAllocation() != nullptr)
  7511. {
  7512. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  7513. }
  7514. _impl_.message_of_obj_.door_message_ = nullptr;
  7515. return temp;
  7516. }
  7517. else
  7518. {
  7519. return nullptr;
  7520. }
  7521. }
  7522. inline const ::protobuf::MessageOfDoor& MessageOfObj::_internal_door_message() const
  7523. {
  7524. return _internal_has_door_message() ? *_impl_.message_of_obj_.door_message_ : reinterpret_cast<::protobuf::MessageOfDoor&>(::protobuf::_MessageOfDoor_default_instance_);
  7525. }
  7526. inline const ::protobuf::MessageOfDoor& MessageOfObj::door_message() const
  7527. {
  7528. // @@protoc_insertion_point(field_get:protobuf.MessageOfObj.door_message)
  7529. return _internal_door_message();
  7530. }
  7531. inline ::protobuf::MessageOfDoor* MessageOfObj::unsafe_arena_release_door_message()
  7532. {
  7533. // @@protoc_insertion_point(field_unsafe_arena_release:protobuf.MessageOfObj.door_message)
  7534. if (_internal_has_door_message())
  7535. {
  7536. clear_has_message_of_obj();
  7537. ::protobuf::MessageOfDoor* temp = _impl_.message_of_obj_.door_message_;
  7538. _impl_.message_of_obj_.door_message_ = nullptr;
  7539. return temp;
  7540. }
  7541. else
  7542. {
  7543. return nullptr;
  7544. }
  7545. }
  7546. inline void MessageOfObj::unsafe_arena_set_allocated_door_message(::protobuf::MessageOfDoor* door_message)
  7547. {
  7548. clear_message_of_obj();
  7549. if (door_message)
  7550. {
  7551. set_has_door_message();
  7552. _impl_.message_of_obj_.door_message_ = door_message;
  7553. }
  7554. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protobuf.MessageOfObj.door_message)
  7555. }
  7556. inline ::protobuf::MessageOfDoor* MessageOfObj::_internal_mutable_door_message()
  7557. {
  7558. if (!_internal_has_door_message())
  7559. {
  7560. clear_message_of_obj();
  7561. set_has_door_message();
  7562. _impl_.message_of_obj_.door_message_ = CreateMaybeMessage<::protobuf::MessageOfDoor>(GetArenaForAllocation());
  7563. }
  7564. return _impl_.message_of_obj_.door_message_;
  7565. }
  7566. inline ::protobuf::MessageOfDoor* MessageOfObj::mutable_door_message()
  7567. {
  7568. ::protobuf::MessageOfDoor* _msg = _internal_mutable_door_message();
  7569. // @@protoc_insertion_point(field_mutable:protobuf.MessageOfObj.door_message)
  7570. return _msg;
  7571. }
  7572. // .protobuf.MessageOfGate gate_message = 8;
  7573. inline bool MessageOfObj::_internal_has_gate_message() const
  7574. {
  7575. return message_of_obj_case() == kGateMessage;
  7576. }
  7577. inline bool MessageOfObj::has_gate_message() const
  7578. {
  7579. return _internal_has_gate_message();
  7580. }
  7581. inline void MessageOfObj::set_has_gate_message()
  7582. {
  7583. _impl_._oneof_case_[0] = kGateMessage;
  7584. }
  7585. inline void MessageOfObj::clear_gate_message()
  7586. {
  7587. if (_internal_has_gate_message())
  7588. {
  7589. if (GetArenaForAllocation() == nullptr)
  7590. {
  7591. delete _impl_.message_of_obj_.gate_message_;
  7592. }
  7593. clear_has_message_of_obj();
  7594. }
  7595. }
  7596. inline ::protobuf::MessageOfGate* MessageOfObj::release_gate_message()
  7597. {
  7598. // @@protoc_insertion_point(field_release:protobuf.MessageOfObj.gate_message)
  7599. if (_internal_has_gate_message())
  7600. {
  7601. clear_has_message_of_obj();
  7602. ::protobuf::MessageOfGate* temp = _impl_.message_of_obj_.gate_message_;
  7603. if (GetArenaForAllocation() != nullptr)
  7604. {
  7605. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  7606. }
  7607. _impl_.message_of_obj_.gate_message_ = nullptr;
  7608. return temp;
  7609. }
  7610. else
  7611. {
  7612. return nullptr;
  7613. }
  7614. }
  7615. inline const ::protobuf::MessageOfGate& MessageOfObj::_internal_gate_message() const
  7616. {
  7617. return _internal_has_gate_message() ? *_impl_.message_of_obj_.gate_message_ : reinterpret_cast<::protobuf::MessageOfGate&>(::protobuf::_MessageOfGate_default_instance_);
  7618. }
  7619. inline const ::protobuf::MessageOfGate& MessageOfObj::gate_message() const
  7620. {
  7621. // @@protoc_insertion_point(field_get:protobuf.MessageOfObj.gate_message)
  7622. return _internal_gate_message();
  7623. }
  7624. inline ::protobuf::MessageOfGate* MessageOfObj::unsafe_arena_release_gate_message()
  7625. {
  7626. // @@protoc_insertion_point(field_unsafe_arena_release:protobuf.MessageOfObj.gate_message)
  7627. if (_internal_has_gate_message())
  7628. {
  7629. clear_has_message_of_obj();
  7630. ::protobuf::MessageOfGate* temp = _impl_.message_of_obj_.gate_message_;
  7631. _impl_.message_of_obj_.gate_message_ = nullptr;
  7632. return temp;
  7633. }
  7634. else
  7635. {
  7636. return nullptr;
  7637. }
  7638. }
  7639. inline void MessageOfObj::unsafe_arena_set_allocated_gate_message(::protobuf::MessageOfGate* gate_message)
  7640. {
  7641. clear_message_of_obj();
  7642. if (gate_message)
  7643. {
  7644. set_has_gate_message();
  7645. _impl_.message_of_obj_.gate_message_ = gate_message;
  7646. }
  7647. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protobuf.MessageOfObj.gate_message)
  7648. }
  7649. inline ::protobuf::MessageOfGate* MessageOfObj::_internal_mutable_gate_message()
  7650. {
  7651. if (!_internal_has_gate_message())
  7652. {
  7653. clear_message_of_obj();
  7654. set_has_gate_message();
  7655. _impl_.message_of_obj_.gate_message_ = CreateMaybeMessage<::protobuf::MessageOfGate>(GetArenaForAllocation());
  7656. }
  7657. return _impl_.message_of_obj_.gate_message_;
  7658. }
  7659. inline ::protobuf::MessageOfGate* MessageOfObj::mutable_gate_message()
  7660. {
  7661. ::protobuf::MessageOfGate* _msg = _internal_mutable_gate_message();
  7662. // @@protoc_insertion_point(field_mutable:protobuf.MessageOfObj.gate_message)
  7663. return _msg;
  7664. }
  7665. // .protobuf.MessageOfChest chest_message = 9;
  7666. inline bool MessageOfObj::_internal_has_chest_message() const
  7667. {
  7668. return message_of_obj_case() == kChestMessage;
  7669. }
  7670. inline bool MessageOfObj::has_chest_message() const
  7671. {
  7672. return _internal_has_chest_message();
  7673. }
  7674. inline void MessageOfObj::set_has_chest_message()
  7675. {
  7676. _impl_._oneof_case_[0] = kChestMessage;
  7677. }
  7678. inline void MessageOfObj::clear_chest_message()
  7679. {
  7680. if (_internal_has_chest_message())
  7681. {
  7682. if (GetArenaForAllocation() == nullptr)
  7683. {
  7684. delete _impl_.message_of_obj_.chest_message_;
  7685. }
  7686. clear_has_message_of_obj();
  7687. }
  7688. }
  7689. inline ::protobuf::MessageOfChest* MessageOfObj::release_chest_message()
  7690. {
  7691. // @@protoc_insertion_point(field_release:protobuf.MessageOfObj.chest_message)
  7692. if (_internal_has_chest_message())
  7693. {
  7694. clear_has_message_of_obj();
  7695. ::protobuf::MessageOfChest* temp = _impl_.message_of_obj_.chest_message_;
  7696. if (GetArenaForAllocation() != nullptr)
  7697. {
  7698. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  7699. }
  7700. _impl_.message_of_obj_.chest_message_ = nullptr;
  7701. return temp;
  7702. }
  7703. else
  7704. {
  7705. return nullptr;
  7706. }
  7707. }
  7708. inline const ::protobuf::MessageOfChest& MessageOfObj::_internal_chest_message() const
  7709. {
  7710. return _internal_has_chest_message() ? *_impl_.message_of_obj_.chest_message_ : reinterpret_cast<::protobuf::MessageOfChest&>(::protobuf::_MessageOfChest_default_instance_);
  7711. }
  7712. inline const ::protobuf::MessageOfChest& MessageOfObj::chest_message() const
  7713. {
  7714. // @@protoc_insertion_point(field_get:protobuf.MessageOfObj.chest_message)
  7715. return _internal_chest_message();
  7716. }
  7717. inline ::protobuf::MessageOfChest* MessageOfObj::unsafe_arena_release_chest_message()
  7718. {
  7719. // @@protoc_insertion_point(field_unsafe_arena_release:protobuf.MessageOfObj.chest_message)
  7720. if (_internal_has_chest_message())
  7721. {
  7722. clear_has_message_of_obj();
  7723. ::protobuf::MessageOfChest* temp = _impl_.message_of_obj_.chest_message_;
  7724. _impl_.message_of_obj_.chest_message_ = nullptr;
  7725. return temp;
  7726. }
  7727. else
  7728. {
  7729. return nullptr;
  7730. }
  7731. }
  7732. inline void MessageOfObj::unsafe_arena_set_allocated_chest_message(::protobuf::MessageOfChest* chest_message)
  7733. {
  7734. clear_message_of_obj();
  7735. if (chest_message)
  7736. {
  7737. set_has_chest_message();
  7738. _impl_.message_of_obj_.chest_message_ = chest_message;
  7739. }
  7740. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protobuf.MessageOfObj.chest_message)
  7741. }
  7742. inline ::protobuf::MessageOfChest* MessageOfObj::_internal_mutable_chest_message()
  7743. {
  7744. if (!_internal_has_chest_message())
  7745. {
  7746. clear_message_of_obj();
  7747. set_has_chest_message();
  7748. _impl_.message_of_obj_.chest_message_ = CreateMaybeMessage<::protobuf::MessageOfChest>(GetArenaForAllocation());
  7749. }
  7750. return _impl_.message_of_obj_.chest_message_;
  7751. }
  7752. inline ::protobuf::MessageOfChest* MessageOfObj::mutable_chest_message()
  7753. {
  7754. ::protobuf::MessageOfChest* _msg = _internal_mutable_chest_message();
  7755. // @@protoc_insertion_point(field_mutable:protobuf.MessageOfObj.chest_message)
  7756. return _msg;
  7757. }
  7758. // .protobuf.MessageOfHiddenGate hidden_gate_message = 10;
  7759. inline bool MessageOfObj::_internal_has_hidden_gate_message() const
  7760. {
  7761. return message_of_obj_case() == kHiddenGateMessage;
  7762. }
  7763. inline bool MessageOfObj::has_hidden_gate_message() const
  7764. {
  7765. return _internal_has_hidden_gate_message();
  7766. }
  7767. inline void MessageOfObj::set_has_hidden_gate_message()
  7768. {
  7769. _impl_._oneof_case_[0] = kHiddenGateMessage;
  7770. }
  7771. inline void MessageOfObj::clear_hidden_gate_message()
  7772. {
  7773. if (_internal_has_hidden_gate_message())
  7774. {
  7775. if (GetArenaForAllocation() == nullptr)
  7776. {
  7777. delete _impl_.message_of_obj_.hidden_gate_message_;
  7778. }
  7779. clear_has_message_of_obj();
  7780. }
  7781. }
  7782. inline ::protobuf::MessageOfHiddenGate* MessageOfObj::release_hidden_gate_message()
  7783. {
  7784. // @@protoc_insertion_point(field_release:protobuf.MessageOfObj.hidden_gate_message)
  7785. if (_internal_has_hidden_gate_message())
  7786. {
  7787. clear_has_message_of_obj();
  7788. ::protobuf::MessageOfHiddenGate* temp = _impl_.message_of_obj_.hidden_gate_message_;
  7789. if (GetArenaForAllocation() != nullptr)
  7790. {
  7791. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  7792. }
  7793. _impl_.message_of_obj_.hidden_gate_message_ = nullptr;
  7794. return temp;
  7795. }
  7796. else
  7797. {
  7798. return nullptr;
  7799. }
  7800. }
  7801. inline const ::protobuf::MessageOfHiddenGate& MessageOfObj::_internal_hidden_gate_message() const
  7802. {
  7803. return _internal_has_hidden_gate_message() ? *_impl_.message_of_obj_.hidden_gate_message_ : reinterpret_cast<::protobuf::MessageOfHiddenGate&>(::protobuf::_MessageOfHiddenGate_default_instance_);
  7804. }
  7805. inline const ::protobuf::MessageOfHiddenGate& MessageOfObj::hidden_gate_message() const
  7806. {
  7807. // @@protoc_insertion_point(field_get:protobuf.MessageOfObj.hidden_gate_message)
  7808. return _internal_hidden_gate_message();
  7809. }
  7810. inline ::protobuf::MessageOfHiddenGate* MessageOfObj::unsafe_arena_release_hidden_gate_message()
  7811. {
  7812. // @@protoc_insertion_point(field_unsafe_arena_release:protobuf.MessageOfObj.hidden_gate_message)
  7813. if (_internal_has_hidden_gate_message())
  7814. {
  7815. clear_has_message_of_obj();
  7816. ::protobuf::MessageOfHiddenGate* temp = _impl_.message_of_obj_.hidden_gate_message_;
  7817. _impl_.message_of_obj_.hidden_gate_message_ = nullptr;
  7818. return temp;
  7819. }
  7820. else
  7821. {
  7822. return nullptr;
  7823. }
  7824. }
  7825. inline void MessageOfObj::unsafe_arena_set_allocated_hidden_gate_message(::protobuf::MessageOfHiddenGate* hidden_gate_message)
  7826. {
  7827. clear_message_of_obj();
  7828. if (hidden_gate_message)
  7829. {
  7830. set_has_hidden_gate_message();
  7831. _impl_.message_of_obj_.hidden_gate_message_ = hidden_gate_message;
  7832. }
  7833. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protobuf.MessageOfObj.hidden_gate_message)
  7834. }
  7835. inline ::protobuf::MessageOfHiddenGate* MessageOfObj::_internal_mutable_hidden_gate_message()
  7836. {
  7837. if (!_internal_has_hidden_gate_message())
  7838. {
  7839. clear_message_of_obj();
  7840. set_has_hidden_gate_message();
  7841. _impl_.message_of_obj_.hidden_gate_message_ = CreateMaybeMessage<::protobuf::MessageOfHiddenGate>(GetArenaForAllocation());
  7842. }
  7843. return _impl_.message_of_obj_.hidden_gate_message_;
  7844. }
  7845. inline ::protobuf::MessageOfHiddenGate* MessageOfObj::mutable_hidden_gate_message()
  7846. {
  7847. ::protobuf::MessageOfHiddenGate* _msg = _internal_mutable_hidden_gate_message();
  7848. // @@protoc_insertion_point(field_mutable:protobuf.MessageOfObj.hidden_gate_message)
  7849. return _msg;
  7850. }
  7851. // .protobuf.MessageOfNews news_message = 11;
  7852. inline bool MessageOfObj::_internal_has_news_message() const
  7853. {
  7854. return message_of_obj_case() == kNewsMessage;
  7855. }
  7856. inline bool MessageOfObj::has_news_message() const
  7857. {
  7858. return _internal_has_news_message();
  7859. }
  7860. inline void MessageOfObj::set_has_news_message()
  7861. {
  7862. _impl_._oneof_case_[0] = kNewsMessage;
  7863. }
  7864. inline void MessageOfObj::clear_news_message()
  7865. {
  7866. if (_internal_has_news_message())
  7867. {
  7868. if (GetArenaForAllocation() == nullptr)
  7869. {
  7870. delete _impl_.message_of_obj_.news_message_;
  7871. }
  7872. clear_has_message_of_obj();
  7873. }
  7874. }
  7875. inline ::protobuf::MessageOfNews* MessageOfObj::release_news_message()
  7876. {
  7877. // @@protoc_insertion_point(field_release:protobuf.MessageOfObj.news_message)
  7878. if (_internal_has_news_message())
  7879. {
  7880. clear_has_message_of_obj();
  7881. ::protobuf::MessageOfNews* temp = _impl_.message_of_obj_.news_message_;
  7882. if (GetArenaForAllocation() != nullptr)
  7883. {
  7884. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  7885. }
  7886. _impl_.message_of_obj_.news_message_ = nullptr;
  7887. return temp;
  7888. }
  7889. else
  7890. {
  7891. return nullptr;
  7892. }
  7893. }
  7894. inline const ::protobuf::MessageOfNews& MessageOfObj::_internal_news_message() const
  7895. {
  7896. return _internal_has_news_message() ? *_impl_.message_of_obj_.news_message_ : reinterpret_cast<::protobuf::MessageOfNews&>(::protobuf::_MessageOfNews_default_instance_);
  7897. }
  7898. inline const ::protobuf::MessageOfNews& MessageOfObj::news_message() const
  7899. {
  7900. // @@protoc_insertion_point(field_get:protobuf.MessageOfObj.news_message)
  7901. return _internal_news_message();
  7902. }
  7903. inline ::protobuf::MessageOfNews* MessageOfObj::unsafe_arena_release_news_message()
  7904. {
  7905. // @@protoc_insertion_point(field_unsafe_arena_release:protobuf.MessageOfObj.news_message)
  7906. if (_internal_has_news_message())
  7907. {
  7908. clear_has_message_of_obj();
  7909. ::protobuf::MessageOfNews* temp = _impl_.message_of_obj_.news_message_;
  7910. _impl_.message_of_obj_.news_message_ = nullptr;
  7911. return temp;
  7912. }
  7913. else
  7914. {
  7915. return nullptr;
  7916. }
  7917. }
  7918. inline void MessageOfObj::unsafe_arena_set_allocated_news_message(::protobuf::MessageOfNews* news_message)
  7919. {
  7920. clear_message_of_obj();
  7921. if (news_message)
  7922. {
  7923. set_has_news_message();
  7924. _impl_.message_of_obj_.news_message_ = news_message;
  7925. }
  7926. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protobuf.MessageOfObj.news_message)
  7927. }
  7928. inline ::protobuf::MessageOfNews* MessageOfObj::_internal_mutable_news_message()
  7929. {
  7930. if (!_internal_has_news_message())
  7931. {
  7932. clear_message_of_obj();
  7933. set_has_news_message();
  7934. _impl_.message_of_obj_.news_message_ = CreateMaybeMessage<::protobuf::MessageOfNews>(GetArenaForAllocation());
  7935. }
  7936. return _impl_.message_of_obj_.news_message_;
  7937. }
  7938. inline ::protobuf::MessageOfNews* MessageOfObj::mutable_news_message()
  7939. {
  7940. ::protobuf::MessageOfNews* _msg = _internal_mutable_news_message();
  7941. // @@protoc_insertion_point(field_mutable:protobuf.MessageOfObj.news_message)
  7942. return _msg;
  7943. }
  7944. // .protobuf.MessageOfMap map_message = 12;
  7945. inline bool MessageOfObj::_internal_has_map_message() const
  7946. {
  7947. return message_of_obj_case() == kMapMessage;
  7948. }
  7949. inline bool MessageOfObj::has_map_message() const
  7950. {
  7951. return _internal_has_map_message();
  7952. }
  7953. inline void MessageOfObj::set_has_map_message()
  7954. {
  7955. _impl_._oneof_case_[0] = kMapMessage;
  7956. }
  7957. inline void MessageOfObj::clear_map_message()
  7958. {
  7959. if (_internal_has_map_message())
  7960. {
  7961. if (GetArenaForAllocation() == nullptr)
  7962. {
  7963. delete _impl_.message_of_obj_.map_message_;
  7964. }
  7965. clear_has_message_of_obj();
  7966. }
  7967. }
  7968. inline ::protobuf::MessageOfMap* MessageOfObj::release_map_message()
  7969. {
  7970. // @@protoc_insertion_point(field_release:protobuf.MessageOfObj.map_message)
  7971. if (_internal_has_map_message())
  7972. {
  7973. clear_has_message_of_obj();
  7974. ::protobuf::MessageOfMap* temp = _impl_.message_of_obj_.map_message_;
  7975. if (GetArenaForAllocation() != nullptr)
  7976. {
  7977. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  7978. }
  7979. _impl_.message_of_obj_.map_message_ = nullptr;
  7980. return temp;
  7981. }
  7982. else
  7983. {
  7984. return nullptr;
  7985. }
  7986. }
  7987. inline const ::protobuf::MessageOfMap& MessageOfObj::_internal_map_message() const
  7988. {
  7989. return _internal_has_map_message() ? *_impl_.message_of_obj_.map_message_ : reinterpret_cast<::protobuf::MessageOfMap&>(::protobuf::_MessageOfMap_default_instance_);
  7990. }
  7991. inline const ::protobuf::MessageOfMap& MessageOfObj::map_message() const
  7992. {
  7993. // @@protoc_insertion_point(field_get:protobuf.MessageOfObj.map_message)
  7994. return _internal_map_message();
  7995. }
  7996. inline ::protobuf::MessageOfMap* MessageOfObj::unsafe_arena_release_map_message()
  7997. {
  7998. // @@protoc_insertion_point(field_unsafe_arena_release:protobuf.MessageOfObj.map_message)
  7999. if (_internal_has_map_message())
  8000. {
  8001. clear_has_message_of_obj();
  8002. ::protobuf::MessageOfMap* temp = _impl_.message_of_obj_.map_message_;
  8003. _impl_.message_of_obj_.map_message_ = nullptr;
  8004. return temp;
  8005. }
  8006. else
  8007. {
  8008. return nullptr;
  8009. }
  8010. }
  8011. inline void MessageOfObj::unsafe_arena_set_allocated_map_message(::protobuf::MessageOfMap* map_message)
  8012. {
  8013. clear_message_of_obj();
  8014. if (map_message)
  8015. {
  8016. set_has_map_message();
  8017. _impl_.message_of_obj_.map_message_ = map_message;
  8018. }
  8019. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protobuf.MessageOfObj.map_message)
  8020. }
  8021. inline ::protobuf::MessageOfMap* MessageOfObj::_internal_mutable_map_message()
  8022. {
  8023. if (!_internal_has_map_message())
  8024. {
  8025. clear_message_of_obj();
  8026. set_has_map_message();
  8027. _impl_.message_of_obj_.map_message_ = CreateMaybeMessage<::protobuf::MessageOfMap>(GetArenaForAllocation());
  8028. }
  8029. return _impl_.message_of_obj_.map_message_;
  8030. }
  8031. inline ::protobuf::MessageOfMap* MessageOfObj::mutable_map_message()
  8032. {
  8033. ::protobuf::MessageOfMap* _msg = _internal_mutable_map_message();
  8034. // @@protoc_insertion_point(field_mutable:protobuf.MessageOfObj.map_message)
  8035. return _msg;
  8036. }
  8037. inline bool MessageOfObj::has_message_of_obj() const
  8038. {
  8039. return message_of_obj_case() != MESSAGE_OF_OBJ_NOT_SET;
  8040. }
  8041. inline void MessageOfObj::clear_has_message_of_obj()
  8042. {
  8043. _impl_._oneof_case_[0] = MESSAGE_OF_OBJ_NOT_SET;
  8044. }
  8045. inline MessageOfObj::MessageOfObjCase MessageOfObj::message_of_obj_case() const
  8046. {
  8047. return MessageOfObj::MessageOfObjCase(_impl_._oneof_case_[0]);
  8048. }
  8049. // -------------------------------------------------------------------
  8050. // MessageOfAll
  8051. // int32 game_time = 1;
  8052. inline void MessageOfAll::clear_game_time()
  8053. {
  8054. _impl_.game_time_ = 0;
  8055. }
  8056. inline int32_t MessageOfAll::_internal_game_time() const
  8057. {
  8058. return _impl_.game_time_;
  8059. }
  8060. inline int32_t MessageOfAll::game_time() const
  8061. {
  8062. // @@protoc_insertion_point(field_get:protobuf.MessageOfAll.game_time)
  8063. return _internal_game_time();
  8064. }
  8065. inline void MessageOfAll::_internal_set_game_time(int32_t value)
  8066. {
  8067. _impl_.game_time_ = value;
  8068. }
  8069. inline void MessageOfAll::set_game_time(int32_t value)
  8070. {
  8071. _internal_set_game_time(value);
  8072. // @@protoc_insertion_point(field_set:protobuf.MessageOfAll.game_time)
  8073. }
  8074. // int32 subject_finished = 2;
  8075. inline void MessageOfAll::clear_subject_finished()
  8076. {
  8077. _impl_.subject_finished_ = 0;
  8078. }
  8079. inline int32_t MessageOfAll::_internal_subject_finished() const
  8080. {
  8081. return _impl_.subject_finished_;
  8082. }
  8083. inline int32_t MessageOfAll::subject_finished() const
  8084. {
  8085. // @@protoc_insertion_point(field_get:protobuf.MessageOfAll.subject_finished)
  8086. return _internal_subject_finished();
  8087. }
  8088. inline void MessageOfAll::_internal_set_subject_finished(int32_t value)
  8089. {
  8090. _impl_.subject_finished_ = value;
  8091. }
  8092. inline void MessageOfAll::set_subject_finished(int32_t value)
  8093. {
  8094. _internal_set_subject_finished(value);
  8095. // @@protoc_insertion_point(field_set:protobuf.MessageOfAll.subject_finished)
  8096. }
  8097. // int32 student_graduated = 3;
  8098. inline void MessageOfAll::clear_student_graduated()
  8099. {
  8100. _impl_.student_graduated_ = 0;
  8101. }
  8102. inline int32_t MessageOfAll::_internal_student_graduated() const
  8103. {
  8104. return _impl_.student_graduated_;
  8105. }
  8106. inline int32_t MessageOfAll::student_graduated() const
  8107. {
  8108. // @@protoc_insertion_point(field_get:protobuf.MessageOfAll.student_graduated)
  8109. return _internal_student_graduated();
  8110. }
  8111. inline void MessageOfAll::_internal_set_student_graduated(int32_t value)
  8112. {
  8113. _impl_.student_graduated_ = value;
  8114. }
  8115. inline void MessageOfAll::set_student_graduated(int32_t value)
  8116. {
  8117. _internal_set_student_graduated(value);
  8118. // @@protoc_insertion_point(field_set:protobuf.MessageOfAll.student_graduated)
  8119. }
  8120. // int32 student_quited = 4;
  8121. inline void MessageOfAll::clear_student_quited()
  8122. {
  8123. _impl_.student_quited_ = 0;
  8124. }
  8125. inline int32_t MessageOfAll::_internal_student_quited() const
  8126. {
  8127. return _impl_.student_quited_;
  8128. }
  8129. inline int32_t MessageOfAll::student_quited() const
  8130. {
  8131. // @@protoc_insertion_point(field_get:protobuf.MessageOfAll.student_quited)
  8132. return _internal_student_quited();
  8133. }
  8134. inline void MessageOfAll::_internal_set_student_quited(int32_t value)
  8135. {
  8136. _impl_.student_quited_ = value;
  8137. }
  8138. inline void MessageOfAll::set_student_quited(int32_t value)
  8139. {
  8140. _internal_set_student_quited(value);
  8141. // @@protoc_insertion_point(field_set:protobuf.MessageOfAll.student_quited)
  8142. }
  8143. // int32 student_score = 5;
  8144. inline void MessageOfAll::clear_student_score()
  8145. {
  8146. _impl_.student_score_ = 0;
  8147. }
  8148. inline int32_t MessageOfAll::_internal_student_score() const
  8149. {
  8150. return _impl_.student_score_;
  8151. }
  8152. inline int32_t MessageOfAll::student_score() const
  8153. {
  8154. // @@protoc_insertion_point(field_get:protobuf.MessageOfAll.student_score)
  8155. return _internal_student_score();
  8156. }
  8157. inline void MessageOfAll::_internal_set_student_score(int32_t value)
  8158. {
  8159. _impl_.student_score_ = value;
  8160. }
  8161. inline void MessageOfAll::set_student_score(int32_t value)
  8162. {
  8163. _internal_set_student_score(value);
  8164. // @@protoc_insertion_point(field_set:protobuf.MessageOfAll.student_score)
  8165. }
  8166. // int32 tricker_score = 6;
  8167. inline void MessageOfAll::clear_tricker_score()
  8168. {
  8169. _impl_.tricker_score_ = 0;
  8170. }
  8171. inline int32_t MessageOfAll::_internal_tricker_score() const
  8172. {
  8173. return _impl_.tricker_score_;
  8174. }
  8175. inline int32_t MessageOfAll::tricker_score() const
  8176. {
  8177. // @@protoc_insertion_point(field_get:protobuf.MessageOfAll.tricker_score)
  8178. return _internal_tricker_score();
  8179. }
  8180. inline void MessageOfAll::_internal_set_tricker_score(int32_t value)
  8181. {
  8182. _impl_.tricker_score_ = value;
  8183. }
  8184. inline void MessageOfAll::set_tricker_score(int32_t value)
  8185. {
  8186. _internal_set_tricker_score(value);
  8187. // @@protoc_insertion_point(field_set:protobuf.MessageOfAll.tricker_score)
  8188. }
  8189. // -------------------------------------------------------------------
  8190. // MessageToClient
  8191. // repeated .protobuf.MessageOfObj obj_message = 1;
  8192. inline int MessageToClient::_internal_obj_message_size() const
  8193. {
  8194. return _impl_.obj_message_.size();
  8195. }
  8196. inline int MessageToClient::obj_message_size() const
  8197. {
  8198. return _internal_obj_message_size();
  8199. }
  8200. inline void MessageToClient::clear_obj_message()
  8201. {
  8202. _impl_.obj_message_.Clear();
  8203. }
  8204. inline ::protobuf::MessageOfObj* MessageToClient::mutable_obj_message(int index)
  8205. {
  8206. // @@protoc_insertion_point(field_mutable:protobuf.MessageToClient.obj_message)
  8207. return _impl_.obj_message_.Mutable(index);
  8208. }
  8209. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfObj>*
  8210. MessageToClient::mutable_obj_message()
  8211. {
  8212. // @@protoc_insertion_point(field_mutable_list:protobuf.MessageToClient.obj_message)
  8213. return &_impl_.obj_message_;
  8214. }
  8215. inline const ::protobuf::MessageOfObj& MessageToClient::_internal_obj_message(int index) const
  8216. {
  8217. return _impl_.obj_message_.Get(index);
  8218. }
  8219. inline const ::protobuf::MessageOfObj& MessageToClient::obj_message(int index) const
  8220. {
  8221. // @@protoc_insertion_point(field_get:protobuf.MessageToClient.obj_message)
  8222. return _internal_obj_message(index);
  8223. }
  8224. inline ::protobuf::MessageOfObj* MessageToClient::_internal_add_obj_message()
  8225. {
  8226. return _impl_.obj_message_.Add();
  8227. }
  8228. inline ::protobuf::MessageOfObj* MessageToClient::add_obj_message()
  8229. {
  8230. ::protobuf::MessageOfObj* _add = _internal_add_obj_message();
  8231. // @@protoc_insertion_point(field_add:protobuf.MessageToClient.obj_message)
  8232. return _add;
  8233. }
  8234. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfObj>&
  8235. MessageToClient::obj_message() const
  8236. {
  8237. // @@protoc_insertion_point(field_list:protobuf.MessageToClient.obj_message)
  8238. return _impl_.obj_message_;
  8239. }
  8240. // .protobuf.GameState game_state = 2;
  8241. inline void MessageToClient::clear_game_state()
  8242. {
  8243. _impl_.game_state_ = 0;
  8244. }
  8245. inline ::protobuf::GameState MessageToClient::_internal_game_state() const
  8246. {
  8247. return static_cast<::protobuf::GameState>(_impl_.game_state_);
  8248. }
  8249. inline ::protobuf::GameState MessageToClient::game_state() const
  8250. {
  8251. // @@protoc_insertion_point(field_get:protobuf.MessageToClient.game_state)
  8252. return _internal_game_state();
  8253. }
  8254. inline void MessageToClient::_internal_set_game_state(::protobuf::GameState value)
  8255. {
  8256. _impl_.game_state_ = value;
  8257. }
  8258. inline void MessageToClient::set_game_state(::protobuf::GameState value)
  8259. {
  8260. _internal_set_game_state(value);
  8261. // @@protoc_insertion_point(field_set:protobuf.MessageToClient.game_state)
  8262. }
  8263. // .protobuf.MessageOfAll all_message = 3;
  8264. inline bool MessageToClient::_internal_has_all_message() const
  8265. {
  8266. return this != internal_default_instance() && _impl_.all_message_ != nullptr;
  8267. }
  8268. inline bool MessageToClient::has_all_message() const
  8269. {
  8270. return _internal_has_all_message();
  8271. }
  8272. inline void MessageToClient::clear_all_message()
  8273. {
  8274. if (GetArenaForAllocation() == nullptr && _impl_.all_message_ != nullptr)
  8275. {
  8276. delete _impl_.all_message_;
  8277. }
  8278. _impl_.all_message_ = nullptr;
  8279. }
  8280. inline const ::protobuf::MessageOfAll& MessageToClient::_internal_all_message() const
  8281. {
  8282. const ::protobuf::MessageOfAll* p = _impl_.all_message_;
  8283. return p != nullptr ? *p : reinterpret_cast<const ::protobuf::MessageOfAll&>(::protobuf::_MessageOfAll_default_instance_);
  8284. }
  8285. inline const ::protobuf::MessageOfAll& MessageToClient::all_message() const
  8286. {
  8287. // @@protoc_insertion_point(field_get:protobuf.MessageToClient.all_message)
  8288. return _internal_all_message();
  8289. }
  8290. inline void MessageToClient::unsafe_arena_set_allocated_all_message(
  8291. ::protobuf::MessageOfAll* all_message
  8292. )
  8293. {
  8294. if (GetArenaForAllocation() == nullptr)
  8295. {
  8296. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.all_message_);
  8297. }
  8298. _impl_.all_message_ = all_message;
  8299. if (all_message)
  8300. {
  8301. }
  8302. else
  8303. {
  8304. }
  8305. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protobuf.MessageToClient.all_message)
  8306. }
  8307. inline ::protobuf::MessageOfAll* MessageToClient::release_all_message()
  8308. {
  8309. ::protobuf::MessageOfAll* temp = _impl_.all_message_;
  8310. _impl_.all_message_ = nullptr;
  8311. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  8312. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  8313. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  8314. if (GetArenaForAllocation() == nullptr)
  8315. {
  8316. delete old;
  8317. }
  8318. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  8319. if (GetArenaForAllocation() != nullptr)
  8320. {
  8321. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  8322. }
  8323. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  8324. return temp;
  8325. }
  8326. inline ::protobuf::MessageOfAll* MessageToClient::unsafe_arena_release_all_message()
  8327. {
  8328. // @@protoc_insertion_point(field_release:protobuf.MessageToClient.all_message)
  8329. ::protobuf::MessageOfAll* temp = _impl_.all_message_;
  8330. _impl_.all_message_ = nullptr;
  8331. return temp;
  8332. }
  8333. inline ::protobuf::MessageOfAll* MessageToClient::_internal_mutable_all_message()
  8334. {
  8335. if (_impl_.all_message_ == nullptr)
  8336. {
  8337. auto* p = CreateMaybeMessage<::protobuf::MessageOfAll>(GetArenaForAllocation());
  8338. _impl_.all_message_ = p;
  8339. }
  8340. return _impl_.all_message_;
  8341. }
  8342. inline ::protobuf::MessageOfAll* MessageToClient::mutable_all_message()
  8343. {
  8344. ::protobuf::MessageOfAll* _msg = _internal_mutable_all_message();
  8345. // @@protoc_insertion_point(field_mutable:protobuf.MessageToClient.all_message)
  8346. return _msg;
  8347. }
  8348. inline void MessageToClient::set_allocated_all_message(::protobuf::MessageOfAll* all_message)
  8349. {
  8350. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  8351. if (message_arena == nullptr)
  8352. {
  8353. delete _impl_.all_message_;
  8354. }
  8355. if (all_message)
  8356. {
  8357. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  8358. ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(all_message);
  8359. if (message_arena != submessage_arena)
  8360. {
  8361. all_message = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  8362. message_arena, all_message, submessage_arena
  8363. );
  8364. }
  8365. }
  8366. else
  8367. {
  8368. }
  8369. _impl_.all_message_ = all_message;
  8370. // @@protoc_insertion_point(field_set_allocated:protobuf.MessageToClient.all_message)
  8371. }
  8372. // -------------------------------------------------------------------
  8373. // MoveRes
  8374. // int64 actual_speed = 1;
  8375. inline void MoveRes::clear_actual_speed()
  8376. {
  8377. _impl_.actual_speed_ = int64_t{0};
  8378. }
  8379. inline int64_t MoveRes::_internal_actual_speed() const
  8380. {
  8381. return _impl_.actual_speed_;
  8382. }
  8383. inline int64_t MoveRes::actual_speed() const
  8384. {
  8385. // @@protoc_insertion_point(field_get:protobuf.MoveRes.actual_speed)
  8386. return _internal_actual_speed();
  8387. }
  8388. inline void MoveRes::_internal_set_actual_speed(int64_t value)
  8389. {
  8390. _impl_.actual_speed_ = value;
  8391. }
  8392. inline void MoveRes::set_actual_speed(int64_t value)
  8393. {
  8394. _internal_set_actual_speed(value);
  8395. // @@protoc_insertion_point(field_set:protobuf.MoveRes.actual_speed)
  8396. }
  8397. // double actual_angle = 2;
  8398. inline void MoveRes::clear_actual_angle()
  8399. {
  8400. _impl_.actual_angle_ = 0;
  8401. }
  8402. inline double MoveRes::_internal_actual_angle() const
  8403. {
  8404. return _impl_.actual_angle_;
  8405. }
  8406. inline double MoveRes::actual_angle() const
  8407. {
  8408. // @@protoc_insertion_point(field_get:protobuf.MoveRes.actual_angle)
  8409. return _internal_actual_angle();
  8410. }
  8411. inline void MoveRes::_internal_set_actual_angle(double value)
  8412. {
  8413. _impl_.actual_angle_ = value;
  8414. }
  8415. inline void MoveRes::set_actual_angle(double value)
  8416. {
  8417. _internal_set_actual_angle(value);
  8418. // @@protoc_insertion_point(field_set:protobuf.MoveRes.actual_angle)
  8419. }
  8420. // bool act_success = 3;
  8421. inline void MoveRes::clear_act_success()
  8422. {
  8423. _impl_.act_success_ = false;
  8424. }
  8425. inline bool MoveRes::_internal_act_success() const
  8426. {
  8427. return _impl_.act_success_;
  8428. }
  8429. inline bool MoveRes::act_success() const
  8430. {
  8431. // @@protoc_insertion_point(field_get:protobuf.MoveRes.act_success)
  8432. return _internal_act_success();
  8433. }
  8434. inline void MoveRes::_internal_set_act_success(bool value)
  8435. {
  8436. _impl_.act_success_ = value;
  8437. }
  8438. inline void MoveRes::set_act_success(bool value)
  8439. {
  8440. _internal_set_act_success(value);
  8441. // @@protoc_insertion_point(field_set:protobuf.MoveRes.act_success)
  8442. }
  8443. // -------------------------------------------------------------------
  8444. // BoolRes
  8445. // bool act_success = 1;
  8446. inline void BoolRes::clear_act_success()
  8447. {
  8448. _impl_.act_success_ = false;
  8449. }
  8450. inline bool BoolRes::_internal_act_success() const
  8451. {
  8452. return _impl_.act_success_;
  8453. }
  8454. inline bool BoolRes::act_success() const
  8455. {
  8456. // @@protoc_insertion_point(field_get:protobuf.BoolRes.act_success)
  8457. return _internal_act_success();
  8458. }
  8459. inline void BoolRes::_internal_set_act_success(bool value)
  8460. {
  8461. _impl_.act_success_ = value;
  8462. }
  8463. inline void BoolRes::set_act_success(bool value)
  8464. {
  8465. _internal_set_act_success(value);
  8466. // @@protoc_insertion_point(field_set:protobuf.BoolRes.act_success)
  8467. }
  8468. #ifdef __GNUC__
  8469. #pragma GCC diagnostic pop
  8470. #endif // __GNUC__
  8471. // -------------------------------------------------------------------
  8472. // -------------------------------------------------------------------
  8473. // -------------------------------------------------------------------
  8474. // -------------------------------------------------------------------
  8475. // -------------------------------------------------------------------
  8476. // -------------------------------------------------------------------
  8477. // -------------------------------------------------------------------
  8478. // -------------------------------------------------------------------
  8479. // -------------------------------------------------------------------
  8480. // -------------------------------------------------------------------
  8481. // -------------------------------------------------------------------
  8482. // -------------------------------------------------------------------
  8483. // -------------------------------------------------------------------
  8484. // -------------------------------------------------------------------
  8485. // -------------------------------------------------------------------
  8486. // -------------------------------------------------------------------
  8487. // -------------------------------------------------------------------
  8488. // -------------------------------------------------------------------
  8489. // @@protoc_insertion_point(namespace_scope)
  8490. } // namespace protobuf
  8491. // @@protoc_insertion_point(global_scope)
  8492. #include <google/protobuf/port_undef.inc>
  8493. #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_Message2Clients_2eproto