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

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