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

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