|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: Message2Clients.proto
-
- #ifndef GOOGLE_PROTOBUF_INCLUDED_Message2Clients_2eproto
- #define GOOGLE_PROTOBUF_INCLUDED_Message2Clients_2eproto
-
- #include <limits>
- #include <string>
-
- #include <google/protobuf/port_def.inc>
- #if PROTOBUF_VERSION < 3021000
- #error This file was generated by a newer version of protoc which is
- #error incompatible with your Protocol Buffer headers. Please update
- #error your headers.
- #endif
- #if 3021005 < PROTOBUF_MIN_PROTOC_VERSION
- #error This file was generated by an older version of protoc which is
- #error incompatible with your Protocol Buffer headers. Please
- #error regenerate this file with a newer version of protoc.
- #endif
-
- #include <google/protobuf/port_undef.inc>
- #include <google/protobuf/io/coded_stream.h>
- #include <google/protobuf/arena.h>
- #include <google/protobuf/arenastring.h>
- #include <google/protobuf/generated_message_util.h>
- #include <google/protobuf/metadata_lite.h>
- #include <google/protobuf/generated_message_reflection.h>
- #include <google/protobuf/message.h>
- #include <google/protobuf/repeated_field.h> // IWYU pragma: export
- #include <google/protobuf/extension_set.h> // IWYU pragma: export
- #include <google/protobuf/unknown_field_set.h>
- #include "MessageType.pb.h"
- // @@protoc_insertion_point(includes)
- #include <google/protobuf/port_def.inc>
- #define PROTOBUF_INTERNAL_EXPORT_Message2Clients_2eproto
- PROTOBUF_NAMESPACE_OPEN
- namespace internal
- {
- class AnyMetadata;
- } // namespace internal
- PROTOBUF_NAMESPACE_CLOSE
-
- // Internal implementation detail -- do not use these members.
- struct TableStruct_Message2Clients_2eproto
- {
- static const uint32_t offsets[];
- };
- extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_Message2Clients_2eproto;
- namespace protobuf
- {
- class BoolRes;
- struct BoolResDefaultTypeInternal;
- extern BoolResDefaultTypeInternal _BoolRes_default_instance_;
- class MessageOfAll;
- struct MessageOfAllDefaultTypeInternal;
- extern MessageOfAllDefaultTypeInternal _MessageOfAll_default_instance_;
- class MessageOfBombedBullet;
- struct MessageOfBombedBulletDefaultTypeInternal;
- extern MessageOfBombedBulletDefaultTypeInternal _MessageOfBombedBullet_default_instance_;
- class MessageOfBullet;
- struct MessageOfBulletDefaultTypeInternal;
- extern MessageOfBulletDefaultTypeInternal _MessageOfBullet_default_instance_;
- class MessageOfChest;
- struct MessageOfChestDefaultTypeInternal;
- extern MessageOfChestDefaultTypeInternal _MessageOfChest_default_instance_;
- class MessageOfClassroom;
- struct MessageOfClassroomDefaultTypeInternal;
- extern MessageOfClassroomDefaultTypeInternal _MessageOfClassroom_default_instance_;
- class MessageOfDoor;
- struct MessageOfDoorDefaultTypeInternal;
- extern MessageOfDoorDefaultTypeInternal _MessageOfDoor_default_instance_;
- class MessageOfGate;
- struct MessageOfGateDefaultTypeInternal;
- extern MessageOfGateDefaultTypeInternal _MessageOfGate_default_instance_;
- class MessageOfHiddenGate;
- struct MessageOfHiddenGateDefaultTypeInternal;
- extern MessageOfHiddenGateDefaultTypeInternal _MessageOfHiddenGate_default_instance_;
- class MessageOfMap;
- struct MessageOfMapDefaultTypeInternal;
- extern MessageOfMapDefaultTypeInternal _MessageOfMap_default_instance_;
- class MessageOfMap_Row;
- struct MessageOfMap_RowDefaultTypeInternal;
- extern MessageOfMap_RowDefaultTypeInternal _MessageOfMap_Row_default_instance_;
- class MessageOfNews;
- struct MessageOfNewsDefaultTypeInternal;
- extern MessageOfNewsDefaultTypeInternal _MessageOfNews_default_instance_;
- class MessageOfObj;
- struct MessageOfObjDefaultTypeInternal;
- extern MessageOfObjDefaultTypeInternal _MessageOfObj_default_instance_;
- class MessageOfPickedProp;
- struct MessageOfPickedPropDefaultTypeInternal;
- extern MessageOfPickedPropDefaultTypeInternal _MessageOfPickedProp_default_instance_;
- class MessageOfProp;
- struct MessageOfPropDefaultTypeInternal;
- extern MessageOfPropDefaultTypeInternal _MessageOfProp_default_instance_;
- class MessageOfStudent;
- struct MessageOfStudentDefaultTypeInternal;
- extern MessageOfStudentDefaultTypeInternal _MessageOfStudent_default_instance_;
- class MessageOfTricker;
- struct MessageOfTrickerDefaultTypeInternal;
- extern MessageOfTrickerDefaultTypeInternal _MessageOfTricker_default_instance_;
- class MessageToClient;
- struct MessageToClientDefaultTypeInternal;
- extern MessageToClientDefaultTypeInternal _MessageToClient_default_instance_;
- class MoveRes;
- struct MoveResDefaultTypeInternal;
- extern MoveResDefaultTypeInternal _MoveRes_default_instance_;
- } // namespace protobuf
- PROTOBUF_NAMESPACE_OPEN
- template<>
- ::protobuf::BoolRes* Arena::CreateMaybeMessage<::protobuf::BoolRes>(Arena*);
- template<>
- ::protobuf::MessageOfAll* Arena::CreateMaybeMessage<::protobuf::MessageOfAll>(Arena*);
- template<>
- ::protobuf::MessageOfBombedBullet* Arena::CreateMaybeMessage<::protobuf::MessageOfBombedBullet>(Arena*);
- template<>
- ::protobuf::MessageOfBullet* Arena::CreateMaybeMessage<::protobuf::MessageOfBullet>(Arena*);
- template<>
- ::protobuf::MessageOfChest* Arena::CreateMaybeMessage<::protobuf::MessageOfChest>(Arena*);
- template<>
- ::protobuf::MessageOfClassroom* Arena::CreateMaybeMessage<::protobuf::MessageOfClassroom>(Arena*);
- template<>
- ::protobuf::MessageOfDoor* Arena::CreateMaybeMessage<::protobuf::MessageOfDoor>(Arena*);
- template<>
- ::protobuf::MessageOfGate* Arena::CreateMaybeMessage<::protobuf::MessageOfGate>(Arena*);
- template<>
- ::protobuf::MessageOfHiddenGate* Arena::CreateMaybeMessage<::protobuf::MessageOfHiddenGate>(Arena*);
- template<>
- ::protobuf::MessageOfMap* Arena::CreateMaybeMessage<::protobuf::MessageOfMap>(Arena*);
- template<>
- ::protobuf::MessageOfMap_Row* Arena::CreateMaybeMessage<::protobuf::MessageOfMap_Row>(Arena*);
- template<>
- ::protobuf::MessageOfNews* Arena::CreateMaybeMessage<::protobuf::MessageOfNews>(Arena*);
- template<>
- ::protobuf::MessageOfObj* Arena::CreateMaybeMessage<::protobuf::MessageOfObj>(Arena*);
- template<>
- ::protobuf::MessageOfPickedProp* Arena::CreateMaybeMessage<::protobuf::MessageOfPickedProp>(Arena*);
- template<>
- ::protobuf::MessageOfProp* Arena::CreateMaybeMessage<::protobuf::MessageOfProp>(Arena*);
- template<>
- ::protobuf::MessageOfStudent* Arena::CreateMaybeMessage<::protobuf::MessageOfStudent>(Arena*);
- template<>
- ::protobuf::MessageOfTricker* Arena::CreateMaybeMessage<::protobuf::MessageOfTricker>(Arena*);
- template<>
- ::protobuf::MessageToClient* Arena::CreateMaybeMessage<::protobuf::MessageToClient>(Arena*);
- template<>
- ::protobuf::MoveRes* Arena::CreateMaybeMessage<::protobuf::MoveRes>(Arena*);
- PROTOBUF_NAMESPACE_CLOSE
- namespace protobuf
- {
-
- // ===================================================================
-
- class MessageOfStudent final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfStudent) */
- {
- public:
- inline MessageOfStudent() :
- MessageOfStudent(nullptr)
- {
- }
- ~MessageOfStudent() override;
- explicit PROTOBUF_CONSTEXPR MessageOfStudent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
-
- MessageOfStudent(const MessageOfStudent& from);
- MessageOfStudent(MessageOfStudent&& from) noexcept
- :
- MessageOfStudent()
- {
- *this = ::std::move(from);
- }
-
- inline MessageOfStudent& operator=(const MessageOfStudent& from)
- {
- CopyFrom(from);
- return *this;
- }
- inline MessageOfStudent& operator=(MessageOfStudent&& from) noexcept
- {
- if (this == &from)
- return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- )
- {
- InternalSwap(&from);
- }
- else
- {
- CopyFrom(from);
- }
- return *this;
- }
-
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
- {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
- {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
- {
- return default_instance().GetMetadata().reflection;
- }
- static const MessageOfStudent& default_instance()
- {
- return *internal_default_instance();
- }
- static inline const MessageOfStudent* internal_default_instance()
- {
- return reinterpret_cast<const MessageOfStudent*>(
- &_MessageOfStudent_default_instance_
- );
- }
- static constexpr int kIndexInFileMessages =
- 0;
-
- friend void swap(MessageOfStudent& a, MessageOfStudent& b)
- {
- a.Swap(&b);
- }
- inline void Swap(MessageOfStudent* other)
- {
- if (other == this)
- return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena())
- {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena())
- {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- }
- else
- {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(MessageOfStudent* other)
- {
- if (other == this)
- return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
-
- // implements Message ----------------------------------------------
-
- MessageOfStudent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
- {
- return CreateMaybeMessage<MessageOfStudent>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const MessageOfStudent& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const MessageOfStudent& from)
- {
- MessageOfStudent::MergeImpl(*this, from);
- }
-
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
-
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
-
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
- ) const final;
- int GetCachedSize() const final
- {
- return _impl_._cached_size_.Get();
- }
-
- private:
- void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(MessageOfStudent* other);
-
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
- {
- return "protobuf.MessageOfStudent";
- }
-
- protected:
- explicit MessageOfStudent(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
-
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
-
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
-
- // nested types ----------------------------------------------------
-
- // accessors -------------------------------------------------------
-
- enum : int
- {
- kTimeUntilSkillAvailableFieldNumber = 6,
- kPropFieldNumber = 8,
- kBuffFieldNumber = 25,
- kXFieldNumber = 1,
- kYFieldNumber = 2,
- kSpeedFieldNumber = 3,
- kDeterminationFieldNumber = 4,
- kAddictionFieldNumber = 5,
- kPlayerStateFieldNumber = 9,
- kGuidFieldNumber = 10,
- kBulletTypeFieldNumber = 12,
- kLearningSpeedFieldNumber = 13,
- kPlayerIdFieldNumber = 15,
- kTreatSpeedFieldNumber = 14,
- kViewRangeFieldNumber = 16,
- kRadiusFieldNumber = 17,
- kScoreFieldNumber = 20,
- kDangerAlertFieldNumber = 19,
- kTreatProgressFieldNumber = 21,
- kRescueProgressFieldNumber = 22,
- kFacingDirectionFieldNumber = 24,
- kStudentTypeFieldNumber = 23,
- };
- // repeated double time_until_skill_available = 6;
- int time_until_skill_available_size() const;
-
- private:
- int _internal_time_until_skill_available_size() const;
-
- public:
- void clear_time_until_skill_available();
-
- private:
- double _internal_time_until_skill_available(int index) const;
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField<double>&
- _internal_time_until_skill_available() const;
- void _internal_add_time_until_skill_available(double value);
- ::PROTOBUF_NAMESPACE_ID::RepeatedField<double>*
- _internal_mutable_time_until_skill_available();
-
- public:
- double time_until_skill_available(int index) const;
- void set_time_until_skill_available(int index, double value);
- void add_time_until_skill_available(double value);
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField<double>&
- time_until_skill_available() const;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField<double>*
- mutable_time_until_skill_available();
-
- // repeated .protobuf.PropType prop = 8;
- int prop_size() const;
-
- private:
- int _internal_prop_size() const;
-
- public:
- void clear_prop();
-
- private:
- ::protobuf::PropType _internal_prop(int index) const;
- void _internal_add_prop(::protobuf::PropType value);
- ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_prop();
-
- public:
- ::protobuf::PropType prop(int index) const;
- void set_prop(int index, ::protobuf::PropType value);
- void add_prop(::protobuf::PropType value);
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& prop() const;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_prop();
-
- // repeated .protobuf.StudentBuffType buff = 25;
- int buff_size() const;
-
- private:
- int _internal_buff_size() const;
-
- public:
- void clear_buff();
-
- private:
- ::protobuf::StudentBuffType _internal_buff(int index) const;
- void _internal_add_buff(::protobuf::StudentBuffType value);
- ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_buff();
-
- public:
- ::protobuf::StudentBuffType buff(int index) const;
- void set_buff(int index, ::protobuf::StudentBuffType value);
- void add_buff(::protobuf::StudentBuffType value);
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& buff() const;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_buff();
-
- // int32 x = 1;
- void clear_x();
- int32_t x() const;
- void set_x(int32_t value);
-
- private:
- int32_t _internal_x() const;
- void _internal_set_x(int32_t value);
-
- public:
- // int32 y = 2;
- void clear_y();
- int32_t y() const;
- void set_y(int32_t value);
-
- private:
- int32_t _internal_y() const;
- void _internal_set_y(int32_t value);
-
- public:
- // int32 speed = 3;
- void clear_speed();
- int32_t speed() const;
- void set_speed(int32_t value);
-
- private:
- int32_t _internal_speed() const;
- void _internal_set_speed(int32_t value);
-
- public:
- // int32 determination = 4;
- void clear_determination();
- int32_t determination() const;
- void set_determination(int32_t value);
-
- private:
- int32_t _internal_determination() const;
- void _internal_set_determination(int32_t value);
-
- public:
- // int32 addiction = 5;
- void clear_addiction();
- int32_t addiction() const;
- void set_addiction(int32_t value);
-
- private:
- int32_t _internal_addiction() const;
- void _internal_set_addiction(int32_t value);
-
- public:
- // .protobuf.PlayerState player_state = 9;
- void clear_player_state();
- ::protobuf::PlayerState player_state() const;
- void set_player_state(::protobuf::PlayerState value);
-
- private:
- ::protobuf::PlayerState _internal_player_state() const;
- void _internal_set_player_state(::protobuf::PlayerState value);
-
- public:
- // int64 guid = 10;
- void clear_guid();
- int64_t guid() const;
- void set_guid(int64_t value);
-
- private:
- int64_t _internal_guid() const;
- void _internal_set_guid(int64_t value);
-
- public:
- // .protobuf.BulletType bullet_type = 12;
- void clear_bullet_type();
- ::protobuf::BulletType bullet_type() const;
- void set_bullet_type(::protobuf::BulletType value);
-
- private:
- ::protobuf::BulletType _internal_bullet_type() const;
- void _internal_set_bullet_type(::protobuf::BulletType value);
-
- public:
- // int32 learning_speed = 13;
- void clear_learning_speed();
- int32_t learning_speed() const;
- void set_learning_speed(int32_t value);
-
- private:
- int32_t _internal_learning_speed() const;
- void _internal_set_learning_speed(int32_t value);
-
- public:
- // int64 player_id = 15;
- void clear_player_id();
- int64_t player_id() const;
- void set_player_id(int64_t value);
-
- private:
- int64_t _internal_player_id() const;
- void _internal_set_player_id(int64_t value);
-
- public:
- // int32 treat_speed = 14;
- void clear_treat_speed();
- int32_t treat_speed() const;
- void set_treat_speed(int32_t value);
-
- private:
- int32_t _internal_treat_speed() const;
- void _internal_set_treat_speed(int32_t value);
-
- public:
- // int32 view_range = 16;
- void clear_view_range();
- int32_t view_range() const;
- void set_view_range(int32_t value);
-
- private:
- int32_t _internal_view_range() const;
- void _internal_set_view_range(int32_t value);
-
- public:
- // int32 radius = 17;
- void clear_radius();
- int32_t radius() const;
- void set_radius(int32_t value);
-
- private:
- int32_t _internal_radius() const;
- void _internal_set_radius(int32_t value);
-
- public:
- // int32 score = 20;
- void clear_score();
- int32_t score() const;
- void set_score(int32_t value);
-
- private:
- int32_t _internal_score() const;
- void _internal_set_score(int32_t value);
-
- public:
- // double danger_alert = 19;
- void clear_danger_alert();
- double danger_alert() const;
- void set_danger_alert(double value);
-
- private:
- double _internal_danger_alert() const;
- void _internal_set_danger_alert(double value);
-
- public:
- // int32 treat_progress = 21;
- void clear_treat_progress();
- int32_t treat_progress() const;
- void set_treat_progress(int32_t value);
-
- private:
- int32_t _internal_treat_progress() const;
- void _internal_set_treat_progress(int32_t value);
-
- public:
- // int32 rescue_progress = 22;
- void clear_rescue_progress();
- int32_t rescue_progress() const;
- void set_rescue_progress(int32_t value);
-
- private:
- int32_t _internal_rescue_progress() const;
- void _internal_set_rescue_progress(int32_t value);
-
- public:
- // double facing_direction = 24;
- void clear_facing_direction();
- double facing_direction() const;
- void set_facing_direction(double value);
-
- private:
- double _internal_facing_direction() const;
- void _internal_set_facing_direction(double value);
-
- public:
- // .protobuf.StudentType student_type = 23;
- void clear_student_type();
- ::protobuf::StudentType student_type() const;
- void set_student_type(::protobuf::StudentType value);
-
- private:
- ::protobuf::StudentType _internal_student_type() const;
- void _internal_set_student_type(::protobuf::StudentType value);
-
- public:
- // @@protoc_insertion_point(class_scope:protobuf.MessageOfStudent)
-
- private:
- class _Internal;
-
- template<typename T>
- friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- struct Impl_
- {
- ::PROTOBUF_NAMESPACE_ID::RepeatedField<double> time_until_skill_available_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> prop_;
- mutable std::atomic<int> _prop_cached_byte_size_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> buff_;
- mutable std::atomic<int> _buff_cached_byte_size_;
- int32_t x_;
- int32_t y_;
- int32_t speed_;
- int32_t determination_;
- int32_t addiction_;
- int player_state_;
- int64_t guid_;
- int bullet_type_;
- int32_t learning_speed_;
- int64_t player_id_;
- int32_t treat_speed_;
- int32_t view_range_;
- int32_t radius_;
- int32_t score_;
- double danger_alert_;
- int32_t treat_progress_;
- int32_t rescue_progress_;
- double facing_direction_;
- int student_type_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- };
- union
- {
- Impl_ _impl_;
- };
- friend struct ::TableStruct_Message2Clients_2eproto;
- };
- // -------------------------------------------------------------------
-
- class MessageOfTricker final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfTricker) */
- {
- public:
- inline MessageOfTricker() :
- MessageOfTricker(nullptr)
- {
- }
- ~MessageOfTricker() override;
- explicit PROTOBUF_CONSTEXPR MessageOfTricker(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
-
- MessageOfTricker(const MessageOfTricker& from);
- MessageOfTricker(MessageOfTricker&& from) noexcept
- :
- MessageOfTricker()
- {
- *this = ::std::move(from);
- }
-
- inline MessageOfTricker& operator=(const MessageOfTricker& from)
- {
- CopyFrom(from);
- return *this;
- }
- inline MessageOfTricker& operator=(MessageOfTricker&& from) noexcept
- {
- if (this == &from)
- return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- )
- {
- InternalSwap(&from);
- }
- else
- {
- CopyFrom(from);
- }
- return *this;
- }
-
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
- {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
- {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
- {
- return default_instance().GetMetadata().reflection;
- }
- static const MessageOfTricker& default_instance()
- {
- return *internal_default_instance();
- }
- static inline const MessageOfTricker* internal_default_instance()
- {
- return reinterpret_cast<const MessageOfTricker*>(
- &_MessageOfTricker_default_instance_
- );
- }
- static constexpr int kIndexInFileMessages =
- 1;
-
- friend void swap(MessageOfTricker& a, MessageOfTricker& b)
- {
- a.Swap(&b);
- }
- inline void Swap(MessageOfTricker* other)
- {
- if (other == this)
- return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena())
- {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena())
- {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- }
- else
- {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(MessageOfTricker* other)
- {
- if (other == this)
- return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
-
- // implements Message ----------------------------------------------
-
- MessageOfTricker* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
- {
- return CreateMaybeMessage<MessageOfTricker>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const MessageOfTricker& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const MessageOfTricker& from)
- {
- MessageOfTricker::MergeImpl(*this, from);
- }
-
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
-
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
-
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
- ) const final;
- int GetCachedSize() const final
- {
- return _impl_._cached_size_.Get();
- }
-
- private:
- void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(MessageOfTricker* other);
-
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
- {
- return "protobuf.MessageOfTricker";
- }
-
- protected:
- explicit MessageOfTricker(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
-
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
-
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
-
- // nested types ----------------------------------------------------
-
- // accessors -------------------------------------------------------
-
- enum : int
- {
- kTimeUntilSkillAvailableFieldNumber = 5,
- kPropFieldNumber = 7,
- kBuffFieldNumber = 19,
- kXFieldNumber = 1,
- kYFieldNumber = 2,
- kSpeedFieldNumber = 3,
- kTrickerTypeFieldNumber = 8,
- kGuidFieldNumber = 9,
- kPlayerIdFieldNumber = 11,
- kScoreFieldNumber = 10,
- kViewRangeFieldNumber = 12,
- kRadiusFieldNumber = 13,
- kPlayerStateFieldNumber = 14,
- kTrickDesireFieldNumber = 15,
- kClassVolumeFieldNumber = 16,
- kFacingDirectionFieldNumber = 17,
- kBulletTypeFieldNumber = 18,
- };
- // repeated double time_until_skill_available = 5;
- int time_until_skill_available_size() const;
-
- private:
- int _internal_time_until_skill_available_size() const;
-
- public:
- void clear_time_until_skill_available();
-
- private:
- double _internal_time_until_skill_available(int index) const;
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField<double>&
- _internal_time_until_skill_available() const;
- void _internal_add_time_until_skill_available(double value);
- ::PROTOBUF_NAMESPACE_ID::RepeatedField<double>*
- _internal_mutable_time_until_skill_available();
-
- public:
- double time_until_skill_available(int index) const;
- void set_time_until_skill_available(int index, double value);
- void add_time_until_skill_available(double value);
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField<double>&
- time_until_skill_available() const;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField<double>*
- mutable_time_until_skill_available();
-
- // repeated .protobuf.PropType prop = 7;
- int prop_size() const;
-
- private:
- int _internal_prop_size() const;
-
- public:
- void clear_prop();
-
- private:
- ::protobuf::PropType _internal_prop(int index) const;
- void _internal_add_prop(::protobuf::PropType value);
- ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_prop();
-
- public:
- ::protobuf::PropType prop(int index) const;
- void set_prop(int index, ::protobuf::PropType value);
- void add_prop(::protobuf::PropType value);
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& prop() const;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_prop();
-
- // repeated .protobuf.TrickerBuffType buff = 19;
- int buff_size() const;
-
- private:
- int _internal_buff_size() const;
-
- public:
- void clear_buff();
-
- private:
- ::protobuf::TrickerBuffType _internal_buff(int index) const;
- void _internal_add_buff(::protobuf::TrickerBuffType value);
- ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_buff();
-
- public:
- ::protobuf::TrickerBuffType buff(int index) const;
- void set_buff(int index, ::protobuf::TrickerBuffType value);
- void add_buff(::protobuf::TrickerBuffType value);
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& buff() const;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_buff();
-
- // int32 x = 1;
- void clear_x();
- int32_t x() const;
- void set_x(int32_t value);
-
- private:
- int32_t _internal_x() const;
- void _internal_set_x(int32_t value);
-
- public:
- // int32 y = 2;
- void clear_y();
- int32_t y() const;
- void set_y(int32_t value);
-
- private:
- int32_t _internal_y() const;
- void _internal_set_y(int32_t value);
-
- public:
- // int32 speed = 3;
- void clear_speed();
- int32_t speed() const;
- void set_speed(int32_t value);
-
- private:
- int32_t _internal_speed() const;
- void _internal_set_speed(int32_t value);
-
- public:
- // .protobuf.TrickerType tricker_type = 8;
- void clear_tricker_type();
- ::protobuf::TrickerType tricker_type() const;
- void set_tricker_type(::protobuf::TrickerType value);
-
- private:
- ::protobuf::TrickerType _internal_tricker_type() const;
- void _internal_set_tricker_type(::protobuf::TrickerType value);
-
- public:
- // int64 guid = 9;
- void clear_guid();
- int64_t guid() const;
- void set_guid(int64_t value);
-
- private:
- int64_t _internal_guid() const;
- void _internal_set_guid(int64_t value);
-
- public:
- // int64 player_id = 11;
- void clear_player_id();
- int64_t player_id() const;
- void set_player_id(int64_t value);
-
- private:
- int64_t _internal_player_id() const;
- void _internal_set_player_id(int64_t value);
-
- public:
- // int32 score = 10;
- void clear_score();
- int32_t score() const;
- void set_score(int32_t value);
-
- private:
- int32_t _internal_score() const;
- void _internal_set_score(int32_t value);
-
- public:
- // int32 view_range = 12;
- void clear_view_range();
- int32_t view_range() const;
- void set_view_range(int32_t value);
-
- private:
- int32_t _internal_view_range() const;
- void _internal_set_view_range(int32_t value);
-
- public:
- // int32 radius = 13;
- void clear_radius();
- int32_t radius() const;
- void set_radius(int32_t value);
-
- private:
- int32_t _internal_radius() const;
- void _internal_set_radius(int32_t value);
-
- public:
- // .protobuf.PlayerState player_state = 14;
- void clear_player_state();
- ::protobuf::PlayerState player_state() const;
- void set_player_state(::protobuf::PlayerState value);
-
- private:
- ::protobuf::PlayerState _internal_player_state() const;
- void _internal_set_player_state(::protobuf::PlayerState value);
-
- public:
- // double trick_desire = 15;
- void clear_trick_desire();
- double trick_desire() const;
- void set_trick_desire(double value);
-
- private:
- double _internal_trick_desire() const;
- void _internal_set_trick_desire(double value);
-
- public:
- // double class_volume = 16;
- void clear_class_volume();
- double class_volume() const;
- void set_class_volume(double value);
-
- private:
- double _internal_class_volume() const;
- void _internal_set_class_volume(double value);
-
- public:
- // double facing_direction = 17;
- void clear_facing_direction();
- double facing_direction() const;
- void set_facing_direction(double value);
-
- private:
- double _internal_facing_direction() const;
- void _internal_set_facing_direction(double value);
-
- public:
- // .protobuf.BulletType bullet_type = 18;
- void clear_bullet_type();
- ::protobuf::BulletType bullet_type() const;
- void set_bullet_type(::protobuf::BulletType value);
-
- private:
- ::protobuf::BulletType _internal_bullet_type() const;
- void _internal_set_bullet_type(::protobuf::BulletType value);
-
- public:
- // @@protoc_insertion_point(class_scope:protobuf.MessageOfTricker)
-
- private:
- class _Internal;
-
- template<typename T>
- friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- struct Impl_
- {
- ::PROTOBUF_NAMESPACE_ID::RepeatedField<double> time_until_skill_available_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> prop_;
- mutable std::atomic<int> _prop_cached_byte_size_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> buff_;
- mutable std::atomic<int> _buff_cached_byte_size_;
- int32_t x_;
- int32_t y_;
- int32_t speed_;
- int tricker_type_;
- int64_t guid_;
- int64_t player_id_;
- int32_t score_;
- int32_t view_range_;
- int32_t radius_;
- int player_state_;
- double trick_desire_;
- double class_volume_;
- double facing_direction_;
- int bullet_type_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- };
- union
- {
- Impl_ _impl_;
- };
- friend struct ::TableStruct_Message2Clients_2eproto;
- };
- // -------------------------------------------------------------------
-
- class MessageOfBullet final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfBullet) */
- {
- public:
- inline MessageOfBullet() :
- MessageOfBullet(nullptr)
- {
- }
- ~MessageOfBullet() override;
- explicit PROTOBUF_CONSTEXPR MessageOfBullet(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
-
- MessageOfBullet(const MessageOfBullet& from);
- MessageOfBullet(MessageOfBullet&& from) noexcept
- :
- MessageOfBullet()
- {
- *this = ::std::move(from);
- }
-
- inline MessageOfBullet& operator=(const MessageOfBullet& from)
- {
- CopyFrom(from);
- return *this;
- }
- inline MessageOfBullet& operator=(MessageOfBullet&& from) noexcept
- {
- if (this == &from)
- return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- )
- {
- InternalSwap(&from);
- }
- else
- {
- CopyFrom(from);
- }
- return *this;
- }
-
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
- {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
- {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
- {
- return default_instance().GetMetadata().reflection;
- }
- static const MessageOfBullet& default_instance()
- {
- return *internal_default_instance();
- }
- static inline const MessageOfBullet* internal_default_instance()
- {
- return reinterpret_cast<const MessageOfBullet*>(
- &_MessageOfBullet_default_instance_
- );
- }
- static constexpr int kIndexInFileMessages =
- 2;
-
- friend void swap(MessageOfBullet& a, MessageOfBullet& b)
- {
- a.Swap(&b);
- }
- inline void Swap(MessageOfBullet* other)
- {
- if (other == this)
- return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena())
- {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena())
- {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- }
- else
- {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(MessageOfBullet* other)
- {
- if (other == this)
- return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
-
- // implements Message ----------------------------------------------
-
- MessageOfBullet* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
- {
- return CreateMaybeMessage<MessageOfBullet>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const MessageOfBullet& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const MessageOfBullet& from)
- {
- MessageOfBullet::MergeImpl(*this, from);
- }
-
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
-
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
-
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
- ) const final;
- int GetCachedSize() const final
- {
- return _impl_._cached_size_.Get();
- }
-
- private:
- void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(MessageOfBullet* other);
-
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
- {
- return "protobuf.MessageOfBullet";
- }
-
- protected:
- explicit MessageOfBullet(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
-
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
-
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
-
- // nested types ----------------------------------------------------
-
- // accessors -------------------------------------------------------
-
- enum : int
- {
- kTypeFieldNumber = 1,
- kXFieldNumber = 2,
- kFacingDirectionFieldNumber = 4,
- kYFieldNumber = 3,
- kTeamFieldNumber = 6,
- kGuidFieldNumber = 5,
- kBombRangeFieldNumber = 8,
- kSpeedFieldNumber = 9,
- };
- // .protobuf.BulletType type = 1;
- void clear_type();
- ::protobuf::BulletType type() const;
- void set_type(::protobuf::BulletType value);
-
- private:
- ::protobuf::BulletType _internal_type() const;
- void _internal_set_type(::protobuf::BulletType value);
-
- public:
- // int32 x = 2;
- void clear_x();
- int32_t x() const;
- void set_x(int32_t value);
-
- private:
- int32_t _internal_x() const;
- void _internal_set_x(int32_t value);
-
- public:
- // double facing_direction = 4;
- void clear_facing_direction();
- double facing_direction() const;
- void set_facing_direction(double value);
-
- private:
- double _internal_facing_direction() const;
- void _internal_set_facing_direction(double value);
-
- public:
- // int32 y = 3;
- void clear_y();
- int32_t y() const;
- void set_y(int32_t value);
-
- private:
- int32_t _internal_y() const;
- void _internal_set_y(int32_t value);
-
- public:
- // .protobuf.PlayerType team = 6;
- void clear_team();
- ::protobuf::PlayerType team() const;
- void set_team(::protobuf::PlayerType value);
-
- private:
- ::protobuf::PlayerType _internal_team() const;
- void _internal_set_team(::protobuf::PlayerType value);
-
- public:
- // int64 guid = 5;
- void clear_guid();
- int64_t guid() const;
- void set_guid(int64_t value);
-
- private:
- int64_t _internal_guid() const;
- void _internal_set_guid(int64_t value);
-
- public:
- // double bomb_range = 8;
- void clear_bomb_range();
- double bomb_range() const;
- void set_bomb_range(double value);
-
- private:
- double _internal_bomb_range() const;
- void _internal_set_bomb_range(double value);
-
- public:
- // int32 speed = 9;
- void clear_speed();
- int32_t speed() const;
- void set_speed(int32_t value);
-
- private:
- int32_t _internal_speed() const;
- void _internal_set_speed(int32_t value);
-
- public:
- // @@protoc_insertion_point(class_scope:protobuf.MessageOfBullet)
-
- private:
- class _Internal;
-
- template<typename T>
- friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- struct Impl_
- {
- int type_;
- int32_t x_;
- double facing_direction_;
- int32_t y_;
- int team_;
- int64_t guid_;
- double bomb_range_;
- int32_t speed_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- };
- union
- {
- Impl_ _impl_;
- };
- friend struct ::TableStruct_Message2Clients_2eproto;
- };
- // -------------------------------------------------------------------
-
- class MessageOfBombedBullet final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfBombedBullet) */
- {
- public:
- inline MessageOfBombedBullet() :
- MessageOfBombedBullet(nullptr)
- {
- }
- ~MessageOfBombedBullet() override;
- explicit PROTOBUF_CONSTEXPR MessageOfBombedBullet(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
-
- MessageOfBombedBullet(const MessageOfBombedBullet& from);
- MessageOfBombedBullet(MessageOfBombedBullet&& from) noexcept
- :
- MessageOfBombedBullet()
- {
- *this = ::std::move(from);
- }
-
- inline MessageOfBombedBullet& operator=(const MessageOfBombedBullet& from)
- {
- CopyFrom(from);
- return *this;
- }
- inline MessageOfBombedBullet& operator=(MessageOfBombedBullet&& from) noexcept
- {
- if (this == &from)
- return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- )
- {
- InternalSwap(&from);
- }
- else
- {
- CopyFrom(from);
- }
- return *this;
- }
-
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
- {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
- {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
- {
- return default_instance().GetMetadata().reflection;
- }
- static const MessageOfBombedBullet& default_instance()
- {
- return *internal_default_instance();
- }
- static inline const MessageOfBombedBullet* internal_default_instance()
- {
- return reinterpret_cast<const MessageOfBombedBullet*>(
- &_MessageOfBombedBullet_default_instance_
- );
- }
- static constexpr int kIndexInFileMessages =
- 3;
-
- friend void swap(MessageOfBombedBullet& a, MessageOfBombedBullet& b)
- {
- a.Swap(&b);
- }
- inline void Swap(MessageOfBombedBullet* other)
- {
- if (other == this)
- return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena())
- {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena())
- {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- }
- else
- {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(MessageOfBombedBullet* other)
- {
- if (other == this)
- return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
-
- // implements Message ----------------------------------------------
-
- MessageOfBombedBullet* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
- {
- return CreateMaybeMessage<MessageOfBombedBullet>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const MessageOfBombedBullet& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const MessageOfBombedBullet& from)
- {
- MessageOfBombedBullet::MergeImpl(*this, from);
- }
-
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
-
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
-
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
- ) const final;
- int GetCachedSize() const final
- {
- return _impl_._cached_size_.Get();
- }
-
- private:
- void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(MessageOfBombedBullet* other);
-
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
- {
- return "protobuf.MessageOfBombedBullet";
- }
-
- protected:
- explicit MessageOfBombedBullet(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
-
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
-
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
-
- // nested types ----------------------------------------------------
-
- // accessors -------------------------------------------------------
-
- enum : int
- {
- kTypeFieldNumber = 1,
- kXFieldNumber = 2,
- kFacingDirectionFieldNumber = 4,
- kMappingIdFieldNumber = 5,
- kBombRangeFieldNumber = 6,
- kYFieldNumber = 3,
- };
- // .protobuf.BulletType type = 1;
- void clear_type();
- ::protobuf::BulletType type() const;
- void set_type(::protobuf::BulletType value);
-
- private:
- ::protobuf::BulletType _internal_type() const;
- void _internal_set_type(::protobuf::BulletType value);
-
- public:
- // int32 x = 2;
- void clear_x();
- int32_t x() const;
- void set_x(int32_t value);
-
- private:
- int32_t _internal_x() const;
- void _internal_set_x(int32_t value);
-
- public:
- // double facing_direction = 4;
- void clear_facing_direction();
- double facing_direction() const;
- void set_facing_direction(double value);
-
- private:
- double _internal_facing_direction() const;
- void _internal_set_facing_direction(double value);
-
- public:
- // int64 mapping_id = 5;
- void clear_mapping_id();
- int64_t mapping_id() const;
- void set_mapping_id(int64_t value);
-
- private:
- int64_t _internal_mapping_id() const;
- void _internal_set_mapping_id(int64_t value);
-
- public:
- // double bomb_range = 6;
- void clear_bomb_range();
- double bomb_range() const;
- void set_bomb_range(double value);
-
- private:
- double _internal_bomb_range() const;
- void _internal_set_bomb_range(double value);
-
- public:
- // int32 y = 3;
- void clear_y();
- int32_t y() const;
- void set_y(int32_t value);
-
- private:
- int32_t _internal_y() const;
- void _internal_set_y(int32_t value);
-
- public:
- // @@protoc_insertion_point(class_scope:protobuf.MessageOfBombedBullet)
-
- private:
- class _Internal;
-
- template<typename T>
- friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- struct Impl_
- {
- int type_;
- int32_t x_;
- double facing_direction_;
- int64_t mapping_id_;
- double bomb_range_;
- int32_t y_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- };
- union
- {
- Impl_ _impl_;
- };
- friend struct ::TableStruct_Message2Clients_2eproto;
- };
- // -------------------------------------------------------------------
-
- class MessageOfProp final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfProp) */
- {
- public:
- inline MessageOfProp() :
- MessageOfProp(nullptr)
- {
- }
- ~MessageOfProp() override;
- explicit PROTOBUF_CONSTEXPR MessageOfProp(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
-
- MessageOfProp(const MessageOfProp& from);
- MessageOfProp(MessageOfProp&& from) noexcept
- :
- MessageOfProp()
- {
- *this = ::std::move(from);
- }
-
- inline MessageOfProp& operator=(const MessageOfProp& from)
- {
- CopyFrom(from);
- return *this;
- }
- inline MessageOfProp& operator=(MessageOfProp&& from) noexcept
- {
- if (this == &from)
- return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- )
- {
- InternalSwap(&from);
- }
- else
- {
- CopyFrom(from);
- }
- return *this;
- }
-
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
- {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
- {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
- {
- return default_instance().GetMetadata().reflection;
- }
- static const MessageOfProp& default_instance()
- {
- return *internal_default_instance();
- }
- static inline const MessageOfProp* internal_default_instance()
- {
- return reinterpret_cast<const MessageOfProp*>(
- &_MessageOfProp_default_instance_
- );
- }
- static constexpr int kIndexInFileMessages =
- 4;
-
- friend void swap(MessageOfProp& a, MessageOfProp& b)
- {
- a.Swap(&b);
- }
- inline void Swap(MessageOfProp* other)
- {
- if (other == this)
- return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena())
- {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena())
- {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- }
- else
- {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(MessageOfProp* other)
- {
- if (other == this)
- return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
-
- // implements Message ----------------------------------------------
-
- MessageOfProp* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
- {
- return CreateMaybeMessage<MessageOfProp>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const MessageOfProp& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const MessageOfProp& from)
- {
- MessageOfProp::MergeImpl(*this, from);
- }
-
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
-
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
-
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
- ) const final;
- int GetCachedSize() const final
- {
- return _impl_._cached_size_.Get();
- }
-
- private:
- void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(MessageOfProp* other);
-
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
- {
- return "protobuf.MessageOfProp";
- }
-
- protected:
- explicit MessageOfProp(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
-
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
-
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
-
- // nested types ----------------------------------------------------
-
- // accessors -------------------------------------------------------
-
- enum : int
- {
- kTypeFieldNumber = 1,
- kXFieldNumber = 2,
- kFacingDirectionFieldNumber = 4,
- kGuidFieldNumber = 5,
- kYFieldNumber = 3,
- };
- // .protobuf.PropType type = 1;
- void clear_type();
- ::protobuf::PropType type() const;
- void set_type(::protobuf::PropType value);
-
- private:
- ::protobuf::PropType _internal_type() const;
- void _internal_set_type(::protobuf::PropType value);
-
- public:
- // int32 x = 2;
- void clear_x();
- int32_t x() const;
- void set_x(int32_t value);
-
- private:
- int32_t _internal_x() const;
- void _internal_set_x(int32_t value);
-
- public:
- // double facing_direction = 4;
- void clear_facing_direction();
- double facing_direction() const;
- void set_facing_direction(double value);
-
- private:
- double _internal_facing_direction() const;
- void _internal_set_facing_direction(double value);
-
- public:
- // int64 guid = 5;
- void clear_guid();
- int64_t guid() const;
- void set_guid(int64_t value);
-
- private:
- int64_t _internal_guid() const;
- void _internal_set_guid(int64_t value);
-
- public:
- // int32 y = 3;
- void clear_y();
- int32_t y() const;
- void set_y(int32_t value);
-
- private:
- int32_t _internal_y() const;
- void _internal_set_y(int32_t value);
-
- public:
- // @@protoc_insertion_point(class_scope:protobuf.MessageOfProp)
-
- private:
- class _Internal;
-
- template<typename T>
- friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- struct Impl_
- {
- int type_;
- int32_t x_;
- double facing_direction_;
- int64_t guid_;
- int32_t y_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- };
- union
- {
- Impl_ _impl_;
- };
- friend struct ::TableStruct_Message2Clients_2eproto;
- };
- // -------------------------------------------------------------------
-
- class MessageOfPickedProp final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfPickedProp) */
- {
- public:
- inline MessageOfPickedProp() :
- MessageOfPickedProp(nullptr)
- {
- }
- ~MessageOfPickedProp() override;
- explicit PROTOBUF_CONSTEXPR MessageOfPickedProp(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
-
- MessageOfPickedProp(const MessageOfPickedProp& from);
- MessageOfPickedProp(MessageOfPickedProp&& from) noexcept
- :
- MessageOfPickedProp()
- {
- *this = ::std::move(from);
- }
-
- inline MessageOfPickedProp& operator=(const MessageOfPickedProp& from)
- {
- CopyFrom(from);
- return *this;
- }
- inline MessageOfPickedProp& operator=(MessageOfPickedProp&& from) noexcept
- {
- if (this == &from)
- return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- )
- {
- InternalSwap(&from);
- }
- else
- {
- CopyFrom(from);
- }
- return *this;
- }
-
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
- {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
- {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
- {
- return default_instance().GetMetadata().reflection;
- }
- static const MessageOfPickedProp& default_instance()
- {
- return *internal_default_instance();
- }
- static inline const MessageOfPickedProp* internal_default_instance()
- {
- return reinterpret_cast<const MessageOfPickedProp*>(
- &_MessageOfPickedProp_default_instance_
- );
- }
- static constexpr int kIndexInFileMessages =
- 5;
-
- friend void swap(MessageOfPickedProp& a, MessageOfPickedProp& b)
- {
- a.Swap(&b);
- }
- inline void Swap(MessageOfPickedProp* other)
- {
- if (other == this)
- return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena())
- {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena())
- {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- }
- else
- {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(MessageOfPickedProp* other)
- {
- if (other == this)
- return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
-
- // implements Message ----------------------------------------------
-
- MessageOfPickedProp* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
- {
- return CreateMaybeMessage<MessageOfPickedProp>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const MessageOfPickedProp& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const MessageOfPickedProp& from)
- {
- MessageOfPickedProp::MergeImpl(*this, from);
- }
-
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
-
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
-
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
- ) const final;
- int GetCachedSize() const final
- {
- return _impl_._cached_size_.Get();
- }
-
- private:
- void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(MessageOfPickedProp* other);
-
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
- {
- return "protobuf.MessageOfPickedProp";
- }
-
- protected:
- explicit MessageOfPickedProp(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
-
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
-
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
-
- // nested types ----------------------------------------------------
-
- // accessors -------------------------------------------------------
-
- enum : int
- {
- kTypeFieldNumber = 1,
- kXFieldNumber = 2,
- kFacingDirectionFieldNumber = 4,
- kMappingIdFieldNumber = 5,
- kYFieldNumber = 3,
- };
- // .protobuf.PropType type = 1;
- void clear_type();
- ::protobuf::PropType type() const;
- void set_type(::protobuf::PropType value);
-
- private:
- ::protobuf::PropType _internal_type() const;
- void _internal_set_type(::protobuf::PropType value);
-
- public:
- // int32 x = 2;
- void clear_x();
- int32_t x() const;
- void set_x(int32_t value);
-
- private:
- int32_t _internal_x() const;
- void _internal_set_x(int32_t value);
-
- public:
- // double facing_direction = 4;
- void clear_facing_direction();
- double facing_direction() const;
- void set_facing_direction(double value);
-
- private:
- double _internal_facing_direction() const;
- void _internal_set_facing_direction(double value);
-
- public:
- // int64 mapping_id = 5;
- void clear_mapping_id();
- int64_t mapping_id() const;
- void set_mapping_id(int64_t value);
-
- private:
- int64_t _internal_mapping_id() const;
- void _internal_set_mapping_id(int64_t value);
-
- public:
- // int32 y = 3;
- void clear_y();
- int32_t y() const;
- void set_y(int32_t value);
-
- private:
- int32_t _internal_y() const;
- void _internal_set_y(int32_t value);
-
- public:
- // @@protoc_insertion_point(class_scope:protobuf.MessageOfPickedProp)
-
- private:
- class _Internal;
-
- template<typename T>
- friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- struct Impl_
- {
- int type_;
- int32_t x_;
- double facing_direction_;
- int64_t mapping_id_;
- int32_t y_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- };
- union
- {
- Impl_ _impl_;
- };
- friend struct ::TableStruct_Message2Clients_2eproto;
- };
- // -------------------------------------------------------------------
-
- class MessageOfClassroom final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfClassroom) */
- {
- public:
- inline MessageOfClassroom() :
- MessageOfClassroom(nullptr)
- {
- }
- ~MessageOfClassroom() override;
- explicit PROTOBUF_CONSTEXPR MessageOfClassroom(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
-
- MessageOfClassroom(const MessageOfClassroom& from);
- MessageOfClassroom(MessageOfClassroom&& from) noexcept
- :
- MessageOfClassroom()
- {
- *this = ::std::move(from);
- }
-
- inline MessageOfClassroom& operator=(const MessageOfClassroom& from)
- {
- CopyFrom(from);
- return *this;
- }
- inline MessageOfClassroom& operator=(MessageOfClassroom&& from) noexcept
- {
- if (this == &from)
- return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- )
- {
- InternalSwap(&from);
- }
- else
- {
- CopyFrom(from);
- }
- return *this;
- }
-
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
- {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
- {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
- {
- return default_instance().GetMetadata().reflection;
- }
- static const MessageOfClassroom& default_instance()
- {
- return *internal_default_instance();
- }
- static inline const MessageOfClassroom* internal_default_instance()
- {
- return reinterpret_cast<const MessageOfClassroom*>(
- &_MessageOfClassroom_default_instance_
- );
- }
- static constexpr int kIndexInFileMessages =
- 6;
-
- friend void swap(MessageOfClassroom& a, MessageOfClassroom& b)
- {
- a.Swap(&b);
- }
- inline void Swap(MessageOfClassroom* other)
- {
- if (other == this)
- return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena())
- {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena())
- {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- }
- else
- {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(MessageOfClassroom* other)
- {
- if (other == this)
- return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
-
- // implements Message ----------------------------------------------
-
- MessageOfClassroom* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
- {
- return CreateMaybeMessage<MessageOfClassroom>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const MessageOfClassroom& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const MessageOfClassroom& from)
- {
- MessageOfClassroom::MergeImpl(*this, from);
- }
-
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
-
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
-
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
- ) const final;
- int GetCachedSize() const final
- {
- return _impl_._cached_size_.Get();
- }
-
- private:
- void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(MessageOfClassroom* other);
-
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
- {
- return "protobuf.MessageOfClassroom";
- }
-
- protected:
- explicit MessageOfClassroom(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
-
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
-
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
-
- // nested types ----------------------------------------------------
-
- // accessors -------------------------------------------------------
-
- enum : int
- {
- kXFieldNumber = 1,
- kYFieldNumber = 2,
- kProgressFieldNumber = 3,
- };
- // int32 x = 1;
- void clear_x();
- int32_t x() const;
- void set_x(int32_t value);
-
- private:
- int32_t _internal_x() const;
- void _internal_set_x(int32_t value);
-
- public:
- // int32 y = 2;
- void clear_y();
- int32_t y() const;
- void set_y(int32_t value);
-
- private:
- int32_t _internal_y() const;
- void _internal_set_y(int32_t value);
-
- public:
- // int32 progress = 3;
- void clear_progress();
- int32_t progress() const;
- void set_progress(int32_t value);
-
- private:
- int32_t _internal_progress() const;
- void _internal_set_progress(int32_t value);
-
- public:
- // @@protoc_insertion_point(class_scope:protobuf.MessageOfClassroom)
-
- private:
- class _Internal;
-
- template<typename T>
- friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- struct Impl_
- {
- int32_t x_;
- int32_t y_;
- int32_t progress_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- };
- union
- {
- Impl_ _impl_;
- };
- friend struct ::TableStruct_Message2Clients_2eproto;
- };
- // -------------------------------------------------------------------
-
- class MessageOfGate final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfGate) */
- {
- public:
- inline MessageOfGate() :
- MessageOfGate(nullptr)
- {
- }
- ~MessageOfGate() override;
- explicit PROTOBUF_CONSTEXPR MessageOfGate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
-
- MessageOfGate(const MessageOfGate& from);
- MessageOfGate(MessageOfGate&& from) noexcept
- :
- MessageOfGate()
- {
- *this = ::std::move(from);
- }
-
- inline MessageOfGate& operator=(const MessageOfGate& from)
- {
- CopyFrom(from);
- return *this;
- }
- inline MessageOfGate& operator=(MessageOfGate&& from) noexcept
- {
- if (this == &from)
- return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- )
- {
- InternalSwap(&from);
- }
- else
- {
- CopyFrom(from);
- }
- return *this;
- }
-
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
- {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
- {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
- {
- return default_instance().GetMetadata().reflection;
- }
- static const MessageOfGate& default_instance()
- {
- return *internal_default_instance();
- }
- static inline const MessageOfGate* internal_default_instance()
- {
- return reinterpret_cast<const MessageOfGate*>(
- &_MessageOfGate_default_instance_
- );
- }
- static constexpr int kIndexInFileMessages =
- 7;
-
- friend void swap(MessageOfGate& a, MessageOfGate& b)
- {
- a.Swap(&b);
- }
- inline void Swap(MessageOfGate* other)
- {
- if (other == this)
- return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena())
- {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena())
- {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- }
- else
- {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(MessageOfGate* other)
- {
- if (other == this)
- return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
-
- // implements Message ----------------------------------------------
-
- MessageOfGate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
- {
- return CreateMaybeMessage<MessageOfGate>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const MessageOfGate& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const MessageOfGate& from)
- {
- MessageOfGate::MergeImpl(*this, from);
- }
-
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
-
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
-
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
- ) const final;
- int GetCachedSize() const final
- {
- return _impl_._cached_size_.Get();
- }
-
- private:
- void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(MessageOfGate* other);
-
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
- {
- return "protobuf.MessageOfGate";
- }
-
- protected:
- explicit MessageOfGate(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
-
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
-
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
-
- // nested types ----------------------------------------------------
-
- // accessors -------------------------------------------------------
-
- enum : int
- {
- kXFieldNumber = 1,
- kYFieldNumber = 2,
- kProgressFieldNumber = 3,
- };
- // int32 x = 1;
- void clear_x();
- int32_t x() const;
- void set_x(int32_t value);
-
- private:
- int32_t _internal_x() const;
- void _internal_set_x(int32_t value);
-
- public:
- // int32 y = 2;
- void clear_y();
- int32_t y() const;
- void set_y(int32_t value);
-
- private:
- int32_t _internal_y() const;
- void _internal_set_y(int32_t value);
-
- public:
- // int32 progress = 3;
- void clear_progress();
- int32_t progress() const;
- void set_progress(int32_t value);
-
- private:
- int32_t _internal_progress() const;
- void _internal_set_progress(int32_t value);
-
- public:
- // @@protoc_insertion_point(class_scope:protobuf.MessageOfGate)
-
- private:
- class _Internal;
-
- template<typename T>
- friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- struct Impl_
- {
- int32_t x_;
- int32_t y_;
- int32_t progress_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- };
- union
- {
- Impl_ _impl_;
- };
- friend struct ::TableStruct_Message2Clients_2eproto;
- };
- // -------------------------------------------------------------------
-
- class MessageOfHiddenGate final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfHiddenGate) */
- {
- public:
- inline MessageOfHiddenGate() :
- MessageOfHiddenGate(nullptr)
- {
- }
- ~MessageOfHiddenGate() override;
- explicit PROTOBUF_CONSTEXPR MessageOfHiddenGate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
-
- MessageOfHiddenGate(const MessageOfHiddenGate& from);
- MessageOfHiddenGate(MessageOfHiddenGate&& from) noexcept
- :
- MessageOfHiddenGate()
- {
- *this = ::std::move(from);
- }
-
- inline MessageOfHiddenGate& operator=(const MessageOfHiddenGate& from)
- {
- CopyFrom(from);
- return *this;
- }
- inline MessageOfHiddenGate& operator=(MessageOfHiddenGate&& from) noexcept
- {
- if (this == &from)
- return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- )
- {
- InternalSwap(&from);
- }
- else
- {
- CopyFrom(from);
- }
- return *this;
- }
-
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
- {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
- {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
- {
- return default_instance().GetMetadata().reflection;
- }
- static const MessageOfHiddenGate& default_instance()
- {
- return *internal_default_instance();
- }
- static inline const MessageOfHiddenGate* internal_default_instance()
- {
- return reinterpret_cast<const MessageOfHiddenGate*>(
- &_MessageOfHiddenGate_default_instance_
- );
- }
- static constexpr int kIndexInFileMessages =
- 8;
-
- friend void swap(MessageOfHiddenGate& a, MessageOfHiddenGate& b)
- {
- a.Swap(&b);
- }
- inline void Swap(MessageOfHiddenGate* other)
- {
- if (other == this)
- return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena())
- {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena())
- {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- }
- else
- {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(MessageOfHiddenGate* other)
- {
- if (other == this)
- return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
-
- // implements Message ----------------------------------------------
-
- MessageOfHiddenGate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
- {
- return CreateMaybeMessage<MessageOfHiddenGate>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const MessageOfHiddenGate& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const MessageOfHiddenGate& from)
- {
- MessageOfHiddenGate::MergeImpl(*this, from);
- }
-
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
-
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
-
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
- ) const final;
- int GetCachedSize() const final
- {
- return _impl_._cached_size_.Get();
- }
-
- private:
- void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(MessageOfHiddenGate* other);
-
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
- {
- return "protobuf.MessageOfHiddenGate";
- }
-
- protected:
- explicit MessageOfHiddenGate(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
-
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
-
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
-
- // nested types ----------------------------------------------------
-
- // accessors -------------------------------------------------------
-
- enum : int
- {
- kXFieldNumber = 1,
- kYFieldNumber = 2,
- kOpenedFieldNumber = 3,
- };
- // int32 x = 1;
- void clear_x();
- int32_t x() const;
- void set_x(int32_t value);
-
- private:
- int32_t _internal_x() const;
- void _internal_set_x(int32_t value);
-
- public:
- // int32 y = 2;
- void clear_y();
- int32_t y() const;
- void set_y(int32_t value);
-
- private:
- int32_t _internal_y() const;
- void _internal_set_y(int32_t value);
-
- public:
- // bool opened = 3;
- void clear_opened();
- bool opened() const;
- void set_opened(bool value);
-
- private:
- bool _internal_opened() const;
- void _internal_set_opened(bool value);
-
- public:
- // @@protoc_insertion_point(class_scope:protobuf.MessageOfHiddenGate)
-
- private:
- class _Internal;
-
- template<typename T>
- friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- struct Impl_
- {
- int32_t x_;
- int32_t y_;
- bool opened_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- };
- union
- {
- Impl_ _impl_;
- };
- friend struct ::TableStruct_Message2Clients_2eproto;
- };
- // -------------------------------------------------------------------
-
- class MessageOfDoor final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfDoor) */
- {
- public:
- inline MessageOfDoor() :
- MessageOfDoor(nullptr)
- {
- }
- ~MessageOfDoor() override;
- explicit PROTOBUF_CONSTEXPR MessageOfDoor(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
-
- MessageOfDoor(const MessageOfDoor& from);
- MessageOfDoor(MessageOfDoor&& from) noexcept
- :
- MessageOfDoor()
- {
- *this = ::std::move(from);
- }
-
- inline MessageOfDoor& operator=(const MessageOfDoor& from)
- {
- CopyFrom(from);
- return *this;
- }
- inline MessageOfDoor& operator=(MessageOfDoor&& from) noexcept
- {
- if (this == &from)
- return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- )
- {
- InternalSwap(&from);
- }
- else
- {
- CopyFrom(from);
- }
- return *this;
- }
-
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
- {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
- {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
- {
- return default_instance().GetMetadata().reflection;
- }
- static const MessageOfDoor& default_instance()
- {
- return *internal_default_instance();
- }
- static inline const MessageOfDoor* internal_default_instance()
- {
- return reinterpret_cast<const MessageOfDoor*>(
- &_MessageOfDoor_default_instance_
- );
- }
- static constexpr int kIndexInFileMessages =
- 9;
-
- friend void swap(MessageOfDoor& a, MessageOfDoor& b)
- {
- a.Swap(&b);
- }
- inline void Swap(MessageOfDoor* other)
- {
- if (other == this)
- return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena())
- {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena())
- {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- }
- else
- {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(MessageOfDoor* other)
- {
- if (other == this)
- return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
-
- // implements Message ----------------------------------------------
-
- MessageOfDoor* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
- {
- return CreateMaybeMessage<MessageOfDoor>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const MessageOfDoor& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const MessageOfDoor& from)
- {
- MessageOfDoor::MergeImpl(*this, from);
- }
-
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
-
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
-
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
- ) const final;
- int GetCachedSize() const final
- {
- return _impl_._cached_size_.Get();
- }
-
- private:
- void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(MessageOfDoor* other);
-
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
- {
- return "protobuf.MessageOfDoor";
- }
-
- protected:
- explicit MessageOfDoor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
-
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
-
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
-
- // nested types ----------------------------------------------------
-
- // accessors -------------------------------------------------------
-
- enum : int
- {
- kXFieldNumber = 1,
- kYFieldNumber = 2,
- kIsOpenFieldNumber = 3,
- kProgressFieldNumber = 4,
- };
- // int32 x = 1;
- void clear_x();
- int32_t x() const;
- void set_x(int32_t value);
-
- private:
- int32_t _internal_x() const;
- void _internal_set_x(int32_t value);
-
- public:
- // int32 y = 2;
- void clear_y();
- int32_t y() const;
- void set_y(int32_t value);
-
- private:
- int32_t _internal_y() const;
- void _internal_set_y(int32_t value);
-
- public:
- // bool is_open = 3;
- void clear_is_open();
- bool is_open() const;
- void set_is_open(bool value);
-
- private:
- bool _internal_is_open() const;
- void _internal_set_is_open(bool value);
-
- public:
- // int32 progress = 4;
- void clear_progress();
- int32_t progress() const;
- void set_progress(int32_t value);
-
- private:
- int32_t _internal_progress() const;
- void _internal_set_progress(int32_t value);
-
- public:
- // @@protoc_insertion_point(class_scope:protobuf.MessageOfDoor)
-
- private:
- class _Internal;
-
- template<typename T>
- friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- struct Impl_
- {
- int32_t x_;
- int32_t y_;
- bool is_open_;
- int32_t progress_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- };
- union
- {
- Impl_ _impl_;
- };
- friend struct ::TableStruct_Message2Clients_2eproto;
- };
- // -------------------------------------------------------------------
-
- class MessageOfChest final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfChest) */
- {
- public:
- inline MessageOfChest() :
- MessageOfChest(nullptr)
- {
- }
- ~MessageOfChest() override;
- explicit PROTOBUF_CONSTEXPR MessageOfChest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
-
- MessageOfChest(const MessageOfChest& from);
- MessageOfChest(MessageOfChest&& from) noexcept
- :
- MessageOfChest()
- {
- *this = ::std::move(from);
- }
-
- inline MessageOfChest& operator=(const MessageOfChest& from)
- {
- CopyFrom(from);
- return *this;
- }
- inline MessageOfChest& operator=(MessageOfChest&& from) noexcept
- {
- if (this == &from)
- return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- )
- {
- InternalSwap(&from);
- }
- else
- {
- CopyFrom(from);
- }
- return *this;
- }
-
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
- {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
- {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
- {
- return default_instance().GetMetadata().reflection;
- }
- static const MessageOfChest& default_instance()
- {
- return *internal_default_instance();
- }
- static inline const MessageOfChest* internal_default_instance()
- {
- return reinterpret_cast<const MessageOfChest*>(
- &_MessageOfChest_default_instance_
- );
- }
- static constexpr int kIndexInFileMessages =
- 10;
-
- friend void swap(MessageOfChest& a, MessageOfChest& b)
- {
- a.Swap(&b);
- }
- inline void Swap(MessageOfChest* other)
- {
- if (other == this)
- return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena())
- {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena())
- {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- }
- else
- {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(MessageOfChest* other)
- {
- if (other == this)
- return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
-
- // implements Message ----------------------------------------------
-
- MessageOfChest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
- {
- return CreateMaybeMessage<MessageOfChest>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const MessageOfChest& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const MessageOfChest& from)
- {
- MessageOfChest::MergeImpl(*this, from);
- }
-
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
-
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
-
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
- ) const final;
- int GetCachedSize() const final
- {
- return _impl_._cached_size_.Get();
- }
-
- private:
- void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(MessageOfChest* other);
-
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
- {
- return "protobuf.MessageOfChest";
- }
-
- protected:
- explicit MessageOfChest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
-
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
-
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
-
- // nested types ----------------------------------------------------
-
- // accessors -------------------------------------------------------
-
- enum : int
- {
- kXFieldNumber = 1,
- kYFieldNumber = 2,
- kProgressFieldNumber = 3,
- };
- // int32 x = 1;
- void clear_x();
- int32_t x() const;
- void set_x(int32_t value);
-
- private:
- int32_t _internal_x() const;
- void _internal_set_x(int32_t value);
-
- public:
- // int32 y = 2;
- void clear_y();
- int32_t y() const;
- void set_y(int32_t value);
-
- private:
- int32_t _internal_y() const;
- void _internal_set_y(int32_t value);
-
- public:
- // int32 progress = 3;
- void clear_progress();
- int32_t progress() const;
- void set_progress(int32_t value);
-
- private:
- int32_t _internal_progress() const;
- void _internal_set_progress(int32_t value);
-
- public:
- // @@protoc_insertion_point(class_scope:protobuf.MessageOfChest)
-
- private:
- class _Internal;
-
- template<typename T>
- friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- struct Impl_
- {
- int32_t x_;
- int32_t y_;
- int32_t progress_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- };
- union
- {
- Impl_ _impl_;
- };
- friend struct ::TableStruct_Message2Clients_2eproto;
- };
- // -------------------------------------------------------------------
-
- class MessageOfMap_Row final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfMap.Row) */
- {
- public:
- inline MessageOfMap_Row() :
- MessageOfMap_Row(nullptr)
- {
- }
- ~MessageOfMap_Row() override;
- explicit PROTOBUF_CONSTEXPR MessageOfMap_Row(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
-
- MessageOfMap_Row(const MessageOfMap_Row& from);
- MessageOfMap_Row(MessageOfMap_Row&& from) noexcept
- :
- MessageOfMap_Row()
- {
- *this = ::std::move(from);
- }
-
- inline MessageOfMap_Row& operator=(const MessageOfMap_Row& from)
- {
- CopyFrom(from);
- return *this;
- }
- inline MessageOfMap_Row& operator=(MessageOfMap_Row&& from) noexcept
- {
- if (this == &from)
- return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- )
- {
- InternalSwap(&from);
- }
- else
- {
- CopyFrom(from);
- }
- return *this;
- }
-
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
- {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
- {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
- {
- return default_instance().GetMetadata().reflection;
- }
- static const MessageOfMap_Row& default_instance()
- {
- return *internal_default_instance();
- }
- static inline const MessageOfMap_Row* internal_default_instance()
- {
- return reinterpret_cast<const MessageOfMap_Row*>(
- &_MessageOfMap_Row_default_instance_
- );
- }
- static constexpr int kIndexInFileMessages =
- 11;
-
- friend void swap(MessageOfMap_Row& a, MessageOfMap_Row& b)
- {
- a.Swap(&b);
- }
- inline void Swap(MessageOfMap_Row* other)
- {
- if (other == this)
- return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena())
- {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena())
- {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- }
- else
- {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(MessageOfMap_Row* other)
- {
- if (other == this)
- return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
-
- // implements Message ----------------------------------------------
-
- MessageOfMap_Row* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
- {
- return CreateMaybeMessage<MessageOfMap_Row>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const MessageOfMap_Row& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const MessageOfMap_Row& from)
- {
- MessageOfMap_Row::MergeImpl(*this, from);
- }
-
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
-
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
-
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
- ) const final;
- int GetCachedSize() const final
- {
- return _impl_._cached_size_.Get();
- }
-
- private:
- void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(MessageOfMap_Row* other);
-
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
- {
- return "protobuf.MessageOfMap.Row";
- }
-
- protected:
- explicit MessageOfMap_Row(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
-
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
-
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
-
- // nested types ----------------------------------------------------
-
- // accessors -------------------------------------------------------
-
- enum : int
- {
- kColFieldNumber = 1,
- };
- // repeated .protobuf.PlaceType col = 1;
- int col_size() const;
-
- private:
- int _internal_col_size() const;
-
- public:
- void clear_col();
-
- private:
- ::protobuf::PlaceType _internal_col(int index) const;
- void _internal_add_col(::protobuf::PlaceType value);
- ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_col();
-
- public:
- ::protobuf::PlaceType col(int index) const;
- void set_col(int index, ::protobuf::PlaceType value);
- void add_col(::protobuf::PlaceType value);
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& col() const;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_col();
-
- // @@protoc_insertion_point(class_scope:protobuf.MessageOfMap.Row)
-
- private:
- class _Internal;
-
- template<typename T>
- friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- struct Impl_
- {
- ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> col_;
- mutable std::atomic<int> _col_cached_byte_size_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- };
- union
- {
- Impl_ _impl_;
- };
- friend struct ::TableStruct_Message2Clients_2eproto;
- };
- // -------------------------------------------------------------------
-
- class MessageOfMap final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfMap) */
- {
- public:
- inline MessageOfMap() :
- MessageOfMap(nullptr)
- {
- }
- ~MessageOfMap() override;
- explicit PROTOBUF_CONSTEXPR MessageOfMap(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
-
- MessageOfMap(const MessageOfMap& from);
- MessageOfMap(MessageOfMap&& from) noexcept
- :
- MessageOfMap()
- {
- *this = ::std::move(from);
- }
-
- inline MessageOfMap& operator=(const MessageOfMap& from)
- {
- CopyFrom(from);
- return *this;
- }
- inline MessageOfMap& operator=(MessageOfMap&& from) noexcept
- {
- if (this == &from)
- return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- )
- {
- InternalSwap(&from);
- }
- else
- {
- CopyFrom(from);
- }
- return *this;
- }
-
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
- {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
- {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
- {
- return default_instance().GetMetadata().reflection;
- }
- static const MessageOfMap& default_instance()
- {
- return *internal_default_instance();
- }
- static inline const MessageOfMap* internal_default_instance()
- {
- return reinterpret_cast<const MessageOfMap*>(
- &_MessageOfMap_default_instance_
- );
- }
- static constexpr int kIndexInFileMessages =
- 12;
-
- friend void swap(MessageOfMap& a, MessageOfMap& b)
- {
- a.Swap(&b);
- }
- inline void Swap(MessageOfMap* other)
- {
- if (other == this)
- return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena())
- {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena())
- {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- }
- else
- {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(MessageOfMap* other)
- {
- if (other == this)
- return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
-
- // implements Message ----------------------------------------------
-
- MessageOfMap* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
- {
- return CreateMaybeMessage<MessageOfMap>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const MessageOfMap& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const MessageOfMap& from)
- {
- MessageOfMap::MergeImpl(*this, from);
- }
-
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
-
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
-
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
- ) const final;
- int GetCachedSize() const final
- {
- return _impl_._cached_size_.Get();
- }
-
- private:
- void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(MessageOfMap* other);
-
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
- {
- return "protobuf.MessageOfMap";
- }
-
- protected:
- explicit MessageOfMap(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
-
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
-
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
-
- // nested types ----------------------------------------------------
-
- typedef MessageOfMap_Row Row;
-
- // accessors -------------------------------------------------------
-
- enum : int
- {
- kRowFieldNumber = 2,
- };
- // repeated .protobuf.MessageOfMap.Row row = 2;
- int row_size() const;
-
- private:
- int _internal_row_size() const;
-
- public:
- void clear_row();
- ::protobuf::MessageOfMap_Row* mutable_row(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfMap_Row>*
- mutable_row();
-
- private:
- const ::protobuf::MessageOfMap_Row& _internal_row(int index) const;
- ::protobuf::MessageOfMap_Row* _internal_add_row();
-
- public:
- const ::protobuf::MessageOfMap_Row& row(int index) const;
- ::protobuf::MessageOfMap_Row* add_row();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfMap_Row>&
- row() const;
-
- // @@protoc_insertion_point(class_scope:protobuf.MessageOfMap)
-
- private:
- class _Internal;
-
- template<typename T>
- friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- struct Impl_
- {
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfMap_Row> row_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- };
- union
- {
- Impl_ _impl_;
- };
- friend struct ::TableStruct_Message2Clients_2eproto;
- };
- // -------------------------------------------------------------------
-
- class MessageOfNews final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfNews) */
- {
- public:
- inline MessageOfNews() :
- MessageOfNews(nullptr)
- {
- }
- ~MessageOfNews() override;
- explicit PROTOBUF_CONSTEXPR MessageOfNews(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
-
- MessageOfNews(const MessageOfNews& from);
- MessageOfNews(MessageOfNews&& from) noexcept
- :
- MessageOfNews()
- {
- *this = ::std::move(from);
- }
-
- inline MessageOfNews& operator=(const MessageOfNews& from)
- {
- CopyFrom(from);
- return *this;
- }
- inline MessageOfNews& operator=(MessageOfNews&& from) noexcept
- {
- if (this == &from)
- return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- )
- {
- InternalSwap(&from);
- }
- else
- {
- CopyFrom(from);
- }
- return *this;
- }
-
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
- {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
- {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
- {
- return default_instance().GetMetadata().reflection;
- }
- static const MessageOfNews& default_instance()
- {
- return *internal_default_instance();
- }
- enum NewsCase
- {
- kTextMessage = 1,
- kBinaryMessage = 4,
- NEWS_NOT_SET = 0,
- };
-
- static inline const MessageOfNews* internal_default_instance()
- {
- return reinterpret_cast<const MessageOfNews*>(
- &_MessageOfNews_default_instance_
- );
- }
- static constexpr int kIndexInFileMessages =
- 13;
-
- friend void swap(MessageOfNews& a, MessageOfNews& b)
- {
- a.Swap(&b);
- }
- inline void Swap(MessageOfNews* other)
- {
- if (other == this)
- return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena())
- {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena())
- {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- }
- else
- {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(MessageOfNews* other)
- {
- if (other == this)
- return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
-
- // implements Message ----------------------------------------------
-
- MessageOfNews* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
- {
- return CreateMaybeMessage<MessageOfNews>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const MessageOfNews& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const MessageOfNews& from)
- {
- MessageOfNews::MergeImpl(*this, from);
- }
-
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
-
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
-
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
- ) const final;
- int GetCachedSize() const final
- {
- return _impl_._cached_size_.Get();
- }
-
- private:
- void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(MessageOfNews* other);
-
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
- {
- return "protobuf.MessageOfNews";
- }
-
- protected:
- explicit MessageOfNews(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
-
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
-
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
-
- // nested types ----------------------------------------------------
-
- // accessors -------------------------------------------------------
-
- enum : int
- {
- kFromIdFieldNumber = 2,
- kToIdFieldNumber = 3,
- kTextMessageFieldNumber = 1,
- kBinaryMessageFieldNumber = 4,
- };
- // int64 from_id = 2;
- void clear_from_id();
- int64_t from_id() const;
- void set_from_id(int64_t value);
-
- private:
- int64_t _internal_from_id() const;
- void _internal_set_from_id(int64_t value);
-
- public:
- // int64 to_id = 3;
- void clear_to_id();
- int64_t to_id() const;
- void set_to_id(int64_t value);
-
- private:
- int64_t _internal_to_id() const;
- void _internal_set_to_id(int64_t value);
-
- public:
- // string text_message = 1;
- bool has_text_message() const;
-
- private:
- bool _internal_has_text_message() const;
-
- public:
- void clear_text_message();
- const std::string& text_message() const;
- template<typename ArgT0 = const std::string&, typename... ArgT>
- void set_text_message(ArgT0&& arg0, ArgT... args);
- std::string* mutable_text_message();
- PROTOBUF_NODISCARD std::string* release_text_message();
- void set_allocated_text_message(std::string* text_message);
-
- private:
- const std::string& _internal_text_message() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_text_message(const std::string& value);
- std::string* _internal_mutable_text_message();
-
- public:
- // bytes binary_message = 4;
- bool has_binary_message() const;
-
- private:
- bool _internal_has_binary_message() const;
-
- public:
- void clear_binary_message();
- const std::string& binary_message() const;
- template<typename ArgT0 = const std::string&, typename... ArgT>
- void set_binary_message(ArgT0&& arg0, ArgT... args);
- std::string* mutable_binary_message();
- PROTOBUF_NODISCARD std::string* release_binary_message();
- void set_allocated_binary_message(std::string* binary_message);
-
- private:
- const std::string& _internal_binary_message() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_binary_message(const std::string& value);
- std::string* _internal_mutable_binary_message();
-
- public:
- void clear_news();
- NewsCase news_case() const;
- // @@protoc_insertion_point(class_scope:protobuf.MessageOfNews)
-
- private:
- class _Internal;
- void set_has_text_message();
- void set_has_binary_message();
-
- inline bool has_news() const;
- inline void clear_has_news();
-
- template<typename T>
- friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- struct Impl_
- {
- int64_t from_id_;
- int64_t to_id_;
- union NewsUnion
- {
- constexpr NewsUnion() :
- _constinit_{}
- {
- }
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_message_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr binary_message_;
- } news_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- uint32_t _oneof_case_[1];
- };
- union
- {
- Impl_ _impl_;
- };
- friend struct ::TableStruct_Message2Clients_2eproto;
- };
- // -------------------------------------------------------------------
-
- class MessageOfObj final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfObj) */
- {
- public:
- inline MessageOfObj() :
- MessageOfObj(nullptr)
- {
- }
- ~MessageOfObj() override;
- explicit PROTOBUF_CONSTEXPR MessageOfObj(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
-
- MessageOfObj(const MessageOfObj& from);
- MessageOfObj(MessageOfObj&& from) noexcept
- :
- MessageOfObj()
- {
- *this = ::std::move(from);
- }
-
- inline MessageOfObj& operator=(const MessageOfObj& from)
- {
- CopyFrom(from);
- return *this;
- }
- inline MessageOfObj& operator=(MessageOfObj&& from) noexcept
- {
- if (this == &from)
- return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- )
- {
- InternalSwap(&from);
- }
- else
- {
- CopyFrom(from);
- }
- return *this;
- }
-
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
- {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
- {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
- {
- return default_instance().GetMetadata().reflection;
- }
- static const MessageOfObj& default_instance()
- {
- return *internal_default_instance();
- }
- enum MessageOfObjCase
- {
- kStudentMessage = 1,
- kTrickerMessage = 2,
- kPropMessage = 3,
- kBulletMessage = 4,
- kBombedBulletMessage = 5,
- kClassroomMessage = 6,
- kDoorMessage = 7,
- kGateMessage = 8,
- kChestMessage = 9,
- kHiddenGateMessage = 10,
- kNewsMessage = 11,
- kMapMessage = 12,
- MESSAGE_OF_OBJ_NOT_SET = 0,
- };
-
- static inline const MessageOfObj* internal_default_instance()
- {
- return reinterpret_cast<const MessageOfObj*>(
- &_MessageOfObj_default_instance_
- );
- }
- static constexpr int kIndexInFileMessages =
- 14;
-
- friend void swap(MessageOfObj& a, MessageOfObj& b)
- {
- a.Swap(&b);
- }
- inline void Swap(MessageOfObj* other)
- {
- if (other == this)
- return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena())
- {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena())
- {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- }
- else
- {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(MessageOfObj* other)
- {
- if (other == this)
- return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
-
- // implements Message ----------------------------------------------
-
- MessageOfObj* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
- {
- return CreateMaybeMessage<MessageOfObj>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const MessageOfObj& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const MessageOfObj& from)
- {
- MessageOfObj::MergeImpl(*this, from);
- }
-
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
-
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
-
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
- ) const final;
- int GetCachedSize() const final
- {
- return _impl_._cached_size_.Get();
- }
-
- private:
- void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(MessageOfObj* other);
-
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
- {
- return "protobuf.MessageOfObj";
- }
-
- protected:
- explicit MessageOfObj(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
-
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
-
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
-
- // nested types ----------------------------------------------------
-
- // accessors -------------------------------------------------------
-
- enum : int
- {
- kStudentMessageFieldNumber = 1,
- kTrickerMessageFieldNumber = 2,
- kPropMessageFieldNumber = 3,
- kBulletMessageFieldNumber = 4,
- kBombedBulletMessageFieldNumber = 5,
- kClassroomMessageFieldNumber = 6,
- kDoorMessageFieldNumber = 7,
- kGateMessageFieldNumber = 8,
- kChestMessageFieldNumber = 9,
- kHiddenGateMessageFieldNumber = 10,
- kNewsMessageFieldNumber = 11,
- kMapMessageFieldNumber = 12,
- };
- // .protobuf.MessageOfStudent student_message = 1;
- bool has_student_message() const;
-
- private:
- bool _internal_has_student_message() const;
-
- public:
- void clear_student_message();
- const ::protobuf::MessageOfStudent& student_message() const;
- PROTOBUF_NODISCARD ::protobuf::MessageOfStudent* release_student_message();
- ::protobuf::MessageOfStudent* mutable_student_message();
- void set_allocated_student_message(::protobuf::MessageOfStudent* student_message);
-
- private:
- const ::protobuf::MessageOfStudent& _internal_student_message() const;
- ::protobuf::MessageOfStudent* _internal_mutable_student_message();
-
- public:
- void unsafe_arena_set_allocated_student_message(
- ::protobuf::MessageOfStudent* student_message
- );
- ::protobuf::MessageOfStudent* unsafe_arena_release_student_message();
-
- // .protobuf.MessageOfTricker tricker_message = 2;
- bool has_tricker_message() const;
-
- private:
- bool _internal_has_tricker_message() const;
-
- public:
- void clear_tricker_message();
- const ::protobuf::MessageOfTricker& tricker_message() const;
- PROTOBUF_NODISCARD ::protobuf::MessageOfTricker* release_tricker_message();
- ::protobuf::MessageOfTricker* mutable_tricker_message();
- void set_allocated_tricker_message(::protobuf::MessageOfTricker* tricker_message);
-
- private:
- const ::protobuf::MessageOfTricker& _internal_tricker_message() const;
- ::protobuf::MessageOfTricker* _internal_mutable_tricker_message();
-
- public:
- void unsafe_arena_set_allocated_tricker_message(
- ::protobuf::MessageOfTricker* tricker_message
- );
- ::protobuf::MessageOfTricker* unsafe_arena_release_tricker_message();
-
- // .protobuf.MessageOfProp prop_message = 3;
- bool has_prop_message() const;
-
- private:
- bool _internal_has_prop_message() const;
-
- public:
- void clear_prop_message();
- const ::protobuf::MessageOfProp& prop_message() const;
- PROTOBUF_NODISCARD ::protobuf::MessageOfProp* release_prop_message();
- ::protobuf::MessageOfProp* mutable_prop_message();
- void set_allocated_prop_message(::protobuf::MessageOfProp* prop_message);
-
- private:
- const ::protobuf::MessageOfProp& _internal_prop_message() const;
- ::protobuf::MessageOfProp* _internal_mutable_prop_message();
-
- public:
- void unsafe_arena_set_allocated_prop_message(
- ::protobuf::MessageOfProp* prop_message
- );
- ::protobuf::MessageOfProp* unsafe_arena_release_prop_message();
-
- // .protobuf.MessageOfBullet bullet_message = 4;
- bool has_bullet_message() const;
-
- private:
- bool _internal_has_bullet_message() const;
-
- public:
- void clear_bullet_message();
- const ::protobuf::MessageOfBullet& bullet_message() const;
- PROTOBUF_NODISCARD ::protobuf::MessageOfBullet* release_bullet_message();
- ::protobuf::MessageOfBullet* mutable_bullet_message();
- void set_allocated_bullet_message(::protobuf::MessageOfBullet* bullet_message);
-
- private:
- const ::protobuf::MessageOfBullet& _internal_bullet_message() const;
- ::protobuf::MessageOfBullet* _internal_mutable_bullet_message();
-
- public:
- void unsafe_arena_set_allocated_bullet_message(
- ::protobuf::MessageOfBullet* bullet_message
- );
- ::protobuf::MessageOfBullet* unsafe_arena_release_bullet_message();
-
- // .protobuf.MessageOfBombedBullet bombed_bullet_message = 5;
- bool has_bombed_bullet_message() const;
-
- private:
- bool _internal_has_bombed_bullet_message() const;
-
- public:
- void clear_bombed_bullet_message();
- const ::protobuf::MessageOfBombedBullet& bombed_bullet_message() const;
- PROTOBUF_NODISCARD ::protobuf::MessageOfBombedBullet* release_bombed_bullet_message();
- ::protobuf::MessageOfBombedBullet* mutable_bombed_bullet_message();
- void set_allocated_bombed_bullet_message(::protobuf::MessageOfBombedBullet* bombed_bullet_message);
-
- private:
- const ::protobuf::MessageOfBombedBullet& _internal_bombed_bullet_message() const;
- ::protobuf::MessageOfBombedBullet* _internal_mutable_bombed_bullet_message();
-
- public:
- void unsafe_arena_set_allocated_bombed_bullet_message(
- ::protobuf::MessageOfBombedBullet* bombed_bullet_message
- );
- ::protobuf::MessageOfBombedBullet* unsafe_arena_release_bombed_bullet_message();
-
- // .protobuf.MessageOfClassroom classroom_message = 6;
- bool has_classroom_message() const;
-
- private:
- bool _internal_has_classroom_message() const;
-
- public:
- void clear_classroom_message();
- const ::protobuf::MessageOfClassroom& classroom_message() const;
- PROTOBUF_NODISCARD ::protobuf::MessageOfClassroom* release_classroom_message();
- ::protobuf::MessageOfClassroom* mutable_classroom_message();
- void set_allocated_classroom_message(::protobuf::MessageOfClassroom* classroom_message);
-
- private:
- const ::protobuf::MessageOfClassroom& _internal_classroom_message() const;
- ::protobuf::MessageOfClassroom* _internal_mutable_classroom_message();
-
- public:
- void unsafe_arena_set_allocated_classroom_message(
- ::protobuf::MessageOfClassroom* classroom_message
- );
- ::protobuf::MessageOfClassroom* unsafe_arena_release_classroom_message();
-
- // .protobuf.MessageOfDoor door_message = 7;
- bool has_door_message() const;
-
- private:
- bool _internal_has_door_message() const;
-
- public:
- void clear_door_message();
- const ::protobuf::MessageOfDoor& door_message() const;
- PROTOBUF_NODISCARD ::protobuf::MessageOfDoor* release_door_message();
- ::protobuf::MessageOfDoor* mutable_door_message();
- void set_allocated_door_message(::protobuf::MessageOfDoor* door_message);
-
- private:
- const ::protobuf::MessageOfDoor& _internal_door_message() const;
- ::protobuf::MessageOfDoor* _internal_mutable_door_message();
-
- public:
- void unsafe_arena_set_allocated_door_message(
- ::protobuf::MessageOfDoor* door_message
- );
- ::protobuf::MessageOfDoor* unsafe_arena_release_door_message();
-
- // .protobuf.MessageOfGate gate_message = 8;
- bool has_gate_message() const;
-
- private:
- bool _internal_has_gate_message() const;
-
- public:
- void clear_gate_message();
- const ::protobuf::MessageOfGate& gate_message() const;
- PROTOBUF_NODISCARD ::protobuf::MessageOfGate* release_gate_message();
- ::protobuf::MessageOfGate* mutable_gate_message();
- void set_allocated_gate_message(::protobuf::MessageOfGate* gate_message);
-
- private:
- const ::protobuf::MessageOfGate& _internal_gate_message() const;
- ::protobuf::MessageOfGate* _internal_mutable_gate_message();
-
- public:
- void unsafe_arena_set_allocated_gate_message(
- ::protobuf::MessageOfGate* gate_message
- );
- ::protobuf::MessageOfGate* unsafe_arena_release_gate_message();
-
- // .protobuf.MessageOfChest chest_message = 9;
- bool has_chest_message() const;
-
- private:
- bool _internal_has_chest_message() const;
-
- public:
- void clear_chest_message();
- const ::protobuf::MessageOfChest& chest_message() const;
- PROTOBUF_NODISCARD ::protobuf::MessageOfChest* release_chest_message();
- ::protobuf::MessageOfChest* mutable_chest_message();
- void set_allocated_chest_message(::protobuf::MessageOfChest* chest_message);
-
- private:
- const ::protobuf::MessageOfChest& _internal_chest_message() const;
- ::protobuf::MessageOfChest* _internal_mutable_chest_message();
-
- public:
- void unsafe_arena_set_allocated_chest_message(
- ::protobuf::MessageOfChest* chest_message
- );
- ::protobuf::MessageOfChest* unsafe_arena_release_chest_message();
-
- // .protobuf.MessageOfHiddenGate hidden_gate_message = 10;
- bool has_hidden_gate_message() const;
-
- private:
- bool _internal_has_hidden_gate_message() const;
-
- public:
- void clear_hidden_gate_message();
- const ::protobuf::MessageOfHiddenGate& hidden_gate_message() const;
- PROTOBUF_NODISCARD ::protobuf::MessageOfHiddenGate* release_hidden_gate_message();
- ::protobuf::MessageOfHiddenGate* mutable_hidden_gate_message();
- void set_allocated_hidden_gate_message(::protobuf::MessageOfHiddenGate* hidden_gate_message);
-
- private:
- const ::protobuf::MessageOfHiddenGate& _internal_hidden_gate_message() const;
- ::protobuf::MessageOfHiddenGate* _internal_mutable_hidden_gate_message();
-
- public:
- void unsafe_arena_set_allocated_hidden_gate_message(
- ::protobuf::MessageOfHiddenGate* hidden_gate_message
- );
- ::protobuf::MessageOfHiddenGate* unsafe_arena_release_hidden_gate_message();
-
- // .protobuf.MessageOfNews news_message = 11;
- bool has_news_message() const;
-
- private:
- bool _internal_has_news_message() const;
-
- public:
- void clear_news_message();
- const ::protobuf::MessageOfNews& news_message() const;
- PROTOBUF_NODISCARD ::protobuf::MessageOfNews* release_news_message();
- ::protobuf::MessageOfNews* mutable_news_message();
- void set_allocated_news_message(::protobuf::MessageOfNews* news_message);
-
- private:
- const ::protobuf::MessageOfNews& _internal_news_message() const;
- ::protobuf::MessageOfNews* _internal_mutable_news_message();
-
- public:
- void unsafe_arena_set_allocated_news_message(
- ::protobuf::MessageOfNews* news_message
- );
- ::protobuf::MessageOfNews* unsafe_arena_release_news_message();
-
- // .protobuf.MessageOfMap map_message = 12;
- bool has_map_message() const;
-
- private:
- bool _internal_has_map_message() const;
-
- public:
- void clear_map_message();
- const ::protobuf::MessageOfMap& map_message() const;
- PROTOBUF_NODISCARD ::protobuf::MessageOfMap* release_map_message();
- ::protobuf::MessageOfMap* mutable_map_message();
- void set_allocated_map_message(::protobuf::MessageOfMap* map_message);
-
- private:
- const ::protobuf::MessageOfMap& _internal_map_message() const;
- ::protobuf::MessageOfMap* _internal_mutable_map_message();
-
- public:
- void unsafe_arena_set_allocated_map_message(
- ::protobuf::MessageOfMap* map_message
- );
- ::protobuf::MessageOfMap* unsafe_arena_release_map_message();
-
- void clear_message_of_obj();
- MessageOfObjCase message_of_obj_case() const;
- // @@protoc_insertion_point(class_scope:protobuf.MessageOfObj)
-
- private:
- class _Internal;
- void set_has_student_message();
- void set_has_tricker_message();
- void set_has_prop_message();
- void set_has_bullet_message();
- void set_has_bombed_bullet_message();
- void set_has_classroom_message();
- void set_has_door_message();
- void set_has_gate_message();
- void set_has_chest_message();
- void set_has_hidden_gate_message();
- void set_has_news_message();
- void set_has_map_message();
-
- inline bool has_message_of_obj() const;
- inline void clear_has_message_of_obj();
-
- template<typename T>
- friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- struct Impl_
- {
- union MessageOfObjUnion
- {
- constexpr MessageOfObjUnion() :
- _constinit_{}
- {
- }
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
- ::protobuf::MessageOfStudent* student_message_;
- ::protobuf::MessageOfTricker* tricker_message_;
- ::protobuf::MessageOfProp* prop_message_;
- ::protobuf::MessageOfBullet* bullet_message_;
- ::protobuf::MessageOfBombedBullet* bombed_bullet_message_;
- ::protobuf::MessageOfClassroom* classroom_message_;
- ::protobuf::MessageOfDoor* door_message_;
- ::protobuf::MessageOfGate* gate_message_;
- ::protobuf::MessageOfChest* chest_message_;
- ::protobuf::MessageOfHiddenGate* hidden_gate_message_;
- ::protobuf::MessageOfNews* news_message_;
- ::protobuf::MessageOfMap* map_message_;
- } message_of_obj_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- uint32_t _oneof_case_[1];
- };
- union
- {
- Impl_ _impl_;
- };
- friend struct ::TableStruct_Message2Clients_2eproto;
- };
- // -------------------------------------------------------------------
-
- class MessageOfAll final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfAll) */
- {
- public:
- inline MessageOfAll() :
- MessageOfAll(nullptr)
- {
- }
- ~MessageOfAll() override;
- explicit PROTOBUF_CONSTEXPR MessageOfAll(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
-
- MessageOfAll(const MessageOfAll& from);
- MessageOfAll(MessageOfAll&& from) noexcept
- :
- MessageOfAll()
- {
- *this = ::std::move(from);
- }
-
- inline MessageOfAll& operator=(const MessageOfAll& from)
- {
- CopyFrom(from);
- return *this;
- }
- inline MessageOfAll& operator=(MessageOfAll&& from) noexcept
- {
- if (this == &from)
- return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- )
- {
- InternalSwap(&from);
- }
- else
- {
- CopyFrom(from);
- }
- return *this;
- }
-
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
- {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
- {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
- {
- return default_instance().GetMetadata().reflection;
- }
- static const MessageOfAll& default_instance()
- {
- return *internal_default_instance();
- }
- static inline const MessageOfAll* internal_default_instance()
- {
- return reinterpret_cast<const MessageOfAll*>(
- &_MessageOfAll_default_instance_
- );
- }
- static constexpr int kIndexInFileMessages =
- 15;
-
- friend void swap(MessageOfAll& a, MessageOfAll& b)
- {
- a.Swap(&b);
- }
- inline void Swap(MessageOfAll* other)
- {
- if (other == this)
- return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena())
- {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena())
- {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- }
- else
- {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(MessageOfAll* other)
- {
- if (other == this)
- return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
-
- // implements Message ----------------------------------------------
-
- MessageOfAll* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
- {
- return CreateMaybeMessage<MessageOfAll>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const MessageOfAll& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const MessageOfAll& from)
- {
- MessageOfAll::MergeImpl(*this, from);
- }
-
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
-
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
-
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
- ) const final;
- int GetCachedSize() const final
- {
- return _impl_._cached_size_.Get();
- }
-
- private:
- void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(MessageOfAll* other);
-
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
- {
- return "protobuf.MessageOfAll";
- }
-
- protected:
- explicit MessageOfAll(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
-
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
-
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
-
- // nested types ----------------------------------------------------
-
- // accessors -------------------------------------------------------
-
- enum : int
- {
- kGameTimeFieldNumber = 1,
- kSubjectFinishedFieldNumber = 2,
- kStudentGraduatedFieldNumber = 3,
- kStudentQuitedFieldNumber = 4,
- kStudentScoreFieldNumber = 5,
- kTrickerScoreFieldNumber = 6,
- };
- // int32 game_time = 1;
- void clear_game_time();
- int32_t game_time() const;
- void set_game_time(int32_t value);
-
- private:
- int32_t _internal_game_time() const;
- void _internal_set_game_time(int32_t value);
-
- public:
- // int32 subject_finished = 2;
- void clear_subject_finished();
- int32_t subject_finished() const;
- void set_subject_finished(int32_t value);
-
- private:
- int32_t _internal_subject_finished() const;
- void _internal_set_subject_finished(int32_t value);
-
- public:
- // int32 student_graduated = 3;
- void clear_student_graduated();
- int32_t student_graduated() const;
- void set_student_graduated(int32_t value);
-
- private:
- int32_t _internal_student_graduated() const;
- void _internal_set_student_graduated(int32_t value);
-
- public:
- // int32 student_quited = 4;
- void clear_student_quited();
- int32_t student_quited() const;
- void set_student_quited(int32_t value);
-
- private:
- int32_t _internal_student_quited() const;
- void _internal_set_student_quited(int32_t value);
-
- public:
- // int32 student_score = 5;
- void clear_student_score();
- int32_t student_score() const;
- void set_student_score(int32_t value);
-
- private:
- int32_t _internal_student_score() const;
- void _internal_set_student_score(int32_t value);
-
- public:
- // int32 tricker_score = 6;
- void clear_tricker_score();
- int32_t tricker_score() const;
- void set_tricker_score(int32_t value);
-
- private:
- int32_t _internal_tricker_score() const;
- void _internal_set_tricker_score(int32_t value);
-
- public:
- // @@protoc_insertion_point(class_scope:protobuf.MessageOfAll)
-
- private:
- class _Internal;
-
- template<typename T>
- friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- struct Impl_
- {
- int32_t game_time_;
- int32_t subject_finished_;
- int32_t student_graduated_;
- int32_t student_quited_;
- int32_t student_score_;
- int32_t tricker_score_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- };
- union
- {
- Impl_ _impl_;
- };
- friend struct ::TableStruct_Message2Clients_2eproto;
- };
- // -------------------------------------------------------------------
-
- class MessageToClient final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageToClient) */
- {
- public:
- inline MessageToClient() :
- MessageToClient(nullptr)
- {
- }
- ~MessageToClient() override;
- explicit PROTOBUF_CONSTEXPR MessageToClient(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
-
- MessageToClient(const MessageToClient& from);
- MessageToClient(MessageToClient&& from) noexcept
- :
- MessageToClient()
- {
- *this = ::std::move(from);
- }
-
- inline MessageToClient& operator=(const MessageToClient& from)
- {
- CopyFrom(from);
- return *this;
- }
- inline MessageToClient& operator=(MessageToClient&& from) noexcept
- {
- if (this == &from)
- return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- )
- {
- InternalSwap(&from);
- }
- else
- {
- CopyFrom(from);
- }
- return *this;
- }
-
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
- {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
- {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
- {
- return default_instance().GetMetadata().reflection;
- }
- static const MessageToClient& default_instance()
- {
- return *internal_default_instance();
- }
- static inline const MessageToClient* internal_default_instance()
- {
- return reinterpret_cast<const MessageToClient*>(
- &_MessageToClient_default_instance_
- );
- }
- static constexpr int kIndexInFileMessages =
- 16;
-
- friend void swap(MessageToClient& a, MessageToClient& b)
- {
- a.Swap(&b);
- }
- inline void Swap(MessageToClient* other)
- {
- if (other == this)
- return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena())
- {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena())
- {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- }
- else
- {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(MessageToClient* other)
- {
- if (other == this)
- return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
-
- // implements Message ----------------------------------------------
-
- MessageToClient* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
- {
- return CreateMaybeMessage<MessageToClient>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const MessageToClient& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const MessageToClient& from)
- {
- MessageToClient::MergeImpl(*this, from);
- }
-
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
-
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
-
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
- ) const final;
- int GetCachedSize() const final
- {
- return _impl_._cached_size_.Get();
- }
-
- private:
- void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(MessageToClient* other);
-
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
- {
- return "protobuf.MessageToClient";
- }
-
- protected:
- explicit MessageToClient(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
-
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
-
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
-
- // nested types ----------------------------------------------------
-
- // accessors -------------------------------------------------------
-
- enum : int
- {
- kObjMessageFieldNumber = 1,
- kAllMessageFieldNumber = 3,
- kGameStateFieldNumber = 2,
- };
- // repeated .protobuf.MessageOfObj obj_message = 1;
- int obj_message_size() const;
-
- private:
- int _internal_obj_message_size() const;
-
- public:
- void clear_obj_message();
- ::protobuf::MessageOfObj* mutable_obj_message(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfObj>*
- mutable_obj_message();
-
- private:
- const ::protobuf::MessageOfObj& _internal_obj_message(int index) const;
- ::protobuf::MessageOfObj* _internal_add_obj_message();
-
- public:
- const ::protobuf::MessageOfObj& obj_message(int index) const;
- ::protobuf::MessageOfObj* add_obj_message();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfObj>&
- obj_message() const;
-
- // .protobuf.MessageOfAll all_message = 3;
- bool has_all_message() const;
-
- private:
- bool _internal_has_all_message() const;
-
- public:
- void clear_all_message();
- const ::protobuf::MessageOfAll& all_message() const;
- PROTOBUF_NODISCARD ::protobuf::MessageOfAll* release_all_message();
- ::protobuf::MessageOfAll* mutable_all_message();
- void set_allocated_all_message(::protobuf::MessageOfAll* all_message);
-
- private:
- const ::protobuf::MessageOfAll& _internal_all_message() const;
- ::protobuf::MessageOfAll* _internal_mutable_all_message();
-
- public:
- void unsafe_arena_set_allocated_all_message(
- ::protobuf::MessageOfAll* all_message
- );
- ::protobuf::MessageOfAll* unsafe_arena_release_all_message();
-
- // .protobuf.GameState game_state = 2;
- void clear_game_state();
- ::protobuf::GameState game_state() const;
- void set_game_state(::protobuf::GameState value);
-
- private:
- ::protobuf::GameState _internal_game_state() const;
- void _internal_set_game_state(::protobuf::GameState value);
-
- public:
- // @@protoc_insertion_point(class_scope:protobuf.MessageToClient)
-
- private:
- class _Internal;
-
- template<typename T>
- friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- struct Impl_
- {
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfObj> obj_message_;
- ::protobuf::MessageOfAll* all_message_;
- int game_state_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- };
- union
- {
- Impl_ _impl_;
- };
- friend struct ::TableStruct_Message2Clients_2eproto;
- };
- // -------------------------------------------------------------------
-
- class MoveRes final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MoveRes) */
- {
- public:
- inline MoveRes() :
- MoveRes(nullptr)
- {
- }
- ~MoveRes() override;
- explicit PROTOBUF_CONSTEXPR MoveRes(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
-
- MoveRes(const MoveRes& from);
- MoveRes(MoveRes&& from) noexcept
- :
- MoveRes()
- {
- *this = ::std::move(from);
- }
-
- inline MoveRes& operator=(const MoveRes& from)
- {
- CopyFrom(from);
- return *this;
- }
- inline MoveRes& operator=(MoveRes&& from) noexcept
- {
- if (this == &from)
- return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- )
- {
- InternalSwap(&from);
- }
- else
- {
- CopyFrom(from);
- }
- return *this;
- }
-
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
- {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
- {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
- {
- return default_instance().GetMetadata().reflection;
- }
- static const MoveRes& default_instance()
- {
- return *internal_default_instance();
- }
- static inline const MoveRes* internal_default_instance()
- {
- return reinterpret_cast<const MoveRes*>(
- &_MoveRes_default_instance_
- );
- }
- static constexpr int kIndexInFileMessages =
- 17;
-
- friend void swap(MoveRes& a, MoveRes& b)
- {
- a.Swap(&b);
- }
- inline void Swap(MoveRes* other)
- {
- if (other == this)
- return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena())
- {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena())
- {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- }
- else
- {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(MoveRes* other)
- {
- if (other == this)
- return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
-
- // implements Message ----------------------------------------------
-
- MoveRes* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
- {
- return CreateMaybeMessage<MoveRes>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const MoveRes& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const MoveRes& from)
- {
- MoveRes::MergeImpl(*this, from);
- }
-
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
-
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
-
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
- ) const final;
- int GetCachedSize() const final
- {
- return _impl_._cached_size_.Get();
- }
-
- private:
- void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(MoveRes* other);
-
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
- {
- return "protobuf.MoveRes";
- }
-
- protected:
- explicit MoveRes(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
-
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
-
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
-
- // nested types ----------------------------------------------------
-
- // accessors -------------------------------------------------------
-
- enum : int
- {
- kActualSpeedFieldNumber = 1,
- kActualAngleFieldNumber = 2,
- kActSuccessFieldNumber = 3,
- };
- // int64 actual_speed = 1;
- void clear_actual_speed();
- int64_t actual_speed() const;
- void set_actual_speed(int64_t value);
-
- private:
- int64_t _internal_actual_speed() const;
- void _internal_set_actual_speed(int64_t value);
-
- public:
- // double actual_angle = 2;
- void clear_actual_angle();
- double actual_angle() const;
- void set_actual_angle(double value);
-
- private:
- double _internal_actual_angle() const;
- void _internal_set_actual_angle(double value);
-
- public:
- // bool act_success = 3;
- void clear_act_success();
- bool act_success() const;
- void set_act_success(bool value);
-
- private:
- bool _internal_act_success() const;
- void _internal_set_act_success(bool value);
-
- public:
- // @@protoc_insertion_point(class_scope:protobuf.MoveRes)
-
- private:
- class _Internal;
-
- template<typename T>
- friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- struct Impl_
- {
- int64_t actual_speed_;
- double actual_angle_;
- bool act_success_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- };
- union
- {
- Impl_ _impl_;
- };
- friend struct ::TableStruct_Message2Clients_2eproto;
- };
- // -------------------------------------------------------------------
-
- class BoolRes final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.BoolRes) */
- {
- public:
- inline BoolRes() :
- BoolRes(nullptr)
- {
- }
- ~BoolRes() override;
- explicit PROTOBUF_CONSTEXPR BoolRes(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
-
- BoolRes(const BoolRes& from);
- BoolRes(BoolRes&& from) noexcept
- :
- BoolRes()
- {
- *this = ::std::move(from);
- }
-
- inline BoolRes& operator=(const BoolRes& from)
- {
- CopyFrom(from);
- return *this;
- }
- inline BoolRes& operator=(BoolRes&& from) noexcept
- {
- if (this == &from)
- return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- )
- {
- InternalSwap(&from);
- }
- else
- {
- CopyFrom(from);
- }
- return *this;
- }
-
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
- {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
- {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
- {
- return default_instance().GetMetadata().reflection;
- }
- static const BoolRes& default_instance()
- {
- return *internal_default_instance();
- }
- static inline const BoolRes* internal_default_instance()
- {
- return reinterpret_cast<const BoolRes*>(
- &_BoolRes_default_instance_
- );
- }
- static constexpr int kIndexInFileMessages =
- 18;
-
- friend void swap(BoolRes& a, BoolRes& b)
- {
- a.Swap(&b);
- }
- inline void Swap(BoolRes* other)
- {
- if (other == this)
- return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena())
- {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena())
- {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- }
- else
- {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(BoolRes* other)
- {
- if (other == this)
- return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
-
- // implements Message ----------------------------------------------
-
- BoolRes* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
- {
- return CreateMaybeMessage<BoolRes>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const BoolRes& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const BoolRes& from)
- {
- BoolRes::MergeImpl(*this, from);
- }
-
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
-
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
-
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
- ) const final;
- int GetCachedSize() const final
- {
- return _impl_._cached_size_.Get();
- }
-
- private:
- void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(BoolRes* other);
-
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
- {
- return "protobuf.BoolRes";
- }
-
- protected:
- explicit BoolRes(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
-
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
-
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
-
- // nested types ----------------------------------------------------
-
- // accessors -------------------------------------------------------
-
- enum : int
- {
- kActSuccessFieldNumber = 1,
- };
- // bool act_success = 1;
- void clear_act_success();
- bool act_success() const;
- void set_act_success(bool value);
-
- private:
- bool _internal_act_success() const;
- void _internal_set_act_success(bool value);
-
- public:
- // @@protoc_insertion_point(class_scope:protobuf.BoolRes)
-
- private:
- class _Internal;
-
- template<typename T>
- friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- struct Impl_
- {
- bool act_success_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- };
- union
- {
- Impl_ _impl_;
- };
- friend struct ::TableStruct_Message2Clients_2eproto;
- };
- // ===================================================================
-
- // ===================================================================
-
- #ifdef __GNUC__
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wstrict-aliasing"
- #endif // __GNUC__
- // MessageOfStudent
-
- // int32 x = 1;
- inline void MessageOfStudent::clear_x()
- {
- _impl_.x_ = 0;
- }
- inline int32_t MessageOfStudent::_internal_x() const
- {
- return _impl_.x_;
- }
- inline int32_t MessageOfStudent::x() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.x)
- return _internal_x();
- }
- inline void MessageOfStudent::_internal_set_x(int32_t value)
- {
- _impl_.x_ = value;
- }
- inline void MessageOfStudent::set_x(int32_t value)
- {
- _internal_set_x(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.x)
- }
-
- // int32 y = 2;
- inline void MessageOfStudent::clear_y()
- {
- _impl_.y_ = 0;
- }
- inline int32_t MessageOfStudent::_internal_y() const
- {
- return _impl_.y_;
- }
- inline int32_t MessageOfStudent::y() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.y)
- return _internal_y();
- }
- inline void MessageOfStudent::_internal_set_y(int32_t value)
- {
- _impl_.y_ = value;
- }
- inline void MessageOfStudent::set_y(int32_t value)
- {
- _internal_set_y(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.y)
- }
-
- // int32 speed = 3;
- inline void MessageOfStudent::clear_speed()
- {
- _impl_.speed_ = 0;
- }
- inline int32_t MessageOfStudent::_internal_speed() const
- {
- return _impl_.speed_;
- }
- inline int32_t MessageOfStudent::speed() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.speed)
- return _internal_speed();
- }
- inline void MessageOfStudent::_internal_set_speed(int32_t value)
- {
- _impl_.speed_ = value;
- }
- inline void MessageOfStudent::set_speed(int32_t value)
- {
- _internal_set_speed(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.speed)
- }
-
- // int32 determination = 4;
- inline void MessageOfStudent::clear_determination()
- {
- _impl_.determination_ = 0;
- }
- inline int32_t MessageOfStudent::_internal_determination() const
- {
- return _impl_.determination_;
- }
- inline int32_t MessageOfStudent::determination() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.determination)
- return _internal_determination();
- }
- inline void MessageOfStudent::_internal_set_determination(int32_t value)
- {
- _impl_.determination_ = value;
- }
- inline void MessageOfStudent::set_determination(int32_t value)
- {
- _internal_set_determination(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.determination)
- }
-
- // int32 addiction = 5;
- inline void MessageOfStudent::clear_addiction()
- {
- _impl_.addiction_ = 0;
- }
- inline int32_t MessageOfStudent::_internal_addiction() const
- {
- return _impl_.addiction_;
- }
- inline int32_t MessageOfStudent::addiction() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.addiction)
- return _internal_addiction();
- }
- inline void MessageOfStudent::_internal_set_addiction(int32_t value)
- {
- _impl_.addiction_ = value;
- }
- inline void MessageOfStudent::set_addiction(int32_t value)
- {
- _internal_set_addiction(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.addiction)
- }
-
- // repeated double time_until_skill_available = 6;
- inline int MessageOfStudent::_internal_time_until_skill_available_size() const
- {
- return _impl_.time_until_skill_available_.size();
- }
- inline int MessageOfStudent::time_until_skill_available_size() const
- {
- return _internal_time_until_skill_available_size();
- }
- inline void MessageOfStudent::clear_time_until_skill_available()
- {
- _impl_.time_until_skill_available_.Clear();
- }
- inline double MessageOfStudent::_internal_time_until_skill_available(int index) const
- {
- return _impl_.time_until_skill_available_.Get(index);
- }
- inline double MessageOfStudent::time_until_skill_available(int index) const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.time_until_skill_available)
- return _internal_time_until_skill_available(index);
- }
- inline void MessageOfStudent::set_time_until_skill_available(int index, double value)
- {
- _impl_.time_until_skill_available_.Set(index, value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.time_until_skill_available)
- }
- inline void MessageOfStudent::_internal_add_time_until_skill_available(double value)
- {
- _impl_.time_until_skill_available_.Add(value);
- }
- inline void MessageOfStudent::add_time_until_skill_available(double value)
- {
- _internal_add_time_until_skill_available(value);
- // @@protoc_insertion_point(field_add:protobuf.MessageOfStudent.time_until_skill_available)
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<double>&
- MessageOfStudent::_internal_time_until_skill_available() const
- {
- return _impl_.time_until_skill_available_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<double>&
- MessageOfStudent::time_until_skill_available() const
- {
- // @@protoc_insertion_point(field_list:protobuf.MessageOfStudent.time_until_skill_available)
- return _internal_time_until_skill_available();
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<double>*
- MessageOfStudent::_internal_mutable_time_until_skill_available()
- {
- return &_impl_.time_until_skill_available_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<double>*
- MessageOfStudent::mutable_time_until_skill_available()
- {
- // @@protoc_insertion_point(field_mutable_list:protobuf.MessageOfStudent.time_until_skill_available)
- return _internal_mutable_time_until_skill_available();
- }
-
- // repeated .protobuf.PropType prop = 8;
- inline int MessageOfStudent::_internal_prop_size() const
- {
- return _impl_.prop_.size();
- }
- inline int MessageOfStudent::prop_size() const
- {
- return _internal_prop_size();
- }
- inline void MessageOfStudent::clear_prop()
- {
- _impl_.prop_.Clear();
- }
- inline ::protobuf::PropType MessageOfStudent::_internal_prop(int index) const
- {
- return static_cast<::protobuf::PropType>(_impl_.prop_.Get(index));
- }
- inline ::protobuf::PropType MessageOfStudent::prop(int index) const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.prop)
- return _internal_prop(index);
- }
- inline void MessageOfStudent::set_prop(int index, ::protobuf::PropType value)
- {
- _impl_.prop_.Set(index, value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.prop)
- }
- inline void MessageOfStudent::_internal_add_prop(::protobuf::PropType value)
- {
- _impl_.prop_.Add(value);
- }
- inline void MessageOfStudent::add_prop(::protobuf::PropType value)
- {
- _internal_add_prop(value);
- // @@protoc_insertion_point(field_add:protobuf.MessageOfStudent.prop)
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
- MessageOfStudent::prop() const
- {
- // @@protoc_insertion_point(field_list:protobuf.MessageOfStudent.prop)
- return _impl_.prop_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
- MessageOfStudent::_internal_mutable_prop()
- {
- return &_impl_.prop_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
- MessageOfStudent::mutable_prop()
- {
- // @@protoc_insertion_point(field_mutable_list:protobuf.MessageOfStudent.prop)
- return _internal_mutable_prop();
- }
-
- // .protobuf.PlayerState player_state = 9;
- inline void MessageOfStudent::clear_player_state()
- {
- _impl_.player_state_ = 0;
- }
- inline ::protobuf::PlayerState MessageOfStudent::_internal_player_state() const
- {
- return static_cast<::protobuf::PlayerState>(_impl_.player_state_);
- }
- inline ::protobuf::PlayerState MessageOfStudent::player_state() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.player_state)
- return _internal_player_state();
- }
- inline void MessageOfStudent::_internal_set_player_state(::protobuf::PlayerState value)
- {
- _impl_.player_state_ = value;
- }
- inline void MessageOfStudent::set_player_state(::protobuf::PlayerState value)
- {
- _internal_set_player_state(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.player_state)
- }
-
- // int64 guid = 10;
- inline void MessageOfStudent::clear_guid()
- {
- _impl_.guid_ = int64_t{0};
- }
- inline int64_t MessageOfStudent::_internal_guid() const
- {
- return _impl_.guid_;
- }
- inline int64_t MessageOfStudent::guid() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.guid)
- return _internal_guid();
- }
- inline void MessageOfStudent::_internal_set_guid(int64_t value)
- {
- _impl_.guid_ = value;
- }
- inline void MessageOfStudent::set_guid(int64_t value)
- {
- _internal_set_guid(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.guid)
- }
-
- // .protobuf.BulletType bullet_type = 12;
- inline void MessageOfStudent::clear_bullet_type()
- {
- _impl_.bullet_type_ = 0;
- }
- inline ::protobuf::BulletType MessageOfStudent::_internal_bullet_type() const
- {
- return static_cast<::protobuf::BulletType>(_impl_.bullet_type_);
- }
- inline ::protobuf::BulletType MessageOfStudent::bullet_type() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.bullet_type)
- return _internal_bullet_type();
- }
- inline void MessageOfStudent::_internal_set_bullet_type(::protobuf::BulletType value)
- {
- _impl_.bullet_type_ = value;
- }
- inline void MessageOfStudent::set_bullet_type(::protobuf::BulletType value)
- {
- _internal_set_bullet_type(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.bullet_type)
- }
-
- // int32 learning_speed = 13;
- inline void MessageOfStudent::clear_learning_speed()
- {
- _impl_.learning_speed_ = 0;
- }
- inline int32_t MessageOfStudent::_internal_learning_speed() const
- {
- return _impl_.learning_speed_;
- }
- inline int32_t MessageOfStudent::learning_speed() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.learning_speed)
- return _internal_learning_speed();
- }
- inline void MessageOfStudent::_internal_set_learning_speed(int32_t value)
- {
- _impl_.learning_speed_ = value;
- }
- inline void MessageOfStudent::set_learning_speed(int32_t value)
- {
- _internal_set_learning_speed(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.learning_speed)
- }
-
- // int32 treat_speed = 14;
- inline void MessageOfStudent::clear_treat_speed()
- {
- _impl_.treat_speed_ = 0;
- }
- inline int32_t MessageOfStudent::_internal_treat_speed() const
- {
- return _impl_.treat_speed_;
- }
- inline int32_t MessageOfStudent::treat_speed() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.treat_speed)
- return _internal_treat_speed();
- }
- inline void MessageOfStudent::_internal_set_treat_speed(int32_t value)
- {
- _impl_.treat_speed_ = value;
- }
- inline void MessageOfStudent::set_treat_speed(int32_t value)
- {
- _internal_set_treat_speed(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.treat_speed)
- }
-
- // int64 player_id = 15;
- inline void MessageOfStudent::clear_player_id()
- {
- _impl_.player_id_ = int64_t{0};
- }
- inline int64_t MessageOfStudent::_internal_player_id() const
- {
- return _impl_.player_id_;
- }
- inline int64_t MessageOfStudent::player_id() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.player_id)
- return _internal_player_id();
- }
- inline void MessageOfStudent::_internal_set_player_id(int64_t value)
- {
- _impl_.player_id_ = value;
- }
- inline void MessageOfStudent::set_player_id(int64_t value)
- {
- _internal_set_player_id(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.player_id)
- }
-
- // int32 view_range = 16;
- inline void MessageOfStudent::clear_view_range()
- {
- _impl_.view_range_ = 0;
- }
- inline int32_t MessageOfStudent::_internal_view_range() const
- {
- return _impl_.view_range_;
- }
- inline int32_t MessageOfStudent::view_range() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.view_range)
- return _internal_view_range();
- }
- inline void MessageOfStudent::_internal_set_view_range(int32_t value)
- {
- _impl_.view_range_ = value;
- }
- inline void MessageOfStudent::set_view_range(int32_t value)
- {
- _internal_set_view_range(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.view_range)
- }
-
- // int32 radius = 17;
- inline void MessageOfStudent::clear_radius()
- {
- _impl_.radius_ = 0;
- }
- inline int32_t MessageOfStudent::_internal_radius() const
- {
- return _impl_.radius_;
- }
- inline int32_t MessageOfStudent::radius() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.radius)
- return _internal_radius();
- }
- inline void MessageOfStudent::_internal_set_radius(int32_t value)
- {
- _impl_.radius_ = value;
- }
- inline void MessageOfStudent::set_radius(int32_t value)
- {
- _internal_set_radius(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.radius)
- }
-
- // double danger_alert = 19;
- inline void MessageOfStudent::clear_danger_alert()
- {
- _impl_.danger_alert_ = 0;
- }
- inline double MessageOfStudent::_internal_danger_alert() const
- {
- return _impl_.danger_alert_;
- }
- inline double MessageOfStudent::danger_alert() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.danger_alert)
- return _internal_danger_alert();
- }
- inline void MessageOfStudent::_internal_set_danger_alert(double value)
- {
- _impl_.danger_alert_ = value;
- }
- inline void MessageOfStudent::set_danger_alert(double value)
- {
- _internal_set_danger_alert(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.danger_alert)
- }
-
- // int32 score = 20;
- inline void MessageOfStudent::clear_score()
- {
- _impl_.score_ = 0;
- }
- inline int32_t MessageOfStudent::_internal_score() const
- {
- return _impl_.score_;
- }
- inline int32_t MessageOfStudent::score() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.score)
- return _internal_score();
- }
- inline void MessageOfStudent::_internal_set_score(int32_t value)
- {
- _impl_.score_ = value;
- }
- inline void MessageOfStudent::set_score(int32_t value)
- {
- _internal_set_score(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.score)
- }
-
- // int32 treat_progress = 21;
- inline void MessageOfStudent::clear_treat_progress()
- {
- _impl_.treat_progress_ = 0;
- }
- inline int32_t MessageOfStudent::_internal_treat_progress() const
- {
- return _impl_.treat_progress_;
- }
- inline int32_t MessageOfStudent::treat_progress() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.treat_progress)
- return _internal_treat_progress();
- }
- inline void MessageOfStudent::_internal_set_treat_progress(int32_t value)
- {
- _impl_.treat_progress_ = value;
- }
- inline void MessageOfStudent::set_treat_progress(int32_t value)
- {
- _internal_set_treat_progress(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.treat_progress)
- }
-
- // int32 rescue_progress = 22;
- inline void MessageOfStudent::clear_rescue_progress()
- {
- _impl_.rescue_progress_ = 0;
- }
- inline int32_t MessageOfStudent::_internal_rescue_progress() const
- {
- return _impl_.rescue_progress_;
- }
- inline int32_t MessageOfStudent::rescue_progress() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.rescue_progress)
- return _internal_rescue_progress();
- }
- inline void MessageOfStudent::_internal_set_rescue_progress(int32_t value)
- {
- _impl_.rescue_progress_ = value;
- }
- inline void MessageOfStudent::set_rescue_progress(int32_t value)
- {
- _internal_set_rescue_progress(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.rescue_progress)
- }
-
- // .protobuf.StudentType student_type = 23;
- inline void MessageOfStudent::clear_student_type()
- {
- _impl_.student_type_ = 0;
- }
- inline ::protobuf::StudentType MessageOfStudent::_internal_student_type() const
- {
- return static_cast<::protobuf::StudentType>(_impl_.student_type_);
- }
- inline ::protobuf::StudentType MessageOfStudent::student_type() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.student_type)
- return _internal_student_type();
- }
- inline void MessageOfStudent::_internal_set_student_type(::protobuf::StudentType value)
- {
- _impl_.student_type_ = value;
- }
- inline void MessageOfStudent::set_student_type(::protobuf::StudentType value)
- {
- _internal_set_student_type(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.student_type)
- }
-
- // double facing_direction = 24;
- inline void MessageOfStudent::clear_facing_direction()
- {
- _impl_.facing_direction_ = 0;
- }
- inline double MessageOfStudent::_internal_facing_direction() const
- {
- return _impl_.facing_direction_;
- }
- inline double MessageOfStudent::facing_direction() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.facing_direction)
- return _internal_facing_direction();
- }
- inline void MessageOfStudent::_internal_set_facing_direction(double value)
- {
- _impl_.facing_direction_ = value;
- }
- inline void MessageOfStudent::set_facing_direction(double value)
- {
- _internal_set_facing_direction(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.facing_direction)
- }
-
- // repeated .protobuf.StudentBuffType buff = 25;
- inline int MessageOfStudent::_internal_buff_size() const
- {
- return _impl_.buff_.size();
- }
- inline int MessageOfStudent::buff_size() const
- {
- return _internal_buff_size();
- }
- inline void MessageOfStudent::clear_buff()
- {
- _impl_.buff_.Clear();
- }
- inline ::protobuf::StudentBuffType MessageOfStudent::_internal_buff(int index) const
- {
- return static_cast<::protobuf::StudentBuffType>(_impl_.buff_.Get(index));
- }
- inline ::protobuf::StudentBuffType MessageOfStudent::buff(int index) const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.buff)
- return _internal_buff(index);
- }
- inline void MessageOfStudent::set_buff(int index, ::protobuf::StudentBuffType value)
- {
- _impl_.buff_.Set(index, value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.buff)
- }
- inline void MessageOfStudent::_internal_add_buff(::protobuf::StudentBuffType value)
- {
- _impl_.buff_.Add(value);
- }
- inline void MessageOfStudent::add_buff(::protobuf::StudentBuffType value)
- {
- _internal_add_buff(value);
- // @@protoc_insertion_point(field_add:protobuf.MessageOfStudent.buff)
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
- MessageOfStudent::buff() const
- {
- // @@protoc_insertion_point(field_list:protobuf.MessageOfStudent.buff)
- return _impl_.buff_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
- MessageOfStudent::_internal_mutable_buff()
- {
- return &_impl_.buff_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
- MessageOfStudent::mutable_buff()
- {
- // @@protoc_insertion_point(field_mutable_list:protobuf.MessageOfStudent.buff)
- return _internal_mutable_buff();
- }
-
- // -------------------------------------------------------------------
-
- // MessageOfTricker
-
- // int32 x = 1;
- inline void MessageOfTricker::clear_x()
- {
- _impl_.x_ = 0;
- }
- inline int32_t MessageOfTricker::_internal_x() const
- {
- return _impl_.x_;
- }
- inline int32_t MessageOfTricker::x() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.x)
- return _internal_x();
- }
- inline void MessageOfTricker::_internal_set_x(int32_t value)
- {
- _impl_.x_ = value;
- }
- inline void MessageOfTricker::set_x(int32_t value)
- {
- _internal_set_x(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.x)
- }
-
- // int32 y = 2;
- inline void MessageOfTricker::clear_y()
- {
- _impl_.y_ = 0;
- }
- inline int32_t MessageOfTricker::_internal_y() const
- {
- return _impl_.y_;
- }
- inline int32_t MessageOfTricker::y() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.y)
- return _internal_y();
- }
- inline void MessageOfTricker::_internal_set_y(int32_t value)
- {
- _impl_.y_ = value;
- }
- inline void MessageOfTricker::set_y(int32_t value)
- {
- _internal_set_y(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.y)
- }
-
- // int32 speed = 3;
- inline void MessageOfTricker::clear_speed()
- {
- _impl_.speed_ = 0;
- }
- inline int32_t MessageOfTricker::_internal_speed() const
- {
- return _impl_.speed_;
- }
- inline int32_t MessageOfTricker::speed() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.speed)
- return _internal_speed();
- }
- inline void MessageOfTricker::_internal_set_speed(int32_t value)
- {
- _impl_.speed_ = value;
- }
- inline void MessageOfTricker::set_speed(int32_t value)
- {
- _internal_set_speed(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.speed)
- }
-
- // repeated double time_until_skill_available = 5;
- inline int MessageOfTricker::_internal_time_until_skill_available_size() const
- {
- return _impl_.time_until_skill_available_.size();
- }
- inline int MessageOfTricker::time_until_skill_available_size() const
- {
- return _internal_time_until_skill_available_size();
- }
- inline void MessageOfTricker::clear_time_until_skill_available()
- {
- _impl_.time_until_skill_available_.Clear();
- }
- inline double MessageOfTricker::_internal_time_until_skill_available(int index) const
- {
- return _impl_.time_until_skill_available_.Get(index);
- }
- inline double MessageOfTricker::time_until_skill_available(int index) const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.time_until_skill_available)
- return _internal_time_until_skill_available(index);
- }
- inline void MessageOfTricker::set_time_until_skill_available(int index, double value)
- {
- _impl_.time_until_skill_available_.Set(index, value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.time_until_skill_available)
- }
- inline void MessageOfTricker::_internal_add_time_until_skill_available(double value)
- {
- _impl_.time_until_skill_available_.Add(value);
- }
- inline void MessageOfTricker::add_time_until_skill_available(double value)
- {
- _internal_add_time_until_skill_available(value);
- // @@protoc_insertion_point(field_add:protobuf.MessageOfTricker.time_until_skill_available)
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<double>&
- MessageOfTricker::_internal_time_until_skill_available() const
- {
- return _impl_.time_until_skill_available_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<double>&
- MessageOfTricker::time_until_skill_available() const
- {
- // @@protoc_insertion_point(field_list:protobuf.MessageOfTricker.time_until_skill_available)
- return _internal_time_until_skill_available();
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<double>*
- MessageOfTricker::_internal_mutable_time_until_skill_available()
- {
- return &_impl_.time_until_skill_available_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<double>*
- MessageOfTricker::mutable_time_until_skill_available()
- {
- // @@protoc_insertion_point(field_mutable_list:protobuf.MessageOfTricker.time_until_skill_available)
- return _internal_mutable_time_until_skill_available();
- }
-
- // repeated .protobuf.PropType prop = 7;
- inline int MessageOfTricker::_internal_prop_size() const
- {
- return _impl_.prop_.size();
- }
- inline int MessageOfTricker::prop_size() const
- {
- return _internal_prop_size();
- }
- inline void MessageOfTricker::clear_prop()
- {
- _impl_.prop_.Clear();
- }
- inline ::protobuf::PropType MessageOfTricker::_internal_prop(int index) const
- {
- return static_cast<::protobuf::PropType>(_impl_.prop_.Get(index));
- }
- inline ::protobuf::PropType MessageOfTricker::prop(int index) const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.prop)
- return _internal_prop(index);
- }
- inline void MessageOfTricker::set_prop(int index, ::protobuf::PropType value)
- {
- _impl_.prop_.Set(index, value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.prop)
- }
- inline void MessageOfTricker::_internal_add_prop(::protobuf::PropType value)
- {
- _impl_.prop_.Add(value);
- }
- inline void MessageOfTricker::add_prop(::protobuf::PropType value)
- {
- _internal_add_prop(value);
- // @@protoc_insertion_point(field_add:protobuf.MessageOfTricker.prop)
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
- MessageOfTricker::prop() const
- {
- // @@protoc_insertion_point(field_list:protobuf.MessageOfTricker.prop)
- return _impl_.prop_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
- MessageOfTricker::_internal_mutable_prop()
- {
- return &_impl_.prop_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
- MessageOfTricker::mutable_prop()
- {
- // @@protoc_insertion_point(field_mutable_list:protobuf.MessageOfTricker.prop)
- return _internal_mutable_prop();
- }
-
- // .protobuf.TrickerType tricker_type = 8;
- inline void MessageOfTricker::clear_tricker_type()
- {
- _impl_.tricker_type_ = 0;
- }
- inline ::protobuf::TrickerType MessageOfTricker::_internal_tricker_type() const
- {
- return static_cast<::protobuf::TrickerType>(_impl_.tricker_type_);
- }
- inline ::protobuf::TrickerType MessageOfTricker::tricker_type() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.tricker_type)
- return _internal_tricker_type();
- }
- inline void MessageOfTricker::_internal_set_tricker_type(::protobuf::TrickerType value)
- {
- _impl_.tricker_type_ = value;
- }
- inline void MessageOfTricker::set_tricker_type(::protobuf::TrickerType value)
- {
- _internal_set_tricker_type(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.tricker_type)
- }
-
- // int64 guid = 9;
- inline void MessageOfTricker::clear_guid()
- {
- _impl_.guid_ = int64_t{0};
- }
- inline int64_t MessageOfTricker::_internal_guid() const
- {
- return _impl_.guid_;
- }
- inline int64_t MessageOfTricker::guid() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.guid)
- return _internal_guid();
- }
- inline void MessageOfTricker::_internal_set_guid(int64_t value)
- {
- _impl_.guid_ = value;
- }
- inline void MessageOfTricker::set_guid(int64_t value)
- {
- _internal_set_guid(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.guid)
- }
-
- // int32 score = 10;
- inline void MessageOfTricker::clear_score()
- {
- _impl_.score_ = 0;
- }
- inline int32_t MessageOfTricker::_internal_score() const
- {
- return _impl_.score_;
- }
- inline int32_t MessageOfTricker::score() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.score)
- return _internal_score();
- }
- inline void MessageOfTricker::_internal_set_score(int32_t value)
- {
- _impl_.score_ = value;
- }
- inline void MessageOfTricker::set_score(int32_t value)
- {
- _internal_set_score(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.score)
- }
-
- // int64 player_id = 11;
- inline void MessageOfTricker::clear_player_id()
- {
- _impl_.player_id_ = int64_t{0};
- }
- inline int64_t MessageOfTricker::_internal_player_id() const
- {
- return _impl_.player_id_;
- }
- inline int64_t MessageOfTricker::player_id() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.player_id)
- return _internal_player_id();
- }
- inline void MessageOfTricker::_internal_set_player_id(int64_t value)
- {
- _impl_.player_id_ = value;
- }
- inline void MessageOfTricker::set_player_id(int64_t value)
- {
- _internal_set_player_id(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.player_id)
- }
-
- // int32 view_range = 12;
- inline void MessageOfTricker::clear_view_range()
- {
- _impl_.view_range_ = 0;
- }
- inline int32_t MessageOfTricker::_internal_view_range() const
- {
- return _impl_.view_range_;
- }
- inline int32_t MessageOfTricker::view_range() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.view_range)
- return _internal_view_range();
- }
- inline void MessageOfTricker::_internal_set_view_range(int32_t value)
- {
- _impl_.view_range_ = value;
- }
- inline void MessageOfTricker::set_view_range(int32_t value)
- {
- _internal_set_view_range(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.view_range)
- }
-
- // int32 radius = 13;
- inline void MessageOfTricker::clear_radius()
- {
- _impl_.radius_ = 0;
- }
- inline int32_t MessageOfTricker::_internal_radius() const
- {
- return _impl_.radius_;
- }
- inline int32_t MessageOfTricker::radius() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.radius)
- return _internal_radius();
- }
- inline void MessageOfTricker::_internal_set_radius(int32_t value)
- {
- _impl_.radius_ = value;
- }
- inline void MessageOfTricker::set_radius(int32_t value)
- {
- _internal_set_radius(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.radius)
- }
-
- // .protobuf.PlayerState player_state = 14;
- inline void MessageOfTricker::clear_player_state()
- {
- _impl_.player_state_ = 0;
- }
- inline ::protobuf::PlayerState MessageOfTricker::_internal_player_state() const
- {
- return static_cast<::protobuf::PlayerState>(_impl_.player_state_);
- }
- inline ::protobuf::PlayerState MessageOfTricker::player_state() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.player_state)
- return _internal_player_state();
- }
- inline void MessageOfTricker::_internal_set_player_state(::protobuf::PlayerState value)
- {
- _impl_.player_state_ = value;
- }
- inline void MessageOfTricker::set_player_state(::protobuf::PlayerState value)
- {
- _internal_set_player_state(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.player_state)
- }
-
- // double trick_desire = 15;
- inline void MessageOfTricker::clear_trick_desire()
- {
- _impl_.trick_desire_ = 0;
- }
- inline double MessageOfTricker::_internal_trick_desire() const
- {
- return _impl_.trick_desire_;
- }
- inline double MessageOfTricker::trick_desire() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.trick_desire)
- return _internal_trick_desire();
- }
- inline void MessageOfTricker::_internal_set_trick_desire(double value)
- {
- _impl_.trick_desire_ = value;
- }
- inline void MessageOfTricker::set_trick_desire(double value)
- {
- _internal_set_trick_desire(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.trick_desire)
- }
-
- // double class_volume = 16;
- inline void MessageOfTricker::clear_class_volume()
- {
- _impl_.class_volume_ = 0;
- }
- inline double MessageOfTricker::_internal_class_volume() const
- {
- return _impl_.class_volume_;
- }
- inline double MessageOfTricker::class_volume() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.class_volume)
- return _internal_class_volume();
- }
- inline void MessageOfTricker::_internal_set_class_volume(double value)
- {
- _impl_.class_volume_ = value;
- }
- inline void MessageOfTricker::set_class_volume(double value)
- {
- _internal_set_class_volume(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.class_volume)
- }
-
- // double facing_direction = 17;
- inline void MessageOfTricker::clear_facing_direction()
- {
- _impl_.facing_direction_ = 0;
- }
- inline double MessageOfTricker::_internal_facing_direction() const
- {
- return _impl_.facing_direction_;
- }
- inline double MessageOfTricker::facing_direction() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.facing_direction)
- return _internal_facing_direction();
- }
- inline void MessageOfTricker::_internal_set_facing_direction(double value)
- {
- _impl_.facing_direction_ = value;
- }
- inline void MessageOfTricker::set_facing_direction(double value)
- {
- _internal_set_facing_direction(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.facing_direction)
- }
-
- // .protobuf.BulletType bullet_type = 18;
- inline void MessageOfTricker::clear_bullet_type()
- {
- _impl_.bullet_type_ = 0;
- }
- inline ::protobuf::BulletType MessageOfTricker::_internal_bullet_type() const
- {
- return static_cast<::protobuf::BulletType>(_impl_.bullet_type_);
- }
- inline ::protobuf::BulletType MessageOfTricker::bullet_type() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.bullet_type)
- return _internal_bullet_type();
- }
- inline void MessageOfTricker::_internal_set_bullet_type(::protobuf::BulletType value)
- {
- _impl_.bullet_type_ = value;
- }
- inline void MessageOfTricker::set_bullet_type(::protobuf::BulletType value)
- {
- _internal_set_bullet_type(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.bullet_type)
- }
-
- // repeated .protobuf.TrickerBuffType buff = 19;
- inline int MessageOfTricker::_internal_buff_size() const
- {
- return _impl_.buff_.size();
- }
- inline int MessageOfTricker::buff_size() const
- {
- return _internal_buff_size();
- }
- inline void MessageOfTricker::clear_buff()
- {
- _impl_.buff_.Clear();
- }
- inline ::protobuf::TrickerBuffType MessageOfTricker::_internal_buff(int index) const
- {
- return static_cast<::protobuf::TrickerBuffType>(_impl_.buff_.Get(index));
- }
- inline ::protobuf::TrickerBuffType MessageOfTricker::buff(int index) const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.buff)
- return _internal_buff(index);
- }
- inline void MessageOfTricker::set_buff(int index, ::protobuf::TrickerBuffType value)
- {
- _impl_.buff_.Set(index, value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.buff)
- }
- inline void MessageOfTricker::_internal_add_buff(::protobuf::TrickerBuffType value)
- {
- _impl_.buff_.Add(value);
- }
- inline void MessageOfTricker::add_buff(::protobuf::TrickerBuffType value)
- {
- _internal_add_buff(value);
- // @@protoc_insertion_point(field_add:protobuf.MessageOfTricker.buff)
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
- MessageOfTricker::buff() const
- {
- // @@protoc_insertion_point(field_list:protobuf.MessageOfTricker.buff)
- return _impl_.buff_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
- MessageOfTricker::_internal_mutable_buff()
- {
- return &_impl_.buff_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
- MessageOfTricker::mutable_buff()
- {
- // @@protoc_insertion_point(field_mutable_list:protobuf.MessageOfTricker.buff)
- return _internal_mutable_buff();
- }
-
- // -------------------------------------------------------------------
-
- // MessageOfBullet
-
- // .protobuf.BulletType type = 1;
- inline void MessageOfBullet::clear_type()
- {
- _impl_.type_ = 0;
- }
- inline ::protobuf::BulletType MessageOfBullet::_internal_type() const
- {
- return static_cast<::protobuf::BulletType>(_impl_.type_);
- }
- inline ::protobuf::BulletType MessageOfBullet::type() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfBullet.type)
- return _internal_type();
- }
- inline void MessageOfBullet::_internal_set_type(::protobuf::BulletType value)
- {
- _impl_.type_ = value;
- }
- inline void MessageOfBullet::set_type(::protobuf::BulletType value)
- {
- _internal_set_type(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfBullet.type)
- }
-
- // int32 x = 2;
- inline void MessageOfBullet::clear_x()
- {
- _impl_.x_ = 0;
- }
- inline int32_t MessageOfBullet::_internal_x() const
- {
- return _impl_.x_;
- }
- inline int32_t MessageOfBullet::x() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfBullet.x)
- return _internal_x();
- }
- inline void MessageOfBullet::_internal_set_x(int32_t value)
- {
- _impl_.x_ = value;
- }
- inline void MessageOfBullet::set_x(int32_t value)
- {
- _internal_set_x(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfBullet.x)
- }
-
- // int32 y = 3;
- inline void MessageOfBullet::clear_y()
- {
- _impl_.y_ = 0;
- }
- inline int32_t MessageOfBullet::_internal_y() const
- {
- return _impl_.y_;
- }
- inline int32_t MessageOfBullet::y() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfBullet.y)
- return _internal_y();
- }
- inline void MessageOfBullet::_internal_set_y(int32_t value)
- {
- _impl_.y_ = value;
- }
- inline void MessageOfBullet::set_y(int32_t value)
- {
- _internal_set_y(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfBullet.y)
- }
-
- // double facing_direction = 4;
- inline void MessageOfBullet::clear_facing_direction()
- {
- _impl_.facing_direction_ = 0;
- }
- inline double MessageOfBullet::_internal_facing_direction() const
- {
- return _impl_.facing_direction_;
- }
- inline double MessageOfBullet::facing_direction() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfBullet.facing_direction)
- return _internal_facing_direction();
- }
- inline void MessageOfBullet::_internal_set_facing_direction(double value)
- {
- _impl_.facing_direction_ = value;
- }
- inline void MessageOfBullet::set_facing_direction(double value)
- {
- _internal_set_facing_direction(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfBullet.facing_direction)
- }
-
- // int64 guid = 5;
- inline void MessageOfBullet::clear_guid()
- {
- _impl_.guid_ = int64_t{0};
- }
- inline int64_t MessageOfBullet::_internal_guid() const
- {
- return _impl_.guid_;
- }
- inline int64_t MessageOfBullet::guid() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfBullet.guid)
- return _internal_guid();
- }
- inline void MessageOfBullet::_internal_set_guid(int64_t value)
- {
- _impl_.guid_ = value;
- }
- inline void MessageOfBullet::set_guid(int64_t value)
- {
- _internal_set_guid(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfBullet.guid)
- }
-
- // .protobuf.PlayerType team = 6;
- inline void MessageOfBullet::clear_team()
- {
- _impl_.team_ = 0;
- }
- inline ::protobuf::PlayerType MessageOfBullet::_internal_team() const
- {
- return static_cast<::protobuf::PlayerType>(_impl_.team_);
- }
- inline ::protobuf::PlayerType MessageOfBullet::team() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfBullet.team)
- return _internal_team();
- }
- inline void MessageOfBullet::_internal_set_team(::protobuf::PlayerType value)
- {
- _impl_.team_ = value;
- }
- inline void MessageOfBullet::set_team(::protobuf::PlayerType value)
- {
- _internal_set_team(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfBullet.team)
- }
-
- // double bomb_range = 8;
- inline void MessageOfBullet::clear_bomb_range()
- {
- _impl_.bomb_range_ = 0;
- }
- inline double MessageOfBullet::_internal_bomb_range() const
- {
- return _impl_.bomb_range_;
- }
- inline double MessageOfBullet::bomb_range() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfBullet.bomb_range)
- return _internal_bomb_range();
- }
- inline void MessageOfBullet::_internal_set_bomb_range(double value)
- {
- _impl_.bomb_range_ = value;
- }
- inline void MessageOfBullet::set_bomb_range(double value)
- {
- _internal_set_bomb_range(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfBullet.bomb_range)
- }
-
- // int32 speed = 9;
- inline void MessageOfBullet::clear_speed()
- {
- _impl_.speed_ = 0;
- }
- inline int32_t MessageOfBullet::_internal_speed() const
- {
- return _impl_.speed_;
- }
- inline int32_t MessageOfBullet::speed() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfBullet.speed)
- return _internal_speed();
- }
- inline void MessageOfBullet::_internal_set_speed(int32_t value)
- {
- _impl_.speed_ = value;
- }
- inline void MessageOfBullet::set_speed(int32_t value)
- {
- _internal_set_speed(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfBullet.speed)
- }
-
- // -------------------------------------------------------------------
-
- // MessageOfBombedBullet
-
- // .protobuf.BulletType type = 1;
- inline void MessageOfBombedBullet::clear_type()
- {
- _impl_.type_ = 0;
- }
- inline ::protobuf::BulletType MessageOfBombedBullet::_internal_type() const
- {
- return static_cast<::protobuf::BulletType>(_impl_.type_);
- }
- inline ::protobuf::BulletType MessageOfBombedBullet::type() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfBombedBullet.type)
- return _internal_type();
- }
- inline void MessageOfBombedBullet::_internal_set_type(::protobuf::BulletType value)
- {
- _impl_.type_ = value;
- }
- inline void MessageOfBombedBullet::set_type(::protobuf::BulletType value)
- {
- _internal_set_type(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfBombedBullet.type)
- }
-
- // int32 x = 2;
- inline void MessageOfBombedBullet::clear_x()
- {
- _impl_.x_ = 0;
- }
- inline int32_t MessageOfBombedBullet::_internal_x() const
- {
- return _impl_.x_;
- }
- inline int32_t MessageOfBombedBullet::x() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfBombedBullet.x)
- return _internal_x();
- }
- inline void MessageOfBombedBullet::_internal_set_x(int32_t value)
- {
- _impl_.x_ = value;
- }
- inline void MessageOfBombedBullet::set_x(int32_t value)
- {
- _internal_set_x(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfBombedBullet.x)
- }
-
- // int32 y = 3;
- inline void MessageOfBombedBullet::clear_y()
- {
- _impl_.y_ = 0;
- }
- inline int32_t MessageOfBombedBullet::_internal_y() const
- {
- return _impl_.y_;
- }
- inline int32_t MessageOfBombedBullet::y() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfBombedBullet.y)
- return _internal_y();
- }
- inline void MessageOfBombedBullet::_internal_set_y(int32_t value)
- {
- _impl_.y_ = value;
- }
- inline void MessageOfBombedBullet::set_y(int32_t value)
- {
- _internal_set_y(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfBombedBullet.y)
- }
-
- // double facing_direction = 4;
- inline void MessageOfBombedBullet::clear_facing_direction()
- {
- _impl_.facing_direction_ = 0;
- }
- inline double MessageOfBombedBullet::_internal_facing_direction() const
- {
- return _impl_.facing_direction_;
- }
- inline double MessageOfBombedBullet::facing_direction() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfBombedBullet.facing_direction)
- return _internal_facing_direction();
- }
- inline void MessageOfBombedBullet::_internal_set_facing_direction(double value)
- {
- _impl_.facing_direction_ = value;
- }
- inline void MessageOfBombedBullet::set_facing_direction(double value)
- {
- _internal_set_facing_direction(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfBombedBullet.facing_direction)
- }
-
- // int64 mapping_id = 5;
- inline void MessageOfBombedBullet::clear_mapping_id()
- {
- _impl_.mapping_id_ = int64_t{0};
- }
- inline int64_t MessageOfBombedBullet::_internal_mapping_id() const
- {
- return _impl_.mapping_id_;
- }
- inline int64_t MessageOfBombedBullet::mapping_id() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfBombedBullet.mapping_id)
- return _internal_mapping_id();
- }
- inline void MessageOfBombedBullet::_internal_set_mapping_id(int64_t value)
- {
- _impl_.mapping_id_ = value;
- }
- inline void MessageOfBombedBullet::set_mapping_id(int64_t value)
- {
- _internal_set_mapping_id(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfBombedBullet.mapping_id)
- }
-
- // double bomb_range = 6;
- inline void MessageOfBombedBullet::clear_bomb_range()
- {
- _impl_.bomb_range_ = 0;
- }
- inline double MessageOfBombedBullet::_internal_bomb_range() const
- {
- return _impl_.bomb_range_;
- }
- inline double MessageOfBombedBullet::bomb_range() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfBombedBullet.bomb_range)
- return _internal_bomb_range();
- }
- inline void MessageOfBombedBullet::_internal_set_bomb_range(double value)
- {
- _impl_.bomb_range_ = value;
- }
- inline void MessageOfBombedBullet::set_bomb_range(double value)
- {
- _internal_set_bomb_range(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfBombedBullet.bomb_range)
- }
-
- // -------------------------------------------------------------------
-
- // MessageOfProp
-
- // .protobuf.PropType type = 1;
- inline void MessageOfProp::clear_type()
- {
- _impl_.type_ = 0;
- }
- inline ::protobuf::PropType MessageOfProp::_internal_type() const
- {
- return static_cast<::protobuf::PropType>(_impl_.type_);
- }
- inline ::protobuf::PropType MessageOfProp::type() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfProp.type)
- return _internal_type();
- }
- inline void MessageOfProp::_internal_set_type(::protobuf::PropType value)
- {
- _impl_.type_ = value;
- }
- inline void MessageOfProp::set_type(::protobuf::PropType value)
- {
- _internal_set_type(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfProp.type)
- }
-
- // int32 x = 2;
- inline void MessageOfProp::clear_x()
- {
- _impl_.x_ = 0;
- }
- inline int32_t MessageOfProp::_internal_x() const
- {
- return _impl_.x_;
- }
- inline int32_t MessageOfProp::x() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfProp.x)
- return _internal_x();
- }
- inline void MessageOfProp::_internal_set_x(int32_t value)
- {
- _impl_.x_ = value;
- }
- inline void MessageOfProp::set_x(int32_t value)
- {
- _internal_set_x(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfProp.x)
- }
-
- // int32 y = 3;
- inline void MessageOfProp::clear_y()
- {
- _impl_.y_ = 0;
- }
- inline int32_t MessageOfProp::_internal_y() const
- {
- return _impl_.y_;
- }
- inline int32_t MessageOfProp::y() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfProp.y)
- return _internal_y();
- }
- inline void MessageOfProp::_internal_set_y(int32_t value)
- {
- _impl_.y_ = value;
- }
- inline void MessageOfProp::set_y(int32_t value)
- {
- _internal_set_y(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfProp.y)
- }
-
- // double facing_direction = 4;
- inline void MessageOfProp::clear_facing_direction()
- {
- _impl_.facing_direction_ = 0;
- }
- inline double MessageOfProp::_internal_facing_direction() const
- {
- return _impl_.facing_direction_;
- }
- inline double MessageOfProp::facing_direction() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfProp.facing_direction)
- return _internal_facing_direction();
- }
- inline void MessageOfProp::_internal_set_facing_direction(double value)
- {
- _impl_.facing_direction_ = value;
- }
- inline void MessageOfProp::set_facing_direction(double value)
- {
- _internal_set_facing_direction(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfProp.facing_direction)
- }
-
- // int64 guid = 5;
- inline void MessageOfProp::clear_guid()
- {
- _impl_.guid_ = int64_t{0};
- }
- inline int64_t MessageOfProp::_internal_guid() const
- {
- return _impl_.guid_;
- }
- inline int64_t MessageOfProp::guid() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfProp.guid)
- return _internal_guid();
- }
- inline void MessageOfProp::_internal_set_guid(int64_t value)
- {
- _impl_.guid_ = value;
- }
- inline void MessageOfProp::set_guid(int64_t value)
- {
- _internal_set_guid(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfProp.guid)
- }
-
- // -------------------------------------------------------------------
-
- // MessageOfPickedProp
-
- // .protobuf.PropType type = 1;
- inline void MessageOfPickedProp::clear_type()
- {
- _impl_.type_ = 0;
- }
- inline ::protobuf::PropType MessageOfPickedProp::_internal_type() const
- {
- return static_cast<::protobuf::PropType>(_impl_.type_);
- }
- inline ::protobuf::PropType MessageOfPickedProp::type() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfPickedProp.type)
- return _internal_type();
- }
- inline void MessageOfPickedProp::_internal_set_type(::protobuf::PropType value)
- {
- _impl_.type_ = value;
- }
- inline void MessageOfPickedProp::set_type(::protobuf::PropType value)
- {
- _internal_set_type(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfPickedProp.type)
- }
-
- // int32 x = 2;
- inline void MessageOfPickedProp::clear_x()
- {
- _impl_.x_ = 0;
- }
- inline int32_t MessageOfPickedProp::_internal_x() const
- {
- return _impl_.x_;
- }
- inline int32_t MessageOfPickedProp::x() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfPickedProp.x)
- return _internal_x();
- }
- inline void MessageOfPickedProp::_internal_set_x(int32_t value)
- {
- _impl_.x_ = value;
- }
- inline void MessageOfPickedProp::set_x(int32_t value)
- {
- _internal_set_x(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfPickedProp.x)
- }
-
- // int32 y = 3;
- inline void MessageOfPickedProp::clear_y()
- {
- _impl_.y_ = 0;
- }
- inline int32_t MessageOfPickedProp::_internal_y() const
- {
- return _impl_.y_;
- }
- inline int32_t MessageOfPickedProp::y() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfPickedProp.y)
- return _internal_y();
- }
- inline void MessageOfPickedProp::_internal_set_y(int32_t value)
- {
- _impl_.y_ = value;
- }
- inline void MessageOfPickedProp::set_y(int32_t value)
- {
- _internal_set_y(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfPickedProp.y)
- }
-
- // double facing_direction = 4;
- inline void MessageOfPickedProp::clear_facing_direction()
- {
- _impl_.facing_direction_ = 0;
- }
- inline double MessageOfPickedProp::_internal_facing_direction() const
- {
- return _impl_.facing_direction_;
- }
- inline double MessageOfPickedProp::facing_direction() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfPickedProp.facing_direction)
- return _internal_facing_direction();
- }
- inline void MessageOfPickedProp::_internal_set_facing_direction(double value)
- {
- _impl_.facing_direction_ = value;
- }
- inline void MessageOfPickedProp::set_facing_direction(double value)
- {
- _internal_set_facing_direction(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfPickedProp.facing_direction)
- }
-
- // int64 mapping_id = 5;
- inline void MessageOfPickedProp::clear_mapping_id()
- {
- _impl_.mapping_id_ = int64_t{0};
- }
- inline int64_t MessageOfPickedProp::_internal_mapping_id() const
- {
- return _impl_.mapping_id_;
- }
- inline int64_t MessageOfPickedProp::mapping_id() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfPickedProp.mapping_id)
- return _internal_mapping_id();
- }
- inline void MessageOfPickedProp::_internal_set_mapping_id(int64_t value)
- {
- _impl_.mapping_id_ = value;
- }
- inline void MessageOfPickedProp::set_mapping_id(int64_t value)
- {
- _internal_set_mapping_id(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfPickedProp.mapping_id)
- }
-
- // -------------------------------------------------------------------
-
- // MessageOfClassroom
-
- // int32 x = 1;
- inline void MessageOfClassroom::clear_x()
- {
- _impl_.x_ = 0;
- }
- inline int32_t MessageOfClassroom::_internal_x() const
- {
- return _impl_.x_;
- }
- inline int32_t MessageOfClassroom::x() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfClassroom.x)
- return _internal_x();
- }
- inline void MessageOfClassroom::_internal_set_x(int32_t value)
- {
- _impl_.x_ = value;
- }
- inline void MessageOfClassroom::set_x(int32_t value)
- {
- _internal_set_x(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfClassroom.x)
- }
-
- // int32 y = 2;
- inline void MessageOfClassroom::clear_y()
- {
- _impl_.y_ = 0;
- }
- inline int32_t MessageOfClassroom::_internal_y() const
- {
- return _impl_.y_;
- }
- inline int32_t MessageOfClassroom::y() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfClassroom.y)
- return _internal_y();
- }
- inline void MessageOfClassroom::_internal_set_y(int32_t value)
- {
- _impl_.y_ = value;
- }
- inline void MessageOfClassroom::set_y(int32_t value)
- {
- _internal_set_y(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfClassroom.y)
- }
-
- // int32 progress = 3;
- inline void MessageOfClassroom::clear_progress()
- {
- _impl_.progress_ = 0;
- }
- inline int32_t MessageOfClassroom::_internal_progress() const
- {
- return _impl_.progress_;
- }
- inline int32_t MessageOfClassroom::progress() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfClassroom.progress)
- return _internal_progress();
- }
- inline void MessageOfClassroom::_internal_set_progress(int32_t value)
- {
- _impl_.progress_ = value;
- }
- inline void MessageOfClassroom::set_progress(int32_t value)
- {
- _internal_set_progress(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfClassroom.progress)
- }
-
- // -------------------------------------------------------------------
-
- // MessageOfGate
-
- // int32 x = 1;
- inline void MessageOfGate::clear_x()
- {
- _impl_.x_ = 0;
- }
- inline int32_t MessageOfGate::_internal_x() const
- {
- return _impl_.x_;
- }
- inline int32_t MessageOfGate::x() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfGate.x)
- return _internal_x();
- }
- inline void MessageOfGate::_internal_set_x(int32_t value)
- {
- _impl_.x_ = value;
- }
- inline void MessageOfGate::set_x(int32_t value)
- {
- _internal_set_x(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfGate.x)
- }
-
- // int32 y = 2;
- inline void MessageOfGate::clear_y()
- {
- _impl_.y_ = 0;
- }
- inline int32_t MessageOfGate::_internal_y() const
- {
- return _impl_.y_;
- }
- inline int32_t MessageOfGate::y() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfGate.y)
- return _internal_y();
- }
- inline void MessageOfGate::_internal_set_y(int32_t value)
- {
- _impl_.y_ = value;
- }
- inline void MessageOfGate::set_y(int32_t value)
- {
- _internal_set_y(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfGate.y)
- }
-
- // int32 progress = 3;
- inline void MessageOfGate::clear_progress()
- {
- _impl_.progress_ = 0;
- }
- inline int32_t MessageOfGate::_internal_progress() const
- {
- return _impl_.progress_;
- }
- inline int32_t MessageOfGate::progress() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfGate.progress)
- return _internal_progress();
- }
- inline void MessageOfGate::_internal_set_progress(int32_t value)
- {
- _impl_.progress_ = value;
- }
- inline void MessageOfGate::set_progress(int32_t value)
- {
- _internal_set_progress(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfGate.progress)
- }
-
- // -------------------------------------------------------------------
-
- // MessageOfHiddenGate
-
- // int32 x = 1;
- inline void MessageOfHiddenGate::clear_x()
- {
- _impl_.x_ = 0;
- }
- inline int32_t MessageOfHiddenGate::_internal_x() const
- {
- return _impl_.x_;
- }
- inline int32_t MessageOfHiddenGate::x() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfHiddenGate.x)
- return _internal_x();
- }
- inline void MessageOfHiddenGate::_internal_set_x(int32_t value)
- {
- _impl_.x_ = value;
- }
- inline void MessageOfHiddenGate::set_x(int32_t value)
- {
- _internal_set_x(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfHiddenGate.x)
- }
-
- // int32 y = 2;
- inline void MessageOfHiddenGate::clear_y()
- {
- _impl_.y_ = 0;
- }
- inline int32_t MessageOfHiddenGate::_internal_y() const
- {
- return _impl_.y_;
- }
- inline int32_t MessageOfHiddenGate::y() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfHiddenGate.y)
- return _internal_y();
- }
- inline void MessageOfHiddenGate::_internal_set_y(int32_t value)
- {
- _impl_.y_ = value;
- }
- inline void MessageOfHiddenGate::set_y(int32_t value)
- {
- _internal_set_y(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfHiddenGate.y)
- }
-
- // bool opened = 3;
- inline void MessageOfHiddenGate::clear_opened()
- {
- _impl_.opened_ = false;
- }
- inline bool MessageOfHiddenGate::_internal_opened() const
- {
- return _impl_.opened_;
- }
- inline bool MessageOfHiddenGate::opened() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfHiddenGate.opened)
- return _internal_opened();
- }
- inline void MessageOfHiddenGate::_internal_set_opened(bool value)
- {
- _impl_.opened_ = value;
- }
- inline void MessageOfHiddenGate::set_opened(bool value)
- {
- _internal_set_opened(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfHiddenGate.opened)
- }
-
- // -------------------------------------------------------------------
-
- // MessageOfDoor
-
- // int32 x = 1;
- inline void MessageOfDoor::clear_x()
- {
- _impl_.x_ = 0;
- }
- inline int32_t MessageOfDoor::_internal_x() const
- {
- return _impl_.x_;
- }
- inline int32_t MessageOfDoor::x() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfDoor.x)
- return _internal_x();
- }
- inline void MessageOfDoor::_internal_set_x(int32_t value)
- {
- _impl_.x_ = value;
- }
- inline void MessageOfDoor::set_x(int32_t value)
- {
- _internal_set_x(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfDoor.x)
- }
-
- // int32 y = 2;
- inline void MessageOfDoor::clear_y()
- {
- _impl_.y_ = 0;
- }
- inline int32_t MessageOfDoor::_internal_y() const
- {
- return _impl_.y_;
- }
- inline int32_t MessageOfDoor::y() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfDoor.y)
- return _internal_y();
- }
- inline void MessageOfDoor::_internal_set_y(int32_t value)
- {
- _impl_.y_ = value;
- }
- inline void MessageOfDoor::set_y(int32_t value)
- {
- _internal_set_y(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfDoor.y)
- }
-
- // bool is_open = 3;
- inline void MessageOfDoor::clear_is_open()
- {
- _impl_.is_open_ = false;
- }
- inline bool MessageOfDoor::_internal_is_open() const
- {
- return _impl_.is_open_;
- }
- inline bool MessageOfDoor::is_open() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfDoor.is_open)
- return _internal_is_open();
- }
- inline void MessageOfDoor::_internal_set_is_open(bool value)
- {
- _impl_.is_open_ = value;
- }
- inline void MessageOfDoor::set_is_open(bool value)
- {
- _internal_set_is_open(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfDoor.is_open)
- }
-
- // int32 progress = 4;
- inline void MessageOfDoor::clear_progress()
- {
- _impl_.progress_ = 0;
- }
- inline int32_t MessageOfDoor::_internal_progress() const
- {
- return _impl_.progress_;
- }
- inline int32_t MessageOfDoor::progress() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfDoor.progress)
- return _internal_progress();
- }
- inline void MessageOfDoor::_internal_set_progress(int32_t value)
- {
- _impl_.progress_ = value;
- }
- inline void MessageOfDoor::set_progress(int32_t value)
- {
- _internal_set_progress(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfDoor.progress)
- }
-
- // -------------------------------------------------------------------
-
- // MessageOfChest
-
- // int32 x = 1;
- inline void MessageOfChest::clear_x()
- {
- _impl_.x_ = 0;
- }
- inline int32_t MessageOfChest::_internal_x() const
- {
- return _impl_.x_;
- }
- inline int32_t MessageOfChest::x() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfChest.x)
- return _internal_x();
- }
- inline void MessageOfChest::_internal_set_x(int32_t value)
- {
- _impl_.x_ = value;
- }
- inline void MessageOfChest::set_x(int32_t value)
- {
- _internal_set_x(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfChest.x)
- }
-
- // int32 y = 2;
- inline void MessageOfChest::clear_y()
- {
- _impl_.y_ = 0;
- }
- inline int32_t MessageOfChest::_internal_y() const
- {
- return _impl_.y_;
- }
- inline int32_t MessageOfChest::y() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfChest.y)
- return _internal_y();
- }
- inline void MessageOfChest::_internal_set_y(int32_t value)
- {
- _impl_.y_ = value;
- }
- inline void MessageOfChest::set_y(int32_t value)
- {
- _internal_set_y(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfChest.y)
- }
-
- // int32 progress = 3;
- inline void MessageOfChest::clear_progress()
- {
- _impl_.progress_ = 0;
- }
- inline int32_t MessageOfChest::_internal_progress() const
- {
- return _impl_.progress_;
- }
- inline int32_t MessageOfChest::progress() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfChest.progress)
- return _internal_progress();
- }
- inline void MessageOfChest::_internal_set_progress(int32_t value)
- {
- _impl_.progress_ = value;
- }
- inline void MessageOfChest::set_progress(int32_t value)
- {
- _internal_set_progress(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfChest.progress)
- }
-
- // -------------------------------------------------------------------
-
- // MessageOfMap_Row
-
- // repeated .protobuf.PlaceType col = 1;
- inline int MessageOfMap_Row::_internal_col_size() const
- {
- return _impl_.col_.size();
- }
- inline int MessageOfMap_Row::col_size() const
- {
- return _internal_col_size();
- }
- inline void MessageOfMap_Row::clear_col()
- {
- _impl_.col_.Clear();
- }
- inline ::protobuf::PlaceType MessageOfMap_Row::_internal_col(int index) const
- {
- return static_cast<::protobuf::PlaceType>(_impl_.col_.Get(index));
- }
- inline ::protobuf::PlaceType MessageOfMap_Row::col(int index) const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfMap.Row.col)
- return _internal_col(index);
- }
- inline void MessageOfMap_Row::set_col(int index, ::protobuf::PlaceType value)
- {
- _impl_.col_.Set(index, value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfMap.Row.col)
- }
- inline void MessageOfMap_Row::_internal_add_col(::protobuf::PlaceType value)
- {
- _impl_.col_.Add(value);
- }
- inline void MessageOfMap_Row::add_col(::protobuf::PlaceType value)
- {
- _internal_add_col(value);
- // @@protoc_insertion_point(field_add:protobuf.MessageOfMap.Row.col)
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
- MessageOfMap_Row::col() const
- {
- // @@protoc_insertion_point(field_list:protobuf.MessageOfMap.Row.col)
- return _impl_.col_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
- MessageOfMap_Row::_internal_mutable_col()
- {
- return &_impl_.col_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
- MessageOfMap_Row::mutable_col()
- {
- // @@protoc_insertion_point(field_mutable_list:protobuf.MessageOfMap.Row.col)
- return _internal_mutable_col();
- }
-
- // -------------------------------------------------------------------
-
- // MessageOfMap
-
- // repeated .protobuf.MessageOfMap.Row row = 2;
- inline int MessageOfMap::_internal_row_size() const
- {
- return _impl_.row_.size();
- }
- inline int MessageOfMap::row_size() const
- {
- return _internal_row_size();
- }
- inline void MessageOfMap::clear_row()
- {
- _impl_.row_.Clear();
- }
- inline ::protobuf::MessageOfMap_Row* MessageOfMap::mutable_row(int index)
- {
- // @@protoc_insertion_point(field_mutable:protobuf.MessageOfMap.row)
- return _impl_.row_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfMap_Row>*
- MessageOfMap::mutable_row()
- {
- // @@protoc_insertion_point(field_mutable_list:protobuf.MessageOfMap.row)
- return &_impl_.row_;
- }
- inline const ::protobuf::MessageOfMap_Row& MessageOfMap::_internal_row(int index) const
- {
- return _impl_.row_.Get(index);
- }
- inline const ::protobuf::MessageOfMap_Row& MessageOfMap::row(int index) const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfMap.row)
- return _internal_row(index);
- }
- inline ::protobuf::MessageOfMap_Row* MessageOfMap::_internal_add_row()
- {
- return _impl_.row_.Add();
- }
- inline ::protobuf::MessageOfMap_Row* MessageOfMap::add_row()
- {
- ::protobuf::MessageOfMap_Row* _add = _internal_add_row();
- // @@protoc_insertion_point(field_add:protobuf.MessageOfMap.row)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfMap_Row>&
- MessageOfMap::row() const
- {
- // @@protoc_insertion_point(field_list:protobuf.MessageOfMap.row)
- return _impl_.row_;
- }
-
- // -------------------------------------------------------------------
-
- // MessageOfNews
-
- // string text_message = 1;
- inline bool MessageOfNews::_internal_has_text_message() const
- {
- return news_case() == kTextMessage;
- }
- inline bool MessageOfNews::has_text_message() const
- {
- return _internal_has_text_message();
- }
- inline void MessageOfNews::set_has_text_message()
- {
- _impl_._oneof_case_[0] = kTextMessage;
- }
- inline void MessageOfNews::clear_text_message()
- {
- if (_internal_has_text_message())
- {
- _impl_.news_.text_message_.Destroy();
- clear_has_news();
- }
- }
- inline const std::string& MessageOfNews::text_message() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfNews.text_message)
- return _internal_text_message();
- }
- template<typename ArgT0, typename... ArgT>
- inline void MessageOfNews::set_text_message(ArgT0&& arg0, ArgT... args)
- {
- if (!_internal_has_text_message())
- {
- clear_news();
- set_has_text_message();
- _impl_.news_.text_message_.InitDefault();
- }
- _impl_.news_.text_message_.Set(static_cast<ArgT0&&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:protobuf.MessageOfNews.text_message)
- }
- inline std::string* MessageOfNews::mutable_text_message()
- {
- std::string* _s = _internal_mutable_text_message();
- // @@protoc_insertion_point(field_mutable:protobuf.MessageOfNews.text_message)
- return _s;
- }
- inline const std::string& MessageOfNews::_internal_text_message() const
- {
- if (_internal_has_text_message())
- {
- return _impl_.news_.text_message_.Get();
- }
- return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited();
- }
- inline void MessageOfNews::_internal_set_text_message(const std::string& value)
- {
- if (!_internal_has_text_message())
- {
- clear_news();
- set_has_text_message();
- _impl_.news_.text_message_.InitDefault();
- }
- _impl_.news_.text_message_.Set(value, GetArenaForAllocation());
- }
- inline std::string* MessageOfNews::_internal_mutable_text_message()
- {
- if (!_internal_has_text_message())
- {
- clear_news();
- set_has_text_message();
- _impl_.news_.text_message_.InitDefault();
- }
- return _impl_.news_.text_message_.Mutable(GetArenaForAllocation());
- }
- inline std::string* MessageOfNews::release_text_message()
- {
- // @@protoc_insertion_point(field_release:protobuf.MessageOfNews.text_message)
- if (_internal_has_text_message())
- {
- clear_has_news();
- return _impl_.news_.text_message_.Release();
- }
- else
- {
- return nullptr;
- }
- }
- inline void MessageOfNews::set_allocated_text_message(std::string* text_message)
- {
- if (has_news())
- {
- clear_news();
- }
- if (text_message != nullptr)
- {
- set_has_text_message();
- _impl_.news_.text_message_.InitAllocated(text_message, GetArenaForAllocation());
- }
- // @@protoc_insertion_point(field_set_allocated:protobuf.MessageOfNews.text_message)
- }
-
- // bytes binary_message = 4;
- inline bool MessageOfNews::_internal_has_binary_message() const
- {
- return news_case() == kBinaryMessage;
- }
- inline bool MessageOfNews::has_binary_message() const
- {
- return _internal_has_binary_message();
- }
- inline void MessageOfNews::set_has_binary_message()
- {
- _impl_._oneof_case_[0] = kBinaryMessage;
- }
- inline void MessageOfNews::clear_binary_message()
- {
- if (_internal_has_binary_message())
- {
- _impl_.news_.binary_message_.Destroy();
- clear_has_news();
- }
- }
- inline const std::string& MessageOfNews::binary_message() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfNews.binary_message)
- return _internal_binary_message();
- }
- template<typename ArgT0, typename... ArgT>
- inline void MessageOfNews::set_binary_message(ArgT0&& arg0, ArgT... args)
- {
- if (!_internal_has_binary_message())
- {
- clear_news();
- set_has_binary_message();
- _impl_.news_.binary_message_.InitDefault();
- }
- _impl_.news_.binary_message_.SetBytes(static_cast<ArgT0&&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:protobuf.MessageOfNews.binary_message)
- }
- inline std::string* MessageOfNews::mutable_binary_message()
- {
- std::string* _s = _internal_mutable_binary_message();
- // @@protoc_insertion_point(field_mutable:protobuf.MessageOfNews.binary_message)
- return _s;
- }
- inline const std::string& MessageOfNews::_internal_binary_message() const
- {
- if (_internal_has_binary_message())
- {
- return _impl_.news_.binary_message_.Get();
- }
- return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited();
- }
- inline void MessageOfNews::_internal_set_binary_message(const std::string& value)
- {
- if (!_internal_has_binary_message())
- {
- clear_news();
- set_has_binary_message();
- _impl_.news_.binary_message_.InitDefault();
- }
- _impl_.news_.binary_message_.Set(value, GetArenaForAllocation());
- }
- inline std::string* MessageOfNews::_internal_mutable_binary_message()
- {
- if (!_internal_has_binary_message())
- {
- clear_news();
- set_has_binary_message();
- _impl_.news_.binary_message_.InitDefault();
- }
- return _impl_.news_.binary_message_.Mutable(GetArenaForAllocation());
- }
- inline std::string* MessageOfNews::release_binary_message()
- {
- // @@protoc_insertion_point(field_release:protobuf.MessageOfNews.binary_message)
- if (_internal_has_binary_message())
- {
- clear_has_news();
- return _impl_.news_.binary_message_.Release();
- }
- else
- {
- return nullptr;
- }
- }
- inline void MessageOfNews::set_allocated_binary_message(std::string* binary_message)
- {
- if (has_news())
- {
- clear_news();
- }
- if (binary_message != nullptr)
- {
- set_has_binary_message();
- _impl_.news_.binary_message_.InitAllocated(binary_message, GetArenaForAllocation());
- }
- // @@protoc_insertion_point(field_set_allocated:protobuf.MessageOfNews.binary_message)
- }
-
- // int64 from_id = 2;
- inline void MessageOfNews::clear_from_id()
- {
- _impl_.from_id_ = int64_t{0};
- }
- inline int64_t MessageOfNews::_internal_from_id() const
- {
- return _impl_.from_id_;
- }
- inline int64_t MessageOfNews::from_id() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfNews.from_id)
- return _internal_from_id();
- }
- inline void MessageOfNews::_internal_set_from_id(int64_t value)
- {
- _impl_.from_id_ = value;
- }
- inline void MessageOfNews::set_from_id(int64_t value)
- {
- _internal_set_from_id(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfNews.from_id)
- }
-
- // int64 to_id = 3;
- inline void MessageOfNews::clear_to_id()
- {
- _impl_.to_id_ = int64_t{0};
- }
- inline int64_t MessageOfNews::_internal_to_id() const
- {
- return _impl_.to_id_;
- }
- inline int64_t MessageOfNews::to_id() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfNews.to_id)
- return _internal_to_id();
- }
- inline void MessageOfNews::_internal_set_to_id(int64_t value)
- {
- _impl_.to_id_ = value;
- }
- inline void MessageOfNews::set_to_id(int64_t value)
- {
- _internal_set_to_id(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfNews.to_id)
- }
-
- inline bool MessageOfNews::has_news() const
- {
- return news_case() != NEWS_NOT_SET;
- }
- inline void MessageOfNews::clear_has_news()
- {
- _impl_._oneof_case_[0] = NEWS_NOT_SET;
- }
- inline MessageOfNews::NewsCase MessageOfNews::news_case() const
- {
- return MessageOfNews::NewsCase(_impl_._oneof_case_[0]);
- }
- // -------------------------------------------------------------------
-
- // MessageOfObj
-
- // .protobuf.MessageOfStudent student_message = 1;
- inline bool MessageOfObj::_internal_has_student_message() const
- {
- return message_of_obj_case() == kStudentMessage;
- }
- inline bool MessageOfObj::has_student_message() const
- {
- return _internal_has_student_message();
- }
- inline void MessageOfObj::set_has_student_message()
- {
- _impl_._oneof_case_[0] = kStudentMessage;
- }
- inline void MessageOfObj::clear_student_message()
- {
- if (_internal_has_student_message())
- {
- if (GetArenaForAllocation() == nullptr)
- {
- delete _impl_.message_of_obj_.student_message_;
- }
- clear_has_message_of_obj();
- }
- }
- inline ::protobuf::MessageOfStudent* MessageOfObj::release_student_message()
- {
- // @@protoc_insertion_point(field_release:protobuf.MessageOfObj.student_message)
- if (_internal_has_student_message())
- {
- clear_has_message_of_obj();
- ::protobuf::MessageOfStudent* temp = _impl_.message_of_obj_.student_message_;
- if (GetArenaForAllocation() != nullptr)
- {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- _impl_.message_of_obj_.student_message_ = nullptr;
- return temp;
- }
- else
- {
- return nullptr;
- }
- }
- inline const ::protobuf::MessageOfStudent& MessageOfObj::_internal_student_message() const
- {
- return _internal_has_student_message() ? *_impl_.message_of_obj_.student_message_ : reinterpret_cast<::protobuf::MessageOfStudent&>(::protobuf::_MessageOfStudent_default_instance_);
- }
- inline const ::protobuf::MessageOfStudent& MessageOfObj::student_message() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfObj.student_message)
- return _internal_student_message();
- }
- inline ::protobuf::MessageOfStudent* MessageOfObj::unsafe_arena_release_student_message()
- {
- // @@protoc_insertion_point(field_unsafe_arena_release:protobuf.MessageOfObj.student_message)
- if (_internal_has_student_message())
- {
- clear_has_message_of_obj();
- ::protobuf::MessageOfStudent* temp = _impl_.message_of_obj_.student_message_;
- _impl_.message_of_obj_.student_message_ = nullptr;
- return temp;
- }
- else
- {
- return nullptr;
- }
- }
- inline void MessageOfObj::unsafe_arena_set_allocated_student_message(::protobuf::MessageOfStudent* student_message)
- {
- clear_message_of_obj();
- if (student_message)
- {
- set_has_student_message();
- _impl_.message_of_obj_.student_message_ = student_message;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protobuf.MessageOfObj.student_message)
- }
- inline ::protobuf::MessageOfStudent* MessageOfObj::_internal_mutable_student_message()
- {
- if (!_internal_has_student_message())
- {
- clear_message_of_obj();
- set_has_student_message();
- _impl_.message_of_obj_.student_message_ = CreateMaybeMessage<::protobuf::MessageOfStudent>(GetArenaForAllocation());
- }
- return _impl_.message_of_obj_.student_message_;
- }
- inline ::protobuf::MessageOfStudent* MessageOfObj::mutable_student_message()
- {
- ::protobuf::MessageOfStudent* _msg = _internal_mutable_student_message();
- // @@protoc_insertion_point(field_mutable:protobuf.MessageOfObj.student_message)
- return _msg;
- }
-
- // .protobuf.MessageOfTricker tricker_message = 2;
- inline bool MessageOfObj::_internal_has_tricker_message() const
- {
- return message_of_obj_case() == kTrickerMessage;
- }
- inline bool MessageOfObj::has_tricker_message() const
- {
- return _internal_has_tricker_message();
- }
- inline void MessageOfObj::set_has_tricker_message()
- {
- _impl_._oneof_case_[0] = kTrickerMessage;
- }
- inline void MessageOfObj::clear_tricker_message()
- {
- if (_internal_has_tricker_message())
- {
- if (GetArenaForAllocation() == nullptr)
- {
- delete _impl_.message_of_obj_.tricker_message_;
- }
- clear_has_message_of_obj();
- }
- }
- inline ::protobuf::MessageOfTricker* MessageOfObj::release_tricker_message()
- {
- // @@protoc_insertion_point(field_release:protobuf.MessageOfObj.tricker_message)
- if (_internal_has_tricker_message())
- {
- clear_has_message_of_obj();
- ::protobuf::MessageOfTricker* temp = _impl_.message_of_obj_.tricker_message_;
- if (GetArenaForAllocation() != nullptr)
- {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- _impl_.message_of_obj_.tricker_message_ = nullptr;
- return temp;
- }
- else
- {
- return nullptr;
- }
- }
- inline const ::protobuf::MessageOfTricker& MessageOfObj::_internal_tricker_message() const
- {
- return _internal_has_tricker_message() ? *_impl_.message_of_obj_.tricker_message_ : reinterpret_cast<::protobuf::MessageOfTricker&>(::protobuf::_MessageOfTricker_default_instance_);
- }
- inline const ::protobuf::MessageOfTricker& MessageOfObj::tricker_message() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfObj.tricker_message)
- return _internal_tricker_message();
- }
- inline ::protobuf::MessageOfTricker* MessageOfObj::unsafe_arena_release_tricker_message()
- {
- // @@protoc_insertion_point(field_unsafe_arena_release:protobuf.MessageOfObj.tricker_message)
- if (_internal_has_tricker_message())
- {
- clear_has_message_of_obj();
- ::protobuf::MessageOfTricker* temp = _impl_.message_of_obj_.tricker_message_;
- _impl_.message_of_obj_.tricker_message_ = nullptr;
- return temp;
- }
- else
- {
- return nullptr;
- }
- }
- inline void MessageOfObj::unsafe_arena_set_allocated_tricker_message(::protobuf::MessageOfTricker* tricker_message)
- {
- clear_message_of_obj();
- if (tricker_message)
- {
- set_has_tricker_message();
- _impl_.message_of_obj_.tricker_message_ = tricker_message;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protobuf.MessageOfObj.tricker_message)
- }
- inline ::protobuf::MessageOfTricker* MessageOfObj::_internal_mutable_tricker_message()
- {
- if (!_internal_has_tricker_message())
- {
- clear_message_of_obj();
- set_has_tricker_message();
- _impl_.message_of_obj_.tricker_message_ = CreateMaybeMessage<::protobuf::MessageOfTricker>(GetArenaForAllocation());
- }
- return _impl_.message_of_obj_.tricker_message_;
- }
- inline ::protobuf::MessageOfTricker* MessageOfObj::mutable_tricker_message()
- {
- ::protobuf::MessageOfTricker* _msg = _internal_mutable_tricker_message();
- // @@protoc_insertion_point(field_mutable:protobuf.MessageOfObj.tricker_message)
- return _msg;
- }
-
- // .protobuf.MessageOfProp prop_message = 3;
- inline bool MessageOfObj::_internal_has_prop_message() const
- {
- return message_of_obj_case() == kPropMessage;
- }
- inline bool MessageOfObj::has_prop_message() const
- {
- return _internal_has_prop_message();
- }
- inline void MessageOfObj::set_has_prop_message()
- {
- _impl_._oneof_case_[0] = kPropMessage;
- }
- inline void MessageOfObj::clear_prop_message()
- {
- if (_internal_has_prop_message())
- {
- if (GetArenaForAllocation() == nullptr)
- {
- delete _impl_.message_of_obj_.prop_message_;
- }
- clear_has_message_of_obj();
- }
- }
- inline ::protobuf::MessageOfProp* MessageOfObj::release_prop_message()
- {
- // @@protoc_insertion_point(field_release:protobuf.MessageOfObj.prop_message)
- if (_internal_has_prop_message())
- {
- clear_has_message_of_obj();
- ::protobuf::MessageOfProp* temp = _impl_.message_of_obj_.prop_message_;
- if (GetArenaForAllocation() != nullptr)
- {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- _impl_.message_of_obj_.prop_message_ = nullptr;
- return temp;
- }
- else
- {
- return nullptr;
- }
- }
- inline const ::protobuf::MessageOfProp& MessageOfObj::_internal_prop_message() const
- {
- return _internal_has_prop_message() ? *_impl_.message_of_obj_.prop_message_ : reinterpret_cast<::protobuf::MessageOfProp&>(::protobuf::_MessageOfProp_default_instance_);
- }
- inline const ::protobuf::MessageOfProp& MessageOfObj::prop_message() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfObj.prop_message)
- return _internal_prop_message();
- }
- inline ::protobuf::MessageOfProp* MessageOfObj::unsafe_arena_release_prop_message()
- {
- // @@protoc_insertion_point(field_unsafe_arena_release:protobuf.MessageOfObj.prop_message)
- if (_internal_has_prop_message())
- {
- clear_has_message_of_obj();
- ::protobuf::MessageOfProp* temp = _impl_.message_of_obj_.prop_message_;
- _impl_.message_of_obj_.prop_message_ = nullptr;
- return temp;
- }
- else
- {
- return nullptr;
- }
- }
- inline void MessageOfObj::unsafe_arena_set_allocated_prop_message(::protobuf::MessageOfProp* prop_message)
- {
- clear_message_of_obj();
- if (prop_message)
- {
- set_has_prop_message();
- _impl_.message_of_obj_.prop_message_ = prop_message;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protobuf.MessageOfObj.prop_message)
- }
- inline ::protobuf::MessageOfProp* MessageOfObj::_internal_mutable_prop_message()
- {
- if (!_internal_has_prop_message())
- {
- clear_message_of_obj();
- set_has_prop_message();
- _impl_.message_of_obj_.prop_message_ = CreateMaybeMessage<::protobuf::MessageOfProp>(GetArenaForAllocation());
- }
- return _impl_.message_of_obj_.prop_message_;
- }
- inline ::protobuf::MessageOfProp* MessageOfObj::mutable_prop_message()
- {
- ::protobuf::MessageOfProp* _msg = _internal_mutable_prop_message();
- // @@protoc_insertion_point(field_mutable:protobuf.MessageOfObj.prop_message)
- return _msg;
- }
-
- // .protobuf.MessageOfBullet bullet_message = 4;
- inline bool MessageOfObj::_internal_has_bullet_message() const
- {
- return message_of_obj_case() == kBulletMessage;
- }
- inline bool MessageOfObj::has_bullet_message() const
- {
- return _internal_has_bullet_message();
- }
- inline void MessageOfObj::set_has_bullet_message()
- {
- _impl_._oneof_case_[0] = kBulletMessage;
- }
- inline void MessageOfObj::clear_bullet_message()
- {
- if (_internal_has_bullet_message())
- {
- if (GetArenaForAllocation() == nullptr)
- {
- delete _impl_.message_of_obj_.bullet_message_;
- }
- clear_has_message_of_obj();
- }
- }
- inline ::protobuf::MessageOfBullet* MessageOfObj::release_bullet_message()
- {
- // @@protoc_insertion_point(field_release:protobuf.MessageOfObj.bullet_message)
- if (_internal_has_bullet_message())
- {
- clear_has_message_of_obj();
- ::protobuf::MessageOfBullet* temp = _impl_.message_of_obj_.bullet_message_;
- if (GetArenaForAllocation() != nullptr)
- {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- _impl_.message_of_obj_.bullet_message_ = nullptr;
- return temp;
- }
- else
- {
- return nullptr;
- }
- }
- inline const ::protobuf::MessageOfBullet& MessageOfObj::_internal_bullet_message() const
- {
- return _internal_has_bullet_message() ? *_impl_.message_of_obj_.bullet_message_ : reinterpret_cast<::protobuf::MessageOfBullet&>(::protobuf::_MessageOfBullet_default_instance_);
- }
- inline const ::protobuf::MessageOfBullet& MessageOfObj::bullet_message() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfObj.bullet_message)
- return _internal_bullet_message();
- }
- inline ::protobuf::MessageOfBullet* MessageOfObj::unsafe_arena_release_bullet_message()
- {
- // @@protoc_insertion_point(field_unsafe_arena_release:protobuf.MessageOfObj.bullet_message)
- if (_internal_has_bullet_message())
- {
- clear_has_message_of_obj();
- ::protobuf::MessageOfBullet* temp = _impl_.message_of_obj_.bullet_message_;
- _impl_.message_of_obj_.bullet_message_ = nullptr;
- return temp;
- }
- else
- {
- return nullptr;
- }
- }
- inline void MessageOfObj::unsafe_arena_set_allocated_bullet_message(::protobuf::MessageOfBullet* bullet_message)
- {
- clear_message_of_obj();
- if (bullet_message)
- {
- set_has_bullet_message();
- _impl_.message_of_obj_.bullet_message_ = bullet_message;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protobuf.MessageOfObj.bullet_message)
- }
- inline ::protobuf::MessageOfBullet* MessageOfObj::_internal_mutable_bullet_message()
- {
- if (!_internal_has_bullet_message())
- {
- clear_message_of_obj();
- set_has_bullet_message();
- _impl_.message_of_obj_.bullet_message_ = CreateMaybeMessage<::protobuf::MessageOfBullet>(GetArenaForAllocation());
- }
- return _impl_.message_of_obj_.bullet_message_;
- }
- inline ::protobuf::MessageOfBullet* MessageOfObj::mutable_bullet_message()
- {
- ::protobuf::MessageOfBullet* _msg = _internal_mutable_bullet_message();
- // @@protoc_insertion_point(field_mutable:protobuf.MessageOfObj.bullet_message)
- return _msg;
- }
-
- // .protobuf.MessageOfBombedBullet bombed_bullet_message = 5;
- inline bool MessageOfObj::_internal_has_bombed_bullet_message() const
- {
- return message_of_obj_case() == kBombedBulletMessage;
- }
- inline bool MessageOfObj::has_bombed_bullet_message() const
- {
- return _internal_has_bombed_bullet_message();
- }
- inline void MessageOfObj::set_has_bombed_bullet_message()
- {
- _impl_._oneof_case_[0] = kBombedBulletMessage;
- }
- inline void MessageOfObj::clear_bombed_bullet_message()
- {
- if (_internal_has_bombed_bullet_message())
- {
- if (GetArenaForAllocation() == nullptr)
- {
- delete _impl_.message_of_obj_.bombed_bullet_message_;
- }
- clear_has_message_of_obj();
- }
- }
- inline ::protobuf::MessageOfBombedBullet* MessageOfObj::release_bombed_bullet_message()
- {
- // @@protoc_insertion_point(field_release:protobuf.MessageOfObj.bombed_bullet_message)
- if (_internal_has_bombed_bullet_message())
- {
- clear_has_message_of_obj();
- ::protobuf::MessageOfBombedBullet* temp = _impl_.message_of_obj_.bombed_bullet_message_;
- if (GetArenaForAllocation() != nullptr)
- {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- _impl_.message_of_obj_.bombed_bullet_message_ = nullptr;
- return temp;
- }
- else
- {
- return nullptr;
- }
- }
- inline const ::protobuf::MessageOfBombedBullet& MessageOfObj::_internal_bombed_bullet_message() const
- {
- return _internal_has_bombed_bullet_message() ? *_impl_.message_of_obj_.bombed_bullet_message_ : reinterpret_cast<::protobuf::MessageOfBombedBullet&>(::protobuf::_MessageOfBombedBullet_default_instance_);
- }
- inline const ::protobuf::MessageOfBombedBullet& MessageOfObj::bombed_bullet_message() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfObj.bombed_bullet_message)
- return _internal_bombed_bullet_message();
- }
- inline ::protobuf::MessageOfBombedBullet* MessageOfObj::unsafe_arena_release_bombed_bullet_message()
- {
- // @@protoc_insertion_point(field_unsafe_arena_release:protobuf.MessageOfObj.bombed_bullet_message)
- if (_internal_has_bombed_bullet_message())
- {
- clear_has_message_of_obj();
- ::protobuf::MessageOfBombedBullet* temp = _impl_.message_of_obj_.bombed_bullet_message_;
- _impl_.message_of_obj_.bombed_bullet_message_ = nullptr;
- return temp;
- }
- else
- {
- return nullptr;
- }
- }
- inline void MessageOfObj::unsafe_arena_set_allocated_bombed_bullet_message(::protobuf::MessageOfBombedBullet* bombed_bullet_message)
- {
- clear_message_of_obj();
- if (bombed_bullet_message)
- {
- set_has_bombed_bullet_message();
- _impl_.message_of_obj_.bombed_bullet_message_ = bombed_bullet_message;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protobuf.MessageOfObj.bombed_bullet_message)
- }
- inline ::protobuf::MessageOfBombedBullet* MessageOfObj::_internal_mutable_bombed_bullet_message()
- {
- if (!_internal_has_bombed_bullet_message())
- {
- clear_message_of_obj();
- set_has_bombed_bullet_message();
- _impl_.message_of_obj_.bombed_bullet_message_ = CreateMaybeMessage<::protobuf::MessageOfBombedBullet>(GetArenaForAllocation());
- }
- return _impl_.message_of_obj_.bombed_bullet_message_;
- }
- inline ::protobuf::MessageOfBombedBullet* MessageOfObj::mutable_bombed_bullet_message()
- {
- ::protobuf::MessageOfBombedBullet* _msg = _internal_mutable_bombed_bullet_message();
- // @@protoc_insertion_point(field_mutable:protobuf.MessageOfObj.bombed_bullet_message)
- return _msg;
- }
-
- // .protobuf.MessageOfClassroom classroom_message = 6;
- inline bool MessageOfObj::_internal_has_classroom_message() const
- {
- return message_of_obj_case() == kClassroomMessage;
- }
- inline bool MessageOfObj::has_classroom_message() const
- {
- return _internal_has_classroom_message();
- }
- inline void MessageOfObj::set_has_classroom_message()
- {
- _impl_._oneof_case_[0] = kClassroomMessage;
- }
- inline void MessageOfObj::clear_classroom_message()
- {
- if (_internal_has_classroom_message())
- {
- if (GetArenaForAllocation() == nullptr)
- {
- delete _impl_.message_of_obj_.classroom_message_;
- }
- clear_has_message_of_obj();
- }
- }
- inline ::protobuf::MessageOfClassroom* MessageOfObj::release_classroom_message()
- {
- // @@protoc_insertion_point(field_release:protobuf.MessageOfObj.classroom_message)
- if (_internal_has_classroom_message())
- {
- clear_has_message_of_obj();
- ::protobuf::MessageOfClassroom* temp = _impl_.message_of_obj_.classroom_message_;
- if (GetArenaForAllocation() != nullptr)
- {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- _impl_.message_of_obj_.classroom_message_ = nullptr;
- return temp;
- }
- else
- {
- return nullptr;
- }
- }
- inline const ::protobuf::MessageOfClassroom& MessageOfObj::_internal_classroom_message() const
- {
- return _internal_has_classroom_message() ? *_impl_.message_of_obj_.classroom_message_ : reinterpret_cast<::protobuf::MessageOfClassroom&>(::protobuf::_MessageOfClassroom_default_instance_);
- }
- inline const ::protobuf::MessageOfClassroom& MessageOfObj::classroom_message() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfObj.classroom_message)
- return _internal_classroom_message();
- }
- inline ::protobuf::MessageOfClassroom* MessageOfObj::unsafe_arena_release_classroom_message()
- {
- // @@protoc_insertion_point(field_unsafe_arena_release:protobuf.MessageOfObj.classroom_message)
- if (_internal_has_classroom_message())
- {
- clear_has_message_of_obj();
- ::protobuf::MessageOfClassroom* temp = _impl_.message_of_obj_.classroom_message_;
- _impl_.message_of_obj_.classroom_message_ = nullptr;
- return temp;
- }
- else
- {
- return nullptr;
- }
- }
- inline void MessageOfObj::unsafe_arena_set_allocated_classroom_message(::protobuf::MessageOfClassroom* classroom_message)
- {
- clear_message_of_obj();
- if (classroom_message)
- {
- set_has_classroom_message();
- _impl_.message_of_obj_.classroom_message_ = classroom_message;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protobuf.MessageOfObj.classroom_message)
- }
- inline ::protobuf::MessageOfClassroom* MessageOfObj::_internal_mutable_classroom_message()
- {
- if (!_internal_has_classroom_message())
- {
- clear_message_of_obj();
- set_has_classroom_message();
- _impl_.message_of_obj_.classroom_message_ = CreateMaybeMessage<::protobuf::MessageOfClassroom>(GetArenaForAllocation());
- }
- return _impl_.message_of_obj_.classroom_message_;
- }
- inline ::protobuf::MessageOfClassroom* MessageOfObj::mutable_classroom_message()
- {
- ::protobuf::MessageOfClassroom* _msg = _internal_mutable_classroom_message();
- // @@protoc_insertion_point(field_mutable:protobuf.MessageOfObj.classroom_message)
- return _msg;
- }
-
- // .protobuf.MessageOfDoor door_message = 7;
- inline bool MessageOfObj::_internal_has_door_message() const
- {
- return message_of_obj_case() == kDoorMessage;
- }
- inline bool MessageOfObj::has_door_message() const
- {
- return _internal_has_door_message();
- }
- inline void MessageOfObj::set_has_door_message()
- {
- _impl_._oneof_case_[0] = kDoorMessage;
- }
- inline void MessageOfObj::clear_door_message()
- {
- if (_internal_has_door_message())
- {
- if (GetArenaForAllocation() == nullptr)
- {
- delete _impl_.message_of_obj_.door_message_;
- }
- clear_has_message_of_obj();
- }
- }
- inline ::protobuf::MessageOfDoor* MessageOfObj::release_door_message()
- {
- // @@protoc_insertion_point(field_release:protobuf.MessageOfObj.door_message)
- if (_internal_has_door_message())
- {
- clear_has_message_of_obj();
- ::protobuf::MessageOfDoor* temp = _impl_.message_of_obj_.door_message_;
- if (GetArenaForAllocation() != nullptr)
- {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- _impl_.message_of_obj_.door_message_ = nullptr;
- return temp;
- }
- else
- {
- return nullptr;
- }
- }
- inline const ::protobuf::MessageOfDoor& MessageOfObj::_internal_door_message() const
- {
- return _internal_has_door_message() ? *_impl_.message_of_obj_.door_message_ : reinterpret_cast<::protobuf::MessageOfDoor&>(::protobuf::_MessageOfDoor_default_instance_);
- }
- inline const ::protobuf::MessageOfDoor& MessageOfObj::door_message() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfObj.door_message)
- return _internal_door_message();
- }
- inline ::protobuf::MessageOfDoor* MessageOfObj::unsafe_arena_release_door_message()
- {
- // @@protoc_insertion_point(field_unsafe_arena_release:protobuf.MessageOfObj.door_message)
- if (_internal_has_door_message())
- {
- clear_has_message_of_obj();
- ::protobuf::MessageOfDoor* temp = _impl_.message_of_obj_.door_message_;
- _impl_.message_of_obj_.door_message_ = nullptr;
- return temp;
- }
- else
- {
- return nullptr;
- }
- }
- inline void MessageOfObj::unsafe_arena_set_allocated_door_message(::protobuf::MessageOfDoor* door_message)
- {
- clear_message_of_obj();
- if (door_message)
- {
- set_has_door_message();
- _impl_.message_of_obj_.door_message_ = door_message;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protobuf.MessageOfObj.door_message)
- }
- inline ::protobuf::MessageOfDoor* MessageOfObj::_internal_mutable_door_message()
- {
- if (!_internal_has_door_message())
- {
- clear_message_of_obj();
- set_has_door_message();
- _impl_.message_of_obj_.door_message_ = CreateMaybeMessage<::protobuf::MessageOfDoor>(GetArenaForAllocation());
- }
- return _impl_.message_of_obj_.door_message_;
- }
- inline ::protobuf::MessageOfDoor* MessageOfObj::mutable_door_message()
- {
- ::protobuf::MessageOfDoor* _msg = _internal_mutable_door_message();
- // @@protoc_insertion_point(field_mutable:protobuf.MessageOfObj.door_message)
- return _msg;
- }
-
- // .protobuf.MessageOfGate gate_message = 8;
- inline bool MessageOfObj::_internal_has_gate_message() const
- {
- return message_of_obj_case() == kGateMessage;
- }
- inline bool MessageOfObj::has_gate_message() const
- {
- return _internal_has_gate_message();
- }
- inline void MessageOfObj::set_has_gate_message()
- {
- _impl_._oneof_case_[0] = kGateMessage;
- }
- inline void MessageOfObj::clear_gate_message()
- {
- if (_internal_has_gate_message())
- {
- if (GetArenaForAllocation() == nullptr)
- {
- delete _impl_.message_of_obj_.gate_message_;
- }
- clear_has_message_of_obj();
- }
- }
- inline ::protobuf::MessageOfGate* MessageOfObj::release_gate_message()
- {
- // @@protoc_insertion_point(field_release:protobuf.MessageOfObj.gate_message)
- if (_internal_has_gate_message())
- {
- clear_has_message_of_obj();
- ::protobuf::MessageOfGate* temp = _impl_.message_of_obj_.gate_message_;
- if (GetArenaForAllocation() != nullptr)
- {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- _impl_.message_of_obj_.gate_message_ = nullptr;
- return temp;
- }
- else
- {
- return nullptr;
- }
- }
- inline const ::protobuf::MessageOfGate& MessageOfObj::_internal_gate_message() const
- {
- return _internal_has_gate_message() ? *_impl_.message_of_obj_.gate_message_ : reinterpret_cast<::protobuf::MessageOfGate&>(::protobuf::_MessageOfGate_default_instance_);
- }
- inline const ::protobuf::MessageOfGate& MessageOfObj::gate_message() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfObj.gate_message)
- return _internal_gate_message();
- }
- inline ::protobuf::MessageOfGate* MessageOfObj::unsafe_arena_release_gate_message()
- {
- // @@protoc_insertion_point(field_unsafe_arena_release:protobuf.MessageOfObj.gate_message)
- if (_internal_has_gate_message())
- {
- clear_has_message_of_obj();
- ::protobuf::MessageOfGate* temp = _impl_.message_of_obj_.gate_message_;
- _impl_.message_of_obj_.gate_message_ = nullptr;
- return temp;
- }
- else
- {
- return nullptr;
- }
- }
- inline void MessageOfObj::unsafe_arena_set_allocated_gate_message(::protobuf::MessageOfGate* gate_message)
- {
- clear_message_of_obj();
- if (gate_message)
- {
- set_has_gate_message();
- _impl_.message_of_obj_.gate_message_ = gate_message;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protobuf.MessageOfObj.gate_message)
- }
- inline ::protobuf::MessageOfGate* MessageOfObj::_internal_mutable_gate_message()
- {
- if (!_internal_has_gate_message())
- {
- clear_message_of_obj();
- set_has_gate_message();
- _impl_.message_of_obj_.gate_message_ = CreateMaybeMessage<::protobuf::MessageOfGate>(GetArenaForAllocation());
- }
- return _impl_.message_of_obj_.gate_message_;
- }
- inline ::protobuf::MessageOfGate* MessageOfObj::mutable_gate_message()
- {
- ::protobuf::MessageOfGate* _msg = _internal_mutable_gate_message();
- // @@protoc_insertion_point(field_mutable:protobuf.MessageOfObj.gate_message)
- return _msg;
- }
-
- // .protobuf.MessageOfChest chest_message = 9;
- inline bool MessageOfObj::_internal_has_chest_message() const
- {
- return message_of_obj_case() == kChestMessage;
- }
- inline bool MessageOfObj::has_chest_message() const
- {
- return _internal_has_chest_message();
- }
- inline void MessageOfObj::set_has_chest_message()
- {
- _impl_._oneof_case_[0] = kChestMessage;
- }
- inline void MessageOfObj::clear_chest_message()
- {
- if (_internal_has_chest_message())
- {
- if (GetArenaForAllocation() == nullptr)
- {
- delete _impl_.message_of_obj_.chest_message_;
- }
- clear_has_message_of_obj();
- }
- }
- inline ::protobuf::MessageOfChest* MessageOfObj::release_chest_message()
- {
- // @@protoc_insertion_point(field_release:protobuf.MessageOfObj.chest_message)
- if (_internal_has_chest_message())
- {
- clear_has_message_of_obj();
- ::protobuf::MessageOfChest* temp = _impl_.message_of_obj_.chest_message_;
- if (GetArenaForAllocation() != nullptr)
- {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- _impl_.message_of_obj_.chest_message_ = nullptr;
- return temp;
- }
- else
- {
- return nullptr;
- }
- }
- inline const ::protobuf::MessageOfChest& MessageOfObj::_internal_chest_message() const
- {
- return _internal_has_chest_message() ? *_impl_.message_of_obj_.chest_message_ : reinterpret_cast<::protobuf::MessageOfChest&>(::protobuf::_MessageOfChest_default_instance_);
- }
- inline const ::protobuf::MessageOfChest& MessageOfObj::chest_message() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfObj.chest_message)
- return _internal_chest_message();
- }
- inline ::protobuf::MessageOfChest* MessageOfObj::unsafe_arena_release_chest_message()
- {
- // @@protoc_insertion_point(field_unsafe_arena_release:protobuf.MessageOfObj.chest_message)
- if (_internal_has_chest_message())
- {
- clear_has_message_of_obj();
- ::protobuf::MessageOfChest* temp = _impl_.message_of_obj_.chest_message_;
- _impl_.message_of_obj_.chest_message_ = nullptr;
- return temp;
- }
- else
- {
- return nullptr;
- }
- }
- inline void MessageOfObj::unsafe_arena_set_allocated_chest_message(::protobuf::MessageOfChest* chest_message)
- {
- clear_message_of_obj();
- if (chest_message)
- {
- set_has_chest_message();
- _impl_.message_of_obj_.chest_message_ = chest_message;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protobuf.MessageOfObj.chest_message)
- }
- inline ::protobuf::MessageOfChest* MessageOfObj::_internal_mutable_chest_message()
- {
- if (!_internal_has_chest_message())
- {
- clear_message_of_obj();
- set_has_chest_message();
- _impl_.message_of_obj_.chest_message_ = CreateMaybeMessage<::protobuf::MessageOfChest>(GetArenaForAllocation());
- }
- return _impl_.message_of_obj_.chest_message_;
- }
- inline ::protobuf::MessageOfChest* MessageOfObj::mutable_chest_message()
- {
- ::protobuf::MessageOfChest* _msg = _internal_mutable_chest_message();
- // @@protoc_insertion_point(field_mutable:protobuf.MessageOfObj.chest_message)
- return _msg;
- }
-
- // .protobuf.MessageOfHiddenGate hidden_gate_message = 10;
- inline bool MessageOfObj::_internal_has_hidden_gate_message() const
- {
- return message_of_obj_case() == kHiddenGateMessage;
- }
- inline bool MessageOfObj::has_hidden_gate_message() const
- {
- return _internal_has_hidden_gate_message();
- }
- inline void MessageOfObj::set_has_hidden_gate_message()
- {
- _impl_._oneof_case_[0] = kHiddenGateMessage;
- }
- inline void MessageOfObj::clear_hidden_gate_message()
- {
- if (_internal_has_hidden_gate_message())
- {
- if (GetArenaForAllocation() == nullptr)
- {
- delete _impl_.message_of_obj_.hidden_gate_message_;
- }
- clear_has_message_of_obj();
- }
- }
- inline ::protobuf::MessageOfHiddenGate* MessageOfObj::release_hidden_gate_message()
- {
- // @@protoc_insertion_point(field_release:protobuf.MessageOfObj.hidden_gate_message)
- if (_internal_has_hidden_gate_message())
- {
- clear_has_message_of_obj();
- ::protobuf::MessageOfHiddenGate* temp = _impl_.message_of_obj_.hidden_gate_message_;
- if (GetArenaForAllocation() != nullptr)
- {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- _impl_.message_of_obj_.hidden_gate_message_ = nullptr;
- return temp;
- }
- else
- {
- return nullptr;
- }
- }
- inline const ::protobuf::MessageOfHiddenGate& MessageOfObj::_internal_hidden_gate_message() const
- {
- return _internal_has_hidden_gate_message() ? *_impl_.message_of_obj_.hidden_gate_message_ : reinterpret_cast<::protobuf::MessageOfHiddenGate&>(::protobuf::_MessageOfHiddenGate_default_instance_);
- }
- inline const ::protobuf::MessageOfHiddenGate& MessageOfObj::hidden_gate_message() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfObj.hidden_gate_message)
- return _internal_hidden_gate_message();
- }
- inline ::protobuf::MessageOfHiddenGate* MessageOfObj::unsafe_arena_release_hidden_gate_message()
- {
- // @@protoc_insertion_point(field_unsafe_arena_release:protobuf.MessageOfObj.hidden_gate_message)
- if (_internal_has_hidden_gate_message())
- {
- clear_has_message_of_obj();
- ::protobuf::MessageOfHiddenGate* temp = _impl_.message_of_obj_.hidden_gate_message_;
- _impl_.message_of_obj_.hidden_gate_message_ = nullptr;
- return temp;
- }
- else
- {
- return nullptr;
- }
- }
- inline void MessageOfObj::unsafe_arena_set_allocated_hidden_gate_message(::protobuf::MessageOfHiddenGate* hidden_gate_message)
- {
- clear_message_of_obj();
- if (hidden_gate_message)
- {
- set_has_hidden_gate_message();
- _impl_.message_of_obj_.hidden_gate_message_ = hidden_gate_message;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protobuf.MessageOfObj.hidden_gate_message)
- }
- inline ::protobuf::MessageOfHiddenGate* MessageOfObj::_internal_mutable_hidden_gate_message()
- {
- if (!_internal_has_hidden_gate_message())
- {
- clear_message_of_obj();
- set_has_hidden_gate_message();
- _impl_.message_of_obj_.hidden_gate_message_ = CreateMaybeMessage<::protobuf::MessageOfHiddenGate>(GetArenaForAllocation());
- }
- return _impl_.message_of_obj_.hidden_gate_message_;
- }
- inline ::protobuf::MessageOfHiddenGate* MessageOfObj::mutable_hidden_gate_message()
- {
- ::protobuf::MessageOfHiddenGate* _msg = _internal_mutable_hidden_gate_message();
- // @@protoc_insertion_point(field_mutable:protobuf.MessageOfObj.hidden_gate_message)
- return _msg;
- }
-
- // .protobuf.MessageOfNews news_message = 11;
- inline bool MessageOfObj::_internal_has_news_message() const
- {
- return message_of_obj_case() == kNewsMessage;
- }
- inline bool MessageOfObj::has_news_message() const
- {
- return _internal_has_news_message();
- }
- inline void MessageOfObj::set_has_news_message()
- {
- _impl_._oneof_case_[0] = kNewsMessage;
- }
- inline void MessageOfObj::clear_news_message()
- {
- if (_internal_has_news_message())
- {
- if (GetArenaForAllocation() == nullptr)
- {
- delete _impl_.message_of_obj_.news_message_;
- }
- clear_has_message_of_obj();
- }
- }
- inline ::protobuf::MessageOfNews* MessageOfObj::release_news_message()
- {
- // @@protoc_insertion_point(field_release:protobuf.MessageOfObj.news_message)
- if (_internal_has_news_message())
- {
- clear_has_message_of_obj();
- ::protobuf::MessageOfNews* temp = _impl_.message_of_obj_.news_message_;
- if (GetArenaForAllocation() != nullptr)
- {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- _impl_.message_of_obj_.news_message_ = nullptr;
- return temp;
- }
- else
- {
- return nullptr;
- }
- }
- inline const ::protobuf::MessageOfNews& MessageOfObj::_internal_news_message() const
- {
- return _internal_has_news_message() ? *_impl_.message_of_obj_.news_message_ : reinterpret_cast<::protobuf::MessageOfNews&>(::protobuf::_MessageOfNews_default_instance_);
- }
- inline const ::protobuf::MessageOfNews& MessageOfObj::news_message() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfObj.news_message)
- return _internal_news_message();
- }
- inline ::protobuf::MessageOfNews* MessageOfObj::unsafe_arena_release_news_message()
- {
- // @@protoc_insertion_point(field_unsafe_arena_release:protobuf.MessageOfObj.news_message)
- if (_internal_has_news_message())
- {
- clear_has_message_of_obj();
- ::protobuf::MessageOfNews* temp = _impl_.message_of_obj_.news_message_;
- _impl_.message_of_obj_.news_message_ = nullptr;
- return temp;
- }
- else
- {
- return nullptr;
- }
- }
- inline void MessageOfObj::unsafe_arena_set_allocated_news_message(::protobuf::MessageOfNews* news_message)
- {
- clear_message_of_obj();
- if (news_message)
- {
- set_has_news_message();
- _impl_.message_of_obj_.news_message_ = news_message;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protobuf.MessageOfObj.news_message)
- }
- inline ::protobuf::MessageOfNews* MessageOfObj::_internal_mutable_news_message()
- {
- if (!_internal_has_news_message())
- {
- clear_message_of_obj();
- set_has_news_message();
- _impl_.message_of_obj_.news_message_ = CreateMaybeMessage<::protobuf::MessageOfNews>(GetArenaForAllocation());
- }
- return _impl_.message_of_obj_.news_message_;
- }
- inline ::protobuf::MessageOfNews* MessageOfObj::mutable_news_message()
- {
- ::protobuf::MessageOfNews* _msg = _internal_mutable_news_message();
- // @@protoc_insertion_point(field_mutable:protobuf.MessageOfObj.news_message)
- return _msg;
- }
-
- // .protobuf.MessageOfMap map_message = 12;
- inline bool MessageOfObj::_internal_has_map_message() const
- {
- return message_of_obj_case() == kMapMessage;
- }
- inline bool MessageOfObj::has_map_message() const
- {
- return _internal_has_map_message();
- }
- inline void MessageOfObj::set_has_map_message()
- {
- _impl_._oneof_case_[0] = kMapMessage;
- }
- inline void MessageOfObj::clear_map_message()
- {
- if (_internal_has_map_message())
- {
- if (GetArenaForAllocation() == nullptr)
- {
- delete _impl_.message_of_obj_.map_message_;
- }
- clear_has_message_of_obj();
- }
- }
- inline ::protobuf::MessageOfMap* MessageOfObj::release_map_message()
- {
- // @@protoc_insertion_point(field_release:protobuf.MessageOfObj.map_message)
- if (_internal_has_map_message())
- {
- clear_has_message_of_obj();
- ::protobuf::MessageOfMap* temp = _impl_.message_of_obj_.map_message_;
- if (GetArenaForAllocation() != nullptr)
- {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- _impl_.message_of_obj_.map_message_ = nullptr;
- return temp;
- }
- else
- {
- return nullptr;
- }
- }
- inline const ::protobuf::MessageOfMap& MessageOfObj::_internal_map_message() const
- {
- return _internal_has_map_message() ? *_impl_.message_of_obj_.map_message_ : reinterpret_cast<::protobuf::MessageOfMap&>(::protobuf::_MessageOfMap_default_instance_);
- }
- inline const ::protobuf::MessageOfMap& MessageOfObj::map_message() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfObj.map_message)
- return _internal_map_message();
- }
- inline ::protobuf::MessageOfMap* MessageOfObj::unsafe_arena_release_map_message()
- {
- // @@protoc_insertion_point(field_unsafe_arena_release:protobuf.MessageOfObj.map_message)
- if (_internal_has_map_message())
- {
- clear_has_message_of_obj();
- ::protobuf::MessageOfMap* temp = _impl_.message_of_obj_.map_message_;
- _impl_.message_of_obj_.map_message_ = nullptr;
- return temp;
- }
- else
- {
- return nullptr;
- }
- }
- inline void MessageOfObj::unsafe_arena_set_allocated_map_message(::protobuf::MessageOfMap* map_message)
- {
- clear_message_of_obj();
- if (map_message)
- {
- set_has_map_message();
- _impl_.message_of_obj_.map_message_ = map_message;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protobuf.MessageOfObj.map_message)
- }
- inline ::protobuf::MessageOfMap* MessageOfObj::_internal_mutable_map_message()
- {
- if (!_internal_has_map_message())
- {
- clear_message_of_obj();
- set_has_map_message();
- _impl_.message_of_obj_.map_message_ = CreateMaybeMessage<::protobuf::MessageOfMap>(GetArenaForAllocation());
- }
- return _impl_.message_of_obj_.map_message_;
- }
- inline ::protobuf::MessageOfMap* MessageOfObj::mutable_map_message()
- {
- ::protobuf::MessageOfMap* _msg = _internal_mutable_map_message();
- // @@protoc_insertion_point(field_mutable:protobuf.MessageOfObj.map_message)
- return _msg;
- }
-
- inline bool MessageOfObj::has_message_of_obj() const
- {
- return message_of_obj_case() != MESSAGE_OF_OBJ_NOT_SET;
- }
- inline void MessageOfObj::clear_has_message_of_obj()
- {
- _impl_._oneof_case_[0] = MESSAGE_OF_OBJ_NOT_SET;
- }
- inline MessageOfObj::MessageOfObjCase MessageOfObj::message_of_obj_case() const
- {
- return MessageOfObj::MessageOfObjCase(_impl_._oneof_case_[0]);
- }
- // -------------------------------------------------------------------
-
- // MessageOfAll
-
- // int32 game_time = 1;
- inline void MessageOfAll::clear_game_time()
- {
- _impl_.game_time_ = 0;
- }
- inline int32_t MessageOfAll::_internal_game_time() const
- {
- return _impl_.game_time_;
- }
- inline int32_t MessageOfAll::game_time() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfAll.game_time)
- return _internal_game_time();
- }
- inline void MessageOfAll::_internal_set_game_time(int32_t value)
- {
- _impl_.game_time_ = value;
- }
- inline void MessageOfAll::set_game_time(int32_t value)
- {
- _internal_set_game_time(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfAll.game_time)
- }
-
- // int32 subject_finished = 2;
- inline void MessageOfAll::clear_subject_finished()
- {
- _impl_.subject_finished_ = 0;
- }
- inline int32_t MessageOfAll::_internal_subject_finished() const
- {
- return _impl_.subject_finished_;
- }
- inline int32_t MessageOfAll::subject_finished() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfAll.subject_finished)
- return _internal_subject_finished();
- }
- inline void MessageOfAll::_internal_set_subject_finished(int32_t value)
- {
- _impl_.subject_finished_ = value;
- }
- inline void MessageOfAll::set_subject_finished(int32_t value)
- {
- _internal_set_subject_finished(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfAll.subject_finished)
- }
-
- // int32 student_graduated = 3;
- inline void MessageOfAll::clear_student_graduated()
- {
- _impl_.student_graduated_ = 0;
- }
- inline int32_t MessageOfAll::_internal_student_graduated() const
- {
- return _impl_.student_graduated_;
- }
- inline int32_t MessageOfAll::student_graduated() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfAll.student_graduated)
- return _internal_student_graduated();
- }
- inline void MessageOfAll::_internal_set_student_graduated(int32_t value)
- {
- _impl_.student_graduated_ = value;
- }
- inline void MessageOfAll::set_student_graduated(int32_t value)
- {
- _internal_set_student_graduated(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfAll.student_graduated)
- }
-
- // int32 student_quited = 4;
- inline void MessageOfAll::clear_student_quited()
- {
- _impl_.student_quited_ = 0;
- }
- inline int32_t MessageOfAll::_internal_student_quited() const
- {
- return _impl_.student_quited_;
- }
- inline int32_t MessageOfAll::student_quited() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfAll.student_quited)
- return _internal_student_quited();
- }
- inline void MessageOfAll::_internal_set_student_quited(int32_t value)
- {
- _impl_.student_quited_ = value;
- }
- inline void MessageOfAll::set_student_quited(int32_t value)
- {
- _internal_set_student_quited(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfAll.student_quited)
- }
-
- // int32 student_score = 5;
- inline void MessageOfAll::clear_student_score()
- {
- _impl_.student_score_ = 0;
- }
- inline int32_t MessageOfAll::_internal_student_score() const
- {
- return _impl_.student_score_;
- }
- inline int32_t MessageOfAll::student_score() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfAll.student_score)
- return _internal_student_score();
- }
- inline void MessageOfAll::_internal_set_student_score(int32_t value)
- {
- _impl_.student_score_ = value;
- }
- inline void MessageOfAll::set_student_score(int32_t value)
- {
- _internal_set_student_score(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfAll.student_score)
- }
-
- // int32 tricker_score = 6;
- inline void MessageOfAll::clear_tricker_score()
- {
- _impl_.tricker_score_ = 0;
- }
- inline int32_t MessageOfAll::_internal_tricker_score() const
- {
- return _impl_.tricker_score_;
- }
- inline int32_t MessageOfAll::tricker_score() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageOfAll.tricker_score)
- return _internal_tricker_score();
- }
- inline void MessageOfAll::_internal_set_tricker_score(int32_t value)
- {
- _impl_.tricker_score_ = value;
- }
- inline void MessageOfAll::set_tricker_score(int32_t value)
- {
- _internal_set_tricker_score(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageOfAll.tricker_score)
- }
-
- // -------------------------------------------------------------------
-
- // MessageToClient
-
- // repeated .protobuf.MessageOfObj obj_message = 1;
- inline int MessageToClient::_internal_obj_message_size() const
- {
- return _impl_.obj_message_.size();
- }
- inline int MessageToClient::obj_message_size() const
- {
- return _internal_obj_message_size();
- }
- inline void MessageToClient::clear_obj_message()
- {
- _impl_.obj_message_.Clear();
- }
- inline ::protobuf::MessageOfObj* MessageToClient::mutable_obj_message(int index)
- {
- // @@protoc_insertion_point(field_mutable:protobuf.MessageToClient.obj_message)
- return _impl_.obj_message_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfObj>*
- MessageToClient::mutable_obj_message()
- {
- // @@protoc_insertion_point(field_mutable_list:protobuf.MessageToClient.obj_message)
- return &_impl_.obj_message_;
- }
- inline const ::protobuf::MessageOfObj& MessageToClient::_internal_obj_message(int index) const
- {
- return _impl_.obj_message_.Get(index);
- }
- inline const ::protobuf::MessageOfObj& MessageToClient::obj_message(int index) const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageToClient.obj_message)
- return _internal_obj_message(index);
- }
- inline ::protobuf::MessageOfObj* MessageToClient::_internal_add_obj_message()
- {
- return _impl_.obj_message_.Add();
- }
- inline ::protobuf::MessageOfObj* MessageToClient::add_obj_message()
- {
- ::protobuf::MessageOfObj* _add = _internal_add_obj_message();
- // @@protoc_insertion_point(field_add:protobuf.MessageToClient.obj_message)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfObj>&
- MessageToClient::obj_message() const
- {
- // @@protoc_insertion_point(field_list:protobuf.MessageToClient.obj_message)
- return _impl_.obj_message_;
- }
-
- // .protobuf.GameState game_state = 2;
- inline void MessageToClient::clear_game_state()
- {
- _impl_.game_state_ = 0;
- }
- inline ::protobuf::GameState MessageToClient::_internal_game_state() const
- {
- return static_cast<::protobuf::GameState>(_impl_.game_state_);
- }
- inline ::protobuf::GameState MessageToClient::game_state() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageToClient.game_state)
- return _internal_game_state();
- }
- inline void MessageToClient::_internal_set_game_state(::protobuf::GameState value)
- {
- _impl_.game_state_ = value;
- }
- inline void MessageToClient::set_game_state(::protobuf::GameState value)
- {
- _internal_set_game_state(value);
- // @@protoc_insertion_point(field_set:protobuf.MessageToClient.game_state)
- }
-
- // .protobuf.MessageOfAll all_message = 3;
- inline bool MessageToClient::_internal_has_all_message() const
- {
- return this != internal_default_instance() && _impl_.all_message_ != nullptr;
- }
- inline bool MessageToClient::has_all_message() const
- {
- return _internal_has_all_message();
- }
- inline void MessageToClient::clear_all_message()
- {
- if (GetArenaForAllocation() == nullptr && _impl_.all_message_ != nullptr)
- {
- delete _impl_.all_message_;
- }
- _impl_.all_message_ = nullptr;
- }
- inline const ::protobuf::MessageOfAll& MessageToClient::_internal_all_message() const
- {
- const ::protobuf::MessageOfAll* p = _impl_.all_message_;
- return p != nullptr ? *p : reinterpret_cast<const ::protobuf::MessageOfAll&>(::protobuf::_MessageOfAll_default_instance_);
- }
- inline const ::protobuf::MessageOfAll& MessageToClient::all_message() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MessageToClient.all_message)
- return _internal_all_message();
- }
- inline void MessageToClient::unsafe_arena_set_allocated_all_message(
- ::protobuf::MessageOfAll* all_message
- )
- {
- if (GetArenaForAllocation() == nullptr)
- {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.all_message_);
- }
- _impl_.all_message_ = all_message;
- if (all_message)
- {
- }
- else
- {
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protobuf.MessageToClient.all_message)
- }
- inline ::protobuf::MessageOfAll* MessageToClient::release_all_message()
- {
- ::protobuf::MessageOfAll* temp = _impl_.all_message_;
- _impl_.all_message_ = nullptr;
- #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
- auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- if (GetArenaForAllocation() == nullptr)
- {
- delete old;
- }
- #else // PROTOBUF_FORCE_COPY_IN_RELEASE
- if (GetArenaForAllocation() != nullptr)
- {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
- return temp;
- }
- inline ::protobuf::MessageOfAll* MessageToClient::unsafe_arena_release_all_message()
- {
- // @@protoc_insertion_point(field_release:protobuf.MessageToClient.all_message)
-
- ::protobuf::MessageOfAll* temp = _impl_.all_message_;
- _impl_.all_message_ = nullptr;
- return temp;
- }
- inline ::protobuf::MessageOfAll* MessageToClient::_internal_mutable_all_message()
- {
- if (_impl_.all_message_ == nullptr)
- {
- auto* p = CreateMaybeMessage<::protobuf::MessageOfAll>(GetArenaForAllocation());
- _impl_.all_message_ = p;
- }
- return _impl_.all_message_;
- }
- inline ::protobuf::MessageOfAll* MessageToClient::mutable_all_message()
- {
- ::protobuf::MessageOfAll* _msg = _internal_mutable_all_message();
- // @@protoc_insertion_point(field_mutable:protobuf.MessageToClient.all_message)
- return _msg;
- }
- inline void MessageToClient::set_allocated_all_message(::protobuf::MessageOfAll* all_message)
- {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
- if (message_arena == nullptr)
- {
- delete _impl_.all_message_;
- }
- if (all_message)
- {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(all_message);
- if (message_arena != submessage_arena)
- {
- all_message = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, all_message, submessage_arena
- );
- }
- }
- else
- {
- }
- _impl_.all_message_ = all_message;
- // @@protoc_insertion_point(field_set_allocated:protobuf.MessageToClient.all_message)
- }
-
- // -------------------------------------------------------------------
-
- // MoveRes
-
- // int64 actual_speed = 1;
- inline void MoveRes::clear_actual_speed()
- {
- _impl_.actual_speed_ = int64_t{0};
- }
- inline int64_t MoveRes::_internal_actual_speed() const
- {
- return _impl_.actual_speed_;
- }
- inline int64_t MoveRes::actual_speed() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MoveRes.actual_speed)
- return _internal_actual_speed();
- }
- inline void MoveRes::_internal_set_actual_speed(int64_t value)
- {
- _impl_.actual_speed_ = value;
- }
- inline void MoveRes::set_actual_speed(int64_t value)
- {
- _internal_set_actual_speed(value);
- // @@protoc_insertion_point(field_set:protobuf.MoveRes.actual_speed)
- }
-
- // double actual_angle = 2;
- inline void MoveRes::clear_actual_angle()
- {
- _impl_.actual_angle_ = 0;
- }
- inline double MoveRes::_internal_actual_angle() const
- {
- return _impl_.actual_angle_;
- }
- inline double MoveRes::actual_angle() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MoveRes.actual_angle)
- return _internal_actual_angle();
- }
- inline void MoveRes::_internal_set_actual_angle(double value)
- {
- _impl_.actual_angle_ = value;
- }
- inline void MoveRes::set_actual_angle(double value)
- {
- _internal_set_actual_angle(value);
- // @@protoc_insertion_point(field_set:protobuf.MoveRes.actual_angle)
- }
-
- // bool act_success = 3;
- inline void MoveRes::clear_act_success()
- {
- _impl_.act_success_ = false;
- }
- inline bool MoveRes::_internal_act_success() const
- {
- return _impl_.act_success_;
- }
- inline bool MoveRes::act_success() const
- {
- // @@protoc_insertion_point(field_get:protobuf.MoveRes.act_success)
- return _internal_act_success();
- }
- inline void MoveRes::_internal_set_act_success(bool value)
- {
- _impl_.act_success_ = value;
- }
- inline void MoveRes::set_act_success(bool value)
- {
- _internal_set_act_success(value);
- // @@protoc_insertion_point(field_set:protobuf.MoveRes.act_success)
- }
-
- // -------------------------------------------------------------------
-
- // BoolRes
-
- // bool act_success = 1;
- inline void BoolRes::clear_act_success()
- {
- _impl_.act_success_ = false;
- }
- inline bool BoolRes::_internal_act_success() const
- {
- return _impl_.act_success_;
- }
- inline bool BoolRes::act_success() const
- {
- // @@protoc_insertion_point(field_get:protobuf.BoolRes.act_success)
- return _internal_act_success();
- }
- inline void BoolRes::_internal_set_act_success(bool value)
- {
- _impl_.act_success_ = value;
- }
- inline void BoolRes::set_act_success(bool value)
- {
- _internal_set_act_success(value);
- // @@protoc_insertion_point(field_set:protobuf.BoolRes.act_success)
- }
-
- #ifdef __GNUC__
- #pragma GCC diagnostic pop
- #endif // __GNUC__
- // -------------------------------------------------------------------
-
- // -------------------------------------------------------------------
-
- // -------------------------------------------------------------------
-
- // -------------------------------------------------------------------
-
- // -------------------------------------------------------------------
-
- // -------------------------------------------------------------------
-
- // -------------------------------------------------------------------
-
- // -------------------------------------------------------------------
-
- // -------------------------------------------------------------------
-
- // -------------------------------------------------------------------
-
- // -------------------------------------------------------------------
-
- // -------------------------------------------------------------------
-
- // -------------------------------------------------------------------
-
- // -------------------------------------------------------------------
-
- // -------------------------------------------------------------------
-
- // -------------------------------------------------------------------
-
- // -------------------------------------------------------------------
-
- // -------------------------------------------------------------------
-
- // @@protoc_insertion_point(namespace_scope)
-
- } // namespace protobuf
-
- // @@protoc_insertion_point(global_scope)
-
- #include <google/protobuf/port_undef.inc>
- #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_Message2Clients_2eproto
|