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

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