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

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