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

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