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

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