You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

Message2Clients.pb.h 182 kB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: Message2Clients.proto
  3. #ifndef GOOGLE_PROTOBUF_INCLUDED_Message2Clients_2eproto
  4. #define GOOGLE_PROTOBUF_INCLUDED_Message2Clients_2eproto
  5. #include <limits>
  6. #include <string>
  7. #include <google/protobuf/port_def.inc>
  8. #if PROTOBUF_VERSION < 3021000
  9. #error This file was generated by a newer version of protoc which is
  10. #error incompatible with your Protocol Buffer headers. Please update
  11. #error your headers.
  12. #endif
  13. #if 3021009 < PROTOBUF_MIN_PROTOC_VERSION
  14. #error This file was generated by an older version of protoc which is
  15. #error incompatible with your Protocol Buffer headers. Please
  16. #error regenerate this file with a newer version of protoc.
  17. #endif
  18. #include <google/protobuf/port_undef.inc>
  19. #include <google/protobuf/io/coded_stream.h>
  20. #include <google/protobuf/arena.h>
  21. #include <google/protobuf/arenastring.h>
  22. #include <google/protobuf/generated_message_util.h>
  23. #include <google/protobuf/metadata_lite.h>
  24. #include <google/protobuf/generated_message_reflection.h>
  25. #include <google/protobuf/message.h>
  26. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  27. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  28. #include <google/protobuf/unknown_field_set.h>
  29. #include "MessageType.pb.h"
  30. // @@protoc_insertion_point(includes)
  31. #include <google/protobuf/port_def.inc>
  32. #define PROTOBUF_INTERNAL_EXPORT_Message2Clients_2eproto
  33. PROTOBUF_NAMESPACE_OPEN
  34. namespace internal
  35. {
  36. class AnyMetadata;
  37. } // namespace internal
  38. PROTOBUF_NAMESPACE_CLOSE
  39. // Internal implementation detail -- do not use these members.
  40. struct TableStruct_Message2Clients_2eproto
  41. {
  42. static const uint32_t offsets[];
  43. };
  44. extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_Message2Clients_2eproto;
  45. namespace protobuf
  46. {
  47. class BoolRes;
  48. struct BoolResDefaultTypeInternal;
  49. extern BoolResDefaultTypeInternal _BoolRes_default_instance_;
  50. class MessageOfBombedBullet;
  51. struct MessageOfBombedBulletDefaultTypeInternal;
  52. extern MessageOfBombedBulletDefaultTypeInternal _MessageOfBombedBullet_default_instance_;
  53. class MessageOfBullet;
  54. struct MessageOfBulletDefaultTypeInternal;
  55. extern MessageOfBulletDefaultTypeInternal _MessageOfBullet_default_instance_;
  56. class MessageOfMap;
  57. struct MessageOfMapDefaultTypeInternal;
  58. extern MessageOfMapDefaultTypeInternal _MessageOfMap_default_instance_;
  59. class MessageOfMap_Row;
  60. struct MessageOfMap_RowDefaultTypeInternal;
  61. extern MessageOfMap_RowDefaultTypeInternal _MessageOfMap_Row_default_instance_;
  62. class MessageOfPickedProp;
  63. struct MessageOfPickedPropDefaultTypeInternal;
  64. extern MessageOfPickedPropDefaultTypeInternal _MessageOfPickedProp_default_instance_;
  65. class MessageOfProp;
  66. struct MessageOfPropDefaultTypeInternal;
  67. extern MessageOfPropDefaultTypeInternal _MessageOfProp_default_instance_;
  68. class MessageOfStudent;
  69. struct MessageOfStudentDefaultTypeInternal;
  70. extern MessageOfStudentDefaultTypeInternal _MessageOfStudent_default_instance_;
  71. class MessageOfTricker;
  72. struct MessageOfTrickerDefaultTypeInternal;
  73. extern MessageOfTrickerDefaultTypeInternal _MessageOfTricker_default_instance_;
  74. class MessageToClient;
  75. struct MessageToClientDefaultTypeInternal;
  76. extern MessageToClientDefaultTypeInternal _MessageToClient_default_instance_;
  77. class MoveRes;
  78. struct MoveResDefaultTypeInternal;
  79. extern MoveResDefaultTypeInternal _MoveRes_default_instance_;
  80. class MsgRes;
  81. struct MsgResDefaultTypeInternal;
  82. extern MsgResDefaultTypeInternal _MsgRes_default_instance_;
  83. } // namespace protobuf
  84. PROTOBUF_NAMESPACE_OPEN
  85. template<>
  86. ::protobuf::BoolRes* Arena::CreateMaybeMessage<::protobuf::BoolRes>(Arena*);
  87. template<>
  88. ::protobuf::MessageOfBombedBullet* Arena::CreateMaybeMessage<::protobuf::MessageOfBombedBullet>(Arena*);
  89. template<>
  90. ::protobuf::MessageOfBullet* Arena::CreateMaybeMessage<::protobuf::MessageOfBullet>(Arena*);
  91. template<>
  92. ::protobuf::MessageOfMap* Arena::CreateMaybeMessage<::protobuf::MessageOfMap>(Arena*);
  93. template<>
  94. ::protobuf::MessageOfMap_Row* Arena::CreateMaybeMessage<::protobuf::MessageOfMap_Row>(Arena*);
  95. template<>
  96. ::protobuf::MessageOfPickedProp* Arena::CreateMaybeMessage<::protobuf::MessageOfPickedProp>(Arena*);
  97. template<>
  98. ::protobuf::MessageOfProp* Arena::CreateMaybeMessage<::protobuf::MessageOfProp>(Arena*);
  99. template<>
  100. ::protobuf::MessageOfStudent* Arena::CreateMaybeMessage<::protobuf::MessageOfStudent>(Arena*);
  101. template<>
  102. ::protobuf::MessageOfTricker* Arena::CreateMaybeMessage<::protobuf::MessageOfTricker>(Arena*);
  103. template<>
  104. ::protobuf::MessageToClient* Arena::CreateMaybeMessage<::protobuf::MessageToClient>(Arena*);
  105. template<>
  106. ::protobuf::MoveRes* Arena::CreateMaybeMessage<::protobuf::MoveRes>(Arena*);
  107. template<>
  108. ::protobuf::MsgRes* Arena::CreateMaybeMessage<::protobuf::MsgRes>(Arena*);
  109. PROTOBUF_NAMESPACE_CLOSE
  110. namespace protobuf
  111. {
  112. // ===================================================================
  113. class MessageOfStudent final :
  114. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfStudent) */
  115. {
  116. public:
  117. inline MessageOfStudent() :
  118. MessageOfStudent(nullptr)
  119. {
  120. }
  121. ~MessageOfStudent() override;
  122. explicit PROTOBUF_CONSTEXPR MessageOfStudent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  123. MessageOfStudent(const MessageOfStudent& from);
  124. MessageOfStudent(MessageOfStudent&& from) noexcept
  125. :
  126. MessageOfStudent()
  127. {
  128. *this = ::std::move(from);
  129. }
  130. inline MessageOfStudent& operator=(const MessageOfStudent& from)
  131. {
  132. CopyFrom(from);
  133. return *this;
  134. }
  135. inline MessageOfStudent& operator=(MessageOfStudent&& from) noexcept
  136. {
  137. if (this == &from)
  138. return *this;
  139. if (GetOwningArena() == from.GetOwningArena()
  140. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  141. && GetOwningArena() != nullptr
  142. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  143. )
  144. {
  145. InternalSwap(&from);
  146. }
  147. else
  148. {
  149. CopyFrom(from);
  150. }
  151. return *this;
  152. }
  153. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
  154. {
  155. return GetDescriptor();
  156. }
  157. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
  158. {
  159. return default_instance().GetMetadata().descriptor;
  160. }
  161. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
  162. {
  163. return default_instance().GetMetadata().reflection;
  164. }
  165. static const MessageOfStudent& default_instance()
  166. {
  167. return *internal_default_instance();
  168. }
  169. static inline const MessageOfStudent* internal_default_instance()
  170. {
  171. return reinterpret_cast<const MessageOfStudent*>(
  172. &_MessageOfStudent_default_instance_
  173. );
  174. }
  175. static constexpr int kIndexInFileMessages =
  176. 0;
  177. friend void swap(MessageOfStudent& a, MessageOfStudent& b)
  178. {
  179. a.Swap(&b);
  180. }
  181. inline void Swap(MessageOfStudent* other)
  182. {
  183. if (other == this)
  184. return;
  185. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  186. if (GetOwningArena() != nullptr &&
  187. GetOwningArena() == other->GetOwningArena())
  188. {
  189. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  190. if (GetOwningArena() == other->GetOwningArena())
  191. {
  192. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  193. InternalSwap(other);
  194. }
  195. else
  196. {
  197. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  198. }
  199. }
  200. void UnsafeArenaSwap(MessageOfStudent* other)
  201. {
  202. if (other == this)
  203. return;
  204. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  205. InternalSwap(other);
  206. }
  207. // implements Message ----------------------------------------------
  208. MessageOfStudent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
  209. {
  210. return CreateMaybeMessage<MessageOfStudent>(arena);
  211. }
  212. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  213. void CopyFrom(const MessageOfStudent& from);
  214. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  215. void MergeFrom(const MessageOfStudent& from)
  216. {
  217. MessageOfStudent::MergeImpl(*this, from);
  218. }
  219. private:
  220. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  221. public:
  222. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  223. bool IsInitialized() const final;
  224. size_t ByteSizeLong() const final;
  225. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  226. uint8_t* _InternalSerialize(
  227. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
  228. ) const final;
  229. int GetCachedSize() const final
  230. {
  231. return _impl_._cached_size_.Get();
  232. }
  233. private:
  234. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  235. void SharedDtor();
  236. void SetCachedSize(int size) const final;
  237. void InternalSwap(MessageOfStudent* other);
  238. private:
  239. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  240. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
  241. {
  242. return "protobuf.MessageOfStudent";
  243. }
  244. protected:
  245. explicit MessageOfStudent(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
  246. public:
  247. static const ClassData _class_data_;
  248. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
  249. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  250. // nested types ----------------------------------------------------
  251. // accessors -------------------------------------------------------
  252. enum : int
  253. {
  254. kBuffFieldNumber = 19,
  255. kXFieldNumber = 1,
  256. kYFieldNumber = 2,
  257. kSpeedFieldNumber = 3,
  258. kDeterminationFieldNumber = 4,
  259. kTimeUntilSkillAvailableFieldNumber = 6,
  260. kFailNumFieldNumber = 5,
  261. kPlaceFieldNumber = 7,
  262. kPropFieldNumber = 8,
  263. kStudentTypeFieldNumber = 9,
  264. kGuidFieldNumber = 10,
  265. kFailTimeFieldNumber = 12,
  266. kStateFieldNumber = 11,
  267. kViewRangeFieldNumber = 16,
  268. kEmoTimeFieldNumber = 14,
  269. kPlayerIdFieldNumber = 15,
  270. kRadiusFieldNumber = 17,
  271. kDamageFieldNumber = 18,
  272. };
  273. // repeated .protobuf.StudentBuffType buff = 19;
  274. int buff_size() const;
  275. private:
  276. int _internal_buff_size() const;
  277. public:
  278. void clear_buff();
  279. private:
  280. ::protobuf::StudentBuffType _internal_buff(int index) const;
  281. void _internal_add_buff(::protobuf::StudentBuffType value);
  282. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_buff();
  283. public:
  284. ::protobuf::StudentBuffType buff(int index) const;
  285. void set_buff(int index, ::protobuf::StudentBuffType value);
  286. void add_buff(::protobuf::StudentBuffType value);
  287. const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& buff() const;
  288. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_buff();
  289. // int32 x = 1;
  290. void clear_x();
  291. int32_t x() const;
  292. void set_x(int32_t value);
  293. private:
  294. int32_t _internal_x() const;
  295. void _internal_set_x(int32_t value);
  296. public:
  297. // int32 y = 2;
  298. void clear_y();
  299. int32_t y() const;
  300. void set_y(int32_t value);
  301. private:
  302. int32_t _internal_y() const;
  303. void _internal_set_y(int32_t value);
  304. public:
  305. // int32 speed = 3;
  306. void clear_speed();
  307. int32_t speed() const;
  308. void set_speed(int32_t value);
  309. private:
  310. int32_t _internal_speed() const;
  311. void _internal_set_speed(int32_t value);
  312. public:
  313. // int32 determination = 4;
  314. void clear_determination();
  315. int32_t determination() const;
  316. void set_determination(int32_t value);
  317. private:
  318. int32_t _internal_determination() const;
  319. void _internal_set_determination(int32_t value);
  320. public:
  321. // double time_until_skill_available = 6;
  322. void clear_time_until_skill_available();
  323. double time_until_skill_available() const;
  324. void set_time_until_skill_available(double value);
  325. private:
  326. double _internal_time_until_skill_available() const;
  327. void _internal_set_time_until_skill_available(double value);
  328. public:
  329. // int32 fail_num = 5;
  330. void clear_fail_num();
  331. int32_t fail_num() const;
  332. void set_fail_num(int32_t value);
  333. private:
  334. int32_t _internal_fail_num() const;
  335. void _internal_set_fail_num(int32_t value);
  336. public:
  337. // .protobuf.PlaceType place = 7;
  338. void clear_place();
  339. ::protobuf::PlaceType place() const;
  340. void set_place(::protobuf::PlaceType value);
  341. private:
  342. ::protobuf::PlaceType _internal_place() const;
  343. void _internal_set_place(::protobuf::PlaceType value);
  344. public:
  345. // .protobuf.PropType prop = 8;
  346. void clear_prop();
  347. ::protobuf::PropType prop() const;
  348. void set_prop(::protobuf::PropType value);
  349. private:
  350. ::protobuf::PropType _internal_prop() const;
  351. void _internal_set_prop(::protobuf::PropType value);
  352. public:
  353. // .protobuf.StudentType student_type = 9;
  354. void clear_student_type();
  355. ::protobuf::StudentType student_type() const;
  356. void set_student_type(::protobuf::StudentType value);
  357. private:
  358. ::protobuf::StudentType _internal_student_type() const;
  359. void _internal_set_student_type(::protobuf::StudentType value);
  360. public:
  361. // int64 guid = 10;
  362. void clear_guid();
  363. int64_t guid() const;
  364. void set_guid(int64_t value);
  365. private:
  366. int64_t _internal_guid() const;
  367. void _internal_set_guid(int64_t value);
  368. public:
  369. // double fail_time = 12;
  370. void clear_fail_time();
  371. double fail_time() const;
  372. void set_fail_time(double value);
  373. private:
  374. double _internal_fail_time() const;
  375. void _internal_set_fail_time(double value);
  376. public:
  377. // .protobuf.StudentState state = 11;
  378. void clear_state();
  379. ::protobuf::StudentState state() const;
  380. void set_state(::protobuf::StudentState value);
  381. private:
  382. ::protobuf::StudentState _internal_state() const;
  383. void _internal_set_state(::protobuf::StudentState value);
  384. public:
  385. // int32 view_range = 16;
  386. void clear_view_range();
  387. int32_t view_range() const;
  388. void set_view_range(int32_t value);
  389. private:
  390. int32_t _internal_view_range() const;
  391. void _internal_set_view_range(int32_t value);
  392. public:
  393. // double emo_time = 14;
  394. void clear_emo_time();
  395. double emo_time() const;
  396. void set_emo_time(double value);
  397. private:
  398. double _internal_emo_time() const;
  399. void _internal_set_emo_time(double value);
  400. public:
  401. // int64 player_id = 15;
  402. void clear_player_id();
  403. int64_t player_id() const;
  404. void set_player_id(int64_t value);
  405. private:
  406. int64_t _internal_player_id() const;
  407. void _internal_set_player_id(int64_t value);
  408. public:
  409. // int32 radius = 17;
  410. void clear_radius();
  411. int32_t radius() const;
  412. void set_radius(int32_t value);
  413. private:
  414. int32_t _internal_radius() const;
  415. void _internal_set_radius(int32_t value);
  416. public:
  417. // int32 damage = 18;
  418. void clear_damage();
  419. int32_t damage() const;
  420. void set_damage(int32_t value);
  421. private:
  422. int32_t _internal_damage() const;
  423. void _internal_set_damage(int32_t value);
  424. public:
  425. // @@protoc_insertion_point(class_scope:protobuf.MessageOfStudent)
  426. private:
  427. class _Internal;
  428. template<typename T>
  429. friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  430. typedef void InternalArenaConstructable_;
  431. typedef void DestructorSkippable_;
  432. struct Impl_
  433. {
  434. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> buff_;
  435. mutable std::atomic<int> _buff_cached_byte_size_;
  436. int32_t x_;
  437. int32_t y_;
  438. int32_t speed_;
  439. int32_t determination_;
  440. double time_until_skill_available_;
  441. int32_t fail_num_;
  442. int place_;
  443. int prop_;
  444. int student_type_;
  445. int64_t guid_;
  446. double fail_time_;
  447. int state_;
  448. int32_t view_range_;
  449. double emo_time_;
  450. int64_t player_id_;
  451. int32_t radius_;
  452. int32_t damage_;
  453. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  454. };
  455. union
  456. {
  457. Impl_ _impl_;
  458. };
  459. friend struct ::TableStruct_Message2Clients_2eproto;
  460. };
  461. // -------------------------------------------------------------------
  462. class MessageOfTricker final :
  463. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfTricker) */
  464. {
  465. public:
  466. inline MessageOfTricker() :
  467. MessageOfTricker(nullptr)
  468. {
  469. }
  470. ~MessageOfTricker() override;
  471. explicit PROTOBUF_CONSTEXPR MessageOfTricker(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  472. MessageOfTricker(const MessageOfTricker& from);
  473. MessageOfTricker(MessageOfTricker&& from) noexcept
  474. :
  475. MessageOfTricker()
  476. {
  477. *this = ::std::move(from);
  478. }
  479. inline MessageOfTricker& operator=(const MessageOfTricker& from)
  480. {
  481. CopyFrom(from);
  482. return *this;
  483. }
  484. inline MessageOfTricker& operator=(MessageOfTricker&& from) noexcept
  485. {
  486. if (this == &from)
  487. return *this;
  488. if (GetOwningArena() == from.GetOwningArena()
  489. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  490. && GetOwningArena() != nullptr
  491. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  492. )
  493. {
  494. InternalSwap(&from);
  495. }
  496. else
  497. {
  498. CopyFrom(from);
  499. }
  500. return *this;
  501. }
  502. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
  503. {
  504. return GetDescriptor();
  505. }
  506. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
  507. {
  508. return default_instance().GetMetadata().descriptor;
  509. }
  510. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
  511. {
  512. return default_instance().GetMetadata().reflection;
  513. }
  514. static const MessageOfTricker& default_instance()
  515. {
  516. return *internal_default_instance();
  517. }
  518. static inline const MessageOfTricker* internal_default_instance()
  519. {
  520. return reinterpret_cast<const MessageOfTricker*>(
  521. &_MessageOfTricker_default_instance_
  522. );
  523. }
  524. static constexpr int kIndexInFileMessages =
  525. 1;
  526. friend void swap(MessageOfTricker& a, MessageOfTricker& b)
  527. {
  528. a.Swap(&b);
  529. }
  530. inline void Swap(MessageOfTricker* other)
  531. {
  532. if (other == this)
  533. return;
  534. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  535. if (GetOwningArena() != nullptr &&
  536. GetOwningArena() == other->GetOwningArena())
  537. {
  538. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  539. if (GetOwningArena() == other->GetOwningArena())
  540. {
  541. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  542. InternalSwap(other);
  543. }
  544. else
  545. {
  546. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  547. }
  548. }
  549. void UnsafeArenaSwap(MessageOfTricker* other)
  550. {
  551. if (other == this)
  552. return;
  553. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  554. InternalSwap(other);
  555. }
  556. // implements Message ----------------------------------------------
  557. MessageOfTricker* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
  558. {
  559. return CreateMaybeMessage<MessageOfTricker>(arena);
  560. }
  561. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  562. void CopyFrom(const MessageOfTricker& from);
  563. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  564. void MergeFrom(const MessageOfTricker& from)
  565. {
  566. MessageOfTricker::MergeImpl(*this, from);
  567. }
  568. private:
  569. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  570. public:
  571. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  572. bool IsInitialized() const final;
  573. size_t ByteSizeLong() const final;
  574. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  575. uint8_t* _InternalSerialize(
  576. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
  577. ) const final;
  578. int GetCachedSize() const final
  579. {
  580. return _impl_._cached_size_.Get();
  581. }
  582. private:
  583. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  584. void SharedDtor();
  585. void SetCachedSize(int size) const final;
  586. void InternalSwap(MessageOfTricker* other);
  587. private:
  588. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  589. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
  590. {
  591. return "protobuf.MessageOfTricker";
  592. }
  593. protected:
  594. explicit MessageOfTricker(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
  595. public:
  596. static const ClassData _class_data_;
  597. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
  598. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  599. // nested types ----------------------------------------------------
  600. // accessors -------------------------------------------------------
  601. enum : int
  602. {
  603. kBuffFieldNumber = 14,
  604. kXFieldNumber = 1,
  605. kYFieldNumber = 2,
  606. kSpeedFieldNumber = 3,
  607. kDamageFieldNumber = 4,
  608. kTimeUntilSkillAvailableFieldNumber = 5,
  609. kPlaceFieldNumber = 6,
  610. kPropFieldNumber = 7,
  611. kGuidFieldNumber = 9,
  612. kTrickerTypeFieldNumber = 8,
  613. kMovableFieldNumber = 10,
  614. kPlayerIdFieldNumber = 11,
  615. kViewRangeFieldNumber = 12,
  616. kRadiusFieldNumber = 13,
  617. };
  618. // repeated .protobuf.TrickerBuffType buff = 14;
  619. int buff_size() const;
  620. private:
  621. int _internal_buff_size() const;
  622. public:
  623. void clear_buff();
  624. private:
  625. ::protobuf::TrickerBuffType _internal_buff(int index) const;
  626. void _internal_add_buff(::protobuf::TrickerBuffType value);
  627. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_buff();
  628. public:
  629. ::protobuf::TrickerBuffType buff(int index) const;
  630. void set_buff(int index, ::protobuf::TrickerBuffType value);
  631. void add_buff(::protobuf::TrickerBuffType value);
  632. const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& buff() const;
  633. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_buff();
  634. // int32 x = 1;
  635. void clear_x();
  636. int32_t x() const;
  637. void set_x(int32_t value);
  638. private:
  639. int32_t _internal_x() const;
  640. void _internal_set_x(int32_t value);
  641. public:
  642. // int32 y = 2;
  643. void clear_y();
  644. int32_t y() const;
  645. void set_y(int32_t value);
  646. private:
  647. int32_t _internal_y() const;
  648. void _internal_set_y(int32_t value);
  649. public:
  650. // int32 speed = 3;
  651. void clear_speed();
  652. int32_t speed() const;
  653. void set_speed(int32_t value);
  654. private:
  655. int32_t _internal_speed() const;
  656. void _internal_set_speed(int32_t value);
  657. public:
  658. // int32 damage = 4;
  659. void clear_damage();
  660. int32_t damage() const;
  661. void set_damage(int32_t value);
  662. private:
  663. int32_t _internal_damage() const;
  664. void _internal_set_damage(int32_t value);
  665. public:
  666. // double time_until_skill_available = 5;
  667. void clear_time_until_skill_available();
  668. double time_until_skill_available() const;
  669. void set_time_until_skill_available(double value);
  670. private:
  671. double _internal_time_until_skill_available() const;
  672. void _internal_set_time_until_skill_available(double value);
  673. public:
  674. // .protobuf.PlaceType place = 6;
  675. void clear_place();
  676. ::protobuf::PlaceType place() const;
  677. void set_place(::protobuf::PlaceType value);
  678. private:
  679. ::protobuf::PlaceType _internal_place() const;
  680. void _internal_set_place(::protobuf::PlaceType value);
  681. public:
  682. // .protobuf.PropType prop = 7;
  683. void clear_prop();
  684. ::protobuf::PropType prop() const;
  685. void set_prop(::protobuf::PropType value);
  686. private:
  687. ::protobuf::PropType _internal_prop() const;
  688. void _internal_set_prop(::protobuf::PropType value);
  689. public:
  690. // int64 guid = 9;
  691. void clear_guid();
  692. int64_t guid() const;
  693. void set_guid(int64_t value);
  694. private:
  695. int64_t _internal_guid() const;
  696. void _internal_set_guid(int64_t value);
  697. public:
  698. // .protobuf.TrickerType tricker_type = 8;
  699. void clear_tricker_type();
  700. ::protobuf::TrickerType tricker_type() const;
  701. void set_tricker_type(::protobuf::TrickerType value);
  702. private:
  703. ::protobuf::TrickerType _internal_tricker_type() const;
  704. void _internal_set_tricker_type(::protobuf::TrickerType value);
  705. public:
  706. // bool movable = 10;
  707. void clear_movable();
  708. bool movable() const;
  709. void set_movable(bool value);
  710. private:
  711. bool _internal_movable() const;
  712. void _internal_set_movable(bool value);
  713. public:
  714. // int64 player_id = 11;
  715. void clear_player_id();
  716. int64_t player_id() const;
  717. void set_player_id(int64_t value);
  718. private:
  719. int64_t _internal_player_id() const;
  720. void _internal_set_player_id(int64_t value);
  721. public:
  722. // int32 view_range = 12;
  723. void clear_view_range();
  724. int32_t view_range() const;
  725. void set_view_range(int32_t value);
  726. private:
  727. int32_t _internal_view_range() const;
  728. void _internal_set_view_range(int32_t value);
  729. public:
  730. // int32 radius = 13;
  731. void clear_radius();
  732. int32_t radius() const;
  733. void set_radius(int32_t value);
  734. private:
  735. int32_t _internal_radius() const;
  736. void _internal_set_radius(int32_t value);
  737. public:
  738. // @@protoc_insertion_point(class_scope:protobuf.MessageOfTricker)
  739. private:
  740. class _Internal;
  741. template<typename T>
  742. friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  743. typedef void InternalArenaConstructable_;
  744. typedef void DestructorSkippable_;
  745. struct Impl_
  746. {
  747. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> buff_;
  748. mutable std::atomic<int> _buff_cached_byte_size_;
  749. int32_t x_;
  750. int32_t y_;
  751. int32_t speed_;
  752. int32_t damage_;
  753. double time_until_skill_available_;
  754. int place_;
  755. int prop_;
  756. int64_t guid_;
  757. int tricker_type_;
  758. bool movable_;
  759. int64_t player_id_;
  760. int32_t view_range_;
  761. int32_t radius_;
  762. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  763. };
  764. union
  765. {
  766. Impl_ _impl_;
  767. };
  768. friend struct ::TableStruct_Message2Clients_2eproto;
  769. };
  770. // -------------------------------------------------------------------
  771. class MessageOfBullet final :
  772. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfBullet) */
  773. {
  774. public:
  775. inline MessageOfBullet() :
  776. MessageOfBullet(nullptr)
  777. {
  778. }
  779. ~MessageOfBullet() override;
  780. explicit PROTOBUF_CONSTEXPR MessageOfBullet(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  781. MessageOfBullet(const MessageOfBullet& from);
  782. MessageOfBullet(MessageOfBullet&& from) noexcept
  783. :
  784. MessageOfBullet()
  785. {
  786. *this = ::std::move(from);
  787. }
  788. inline MessageOfBullet& operator=(const MessageOfBullet& from)
  789. {
  790. CopyFrom(from);
  791. return *this;
  792. }
  793. inline MessageOfBullet& operator=(MessageOfBullet&& from) noexcept
  794. {
  795. if (this == &from)
  796. return *this;
  797. if (GetOwningArena() == from.GetOwningArena()
  798. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  799. && GetOwningArena() != nullptr
  800. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  801. )
  802. {
  803. InternalSwap(&from);
  804. }
  805. else
  806. {
  807. CopyFrom(from);
  808. }
  809. return *this;
  810. }
  811. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
  812. {
  813. return GetDescriptor();
  814. }
  815. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
  816. {
  817. return default_instance().GetMetadata().descriptor;
  818. }
  819. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
  820. {
  821. return default_instance().GetMetadata().reflection;
  822. }
  823. static const MessageOfBullet& default_instance()
  824. {
  825. return *internal_default_instance();
  826. }
  827. static inline const MessageOfBullet* internal_default_instance()
  828. {
  829. return reinterpret_cast<const MessageOfBullet*>(
  830. &_MessageOfBullet_default_instance_
  831. );
  832. }
  833. static constexpr int kIndexInFileMessages =
  834. 2;
  835. friend void swap(MessageOfBullet& a, MessageOfBullet& b)
  836. {
  837. a.Swap(&b);
  838. }
  839. inline void Swap(MessageOfBullet* other)
  840. {
  841. if (other == this)
  842. return;
  843. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  844. if (GetOwningArena() != nullptr &&
  845. GetOwningArena() == other->GetOwningArena())
  846. {
  847. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  848. if (GetOwningArena() == other->GetOwningArena())
  849. {
  850. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  851. InternalSwap(other);
  852. }
  853. else
  854. {
  855. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  856. }
  857. }
  858. void UnsafeArenaSwap(MessageOfBullet* other)
  859. {
  860. if (other == this)
  861. return;
  862. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  863. InternalSwap(other);
  864. }
  865. // implements Message ----------------------------------------------
  866. MessageOfBullet* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
  867. {
  868. return CreateMaybeMessage<MessageOfBullet>(arena);
  869. }
  870. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  871. void CopyFrom(const MessageOfBullet& from);
  872. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  873. void MergeFrom(const MessageOfBullet& from)
  874. {
  875. MessageOfBullet::MergeImpl(*this, from);
  876. }
  877. private:
  878. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  879. public:
  880. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  881. bool IsInitialized() const final;
  882. size_t ByteSizeLong() const final;
  883. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  884. uint8_t* _InternalSerialize(
  885. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
  886. ) const final;
  887. int GetCachedSize() const final
  888. {
  889. return _impl_._cached_size_.Get();
  890. }
  891. private:
  892. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  893. void SharedDtor();
  894. void SetCachedSize(int size) const final;
  895. void InternalSwap(MessageOfBullet* other);
  896. private:
  897. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  898. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
  899. {
  900. return "protobuf.MessageOfBullet";
  901. }
  902. protected:
  903. explicit MessageOfBullet(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
  904. public:
  905. static const ClassData _class_data_;
  906. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
  907. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  908. // nested types ----------------------------------------------------
  909. // accessors -------------------------------------------------------
  910. enum : int
  911. {
  912. kTypeFieldNumber = 1,
  913. kXFieldNumber = 2,
  914. kFacingDirectionFieldNumber = 4,
  915. kYFieldNumber = 3,
  916. kTeamFieldNumber = 6,
  917. kGuidFieldNumber = 5,
  918. kBombRangeFieldNumber = 8,
  919. kPlaceFieldNumber = 7,
  920. };
  921. // .protobuf.BulletType type = 1;
  922. void clear_type();
  923. ::protobuf::BulletType type() const;
  924. void set_type(::protobuf::BulletType value);
  925. private:
  926. ::protobuf::BulletType _internal_type() const;
  927. void _internal_set_type(::protobuf::BulletType value);
  928. public:
  929. // int32 x = 2;
  930. void clear_x();
  931. int32_t x() const;
  932. void set_x(int32_t value);
  933. private:
  934. int32_t _internal_x() const;
  935. void _internal_set_x(int32_t value);
  936. public:
  937. // double facing_direction = 4;
  938. void clear_facing_direction();
  939. double facing_direction() const;
  940. void set_facing_direction(double value);
  941. private:
  942. double _internal_facing_direction() const;
  943. void _internal_set_facing_direction(double value);
  944. public:
  945. // int32 y = 3;
  946. void clear_y();
  947. int32_t y() const;
  948. void set_y(int32_t value);
  949. private:
  950. int32_t _internal_y() const;
  951. void _internal_set_y(int32_t value);
  952. public:
  953. // .protobuf.PlayerType team = 6;
  954. void clear_team();
  955. ::protobuf::PlayerType team() const;
  956. void set_team(::protobuf::PlayerType value);
  957. private:
  958. ::protobuf::PlayerType _internal_team() const;
  959. void _internal_set_team(::protobuf::PlayerType value);
  960. public:
  961. // int64 guid = 5;
  962. void clear_guid();
  963. int64_t guid() const;
  964. void set_guid(int64_t value);
  965. private:
  966. int64_t _internal_guid() const;
  967. void _internal_set_guid(int64_t value);
  968. public:
  969. // double bomb_range = 8;
  970. void clear_bomb_range();
  971. double bomb_range() const;
  972. void set_bomb_range(double value);
  973. private:
  974. double _internal_bomb_range() const;
  975. void _internal_set_bomb_range(double value);
  976. public:
  977. // .protobuf.PlaceType place = 7;
  978. void clear_place();
  979. ::protobuf::PlaceType place() const;
  980. void set_place(::protobuf::PlaceType value);
  981. private:
  982. ::protobuf::PlaceType _internal_place() const;
  983. void _internal_set_place(::protobuf::PlaceType value);
  984. public:
  985. // @@protoc_insertion_point(class_scope:protobuf.MessageOfBullet)
  986. private:
  987. class _Internal;
  988. template<typename T>
  989. friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  990. typedef void InternalArenaConstructable_;
  991. typedef void DestructorSkippable_;
  992. struct Impl_
  993. {
  994. int type_;
  995. int32_t x_;
  996. double facing_direction_;
  997. int32_t y_;
  998. int team_;
  999. int64_t guid_;
  1000. double bomb_range_;
  1001. int place_;
  1002. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1003. };
  1004. union
  1005. {
  1006. Impl_ _impl_;
  1007. };
  1008. friend struct ::TableStruct_Message2Clients_2eproto;
  1009. };
  1010. // -------------------------------------------------------------------
  1011. class MessageOfBombedBullet final :
  1012. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfBombedBullet) */
  1013. {
  1014. public:
  1015. inline MessageOfBombedBullet() :
  1016. MessageOfBombedBullet(nullptr)
  1017. {
  1018. }
  1019. ~MessageOfBombedBullet() override;
  1020. explicit PROTOBUF_CONSTEXPR MessageOfBombedBullet(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1021. MessageOfBombedBullet(const MessageOfBombedBullet& from);
  1022. MessageOfBombedBullet(MessageOfBombedBullet&& from) noexcept
  1023. :
  1024. MessageOfBombedBullet()
  1025. {
  1026. *this = ::std::move(from);
  1027. }
  1028. inline MessageOfBombedBullet& operator=(const MessageOfBombedBullet& from)
  1029. {
  1030. CopyFrom(from);
  1031. return *this;
  1032. }
  1033. inline MessageOfBombedBullet& operator=(MessageOfBombedBullet&& from) noexcept
  1034. {
  1035. if (this == &from)
  1036. return *this;
  1037. if (GetOwningArena() == from.GetOwningArena()
  1038. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1039. && GetOwningArena() != nullptr
  1040. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1041. )
  1042. {
  1043. InternalSwap(&from);
  1044. }
  1045. else
  1046. {
  1047. CopyFrom(from);
  1048. }
  1049. return *this;
  1050. }
  1051. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
  1052. {
  1053. return GetDescriptor();
  1054. }
  1055. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
  1056. {
  1057. return default_instance().GetMetadata().descriptor;
  1058. }
  1059. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
  1060. {
  1061. return default_instance().GetMetadata().reflection;
  1062. }
  1063. static const MessageOfBombedBullet& default_instance()
  1064. {
  1065. return *internal_default_instance();
  1066. }
  1067. static inline const MessageOfBombedBullet* internal_default_instance()
  1068. {
  1069. return reinterpret_cast<const MessageOfBombedBullet*>(
  1070. &_MessageOfBombedBullet_default_instance_
  1071. );
  1072. }
  1073. static constexpr int kIndexInFileMessages =
  1074. 3;
  1075. friend void swap(MessageOfBombedBullet& a, MessageOfBombedBullet& b)
  1076. {
  1077. a.Swap(&b);
  1078. }
  1079. inline void Swap(MessageOfBombedBullet* other)
  1080. {
  1081. if (other == this)
  1082. return;
  1083. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1084. if (GetOwningArena() != nullptr &&
  1085. GetOwningArena() == other->GetOwningArena())
  1086. {
  1087. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1088. if (GetOwningArena() == other->GetOwningArena())
  1089. {
  1090. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1091. InternalSwap(other);
  1092. }
  1093. else
  1094. {
  1095. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1096. }
  1097. }
  1098. void UnsafeArenaSwap(MessageOfBombedBullet* other)
  1099. {
  1100. if (other == this)
  1101. return;
  1102. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1103. InternalSwap(other);
  1104. }
  1105. // implements Message ----------------------------------------------
  1106. MessageOfBombedBullet* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
  1107. {
  1108. return CreateMaybeMessage<MessageOfBombedBullet>(arena);
  1109. }
  1110. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1111. void CopyFrom(const MessageOfBombedBullet& from);
  1112. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1113. void MergeFrom(const MessageOfBombedBullet& from)
  1114. {
  1115. MessageOfBombedBullet::MergeImpl(*this, from);
  1116. }
  1117. private:
  1118. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  1119. public:
  1120. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1121. bool IsInitialized() const final;
  1122. size_t ByteSizeLong() const final;
  1123. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1124. uint8_t* _InternalSerialize(
  1125. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
  1126. ) const final;
  1127. int GetCachedSize() const final
  1128. {
  1129. return _impl_._cached_size_.Get();
  1130. }
  1131. private:
  1132. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  1133. void SharedDtor();
  1134. void SetCachedSize(int size) const final;
  1135. void InternalSwap(MessageOfBombedBullet* other);
  1136. private:
  1137. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1138. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
  1139. {
  1140. return "protobuf.MessageOfBombedBullet";
  1141. }
  1142. protected:
  1143. explicit MessageOfBombedBullet(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
  1144. public:
  1145. static const ClassData _class_data_;
  1146. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
  1147. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1148. // nested types ----------------------------------------------------
  1149. // accessors -------------------------------------------------------
  1150. enum : int
  1151. {
  1152. kTypeFieldNumber = 1,
  1153. kXFieldNumber = 2,
  1154. kFacingDirectionFieldNumber = 4,
  1155. kMappingIdFieldNumber = 5,
  1156. kBombRangeFieldNumber = 6,
  1157. kYFieldNumber = 3,
  1158. };
  1159. // .protobuf.BulletType type = 1;
  1160. void clear_type();
  1161. ::protobuf::BulletType type() const;
  1162. void set_type(::protobuf::BulletType value);
  1163. private:
  1164. ::protobuf::BulletType _internal_type() const;
  1165. void _internal_set_type(::protobuf::BulletType value);
  1166. public:
  1167. // int32 x = 2;
  1168. void clear_x();
  1169. int32_t x() const;
  1170. void set_x(int32_t value);
  1171. private:
  1172. int32_t _internal_x() const;
  1173. void _internal_set_x(int32_t value);
  1174. public:
  1175. // double facing_direction = 4;
  1176. void clear_facing_direction();
  1177. double facing_direction() const;
  1178. void set_facing_direction(double value);
  1179. private:
  1180. double _internal_facing_direction() const;
  1181. void _internal_set_facing_direction(double value);
  1182. public:
  1183. // int64 mapping_id = 5;
  1184. void clear_mapping_id();
  1185. int64_t mapping_id() const;
  1186. void set_mapping_id(int64_t value);
  1187. private:
  1188. int64_t _internal_mapping_id() const;
  1189. void _internal_set_mapping_id(int64_t value);
  1190. public:
  1191. // double bomb_range = 6;
  1192. void clear_bomb_range();
  1193. double bomb_range() const;
  1194. void set_bomb_range(double value);
  1195. private:
  1196. double _internal_bomb_range() const;
  1197. void _internal_set_bomb_range(double value);
  1198. public:
  1199. // int32 y = 3;
  1200. void clear_y();
  1201. int32_t y() const;
  1202. void set_y(int32_t value);
  1203. private:
  1204. int32_t _internal_y() const;
  1205. void _internal_set_y(int32_t value);
  1206. public:
  1207. // @@protoc_insertion_point(class_scope:protobuf.MessageOfBombedBullet)
  1208. private:
  1209. class _Internal;
  1210. template<typename T>
  1211. friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1212. typedef void InternalArenaConstructable_;
  1213. typedef void DestructorSkippable_;
  1214. struct Impl_
  1215. {
  1216. int type_;
  1217. int32_t x_;
  1218. double facing_direction_;
  1219. int64_t mapping_id_;
  1220. double bomb_range_;
  1221. int32_t y_;
  1222. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1223. };
  1224. union
  1225. {
  1226. Impl_ _impl_;
  1227. };
  1228. friend struct ::TableStruct_Message2Clients_2eproto;
  1229. };
  1230. // -------------------------------------------------------------------
  1231. class MessageOfProp final :
  1232. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfProp) */
  1233. {
  1234. public:
  1235. inline MessageOfProp() :
  1236. MessageOfProp(nullptr)
  1237. {
  1238. }
  1239. ~MessageOfProp() override;
  1240. explicit PROTOBUF_CONSTEXPR MessageOfProp(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1241. MessageOfProp(const MessageOfProp& from);
  1242. MessageOfProp(MessageOfProp&& from) noexcept
  1243. :
  1244. MessageOfProp()
  1245. {
  1246. *this = ::std::move(from);
  1247. }
  1248. inline MessageOfProp& operator=(const MessageOfProp& from)
  1249. {
  1250. CopyFrom(from);
  1251. return *this;
  1252. }
  1253. inline MessageOfProp& operator=(MessageOfProp&& from) noexcept
  1254. {
  1255. if (this == &from)
  1256. return *this;
  1257. if (GetOwningArena() == from.GetOwningArena()
  1258. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1259. && GetOwningArena() != nullptr
  1260. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1261. )
  1262. {
  1263. InternalSwap(&from);
  1264. }
  1265. else
  1266. {
  1267. CopyFrom(from);
  1268. }
  1269. return *this;
  1270. }
  1271. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
  1272. {
  1273. return GetDescriptor();
  1274. }
  1275. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
  1276. {
  1277. return default_instance().GetMetadata().descriptor;
  1278. }
  1279. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
  1280. {
  1281. return default_instance().GetMetadata().reflection;
  1282. }
  1283. static const MessageOfProp& default_instance()
  1284. {
  1285. return *internal_default_instance();
  1286. }
  1287. static inline const MessageOfProp* internal_default_instance()
  1288. {
  1289. return reinterpret_cast<const MessageOfProp*>(
  1290. &_MessageOfProp_default_instance_
  1291. );
  1292. }
  1293. static constexpr int kIndexInFileMessages =
  1294. 4;
  1295. friend void swap(MessageOfProp& a, MessageOfProp& b)
  1296. {
  1297. a.Swap(&b);
  1298. }
  1299. inline void Swap(MessageOfProp* other)
  1300. {
  1301. if (other == this)
  1302. return;
  1303. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1304. if (GetOwningArena() != nullptr &&
  1305. GetOwningArena() == other->GetOwningArena())
  1306. {
  1307. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1308. if (GetOwningArena() == other->GetOwningArena())
  1309. {
  1310. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1311. InternalSwap(other);
  1312. }
  1313. else
  1314. {
  1315. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1316. }
  1317. }
  1318. void UnsafeArenaSwap(MessageOfProp* other)
  1319. {
  1320. if (other == this)
  1321. return;
  1322. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1323. InternalSwap(other);
  1324. }
  1325. // implements Message ----------------------------------------------
  1326. MessageOfProp* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
  1327. {
  1328. return CreateMaybeMessage<MessageOfProp>(arena);
  1329. }
  1330. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1331. void CopyFrom(const MessageOfProp& from);
  1332. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1333. void MergeFrom(const MessageOfProp& from)
  1334. {
  1335. MessageOfProp::MergeImpl(*this, from);
  1336. }
  1337. private:
  1338. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  1339. public:
  1340. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1341. bool IsInitialized() const final;
  1342. size_t ByteSizeLong() const final;
  1343. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1344. uint8_t* _InternalSerialize(
  1345. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
  1346. ) const final;
  1347. int GetCachedSize() const final
  1348. {
  1349. return _impl_._cached_size_.Get();
  1350. }
  1351. private:
  1352. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  1353. void SharedDtor();
  1354. void SetCachedSize(int size) const final;
  1355. void InternalSwap(MessageOfProp* other);
  1356. private:
  1357. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1358. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
  1359. {
  1360. return "protobuf.MessageOfProp";
  1361. }
  1362. protected:
  1363. explicit MessageOfProp(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
  1364. public:
  1365. static const ClassData _class_data_;
  1366. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
  1367. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1368. // nested types ----------------------------------------------------
  1369. // accessors -------------------------------------------------------
  1370. enum : int
  1371. {
  1372. kTypeFieldNumber = 1,
  1373. kXFieldNumber = 2,
  1374. kFacingDirectionFieldNumber = 4,
  1375. kYFieldNumber = 3,
  1376. kPlaceFieldNumber = 6,
  1377. kGuidFieldNumber = 5,
  1378. kSizeFieldNumber = 7,
  1379. kIsMovingFieldNumber = 8,
  1380. };
  1381. // .protobuf.PropType type = 1;
  1382. void clear_type();
  1383. ::protobuf::PropType type() const;
  1384. void set_type(::protobuf::PropType value);
  1385. private:
  1386. ::protobuf::PropType _internal_type() const;
  1387. void _internal_set_type(::protobuf::PropType value);
  1388. public:
  1389. // int32 x = 2;
  1390. void clear_x();
  1391. int32_t x() const;
  1392. void set_x(int32_t value);
  1393. private:
  1394. int32_t _internal_x() const;
  1395. void _internal_set_x(int32_t value);
  1396. public:
  1397. // double facing_direction = 4;
  1398. void clear_facing_direction();
  1399. double facing_direction() const;
  1400. void set_facing_direction(double value);
  1401. private:
  1402. double _internal_facing_direction() const;
  1403. void _internal_set_facing_direction(double value);
  1404. public:
  1405. // int32 y = 3;
  1406. void clear_y();
  1407. int32_t y() const;
  1408. void set_y(int32_t value);
  1409. private:
  1410. int32_t _internal_y() const;
  1411. void _internal_set_y(int32_t value);
  1412. public:
  1413. // .protobuf.PlaceType place = 6;
  1414. void clear_place();
  1415. ::protobuf::PlaceType place() const;
  1416. void set_place(::protobuf::PlaceType value);
  1417. private:
  1418. ::protobuf::PlaceType _internal_place() const;
  1419. void _internal_set_place(::protobuf::PlaceType value);
  1420. public:
  1421. // int64 guid = 5;
  1422. void clear_guid();
  1423. int64_t guid() const;
  1424. void set_guid(int64_t value);
  1425. private:
  1426. int64_t _internal_guid() const;
  1427. void _internal_set_guid(int64_t value);
  1428. public:
  1429. // int32 size = 7;
  1430. void clear_size();
  1431. int32_t size() const;
  1432. void set_size(int32_t value);
  1433. private:
  1434. int32_t _internal_size() const;
  1435. void _internal_set_size(int32_t value);
  1436. public:
  1437. // bool is_moving = 8;
  1438. void clear_is_moving();
  1439. bool is_moving() const;
  1440. void set_is_moving(bool value);
  1441. private:
  1442. bool _internal_is_moving() const;
  1443. void _internal_set_is_moving(bool value);
  1444. public:
  1445. // @@protoc_insertion_point(class_scope:protobuf.MessageOfProp)
  1446. private:
  1447. class _Internal;
  1448. template<typename T>
  1449. friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1450. typedef void InternalArenaConstructable_;
  1451. typedef void DestructorSkippable_;
  1452. struct Impl_
  1453. {
  1454. int type_;
  1455. int32_t x_;
  1456. double facing_direction_;
  1457. int32_t y_;
  1458. int place_;
  1459. int64_t guid_;
  1460. int32_t size_;
  1461. bool is_moving_;
  1462. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1463. };
  1464. union
  1465. {
  1466. Impl_ _impl_;
  1467. };
  1468. friend struct ::TableStruct_Message2Clients_2eproto;
  1469. };
  1470. // -------------------------------------------------------------------
  1471. class MessageOfPickedProp final :
  1472. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfPickedProp) */
  1473. {
  1474. public:
  1475. inline MessageOfPickedProp() :
  1476. MessageOfPickedProp(nullptr)
  1477. {
  1478. }
  1479. ~MessageOfPickedProp() override;
  1480. explicit PROTOBUF_CONSTEXPR MessageOfPickedProp(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1481. MessageOfPickedProp(const MessageOfPickedProp& from);
  1482. MessageOfPickedProp(MessageOfPickedProp&& from) noexcept
  1483. :
  1484. MessageOfPickedProp()
  1485. {
  1486. *this = ::std::move(from);
  1487. }
  1488. inline MessageOfPickedProp& operator=(const MessageOfPickedProp& from)
  1489. {
  1490. CopyFrom(from);
  1491. return *this;
  1492. }
  1493. inline MessageOfPickedProp& operator=(MessageOfPickedProp&& from) noexcept
  1494. {
  1495. if (this == &from)
  1496. return *this;
  1497. if (GetOwningArena() == from.GetOwningArena()
  1498. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1499. && GetOwningArena() != nullptr
  1500. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1501. )
  1502. {
  1503. InternalSwap(&from);
  1504. }
  1505. else
  1506. {
  1507. CopyFrom(from);
  1508. }
  1509. return *this;
  1510. }
  1511. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
  1512. {
  1513. return GetDescriptor();
  1514. }
  1515. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
  1516. {
  1517. return default_instance().GetMetadata().descriptor;
  1518. }
  1519. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
  1520. {
  1521. return default_instance().GetMetadata().reflection;
  1522. }
  1523. static const MessageOfPickedProp& default_instance()
  1524. {
  1525. return *internal_default_instance();
  1526. }
  1527. static inline const MessageOfPickedProp* internal_default_instance()
  1528. {
  1529. return reinterpret_cast<const MessageOfPickedProp*>(
  1530. &_MessageOfPickedProp_default_instance_
  1531. );
  1532. }
  1533. static constexpr int kIndexInFileMessages =
  1534. 5;
  1535. friend void swap(MessageOfPickedProp& a, MessageOfPickedProp& b)
  1536. {
  1537. a.Swap(&b);
  1538. }
  1539. inline void Swap(MessageOfPickedProp* other)
  1540. {
  1541. if (other == this)
  1542. return;
  1543. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1544. if (GetOwningArena() != nullptr &&
  1545. GetOwningArena() == other->GetOwningArena())
  1546. {
  1547. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1548. if (GetOwningArena() == other->GetOwningArena())
  1549. {
  1550. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1551. InternalSwap(other);
  1552. }
  1553. else
  1554. {
  1555. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1556. }
  1557. }
  1558. void UnsafeArenaSwap(MessageOfPickedProp* other)
  1559. {
  1560. if (other == this)
  1561. return;
  1562. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1563. InternalSwap(other);
  1564. }
  1565. // implements Message ----------------------------------------------
  1566. MessageOfPickedProp* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
  1567. {
  1568. return CreateMaybeMessage<MessageOfPickedProp>(arena);
  1569. }
  1570. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1571. void CopyFrom(const MessageOfPickedProp& from);
  1572. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1573. void MergeFrom(const MessageOfPickedProp& from)
  1574. {
  1575. MessageOfPickedProp::MergeImpl(*this, from);
  1576. }
  1577. private:
  1578. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  1579. public:
  1580. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1581. bool IsInitialized() const final;
  1582. size_t ByteSizeLong() const final;
  1583. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1584. uint8_t* _InternalSerialize(
  1585. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
  1586. ) const final;
  1587. int GetCachedSize() const final
  1588. {
  1589. return _impl_._cached_size_.Get();
  1590. }
  1591. private:
  1592. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  1593. void SharedDtor();
  1594. void SetCachedSize(int size) const final;
  1595. void InternalSwap(MessageOfPickedProp* other);
  1596. private:
  1597. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1598. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
  1599. {
  1600. return "protobuf.MessageOfPickedProp";
  1601. }
  1602. protected:
  1603. explicit MessageOfPickedProp(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
  1604. public:
  1605. static const ClassData _class_data_;
  1606. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
  1607. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1608. // nested types ----------------------------------------------------
  1609. // accessors -------------------------------------------------------
  1610. enum : int
  1611. {
  1612. kTypeFieldNumber = 1,
  1613. kXFieldNumber = 2,
  1614. kFacingDirectionFieldNumber = 4,
  1615. kMappingIdFieldNumber = 5,
  1616. kYFieldNumber = 3,
  1617. };
  1618. // .protobuf.PropType type = 1;
  1619. void clear_type();
  1620. ::protobuf::PropType type() const;
  1621. void set_type(::protobuf::PropType value);
  1622. private:
  1623. ::protobuf::PropType _internal_type() const;
  1624. void _internal_set_type(::protobuf::PropType value);
  1625. public:
  1626. // int32 x = 2;
  1627. void clear_x();
  1628. int32_t x() const;
  1629. void set_x(int32_t value);
  1630. private:
  1631. int32_t _internal_x() const;
  1632. void _internal_set_x(int32_t value);
  1633. public:
  1634. // double facing_direction = 4;
  1635. void clear_facing_direction();
  1636. double facing_direction() const;
  1637. void set_facing_direction(double value);
  1638. private:
  1639. double _internal_facing_direction() const;
  1640. void _internal_set_facing_direction(double value);
  1641. public:
  1642. // int64 mapping_id = 5;
  1643. void clear_mapping_id();
  1644. int64_t mapping_id() const;
  1645. void set_mapping_id(int64_t value);
  1646. private:
  1647. int64_t _internal_mapping_id() const;
  1648. void _internal_set_mapping_id(int64_t value);
  1649. public:
  1650. // int32 y = 3;
  1651. void clear_y();
  1652. int32_t y() const;
  1653. void set_y(int32_t value);
  1654. private:
  1655. int32_t _internal_y() const;
  1656. void _internal_set_y(int32_t value);
  1657. public:
  1658. // @@protoc_insertion_point(class_scope:protobuf.MessageOfPickedProp)
  1659. private:
  1660. class _Internal;
  1661. template<typename T>
  1662. friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1663. typedef void InternalArenaConstructable_;
  1664. typedef void DestructorSkippable_;
  1665. struct Impl_
  1666. {
  1667. int type_;
  1668. int32_t x_;
  1669. double facing_direction_;
  1670. int64_t mapping_id_;
  1671. int32_t y_;
  1672. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1673. };
  1674. union
  1675. {
  1676. Impl_ _impl_;
  1677. };
  1678. friend struct ::TableStruct_Message2Clients_2eproto;
  1679. };
  1680. // -------------------------------------------------------------------
  1681. class MessageOfMap_Row final :
  1682. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfMap.Row) */
  1683. {
  1684. public:
  1685. inline MessageOfMap_Row() :
  1686. MessageOfMap_Row(nullptr)
  1687. {
  1688. }
  1689. ~MessageOfMap_Row() override;
  1690. explicit PROTOBUF_CONSTEXPR MessageOfMap_Row(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1691. MessageOfMap_Row(const MessageOfMap_Row& from);
  1692. MessageOfMap_Row(MessageOfMap_Row&& from) noexcept
  1693. :
  1694. MessageOfMap_Row()
  1695. {
  1696. *this = ::std::move(from);
  1697. }
  1698. inline MessageOfMap_Row& operator=(const MessageOfMap_Row& from)
  1699. {
  1700. CopyFrom(from);
  1701. return *this;
  1702. }
  1703. inline MessageOfMap_Row& operator=(MessageOfMap_Row&& from) noexcept
  1704. {
  1705. if (this == &from)
  1706. return *this;
  1707. if (GetOwningArena() == from.GetOwningArena()
  1708. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1709. && GetOwningArena() != nullptr
  1710. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1711. )
  1712. {
  1713. InternalSwap(&from);
  1714. }
  1715. else
  1716. {
  1717. CopyFrom(from);
  1718. }
  1719. return *this;
  1720. }
  1721. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
  1722. {
  1723. return GetDescriptor();
  1724. }
  1725. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
  1726. {
  1727. return default_instance().GetMetadata().descriptor;
  1728. }
  1729. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
  1730. {
  1731. return default_instance().GetMetadata().reflection;
  1732. }
  1733. static const MessageOfMap_Row& default_instance()
  1734. {
  1735. return *internal_default_instance();
  1736. }
  1737. static inline const MessageOfMap_Row* internal_default_instance()
  1738. {
  1739. return reinterpret_cast<const MessageOfMap_Row*>(
  1740. &_MessageOfMap_Row_default_instance_
  1741. );
  1742. }
  1743. static constexpr int kIndexInFileMessages =
  1744. 6;
  1745. friend void swap(MessageOfMap_Row& a, MessageOfMap_Row& b)
  1746. {
  1747. a.Swap(&b);
  1748. }
  1749. inline void Swap(MessageOfMap_Row* other)
  1750. {
  1751. if (other == this)
  1752. return;
  1753. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1754. if (GetOwningArena() != nullptr &&
  1755. GetOwningArena() == other->GetOwningArena())
  1756. {
  1757. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1758. if (GetOwningArena() == other->GetOwningArena())
  1759. {
  1760. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1761. InternalSwap(other);
  1762. }
  1763. else
  1764. {
  1765. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1766. }
  1767. }
  1768. void UnsafeArenaSwap(MessageOfMap_Row* other)
  1769. {
  1770. if (other == this)
  1771. return;
  1772. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1773. InternalSwap(other);
  1774. }
  1775. // implements Message ----------------------------------------------
  1776. MessageOfMap_Row* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
  1777. {
  1778. return CreateMaybeMessage<MessageOfMap_Row>(arena);
  1779. }
  1780. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1781. void CopyFrom(const MessageOfMap_Row& from);
  1782. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1783. void MergeFrom(const MessageOfMap_Row& from)
  1784. {
  1785. MessageOfMap_Row::MergeImpl(*this, from);
  1786. }
  1787. private:
  1788. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  1789. public:
  1790. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1791. bool IsInitialized() const final;
  1792. size_t ByteSizeLong() const final;
  1793. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1794. uint8_t* _InternalSerialize(
  1795. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
  1796. ) const final;
  1797. int GetCachedSize() const final
  1798. {
  1799. return _impl_._cached_size_.Get();
  1800. }
  1801. private:
  1802. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  1803. void SharedDtor();
  1804. void SetCachedSize(int size) const final;
  1805. void InternalSwap(MessageOfMap_Row* other);
  1806. private:
  1807. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1808. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
  1809. {
  1810. return "protobuf.MessageOfMap.Row";
  1811. }
  1812. protected:
  1813. explicit MessageOfMap_Row(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
  1814. public:
  1815. static const ClassData _class_data_;
  1816. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
  1817. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1818. // nested types ----------------------------------------------------
  1819. // accessors -------------------------------------------------------
  1820. enum : int
  1821. {
  1822. kColFieldNumber = 1,
  1823. };
  1824. // repeated .protobuf.PlaceType col = 1;
  1825. int col_size() const;
  1826. private:
  1827. int _internal_col_size() const;
  1828. public:
  1829. void clear_col();
  1830. private:
  1831. ::protobuf::PlaceType _internal_col(int index) const;
  1832. void _internal_add_col(::protobuf::PlaceType value);
  1833. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_col();
  1834. public:
  1835. ::protobuf::PlaceType col(int index) const;
  1836. void set_col(int index, ::protobuf::PlaceType value);
  1837. void add_col(::protobuf::PlaceType value);
  1838. const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& col() const;
  1839. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_col();
  1840. // @@protoc_insertion_point(class_scope:protobuf.MessageOfMap.Row)
  1841. private:
  1842. class _Internal;
  1843. template<typename T>
  1844. friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1845. typedef void InternalArenaConstructable_;
  1846. typedef void DestructorSkippable_;
  1847. struct Impl_
  1848. {
  1849. ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> col_;
  1850. mutable std::atomic<int> _col_cached_byte_size_;
  1851. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1852. };
  1853. union
  1854. {
  1855. Impl_ _impl_;
  1856. };
  1857. friend struct ::TableStruct_Message2Clients_2eproto;
  1858. };
  1859. // -------------------------------------------------------------------
  1860. class MessageOfMap final :
  1861. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageOfMap) */
  1862. {
  1863. public:
  1864. inline MessageOfMap() :
  1865. MessageOfMap(nullptr)
  1866. {
  1867. }
  1868. ~MessageOfMap() override;
  1869. explicit PROTOBUF_CONSTEXPR MessageOfMap(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1870. MessageOfMap(const MessageOfMap& from);
  1871. MessageOfMap(MessageOfMap&& from) noexcept
  1872. :
  1873. MessageOfMap()
  1874. {
  1875. *this = ::std::move(from);
  1876. }
  1877. inline MessageOfMap& operator=(const MessageOfMap& from)
  1878. {
  1879. CopyFrom(from);
  1880. return *this;
  1881. }
  1882. inline MessageOfMap& operator=(MessageOfMap&& from) noexcept
  1883. {
  1884. if (this == &from)
  1885. return *this;
  1886. if (GetOwningArena() == from.GetOwningArena()
  1887. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1888. && GetOwningArena() != nullptr
  1889. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1890. )
  1891. {
  1892. InternalSwap(&from);
  1893. }
  1894. else
  1895. {
  1896. CopyFrom(from);
  1897. }
  1898. return *this;
  1899. }
  1900. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
  1901. {
  1902. return GetDescriptor();
  1903. }
  1904. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
  1905. {
  1906. return default_instance().GetMetadata().descriptor;
  1907. }
  1908. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
  1909. {
  1910. return default_instance().GetMetadata().reflection;
  1911. }
  1912. static const MessageOfMap& default_instance()
  1913. {
  1914. return *internal_default_instance();
  1915. }
  1916. static inline const MessageOfMap* internal_default_instance()
  1917. {
  1918. return reinterpret_cast<const MessageOfMap*>(
  1919. &_MessageOfMap_default_instance_
  1920. );
  1921. }
  1922. static constexpr int kIndexInFileMessages =
  1923. 7;
  1924. friend void swap(MessageOfMap& a, MessageOfMap& b)
  1925. {
  1926. a.Swap(&b);
  1927. }
  1928. inline void Swap(MessageOfMap* other)
  1929. {
  1930. if (other == this)
  1931. return;
  1932. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1933. if (GetOwningArena() != nullptr &&
  1934. GetOwningArena() == other->GetOwningArena())
  1935. {
  1936. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1937. if (GetOwningArena() == other->GetOwningArena())
  1938. {
  1939. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1940. InternalSwap(other);
  1941. }
  1942. else
  1943. {
  1944. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1945. }
  1946. }
  1947. void UnsafeArenaSwap(MessageOfMap* other)
  1948. {
  1949. if (other == this)
  1950. return;
  1951. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1952. InternalSwap(other);
  1953. }
  1954. // implements Message ----------------------------------------------
  1955. MessageOfMap* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
  1956. {
  1957. return CreateMaybeMessage<MessageOfMap>(arena);
  1958. }
  1959. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1960. void CopyFrom(const MessageOfMap& from);
  1961. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1962. void MergeFrom(const MessageOfMap& from)
  1963. {
  1964. MessageOfMap::MergeImpl(*this, from);
  1965. }
  1966. private:
  1967. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  1968. public:
  1969. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1970. bool IsInitialized() const final;
  1971. size_t ByteSizeLong() const final;
  1972. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1973. uint8_t* _InternalSerialize(
  1974. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
  1975. ) const final;
  1976. int GetCachedSize() const final
  1977. {
  1978. return _impl_._cached_size_.Get();
  1979. }
  1980. private:
  1981. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  1982. void SharedDtor();
  1983. void SetCachedSize(int size) const final;
  1984. void InternalSwap(MessageOfMap* other);
  1985. private:
  1986. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1987. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
  1988. {
  1989. return "protobuf.MessageOfMap";
  1990. }
  1991. protected:
  1992. explicit MessageOfMap(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
  1993. public:
  1994. static const ClassData _class_data_;
  1995. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
  1996. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1997. // nested types ----------------------------------------------------
  1998. typedef MessageOfMap_Row Row;
  1999. // accessors -------------------------------------------------------
  2000. enum : int
  2001. {
  2002. kRowFieldNumber = 2,
  2003. };
  2004. // repeated .protobuf.MessageOfMap.Row row = 2;
  2005. int row_size() const;
  2006. private:
  2007. int _internal_row_size() const;
  2008. public:
  2009. void clear_row();
  2010. ::protobuf::MessageOfMap_Row* mutable_row(int index);
  2011. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfMap_Row>*
  2012. mutable_row();
  2013. private:
  2014. const ::protobuf::MessageOfMap_Row& _internal_row(int index) const;
  2015. ::protobuf::MessageOfMap_Row* _internal_add_row();
  2016. public:
  2017. const ::protobuf::MessageOfMap_Row& row(int index) const;
  2018. ::protobuf::MessageOfMap_Row* add_row();
  2019. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfMap_Row>&
  2020. row() const;
  2021. // @@protoc_insertion_point(class_scope:protobuf.MessageOfMap)
  2022. private:
  2023. class _Internal;
  2024. template<typename T>
  2025. friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2026. typedef void InternalArenaConstructable_;
  2027. typedef void DestructorSkippable_;
  2028. struct Impl_
  2029. {
  2030. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfMap_Row> row_;
  2031. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2032. };
  2033. union
  2034. {
  2035. Impl_ _impl_;
  2036. };
  2037. friend struct ::TableStruct_Message2Clients_2eproto;
  2038. };
  2039. // -------------------------------------------------------------------
  2040. class MessageToClient final :
  2041. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MessageToClient) */
  2042. {
  2043. public:
  2044. inline MessageToClient() :
  2045. MessageToClient(nullptr)
  2046. {
  2047. }
  2048. ~MessageToClient() override;
  2049. explicit PROTOBUF_CONSTEXPR MessageToClient(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2050. MessageToClient(const MessageToClient& from);
  2051. MessageToClient(MessageToClient&& from) noexcept
  2052. :
  2053. MessageToClient()
  2054. {
  2055. *this = ::std::move(from);
  2056. }
  2057. inline MessageToClient& operator=(const MessageToClient& from)
  2058. {
  2059. CopyFrom(from);
  2060. return *this;
  2061. }
  2062. inline MessageToClient& operator=(MessageToClient&& from) noexcept
  2063. {
  2064. if (this == &from)
  2065. return *this;
  2066. if (GetOwningArena() == from.GetOwningArena()
  2067. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2068. && GetOwningArena() != nullptr
  2069. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2070. )
  2071. {
  2072. InternalSwap(&from);
  2073. }
  2074. else
  2075. {
  2076. CopyFrom(from);
  2077. }
  2078. return *this;
  2079. }
  2080. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
  2081. {
  2082. return GetDescriptor();
  2083. }
  2084. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
  2085. {
  2086. return default_instance().GetMetadata().descriptor;
  2087. }
  2088. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
  2089. {
  2090. return default_instance().GetMetadata().reflection;
  2091. }
  2092. static const MessageToClient& default_instance()
  2093. {
  2094. return *internal_default_instance();
  2095. }
  2096. static inline const MessageToClient* internal_default_instance()
  2097. {
  2098. return reinterpret_cast<const MessageToClient*>(
  2099. &_MessageToClient_default_instance_
  2100. );
  2101. }
  2102. static constexpr int kIndexInFileMessages =
  2103. 8;
  2104. friend void swap(MessageToClient& a, MessageToClient& b)
  2105. {
  2106. a.Swap(&b);
  2107. }
  2108. inline void Swap(MessageToClient* other)
  2109. {
  2110. if (other == this)
  2111. return;
  2112. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2113. if (GetOwningArena() != nullptr &&
  2114. GetOwningArena() == other->GetOwningArena())
  2115. {
  2116. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2117. if (GetOwningArena() == other->GetOwningArena())
  2118. {
  2119. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2120. InternalSwap(other);
  2121. }
  2122. else
  2123. {
  2124. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2125. }
  2126. }
  2127. void UnsafeArenaSwap(MessageToClient* other)
  2128. {
  2129. if (other == this)
  2130. return;
  2131. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2132. InternalSwap(other);
  2133. }
  2134. // implements Message ----------------------------------------------
  2135. MessageToClient* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
  2136. {
  2137. return CreateMaybeMessage<MessageToClient>(arena);
  2138. }
  2139. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2140. void CopyFrom(const MessageToClient& from);
  2141. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2142. void MergeFrom(const MessageToClient& from)
  2143. {
  2144. MessageToClient::MergeImpl(*this, from);
  2145. }
  2146. private:
  2147. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  2148. public:
  2149. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2150. bool IsInitialized() const final;
  2151. size_t ByteSizeLong() const final;
  2152. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2153. uint8_t* _InternalSerialize(
  2154. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
  2155. ) const final;
  2156. int GetCachedSize() const final
  2157. {
  2158. return _impl_._cached_size_.Get();
  2159. }
  2160. private:
  2161. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  2162. void SharedDtor();
  2163. void SetCachedSize(int size) const final;
  2164. void InternalSwap(MessageToClient* other);
  2165. private:
  2166. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2167. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
  2168. {
  2169. return "protobuf.MessageToClient";
  2170. }
  2171. protected:
  2172. explicit MessageToClient(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
  2173. public:
  2174. static const ClassData _class_data_;
  2175. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
  2176. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2177. // nested types ----------------------------------------------------
  2178. // accessors -------------------------------------------------------
  2179. enum : int
  2180. {
  2181. kStudentMessageFieldNumber = 1,
  2182. kTrickerMessageFieldNumber = 2,
  2183. kPropMessageFieldNumber = 3,
  2184. kBulletMessageFieldNumber = 4,
  2185. kBombedBulletMessageFieldNumber = 5,
  2186. kMapMessageFieldNumber = 6,
  2187. kGameStateFieldNumber = 7,
  2188. };
  2189. // repeated .protobuf.MessageOfStudent student_message = 1;
  2190. int student_message_size() const;
  2191. private:
  2192. int _internal_student_message_size() const;
  2193. public:
  2194. void clear_student_message();
  2195. ::protobuf::MessageOfStudent* mutable_student_message(int index);
  2196. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfStudent>*
  2197. mutable_student_message();
  2198. private:
  2199. const ::protobuf::MessageOfStudent& _internal_student_message(int index) const;
  2200. ::protobuf::MessageOfStudent* _internal_add_student_message();
  2201. public:
  2202. const ::protobuf::MessageOfStudent& student_message(int index) const;
  2203. ::protobuf::MessageOfStudent* add_student_message();
  2204. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfStudent>&
  2205. student_message() const;
  2206. // repeated .protobuf.MessageOfTricker tricker_message = 2;
  2207. int tricker_message_size() const;
  2208. private:
  2209. int _internal_tricker_message_size() const;
  2210. public:
  2211. void clear_tricker_message();
  2212. ::protobuf::MessageOfTricker* mutable_tricker_message(int index);
  2213. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfTricker>*
  2214. mutable_tricker_message();
  2215. private:
  2216. const ::protobuf::MessageOfTricker& _internal_tricker_message(int index) const;
  2217. ::protobuf::MessageOfTricker* _internal_add_tricker_message();
  2218. public:
  2219. const ::protobuf::MessageOfTricker& tricker_message(int index) const;
  2220. ::protobuf::MessageOfTricker* add_tricker_message();
  2221. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfTricker>&
  2222. tricker_message() const;
  2223. // repeated .protobuf.MessageOfProp prop_message = 3;
  2224. int prop_message_size() const;
  2225. private:
  2226. int _internal_prop_message_size() const;
  2227. public:
  2228. void clear_prop_message();
  2229. ::protobuf::MessageOfProp* mutable_prop_message(int index);
  2230. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfProp>*
  2231. mutable_prop_message();
  2232. private:
  2233. const ::protobuf::MessageOfProp& _internal_prop_message(int index) const;
  2234. ::protobuf::MessageOfProp* _internal_add_prop_message();
  2235. public:
  2236. const ::protobuf::MessageOfProp& prop_message(int index) const;
  2237. ::protobuf::MessageOfProp* add_prop_message();
  2238. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfProp>&
  2239. prop_message() const;
  2240. // repeated .protobuf.MessageOfBullet bullet_message = 4;
  2241. int bullet_message_size() const;
  2242. private:
  2243. int _internal_bullet_message_size() const;
  2244. public:
  2245. void clear_bullet_message();
  2246. ::protobuf::MessageOfBullet* mutable_bullet_message(int index);
  2247. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfBullet>*
  2248. mutable_bullet_message();
  2249. private:
  2250. const ::protobuf::MessageOfBullet& _internal_bullet_message(int index) const;
  2251. ::protobuf::MessageOfBullet* _internal_add_bullet_message();
  2252. public:
  2253. const ::protobuf::MessageOfBullet& bullet_message(int index) const;
  2254. ::protobuf::MessageOfBullet* add_bullet_message();
  2255. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfBullet>&
  2256. bullet_message() const;
  2257. // repeated .protobuf.MessageOfBombedBullet bombed_bullet_message = 5;
  2258. int bombed_bullet_message_size() const;
  2259. private:
  2260. int _internal_bombed_bullet_message_size() const;
  2261. public:
  2262. void clear_bombed_bullet_message();
  2263. ::protobuf::MessageOfBombedBullet* mutable_bombed_bullet_message(int index);
  2264. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfBombedBullet>*
  2265. mutable_bombed_bullet_message();
  2266. private:
  2267. const ::protobuf::MessageOfBombedBullet& _internal_bombed_bullet_message(int index) const;
  2268. ::protobuf::MessageOfBombedBullet* _internal_add_bombed_bullet_message();
  2269. public:
  2270. const ::protobuf::MessageOfBombedBullet& bombed_bullet_message(int index) const;
  2271. ::protobuf::MessageOfBombedBullet* add_bombed_bullet_message();
  2272. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfBombedBullet>&
  2273. bombed_bullet_message() const;
  2274. // .protobuf.MessageOfMap map_message = 6;
  2275. bool has_map_message() const;
  2276. private:
  2277. bool _internal_has_map_message() const;
  2278. public:
  2279. void clear_map_message();
  2280. const ::protobuf::MessageOfMap& map_message() const;
  2281. PROTOBUF_NODISCARD ::protobuf::MessageOfMap* release_map_message();
  2282. ::protobuf::MessageOfMap* mutable_map_message();
  2283. void set_allocated_map_message(::protobuf::MessageOfMap* map_message);
  2284. private:
  2285. const ::protobuf::MessageOfMap& _internal_map_message() const;
  2286. ::protobuf::MessageOfMap* _internal_mutable_map_message();
  2287. public:
  2288. void unsafe_arena_set_allocated_map_message(
  2289. ::protobuf::MessageOfMap* map_message
  2290. );
  2291. ::protobuf::MessageOfMap* unsafe_arena_release_map_message();
  2292. // .protobuf.GameState game_state = 7;
  2293. void clear_game_state();
  2294. ::protobuf::GameState game_state() const;
  2295. void set_game_state(::protobuf::GameState value);
  2296. private:
  2297. ::protobuf::GameState _internal_game_state() const;
  2298. void _internal_set_game_state(::protobuf::GameState value);
  2299. public:
  2300. // @@protoc_insertion_point(class_scope:protobuf.MessageToClient)
  2301. private:
  2302. class _Internal;
  2303. template<typename T>
  2304. friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2305. typedef void InternalArenaConstructable_;
  2306. typedef void DestructorSkippable_;
  2307. struct Impl_
  2308. {
  2309. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfStudent> student_message_;
  2310. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfTricker> tricker_message_;
  2311. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfProp> prop_message_;
  2312. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfBullet> bullet_message_;
  2313. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfBombedBullet> bombed_bullet_message_;
  2314. ::protobuf::MessageOfMap* map_message_;
  2315. int game_state_;
  2316. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2317. };
  2318. union
  2319. {
  2320. Impl_ _impl_;
  2321. };
  2322. friend struct ::TableStruct_Message2Clients_2eproto;
  2323. };
  2324. // -------------------------------------------------------------------
  2325. class MoveRes final :
  2326. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MoveRes) */
  2327. {
  2328. public:
  2329. inline MoveRes() :
  2330. MoveRes(nullptr)
  2331. {
  2332. }
  2333. ~MoveRes() override;
  2334. explicit PROTOBUF_CONSTEXPR MoveRes(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2335. MoveRes(const MoveRes& from);
  2336. MoveRes(MoveRes&& from) noexcept
  2337. :
  2338. MoveRes()
  2339. {
  2340. *this = ::std::move(from);
  2341. }
  2342. inline MoveRes& operator=(const MoveRes& from)
  2343. {
  2344. CopyFrom(from);
  2345. return *this;
  2346. }
  2347. inline MoveRes& operator=(MoveRes&& from) noexcept
  2348. {
  2349. if (this == &from)
  2350. return *this;
  2351. if (GetOwningArena() == from.GetOwningArena()
  2352. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2353. && GetOwningArena() != nullptr
  2354. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2355. )
  2356. {
  2357. InternalSwap(&from);
  2358. }
  2359. else
  2360. {
  2361. CopyFrom(from);
  2362. }
  2363. return *this;
  2364. }
  2365. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
  2366. {
  2367. return GetDescriptor();
  2368. }
  2369. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
  2370. {
  2371. return default_instance().GetMetadata().descriptor;
  2372. }
  2373. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
  2374. {
  2375. return default_instance().GetMetadata().reflection;
  2376. }
  2377. static const MoveRes& default_instance()
  2378. {
  2379. return *internal_default_instance();
  2380. }
  2381. static inline const MoveRes* internal_default_instance()
  2382. {
  2383. return reinterpret_cast<const MoveRes*>(
  2384. &_MoveRes_default_instance_
  2385. );
  2386. }
  2387. static constexpr int kIndexInFileMessages =
  2388. 9;
  2389. friend void swap(MoveRes& a, MoveRes& b)
  2390. {
  2391. a.Swap(&b);
  2392. }
  2393. inline void Swap(MoveRes* other)
  2394. {
  2395. if (other == this)
  2396. return;
  2397. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2398. if (GetOwningArena() != nullptr &&
  2399. GetOwningArena() == other->GetOwningArena())
  2400. {
  2401. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2402. if (GetOwningArena() == other->GetOwningArena())
  2403. {
  2404. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2405. InternalSwap(other);
  2406. }
  2407. else
  2408. {
  2409. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2410. }
  2411. }
  2412. void UnsafeArenaSwap(MoveRes* other)
  2413. {
  2414. if (other == this)
  2415. return;
  2416. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2417. InternalSwap(other);
  2418. }
  2419. // implements Message ----------------------------------------------
  2420. MoveRes* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
  2421. {
  2422. return CreateMaybeMessage<MoveRes>(arena);
  2423. }
  2424. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2425. void CopyFrom(const MoveRes& from);
  2426. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2427. void MergeFrom(const MoveRes& from)
  2428. {
  2429. MoveRes::MergeImpl(*this, from);
  2430. }
  2431. private:
  2432. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  2433. public:
  2434. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2435. bool IsInitialized() const final;
  2436. size_t ByteSizeLong() const final;
  2437. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2438. uint8_t* _InternalSerialize(
  2439. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
  2440. ) const final;
  2441. int GetCachedSize() const final
  2442. {
  2443. return _impl_._cached_size_.Get();
  2444. }
  2445. private:
  2446. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  2447. void SharedDtor();
  2448. void SetCachedSize(int size) const final;
  2449. void InternalSwap(MoveRes* other);
  2450. private:
  2451. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2452. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
  2453. {
  2454. return "protobuf.MoveRes";
  2455. }
  2456. protected:
  2457. explicit MoveRes(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
  2458. public:
  2459. static const ClassData _class_data_;
  2460. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
  2461. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2462. // nested types ----------------------------------------------------
  2463. // accessors -------------------------------------------------------
  2464. enum : int
  2465. {
  2466. kActualSpeedFieldNumber = 1,
  2467. kActualAngleFieldNumber = 2,
  2468. kActSuccessFieldNumber = 3,
  2469. };
  2470. // int64 actual_speed = 1;
  2471. void clear_actual_speed();
  2472. int64_t actual_speed() const;
  2473. void set_actual_speed(int64_t value);
  2474. private:
  2475. int64_t _internal_actual_speed() const;
  2476. void _internal_set_actual_speed(int64_t value);
  2477. public:
  2478. // double actual_angle = 2;
  2479. void clear_actual_angle();
  2480. double actual_angle() const;
  2481. void set_actual_angle(double value);
  2482. private:
  2483. double _internal_actual_angle() const;
  2484. void _internal_set_actual_angle(double value);
  2485. public:
  2486. // bool act_success = 3;
  2487. void clear_act_success();
  2488. bool act_success() const;
  2489. void set_act_success(bool value);
  2490. private:
  2491. bool _internal_act_success() const;
  2492. void _internal_set_act_success(bool value);
  2493. public:
  2494. // @@protoc_insertion_point(class_scope:protobuf.MoveRes)
  2495. private:
  2496. class _Internal;
  2497. template<typename T>
  2498. friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2499. typedef void InternalArenaConstructable_;
  2500. typedef void DestructorSkippable_;
  2501. struct Impl_
  2502. {
  2503. int64_t actual_speed_;
  2504. double actual_angle_;
  2505. bool act_success_;
  2506. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2507. };
  2508. union
  2509. {
  2510. Impl_ _impl_;
  2511. };
  2512. friend struct ::TableStruct_Message2Clients_2eproto;
  2513. };
  2514. // -------------------------------------------------------------------
  2515. class BoolRes final :
  2516. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.BoolRes) */
  2517. {
  2518. public:
  2519. inline BoolRes() :
  2520. BoolRes(nullptr)
  2521. {
  2522. }
  2523. ~BoolRes() override;
  2524. explicit PROTOBUF_CONSTEXPR BoolRes(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2525. BoolRes(const BoolRes& from);
  2526. BoolRes(BoolRes&& from) noexcept
  2527. :
  2528. BoolRes()
  2529. {
  2530. *this = ::std::move(from);
  2531. }
  2532. inline BoolRes& operator=(const BoolRes& from)
  2533. {
  2534. CopyFrom(from);
  2535. return *this;
  2536. }
  2537. inline BoolRes& operator=(BoolRes&& from) noexcept
  2538. {
  2539. if (this == &from)
  2540. return *this;
  2541. if (GetOwningArena() == from.GetOwningArena()
  2542. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2543. && GetOwningArena() != nullptr
  2544. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2545. )
  2546. {
  2547. InternalSwap(&from);
  2548. }
  2549. else
  2550. {
  2551. CopyFrom(from);
  2552. }
  2553. return *this;
  2554. }
  2555. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
  2556. {
  2557. return GetDescriptor();
  2558. }
  2559. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
  2560. {
  2561. return default_instance().GetMetadata().descriptor;
  2562. }
  2563. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
  2564. {
  2565. return default_instance().GetMetadata().reflection;
  2566. }
  2567. static const BoolRes& default_instance()
  2568. {
  2569. return *internal_default_instance();
  2570. }
  2571. static inline const BoolRes* internal_default_instance()
  2572. {
  2573. return reinterpret_cast<const BoolRes*>(
  2574. &_BoolRes_default_instance_
  2575. );
  2576. }
  2577. static constexpr int kIndexInFileMessages =
  2578. 10;
  2579. friend void swap(BoolRes& a, BoolRes& b)
  2580. {
  2581. a.Swap(&b);
  2582. }
  2583. inline void Swap(BoolRes* other)
  2584. {
  2585. if (other == this)
  2586. return;
  2587. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2588. if (GetOwningArena() != nullptr &&
  2589. GetOwningArena() == other->GetOwningArena())
  2590. {
  2591. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2592. if (GetOwningArena() == other->GetOwningArena())
  2593. {
  2594. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2595. InternalSwap(other);
  2596. }
  2597. else
  2598. {
  2599. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2600. }
  2601. }
  2602. void UnsafeArenaSwap(BoolRes* other)
  2603. {
  2604. if (other == this)
  2605. return;
  2606. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2607. InternalSwap(other);
  2608. }
  2609. // implements Message ----------------------------------------------
  2610. BoolRes* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
  2611. {
  2612. return CreateMaybeMessage<BoolRes>(arena);
  2613. }
  2614. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2615. void CopyFrom(const BoolRes& from);
  2616. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2617. void MergeFrom(const BoolRes& from)
  2618. {
  2619. BoolRes::MergeImpl(*this, from);
  2620. }
  2621. private:
  2622. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  2623. public:
  2624. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2625. bool IsInitialized() const final;
  2626. size_t ByteSizeLong() const final;
  2627. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2628. uint8_t* _InternalSerialize(
  2629. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
  2630. ) const final;
  2631. int GetCachedSize() const final
  2632. {
  2633. return _impl_._cached_size_.Get();
  2634. }
  2635. private:
  2636. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  2637. void SharedDtor();
  2638. void SetCachedSize(int size) const final;
  2639. void InternalSwap(BoolRes* other);
  2640. private:
  2641. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2642. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
  2643. {
  2644. return "protobuf.BoolRes";
  2645. }
  2646. protected:
  2647. explicit BoolRes(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
  2648. public:
  2649. static const ClassData _class_data_;
  2650. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
  2651. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2652. // nested types ----------------------------------------------------
  2653. // accessors -------------------------------------------------------
  2654. enum : int
  2655. {
  2656. kActSuccessFieldNumber = 1,
  2657. };
  2658. // bool act_success = 1;
  2659. void clear_act_success();
  2660. bool act_success() const;
  2661. void set_act_success(bool value);
  2662. private:
  2663. bool _internal_act_success() const;
  2664. void _internal_set_act_success(bool value);
  2665. public:
  2666. // @@protoc_insertion_point(class_scope:protobuf.BoolRes)
  2667. private:
  2668. class _Internal;
  2669. template<typename T>
  2670. friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2671. typedef void InternalArenaConstructable_;
  2672. typedef void DestructorSkippable_;
  2673. struct Impl_
  2674. {
  2675. bool act_success_;
  2676. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2677. };
  2678. union
  2679. {
  2680. Impl_ _impl_;
  2681. };
  2682. friend struct ::TableStruct_Message2Clients_2eproto;
  2683. };
  2684. // -------------------------------------------------------------------
  2685. class MsgRes final :
  2686. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:protobuf.MsgRes) */
  2687. {
  2688. public:
  2689. inline MsgRes() :
  2690. MsgRes(nullptr)
  2691. {
  2692. }
  2693. ~MsgRes() override;
  2694. explicit PROTOBUF_CONSTEXPR MsgRes(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2695. MsgRes(const MsgRes& from);
  2696. MsgRes(MsgRes&& from) noexcept
  2697. :
  2698. MsgRes()
  2699. {
  2700. *this = ::std::move(from);
  2701. }
  2702. inline MsgRes& operator=(const MsgRes& from)
  2703. {
  2704. CopyFrom(from);
  2705. return *this;
  2706. }
  2707. inline MsgRes& operator=(MsgRes&& from) noexcept
  2708. {
  2709. if (this == &from)
  2710. return *this;
  2711. if (GetOwningArena() == from.GetOwningArena()
  2712. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2713. && GetOwningArena() != nullptr
  2714. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2715. )
  2716. {
  2717. InternalSwap(&from);
  2718. }
  2719. else
  2720. {
  2721. CopyFrom(from);
  2722. }
  2723. return *this;
  2724. }
  2725. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor()
  2726. {
  2727. return GetDescriptor();
  2728. }
  2729. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor()
  2730. {
  2731. return default_instance().GetMetadata().descriptor;
  2732. }
  2733. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection()
  2734. {
  2735. return default_instance().GetMetadata().reflection;
  2736. }
  2737. static const MsgRes& default_instance()
  2738. {
  2739. return *internal_default_instance();
  2740. }
  2741. static inline const MsgRes* internal_default_instance()
  2742. {
  2743. return reinterpret_cast<const MsgRes*>(
  2744. &_MsgRes_default_instance_
  2745. );
  2746. }
  2747. static constexpr int kIndexInFileMessages =
  2748. 11;
  2749. friend void swap(MsgRes& a, MsgRes& b)
  2750. {
  2751. a.Swap(&b);
  2752. }
  2753. inline void Swap(MsgRes* other)
  2754. {
  2755. if (other == this)
  2756. return;
  2757. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2758. if (GetOwningArena() != nullptr &&
  2759. GetOwningArena() == other->GetOwningArena())
  2760. {
  2761. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2762. if (GetOwningArena() == other->GetOwningArena())
  2763. {
  2764. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2765. InternalSwap(other);
  2766. }
  2767. else
  2768. {
  2769. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2770. }
  2771. }
  2772. void UnsafeArenaSwap(MsgRes* other)
  2773. {
  2774. if (other == this)
  2775. return;
  2776. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2777. InternalSwap(other);
  2778. }
  2779. // implements Message ----------------------------------------------
  2780. MsgRes* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final
  2781. {
  2782. return CreateMaybeMessage<MsgRes>(arena);
  2783. }
  2784. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2785. void CopyFrom(const MsgRes& from);
  2786. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2787. void MergeFrom(const MsgRes& from)
  2788. {
  2789. MsgRes::MergeImpl(*this, from);
  2790. }
  2791. private:
  2792. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
  2793. public:
  2794. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2795. bool IsInitialized() const final;
  2796. size_t ByteSizeLong() const final;
  2797. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2798. uint8_t* _InternalSerialize(
  2799. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream
  2800. ) const final;
  2801. int GetCachedSize() const final
  2802. {
  2803. return _impl_._cached_size_.Get();
  2804. }
  2805. private:
  2806. void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
  2807. void SharedDtor();
  2808. void SetCachedSize(int size) const final;
  2809. void InternalSwap(MsgRes* other);
  2810. private:
  2811. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2812. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
  2813. {
  2814. return "protobuf.MsgRes";
  2815. }
  2816. protected:
  2817. explicit MsgRes(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false);
  2818. public:
  2819. static const ClassData _class_data_;
  2820. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData() const final;
  2821. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2822. // nested types ----------------------------------------------------
  2823. // accessors -------------------------------------------------------
  2824. enum : int
  2825. {
  2826. kMessageReceivedFieldNumber = 3,
  2827. kFromPlayerIdFieldNumber = 2,
  2828. kHaveMessageFieldNumber = 1,
  2829. };
  2830. // string message_received = 3;
  2831. void clear_message_received();
  2832. const std::string& message_received() const;
  2833. template<typename ArgT0 = const std::string&, typename... ArgT>
  2834. void set_message_received(ArgT0&& arg0, ArgT... args);
  2835. std::string* mutable_message_received();
  2836. PROTOBUF_NODISCARD std::string* release_message_received();
  2837. void set_allocated_message_received(std::string* message_received);
  2838. private:
  2839. const std::string& _internal_message_received() const;
  2840. inline PROTOBUF_ALWAYS_INLINE void _internal_set_message_received(const std::string& value);
  2841. std::string* _internal_mutable_message_received();
  2842. public:
  2843. // int64 from_player_id = 2;
  2844. void clear_from_player_id();
  2845. int64_t from_player_id() const;
  2846. void set_from_player_id(int64_t value);
  2847. private:
  2848. int64_t _internal_from_player_id() const;
  2849. void _internal_set_from_player_id(int64_t value);
  2850. public:
  2851. // bool have_message = 1;
  2852. void clear_have_message();
  2853. bool have_message() const;
  2854. void set_have_message(bool value);
  2855. private:
  2856. bool _internal_have_message() const;
  2857. void _internal_set_have_message(bool value);
  2858. public:
  2859. // @@protoc_insertion_point(class_scope:protobuf.MsgRes)
  2860. private:
  2861. class _Internal;
  2862. template<typename T>
  2863. friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2864. typedef void InternalArenaConstructable_;
  2865. typedef void DestructorSkippable_;
  2866. struct Impl_
  2867. {
  2868. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr message_received_;
  2869. int64_t from_player_id_;
  2870. bool have_message_;
  2871. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2872. };
  2873. union
  2874. {
  2875. Impl_ _impl_;
  2876. };
  2877. friend struct ::TableStruct_Message2Clients_2eproto;
  2878. };
  2879. // ===================================================================
  2880. // ===================================================================
  2881. #ifdef __GNUC__
  2882. #pragma GCC diagnostic push
  2883. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  2884. #endif // __GNUC__
  2885. // MessageOfStudent
  2886. // int32 x = 1;
  2887. inline void MessageOfStudent::clear_x()
  2888. {
  2889. _impl_.x_ = 0;
  2890. }
  2891. inline int32_t MessageOfStudent::_internal_x() const
  2892. {
  2893. return _impl_.x_;
  2894. }
  2895. inline int32_t MessageOfStudent::x() const
  2896. {
  2897. // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.x)
  2898. return _internal_x();
  2899. }
  2900. inline void MessageOfStudent::_internal_set_x(int32_t value)
  2901. {
  2902. _impl_.x_ = value;
  2903. }
  2904. inline void MessageOfStudent::set_x(int32_t value)
  2905. {
  2906. _internal_set_x(value);
  2907. // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.x)
  2908. }
  2909. // int32 y = 2;
  2910. inline void MessageOfStudent::clear_y()
  2911. {
  2912. _impl_.y_ = 0;
  2913. }
  2914. inline int32_t MessageOfStudent::_internal_y() const
  2915. {
  2916. return _impl_.y_;
  2917. }
  2918. inline int32_t MessageOfStudent::y() const
  2919. {
  2920. // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.y)
  2921. return _internal_y();
  2922. }
  2923. inline void MessageOfStudent::_internal_set_y(int32_t value)
  2924. {
  2925. _impl_.y_ = value;
  2926. }
  2927. inline void MessageOfStudent::set_y(int32_t value)
  2928. {
  2929. _internal_set_y(value);
  2930. // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.y)
  2931. }
  2932. // int32 speed = 3;
  2933. inline void MessageOfStudent::clear_speed()
  2934. {
  2935. _impl_.speed_ = 0;
  2936. }
  2937. inline int32_t MessageOfStudent::_internal_speed() const
  2938. {
  2939. return _impl_.speed_;
  2940. }
  2941. inline int32_t MessageOfStudent::speed() const
  2942. {
  2943. // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.speed)
  2944. return _internal_speed();
  2945. }
  2946. inline void MessageOfStudent::_internal_set_speed(int32_t value)
  2947. {
  2948. _impl_.speed_ = value;
  2949. }
  2950. inline void MessageOfStudent::set_speed(int32_t value)
  2951. {
  2952. _internal_set_speed(value);
  2953. // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.speed)
  2954. }
  2955. // int32 determination = 4;
  2956. inline void MessageOfStudent::clear_determination()
  2957. {
  2958. _impl_.determination_ = 0;
  2959. }
  2960. inline int32_t MessageOfStudent::_internal_determination() const
  2961. {
  2962. return _impl_.determination_;
  2963. }
  2964. inline int32_t MessageOfStudent::determination() const
  2965. {
  2966. // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.determination)
  2967. return _internal_determination();
  2968. }
  2969. inline void MessageOfStudent::_internal_set_determination(int32_t value)
  2970. {
  2971. _impl_.determination_ = value;
  2972. }
  2973. inline void MessageOfStudent::set_determination(int32_t value)
  2974. {
  2975. _internal_set_determination(value);
  2976. // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.determination)
  2977. }
  2978. // int32 fail_num = 5;
  2979. inline void MessageOfStudent::clear_fail_num()
  2980. {
  2981. _impl_.fail_num_ = 0;
  2982. }
  2983. inline int32_t MessageOfStudent::_internal_fail_num() const
  2984. {
  2985. return _impl_.fail_num_;
  2986. }
  2987. inline int32_t MessageOfStudent::fail_num() const
  2988. {
  2989. // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.fail_num)
  2990. return _internal_fail_num();
  2991. }
  2992. inline void MessageOfStudent::_internal_set_fail_num(int32_t value)
  2993. {
  2994. _impl_.fail_num_ = value;
  2995. }
  2996. inline void MessageOfStudent::set_fail_num(int32_t value)
  2997. {
  2998. _internal_set_fail_num(value);
  2999. // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.fail_num)
  3000. }
  3001. // double time_until_skill_available = 6;
  3002. inline void MessageOfStudent::clear_time_until_skill_available()
  3003. {
  3004. _impl_.time_until_skill_available_ = 0;
  3005. }
  3006. inline double MessageOfStudent::_internal_time_until_skill_available() const
  3007. {
  3008. return _impl_.time_until_skill_available_;
  3009. }
  3010. inline double MessageOfStudent::time_until_skill_available() const
  3011. {
  3012. // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.time_until_skill_available)
  3013. return _internal_time_until_skill_available();
  3014. }
  3015. inline void MessageOfStudent::_internal_set_time_until_skill_available(double value)
  3016. {
  3017. _impl_.time_until_skill_available_ = value;
  3018. }
  3019. inline void MessageOfStudent::set_time_until_skill_available(double value)
  3020. {
  3021. _internal_set_time_until_skill_available(value);
  3022. // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.time_until_skill_available)
  3023. }
  3024. // .protobuf.PlaceType place = 7;
  3025. inline void MessageOfStudent::clear_place()
  3026. {
  3027. _impl_.place_ = 0;
  3028. }
  3029. inline ::protobuf::PlaceType MessageOfStudent::_internal_place() const
  3030. {
  3031. return static_cast<::protobuf::PlaceType>(_impl_.place_);
  3032. }
  3033. inline ::protobuf::PlaceType MessageOfStudent::place() const
  3034. {
  3035. // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.place)
  3036. return _internal_place();
  3037. }
  3038. inline void MessageOfStudent::_internal_set_place(::protobuf::PlaceType value)
  3039. {
  3040. _impl_.place_ = value;
  3041. }
  3042. inline void MessageOfStudent::set_place(::protobuf::PlaceType value)
  3043. {
  3044. _internal_set_place(value);
  3045. // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.place)
  3046. }
  3047. // .protobuf.PropType prop = 8;
  3048. inline void MessageOfStudent::clear_prop()
  3049. {
  3050. _impl_.prop_ = 0;
  3051. }
  3052. inline ::protobuf::PropType MessageOfStudent::_internal_prop() const
  3053. {
  3054. return static_cast<::protobuf::PropType>(_impl_.prop_);
  3055. }
  3056. inline ::protobuf::PropType MessageOfStudent::prop() const
  3057. {
  3058. // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.prop)
  3059. return _internal_prop();
  3060. }
  3061. inline void MessageOfStudent::_internal_set_prop(::protobuf::PropType value)
  3062. {
  3063. _impl_.prop_ = value;
  3064. }
  3065. inline void MessageOfStudent::set_prop(::protobuf::PropType value)
  3066. {
  3067. _internal_set_prop(value);
  3068. // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.prop)
  3069. }
  3070. // .protobuf.StudentType student_type = 9;
  3071. inline void MessageOfStudent::clear_student_type()
  3072. {
  3073. _impl_.student_type_ = 0;
  3074. }
  3075. inline ::protobuf::StudentType MessageOfStudent::_internal_student_type() const
  3076. {
  3077. return static_cast<::protobuf::StudentType>(_impl_.student_type_);
  3078. }
  3079. inline ::protobuf::StudentType MessageOfStudent::student_type() const
  3080. {
  3081. // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.student_type)
  3082. return _internal_student_type();
  3083. }
  3084. inline void MessageOfStudent::_internal_set_student_type(::protobuf::StudentType value)
  3085. {
  3086. _impl_.student_type_ = value;
  3087. }
  3088. inline void MessageOfStudent::set_student_type(::protobuf::StudentType value)
  3089. {
  3090. _internal_set_student_type(value);
  3091. // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.student_type)
  3092. }
  3093. // int64 guid = 10;
  3094. inline void MessageOfStudent::clear_guid()
  3095. {
  3096. _impl_.guid_ = int64_t{0};
  3097. }
  3098. inline int64_t MessageOfStudent::_internal_guid() const
  3099. {
  3100. return _impl_.guid_;
  3101. }
  3102. inline int64_t MessageOfStudent::guid() const
  3103. {
  3104. // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.guid)
  3105. return _internal_guid();
  3106. }
  3107. inline void MessageOfStudent::_internal_set_guid(int64_t value)
  3108. {
  3109. _impl_.guid_ = value;
  3110. }
  3111. inline void MessageOfStudent::set_guid(int64_t value)
  3112. {
  3113. _internal_set_guid(value);
  3114. // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.guid)
  3115. }
  3116. // .protobuf.StudentState state = 11;
  3117. inline void MessageOfStudent::clear_state()
  3118. {
  3119. _impl_.state_ = 0;
  3120. }
  3121. inline ::protobuf::StudentState MessageOfStudent::_internal_state() const
  3122. {
  3123. return static_cast<::protobuf::StudentState>(_impl_.state_);
  3124. }
  3125. inline ::protobuf::StudentState MessageOfStudent::state() const
  3126. {
  3127. // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.state)
  3128. return _internal_state();
  3129. }
  3130. inline void MessageOfStudent::_internal_set_state(::protobuf::StudentState value)
  3131. {
  3132. _impl_.state_ = value;
  3133. }
  3134. inline void MessageOfStudent::set_state(::protobuf::StudentState value)
  3135. {
  3136. _internal_set_state(value);
  3137. // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.state)
  3138. }
  3139. // double fail_time = 12;
  3140. inline void MessageOfStudent::clear_fail_time()
  3141. {
  3142. _impl_.fail_time_ = 0;
  3143. }
  3144. inline double MessageOfStudent::_internal_fail_time() const
  3145. {
  3146. return _impl_.fail_time_;
  3147. }
  3148. inline double MessageOfStudent::fail_time() const
  3149. {
  3150. // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.fail_time)
  3151. return _internal_fail_time();
  3152. }
  3153. inline void MessageOfStudent::_internal_set_fail_time(double value)
  3154. {
  3155. _impl_.fail_time_ = value;
  3156. }
  3157. inline void MessageOfStudent::set_fail_time(double value)
  3158. {
  3159. _internal_set_fail_time(value);
  3160. // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.fail_time)
  3161. }
  3162. // double emo_time = 14;
  3163. inline void MessageOfStudent::clear_emo_time()
  3164. {
  3165. _impl_.emo_time_ = 0;
  3166. }
  3167. inline double MessageOfStudent::_internal_emo_time() const
  3168. {
  3169. return _impl_.emo_time_;
  3170. }
  3171. inline double MessageOfStudent::emo_time() const
  3172. {
  3173. // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.emo_time)
  3174. return _internal_emo_time();
  3175. }
  3176. inline void MessageOfStudent::_internal_set_emo_time(double value)
  3177. {
  3178. _impl_.emo_time_ = value;
  3179. }
  3180. inline void MessageOfStudent::set_emo_time(double value)
  3181. {
  3182. _internal_set_emo_time(value);
  3183. // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.emo_time)
  3184. }
  3185. // int64 player_id = 15;
  3186. inline void MessageOfStudent::clear_player_id()
  3187. {
  3188. _impl_.player_id_ = int64_t{0};
  3189. }
  3190. inline int64_t MessageOfStudent::_internal_player_id() const
  3191. {
  3192. return _impl_.player_id_;
  3193. }
  3194. inline int64_t MessageOfStudent::player_id() const
  3195. {
  3196. // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.player_id)
  3197. return _internal_player_id();
  3198. }
  3199. inline void MessageOfStudent::_internal_set_player_id(int64_t value)
  3200. {
  3201. _impl_.player_id_ = value;
  3202. }
  3203. inline void MessageOfStudent::set_player_id(int64_t value)
  3204. {
  3205. _internal_set_player_id(value);
  3206. // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.player_id)
  3207. }
  3208. // int32 view_range = 16;
  3209. inline void MessageOfStudent::clear_view_range()
  3210. {
  3211. _impl_.view_range_ = 0;
  3212. }
  3213. inline int32_t MessageOfStudent::_internal_view_range() const
  3214. {
  3215. return _impl_.view_range_;
  3216. }
  3217. inline int32_t MessageOfStudent::view_range() const
  3218. {
  3219. // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.view_range)
  3220. return _internal_view_range();
  3221. }
  3222. inline void MessageOfStudent::_internal_set_view_range(int32_t value)
  3223. {
  3224. _impl_.view_range_ = value;
  3225. }
  3226. inline void MessageOfStudent::set_view_range(int32_t value)
  3227. {
  3228. _internal_set_view_range(value);
  3229. // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.view_range)
  3230. }
  3231. // int32 radius = 17;
  3232. inline void MessageOfStudent::clear_radius()
  3233. {
  3234. _impl_.radius_ = 0;
  3235. }
  3236. inline int32_t MessageOfStudent::_internal_radius() const
  3237. {
  3238. return _impl_.radius_;
  3239. }
  3240. inline int32_t MessageOfStudent::radius() const
  3241. {
  3242. // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.radius)
  3243. return _internal_radius();
  3244. }
  3245. inline void MessageOfStudent::_internal_set_radius(int32_t value)
  3246. {
  3247. _impl_.radius_ = value;
  3248. }
  3249. inline void MessageOfStudent::set_radius(int32_t value)
  3250. {
  3251. _internal_set_radius(value);
  3252. // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.radius)
  3253. }
  3254. // int32 damage = 18;
  3255. inline void MessageOfStudent::clear_damage()
  3256. {
  3257. _impl_.damage_ = 0;
  3258. }
  3259. inline int32_t MessageOfStudent::_internal_damage() const
  3260. {
  3261. return _impl_.damage_;
  3262. }
  3263. inline int32_t MessageOfStudent::damage() const
  3264. {
  3265. // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.damage)
  3266. return _internal_damage();
  3267. }
  3268. inline void MessageOfStudent::_internal_set_damage(int32_t value)
  3269. {
  3270. _impl_.damage_ = value;
  3271. }
  3272. inline void MessageOfStudent::set_damage(int32_t value)
  3273. {
  3274. _internal_set_damage(value);
  3275. // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.damage)
  3276. }
  3277. // repeated .protobuf.StudentBuffType buff = 19;
  3278. inline int MessageOfStudent::_internal_buff_size() const
  3279. {
  3280. return _impl_.buff_.size();
  3281. }
  3282. inline int MessageOfStudent::buff_size() const
  3283. {
  3284. return _internal_buff_size();
  3285. }
  3286. inline void MessageOfStudent::clear_buff()
  3287. {
  3288. _impl_.buff_.Clear();
  3289. }
  3290. inline ::protobuf::StudentBuffType MessageOfStudent::_internal_buff(int index) const
  3291. {
  3292. return static_cast<::protobuf::StudentBuffType>(_impl_.buff_.Get(index));
  3293. }
  3294. inline ::protobuf::StudentBuffType MessageOfStudent::buff(int index) const
  3295. {
  3296. // @@protoc_insertion_point(field_get:protobuf.MessageOfStudent.buff)
  3297. return _internal_buff(index);
  3298. }
  3299. inline void MessageOfStudent::set_buff(int index, ::protobuf::StudentBuffType value)
  3300. {
  3301. _impl_.buff_.Set(index, value);
  3302. // @@protoc_insertion_point(field_set:protobuf.MessageOfStudent.buff)
  3303. }
  3304. inline void MessageOfStudent::_internal_add_buff(::protobuf::StudentBuffType value)
  3305. {
  3306. _impl_.buff_.Add(value);
  3307. }
  3308. inline void MessageOfStudent::add_buff(::protobuf::StudentBuffType value)
  3309. {
  3310. _internal_add_buff(value);
  3311. // @@protoc_insertion_point(field_add:protobuf.MessageOfStudent.buff)
  3312. }
  3313. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
  3314. MessageOfStudent::buff() const
  3315. {
  3316. // @@protoc_insertion_point(field_list:protobuf.MessageOfStudent.buff)
  3317. return _impl_.buff_;
  3318. }
  3319. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
  3320. MessageOfStudent::_internal_mutable_buff()
  3321. {
  3322. return &_impl_.buff_;
  3323. }
  3324. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
  3325. MessageOfStudent::mutable_buff()
  3326. {
  3327. // @@protoc_insertion_point(field_mutable_list:protobuf.MessageOfStudent.buff)
  3328. return _internal_mutable_buff();
  3329. }
  3330. // -------------------------------------------------------------------
  3331. // MessageOfTricker
  3332. // int32 x = 1;
  3333. inline void MessageOfTricker::clear_x()
  3334. {
  3335. _impl_.x_ = 0;
  3336. }
  3337. inline int32_t MessageOfTricker::_internal_x() const
  3338. {
  3339. return _impl_.x_;
  3340. }
  3341. inline int32_t MessageOfTricker::x() const
  3342. {
  3343. // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.x)
  3344. return _internal_x();
  3345. }
  3346. inline void MessageOfTricker::_internal_set_x(int32_t value)
  3347. {
  3348. _impl_.x_ = value;
  3349. }
  3350. inline void MessageOfTricker::set_x(int32_t value)
  3351. {
  3352. _internal_set_x(value);
  3353. // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.x)
  3354. }
  3355. // int32 y = 2;
  3356. inline void MessageOfTricker::clear_y()
  3357. {
  3358. _impl_.y_ = 0;
  3359. }
  3360. inline int32_t MessageOfTricker::_internal_y() const
  3361. {
  3362. return _impl_.y_;
  3363. }
  3364. inline int32_t MessageOfTricker::y() const
  3365. {
  3366. // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.y)
  3367. return _internal_y();
  3368. }
  3369. inline void MessageOfTricker::_internal_set_y(int32_t value)
  3370. {
  3371. _impl_.y_ = value;
  3372. }
  3373. inline void MessageOfTricker::set_y(int32_t value)
  3374. {
  3375. _internal_set_y(value);
  3376. // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.y)
  3377. }
  3378. // int32 speed = 3;
  3379. inline void MessageOfTricker::clear_speed()
  3380. {
  3381. _impl_.speed_ = 0;
  3382. }
  3383. inline int32_t MessageOfTricker::_internal_speed() const
  3384. {
  3385. return _impl_.speed_;
  3386. }
  3387. inline int32_t MessageOfTricker::speed() const
  3388. {
  3389. // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.speed)
  3390. return _internal_speed();
  3391. }
  3392. inline void MessageOfTricker::_internal_set_speed(int32_t value)
  3393. {
  3394. _impl_.speed_ = value;
  3395. }
  3396. inline void MessageOfTricker::set_speed(int32_t value)
  3397. {
  3398. _internal_set_speed(value);
  3399. // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.speed)
  3400. }
  3401. // int32 damage = 4;
  3402. inline void MessageOfTricker::clear_damage()
  3403. {
  3404. _impl_.damage_ = 0;
  3405. }
  3406. inline int32_t MessageOfTricker::_internal_damage() const
  3407. {
  3408. return _impl_.damage_;
  3409. }
  3410. inline int32_t MessageOfTricker::damage() const
  3411. {
  3412. // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.damage)
  3413. return _internal_damage();
  3414. }
  3415. inline void MessageOfTricker::_internal_set_damage(int32_t value)
  3416. {
  3417. _impl_.damage_ = value;
  3418. }
  3419. inline void MessageOfTricker::set_damage(int32_t value)
  3420. {
  3421. _internal_set_damage(value);
  3422. // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.damage)
  3423. }
  3424. // double time_until_skill_available = 5;
  3425. inline void MessageOfTricker::clear_time_until_skill_available()
  3426. {
  3427. _impl_.time_until_skill_available_ = 0;
  3428. }
  3429. inline double MessageOfTricker::_internal_time_until_skill_available() const
  3430. {
  3431. return _impl_.time_until_skill_available_;
  3432. }
  3433. inline double MessageOfTricker::time_until_skill_available() const
  3434. {
  3435. // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.time_until_skill_available)
  3436. return _internal_time_until_skill_available();
  3437. }
  3438. inline void MessageOfTricker::_internal_set_time_until_skill_available(double value)
  3439. {
  3440. _impl_.time_until_skill_available_ = value;
  3441. }
  3442. inline void MessageOfTricker::set_time_until_skill_available(double value)
  3443. {
  3444. _internal_set_time_until_skill_available(value);
  3445. // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.time_until_skill_available)
  3446. }
  3447. // .protobuf.PlaceType place = 6;
  3448. inline void MessageOfTricker::clear_place()
  3449. {
  3450. _impl_.place_ = 0;
  3451. }
  3452. inline ::protobuf::PlaceType MessageOfTricker::_internal_place() const
  3453. {
  3454. return static_cast<::protobuf::PlaceType>(_impl_.place_);
  3455. }
  3456. inline ::protobuf::PlaceType MessageOfTricker::place() const
  3457. {
  3458. // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.place)
  3459. return _internal_place();
  3460. }
  3461. inline void MessageOfTricker::_internal_set_place(::protobuf::PlaceType value)
  3462. {
  3463. _impl_.place_ = value;
  3464. }
  3465. inline void MessageOfTricker::set_place(::protobuf::PlaceType value)
  3466. {
  3467. _internal_set_place(value);
  3468. // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.place)
  3469. }
  3470. // .protobuf.PropType prop = 7;
  3471. inline void MessageOfTricker::clear_prop()
  3472. {
  3473. _impl_.prop_ = 0;
  3474. }
  3475. inline ::protobuf::PropType MessageOfTricker::_internal_prop() const
  3476. {
  3477. return static_cast<::protobuf::PropType>(_impl_.prop_);
  3478. }
  3479. inline ::protobuf::PropType MessageOfTricker::prop() const
  3480. {
  3481. // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.prop)
  3482. return _internal_prop();
  3483. }
  3484. inline void MessageOfTricker::_internal_set_prop(::protobuf::PropType value)
  3485. {
  3486. _impl_.prop_ = value;
  3487. }
  3488. inline void MessageOfTricker::set_prop(::protobuf::PropType value)
  3489. {
  3490. _internal_set_prop(value);
  3491. // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.prop)
  3492. }
  3493. // .protobuf.TrickerType tricker_type = 8;
  3494. inline void MessageOfTricker::clear_tricker_type()
  3495. {
  3496. _impl_.tricker_type_ = 0;
  3497. }
  3498. inline ::protobuf::TrickerType MessageOfTricker::_internal_tricker_type() const
  3499. {
  3500. return static_cast<::protobuf::TrickerType>(_impl_.tricker_type_);
  3501. }
  3502. inline ::protobuf::TrickerType MessageOfTricker::tricker_type() const
  3503. {
  3504. // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.tricker_type)
  3505. return _internal_tricker_type();
  3506. }
  3507. inline void MessageOfTricker::_internal_set_tricker_type(::protobuf::TrickerType value)
  3508. {
  3509. _impl_.tricker_type_ = value;
  3510. }
  3511. inline void MessageOfTricker::set_tricker_type(::protobuf::TrickerType value)
  3512. {
  3513. _internal_set_tricker_type(value);
  3514. // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.tricker_type)
  3515. }
  3516. // int64 guid = 9;
  3517. inline void MessageOfTricker::clear_guid()
  3518. {
  3519. _impl_.guid_ = int64_t{0};
  3520. }
  3521. inline int64_t MessageOfTricker::_internal_guid() const
  3522. {
  3523. return _impl_.guid_;
  3524. }
  3525. inline int64_t MessageOfTricker::guid() const
  3526. {
  3527. // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.guid)
  3528. return _internal_guid();
  3529. }
  3530. inline void MessageOfTricker::_internal_set_guid(int64_t value)
  3531. {
  3532. _impl_.guid_ = value;
  3533. }
  3534. inline void MessageOfTricker::set_guid(int64_t value)
  3535. {
  3536. _internal_set_guid(value);
  3537. // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.guid)
  3538. }
  3539. // bool movable = 10;
  3540. inline void MessageOfTricker::clear_movable()
  3541. {
  3542. _impl_.movable_ = false;
  3543. }
  3544. inline bool MessageOfTricker::_internal_movable() const
  3545. {
  3546. return _impl_.movable_;
  3547. }
  3548. inline bool MessageOfTricker::movable() const
  3549. {
  3550. // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.movable)
  3551. return _internal_movable();
  3552. }
  3553. inline void MessageOfTricker::_internal_set_movable(bool value)
  3554. {
  3555. _impl_.movable_ = value;
  3556. }
  3557. inline void MessageOfTricker::set_movable(bool value)
  3558. {
  3559. _internal_set_movable(value);
  3560. // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.movable)
  3561. }
  3562. // int64 player_id = 11;
  3563. inline void MessageOfTricker::clear_player_id()
  3564. {
  3565. _impl_.player_id_ = int64_t{0};
  3566. }
  3567. inline int64_t MessageOfTricker::_internal_player_id() const
  3568. {
  3569. return _impl_.player_id_;
  3570. }
  3571. inline int64_t MessageOfTricker::player_id() const
  3572. {
  3573. // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.player_id)
  3574. return _internal_player_id();
  3575. }
  3576. inline void MessageOfTricker::_internal_set_player_id(int64_t value)
  3577. {
  3578. _impl_.player_id_ = value;
  3579. }
  3580. inline void MessageOfTricker::set_player_id(int64_t value)
  3581. {
  3582. _internal_set_player_id(value);
  3583. // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.player_id)
  3584. }
  3585. // int32 view_range = 12;
  3586. inline void MessageOfTricker::clear_view_range()
  3587. {
  3588. _impl_.view_range_ = 0;
  3589. }
  3590. inline int32_t MessageOfTricker::_internal_view_range() const
  3591. {
  3592. return _impl_.view_range_;
  3593. }
  3594. inline int32_t MessageOfTricker::view_range() const
  3595. {
  3596. // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.view_range)
  3597. return _internal_view_range();
  3598. }
  3599. inline void MessageOfTricker::_internal_set_view_range(int32_t value)
  3600. {
  3601. _impl_.view_range_ = value;
  3602. }
  3603. inline void MessageOfTricker::set_view_range(int32_t value)
  3604. {
  3605. _internal_set_view_range(value);
  3606. // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.view_range)
  3607. }
  3608. // int32 radius = 13;
  3609. inline void MessageOfTricker::clear_radius()
  3610. {
  3611. _impl_.radius_ = 0;
  3612. }
  3613. inline int32_t MessageOfTricker::_internal_radius() const
  3614. {
  3615. return _impl_.radius_;
  3616. }
  3617. inline int32_t MessageOfTricker::radius() const
  3618. {
  3619. // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.radius)
  3620. return _internal_radius();
  3621. }
  3622. inline void MessageOfTricker::_internal_set_radius(int32_t value)
  3623. {
  3624. _impl_.radius_ = value;
  3625. }
  3626. inline void MessageOfTricker::set_radius(int32_t value)
  3627. {
  3628. _internal_set_radius(value);
  3629. // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.radius)
  3630. }
  3631. // repeated .protobuf.TrickerBuffType buff = 14;
  3632. inline int MessageOfTricker::_internal_buff_size() const
  3633. {
  3634. return _impl_.buff_.size();
  3635. }
  3636. inline int MessageOfTricker::buff_size() const
  3637. {
  3638. return _internal_buff_size();
  3639. }
  3640. inline void MessageOfTricker::clear_buff()
  3641. {
  3642. _impl_.buff_.Clear();
  3643. }
  3644. inline ::protobuf::TrickerBuffType MessageOfTricker::_internal_buff(int index) const
  3645. {
  3646. return static_cast<::protobuf::TrickerBuffType>(_impl_.buff_.Get(index));
  3647. }
  3648. inline ::protobuf::TrickerBuffType MessageOfTricker::buff(int index) const
  3649. {
  3650. // @@protoc_insertion_point(field_get:protobuf.MessageOfTricker.buff)
  3651. return _internal_buff(index);
  3652. }
  3653. inline void MessageOfTricker::set_buff(int index, ::protobuf::TrickerBuffType value)
  3654. {
  3655. _impl_.buff_.Set(index, value);
  3656. // @@protoc_insertion_point(field_set:protobuf.MessageOfTricker.buff)
  3657. }
  3658. inline void MessageOfTricker::_internal_add_buff(::protobuf::TrickerBuffType value)
  3659. {
  3660. _impl_.buff_.Add(value);
  3661. }
  3662. inline void MessageOfTricker::add_buff(::protobuf::TrickerBuffType value)
  3663. {
  3664. _internal_add_buff(value);
  3665. // @@protoc_insertion_point(field_add:protobuf.MessageOfTricker.buff)
  3666. }
  3667. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
  3668. MessageOfTricker::buff() const
  3669. {
  3670. // @@protoc_insertion_point(field_list:protobuf.MessageOfTricker.buff)
  3671. return _impl_.buff_;
  3672. }
  3673. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
  3674. MessageOfTricker::_internal_mutable_buff()
  3675. {
  3676. return &_impl_.buff_;
  3677. }
  3678. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
  3679. MessageOfTricker::mutable_buff()
  3680. {
  3681. // @@protoc_insertion_point(field_mutable_list:protobuf.MessageOfTricker.buff)
  3682. return _internal_mutable_buff();
  3683. }
  3684. // -------------------------------------------------------------------
  3685. // MessageOfBullet
  3686. // .protobuf.BulletType type = 1;
  3687. inline void MessageOfBullet::clear_type()
  3688. {
  3689. _impl_.type_ = 0;
  3690. }
  3691. inline ::protobuf::BulletType MessageOfBullet::_internal_type() const
  3692. {
  3693. return static_cast<::protobuf::BulletType>(_impl_.type_);
  3694. }
  3695. inline ::protobuf::BulletType MessageOfBullet::type() const
  3696. {
  3697. // @@protoc_insertion_point(field_get:protobuf.MessageOfBullet.type)
  3698. return _internal_type();
  3699. }
  3700. inline void MessageOfBullet::_internal_set_type(::protobuf::BulletType value)
  3701. {
  3702. _impl_.type_ = value;
  3703. }
  3704. inline void MessageOfBullet::set_type(::protobuf::BulletType value)
  3705. {
  3706. _internal_set_type(value);
  3707. // @@protoc_insertion_point(field_set:protobuf.MessageOfBullet.type)
  3708. }
  3709. // int32 x = 2;
  3710. inline void MessageOfBullet::clear_x()
  3711. {
  3712. _impl_.x_ = 0;
  3713. }
  3714. inline int32_t MessageOfBullet::_internal_x() const
  3715. {
  3716. return _impl_.x_;
  3717. }
  3718. inline int32_t MessageOfBullet::x() const
  3719. {
  3720. // @@protoc_insertion_point(field_get:protobuf.MessageOfBullet.x)
  3721. return _internal_x();
  3722. }
  3723. inline void MessageOfBullet::_internal_set_x(int32_t value)
  3724. {
  3725. _impl_.x_ = value;
  3726. }
  3727. inline void MessageOfBullet::set_x(int32_t value)
  3728. {
  3729. _internal_set_x(value);
  3730. // @@protoc_insertion_point(field_set:protobuf.MessageOfBullet.x)
  3731. }
  3732. // int32 y = 3;
  3733. inline void MessageOfBullet::clear_y()
  3734. {
  3735. _impl_.y_ = 0;
  3736. }
  3737. inline int32_t MessageOfBullet::_internal_y() const
  3738. {
  3739. return _impl_.y_;
  3740. }
  3741. inline int32_t MessageOfBullet::y() const
  3742. {
  3743. // @@protoc_insertion_point(field_get:protobuf.MessageOfBullet.y)
  3744. return _internal_y();
  3745. }
  3746. inline void MessageOfBullet::_internal_set_y(int32_t value)
  3747. {
  3748. _impl_.y_ = value;
  3749. }
  3750. inline void MessageOfBullet::set_y(int32_t value)
  3751. {
  3752. _internal_set_y(value);
  3753. // @@protoc_insertion_point(field_set:protobuf.MessageOfBullet.y)
  3754. }
  3755. // double facing_direction = 4;
  3756. inline void MessageOfBullet::clear_facing_direction()
  3757. {
  3758. _impl_.facing_direction_ = 0;
  3759. }
  3760. inline double MessageOfBullet::_internal_facing_direction() const
  3761. {
  3762. return _impl_.facing_direction_;
  3763. }
  3764. inline double MessageOfBullet::facing_direction() const
  3765. {
  3766. // @@protoc_insertion_point(field_get:protobuf.MessageOfBullet.facing_direction)
  3767. return _internal_facing_direction();
  3768. }
  3769. inline void MessageOfBullet::_internal_set_facing_direction(double value)
  3770. {
  3771. _impl_.facing_direction_ = value;
  3772. }
  3773. inline void MessageOfBullet::set_facing_direction(double value)
  3774. {
  3775. _internal_set_facing_direction(value);
  3776. // @@protoc_insertion_point(field_set:protobuf.MessageOfBullet.facing_direction)
  3777. }
  3778. // int64 guid = 5;
  3779. inline void MessageOfBullet::clear_guid()
  3780. {
  3781. _impl_.guid_ = int64_t{0};
  3782. }
  3783. inline int64_t MessageOfBullet::_internal_guid() const
  3784. {
  3785. return _impl_.guid_;
  3786. }
  3787. inline int64_t MessageOfBullet::guid() const
  3788. {
  3789. // @@protoc_insertion_point(field_get:protobuf.MessageOfBullet.guid)
  3790. return _internal_guid();
  3791. }
  3792. inline void MessageOfBullet::_internal_set_guid(int64_t value)
  3793. {
  3794. _impl_.guid_ = value;
  3795. }
  3796. inline void MessageOfBullet::set_guid(int64_t value)
  3797. {
  3798. _internal_set_guid(value);
  3799. // @@protoc_insertion_point(field_set:protobuf.MessageOfBullet.guid)
  3800. }
  3801. // .protobuf.PlayerType team = 6;
  3802. inline void MessageOfBullet::clear_team()
  3803. {
  3804. _impl_.team_ = 0;
  3805. }
  3806. inline ::protobuf::PlayerType MessageOfBullet::_internal_team() const
  3807. {
  3808. return static_cast<::protobuf::PlayerType>(_impl_.team_);
  3809. }
  3810. inline ::protobuf::PlayerType MessageOfBullet::team() const
  3811. {
  3812. // @@protoc_insertion_point(field_get:protobuf.MessageOfBullet.team)
  3813. return _internal_team();
  3814. }
  3815. inline void MessageOfBullet::_internal_set_team(::protobuf::PlayerType value)
  3816. {
  3817. _impl_.team_ = value;
  3818. }
  3819. inline void MessageOfBullet::set_team(::protobuf::PlayerType value)
  3820. {
  3821. _internal_set_team(value);
  3822. // @@protoc_insertion_point(field_set:protobuf.MessageOfBullet.team)
  3823. }
  3824. // .protobuf.PlaceType place = 7;
  3825. inline void MessageOfBullet::clear_place()
  3826. {
  3827. _impl_.place_ = 0;
  3828. }
  3829. inline ::protobuf::PlaceType MessageOfBullet::_internal_place() const
  3830. {
  3831. return static_cast<::protobuf::PlaceType>(_impl_.place_);
  3832. }
  3833. inline ::protobuf::PlaceType MessageOfBullet::place() const
  3834. {
  3835. // @@protoc_insertion_point(field_get:protobuf.MessageOfBullet.place)
  3836. return _internal_place();
  3837. }
  3838. inline void MessageOfBullet::_internal_set_place(::protobuf::PlaceType value)
  3839. {
  3840. _impl_.place_ = value;
  3841. }
  3842. inline void MessageOfBullet::set_place(::protobuf::PlaceType value)
  3843. {
  3844. _internal_set_place(value);
  3845. // @@protoc_insertion_point(field_set:protobuf.MessageOfBullet.place)
  3846. }
  3847. // double bomb_range = 8;
  3848. inline void MessageOfBullet::clear_bomb_range()
  3849. {
  3850. _impl_.bomb_range_ = 0;
  3851. }
  3852. inline double MessageOfBullet::_internal_bomb_range() const
  3853. {
  3854. return _impl_.bomb_range_;
  3855. }
  3856. inline double MessageOfBullet::bomb_range() const
  3857. {
  3858. // @@protoc_insertion_point(field_get:protobuf.MessageOfBullet.bomb_range)
  3859. return _internal_bomb_range();
  3860. }
  3861. inline void MessageOfBullet::_internal_set_bomb_range(double value)
  3862. {
  3863. _impl_.bomb_range_ = value;
  3864. }
  3865. inline void MessageOfBullet::set_bomb_range(double value)
  3866. {
  3867. _internal_set_bomb_range(value);
  3868. // @@protoc_insertion_point(field_set:protobuf.MessageOfBullet.bomb_range)
  3869. }
  3870. // -------------------------------------------------------------------
  3871. // MessageOfBombedBullet
  3872. // .protobuf.BulletType type = 1;
  3873. inline void MessageOfBombedBullet::clear_type()
  3874. {
  3875. _impl_.type_ = 0;
  3876. }
  3877. inline ::protobuf::BulletType MessageOfBombedBullet::_internal_type() const
  3878. {
  3879. return static_cast<::protobuf::BulletType>(_impl_.type_);
  3880. }
  3881. inline ::protobuf::BulletType MessageOfBombedBullet::type() const
  3882. {
  3883. // @@protoc_insertion_point(field_get:protobuf.MessageOfBombedBullet.type)
  3884. return _internal_type();
  3885. }
  3886. inline void MessageOfBombedBullet::_internal_set_type(::protobuf::BulletType value)
  3887. {
  3888. _impl_.type_ = value;
  3889. }
  3890. inline void MessageOfBombedBullet::set_type(::protobuf::BulletType value)
  3891. {
  3892. _internal_set_type(value);
  3893. // @@protoc_insertion_point(field_set:protobuf.MessageOfBombedBullet.type)
  3894. }
  3895. // int32 x = 2;
  3896. inline void MessageOfBombedBullet::clear_x()
  3897. {
  3898. _impl_.x_ = 0;
  3899. }
  3900. inline int32_t MessageOfBombedBullet::_internal_x() const
  3901. {
  3902. return _impl_.x_;
  3903. }
  3904. inline int32_t MessageOfBombedBullet::x() const
  3905. {
  3906. // @@protoc_insertion_point(field_get:protobuf.MessageOfBombedBullet.x)
  3907. return _internal_x();
  3908. }
  3909. inline void MessageOfBombedBullet::_internal_set_x(int32_t value)
  3910. {
  3911. _impl_.x_ = value;
  3912. }
  3913. inline void MessageOfBombedBullet::set_x(int32_t value)
  3914. {
  3915. _internal_set_x(value);
  3916. // @@protoc_insertion_point(field_set:protobuf.MessageOfBombedBullet.x)
  3917. }
  3918. // int32 y = 3;
  3919. inline void MessageOfBombedBullet::clear_y()
  3920. {
  3921. _impl_.y_ = 0;
  3922. }
  3923. inline int32_t MessageOfBombedBullet::_internal_y() const
  3924. {
  3925. return _impl_.y_;
  3926. }
  3927. inline int32_t MessageOfBombedBullet::y() const
  3928. {
  3929. // @@protoc_insertion_point(field_get:protobuf.MessageOfBombedBullet.y)
  3930. return _internal_y();
  3931. }
  3932. inline void MessageOfBombedBullet::_internal_set_y(int32_t value)
  3933. {
  3934. _impl_.y_ = value;
  3935. }
  3936. inline void MessageOfBombedBullet::set_y(int32_t value)
  3937. {
  3938. _internal_set_y(value);
  3939. // @@protoc_insertion_point(field_set:protobuf.MessageOfBombedBullet.y)
  3940. }
  3941. // double facing_direction = 4;
  3942. inline void MessageOfBombedBullet::clear_facing_direction()
  3943. {
  3944. _impl_.facing_direction_ = 0;
  3945. }
  3946. inline double MessageOfBombedBullet::_internal_facing_direction() const
  3947. {
  3948. return _impl_.facing_direction_;
  3949. }
  3950. inline double MessageOfBombedBullet::facing_direction() const
  3951. {
  3952. // @@protoc_insertion_point(field_get:protobuf.MessageOfBombedBullet.facing_direction)
  3953. return _internal_facing_direction();
  3954. }
  3955. inline void MessageOfBombedBullet::_internal_set_facing_direction(double value)
  3956. {
  3957. _impl_.facing_direction_ = value;
  3958. }
  3959. inline void MessageOfBombedBullet::set_facing_direction(double value)
  3960. {
  3961. _internal_set_facing_direction(value);
  3962. // @@protoc_insertion_point(field_set:protobuf.MessageOfBombedBullet.facing_direction)
  3963. }
  3964. // int64 mapping_id = 5;
  3965. inline void MessageOfBombedBullet::clear_mapping_id()
  3966. {
  3967. _impl_.mapping_id_ = int64_t{0};
  3968. }
  3969. inline int64_t MessageOfBombedBullet::_internal_mapping_id() const
  3970. {
  3971. return _impl_.mapping_id_;
  3972. }
  3973. inline int64_t MessageOfBombedBullet::mapping_id() const
  3974. {
  3975. // @@protoc_insertion_point(field_get:protobuf.MessageOfBombedBullet.mapping_id)
  3976. return _internal_mapping_id();
  3977. }
  3978. inline void MessageOfBombedBullet::_internal_set_mapping_id(int64_t value)
  3979. {
  3980. _impl_.mapping_id_ = value;
  3981. }
  3982. inline void MessageOfBombedBullet::set_mapping_id(int64_t value)
  3983. {
  3984. _internal_set_mapping_id(value);
  3985. // @@protoc_insertion_point(field_set:protobuf.MessageOfBombedBullet.mapping_id)
  3986. }
  3987. // double bomb_range = 6;
  3988. inline void MessageOfBombedBullet::clear_bomb_range()
  3989. {
  3990. _impl_.bomb_range_ = 0;
  3991. }
  3992. inline double MessageOfBombedBullet::_internal_bomb_range() const
  3993. {
  3994. return _impl_.bomb_range_;
  3995. }
  3996. inline double MessageOfBombedBullet::bomb_range() const
  3997. {
  3998. // @@protoc_insertion_point(field_get:protobuf.MessageOfBombedBullet.bomb_range)
  3999. return _internal_bomb_range();
  4000. }
  4001. inline void MessageOfBombedBullet::_internal_set_bomb_range(double value)
  4002. {
  4003. _impl_.bomb_range_ = value;
  4004. }
  4005. inline void MessageOfBombedBullet::set_bomb_range(double value)
  4006. {
  4007. _internal_set_bomb_range(value);
  4008. // @@protoc_insertion_point(field_set:protobuf.MessageOfBombedBullet.bomb_range)
  4009. }
  4010. // -------------------------------------------------------------------
  4011. // MessageOfProp
  4012. // .protobuf.PropType type = 1;
  4013. inline void MessageOfProp::clear_type()
  4014. {
  4015. _impl_.type_ = 0;
  4016. }
  4017. inline ::protobuf::PropType MessageOfProp::_internal_type() const
  4018. {
  4019. return static_cast<::protobuf::PropType>(_impl_.type_);
  4020. }
  4021. inline ::protobuf::PropType MessageOfProp::type() const
  4022. {
  4023. // @@protoc_insertion_point(field_get:protobuf.MessageOfProp.type)
  4024. return _internal_type();
  4025. }
  4026. inline void MessageOfProp::_internal_set_type(::protobuf::PropType value)
  4027. {
  4028. _impl_.type_ = value;
  4029. }
  4030. inline void MessageOfProp::set_type(::protobuf::PropType value)
  4031. {
  4032. _internal_set_type(value);
  4033. // @@protoc_insertion_point(field_set:protobuf.MessageOfProp.type)
  4034. }
  4035. // int32 x = 2;
  4036. inline void MessageOfProp::clear_x()
  4037. {
  4038. _impl_.x_ = 0;
  4039. }
  4040. inline int32_t MessageOfProp::_internal_x() const
  4041. {
  4042. return _impl_.x_;
  4043. }
  4044. inline int32_t MessageOfProp::x() const
  4045. {
  4046. // @@protoc_insertion_point(field_get:protobuf.MessageOfProp.x)
  4047. return _internal_x();
  4048. }
  4049. inline void MessageOfProp::_internal_set_x(int32_t value)
  4050. {
  4051. _impl_.x_ = value;
  4052. }
  4053. inline void MessageOfProp::set_x(int32_t value)
  4054. {
  4055. _internal_set_x(value);
  4056. // @@protoc_insertion_point(field_set:protobuf.MessageOfProp.x)
  4057. }
  4058. // int32 y = 3;
  4059. inline void MessageOfProp::clear_y()
  4060. {
  4061. _impl_.y_ = 0;
  4062. }
  4063. inline int32_t MessageOfProp::_internal_y() const
  4064. {
  4065. return _impl_.y_;
  4066. }
  4067. inline int32_t MessageOfProp::y() const
  4068. {
  4069. // @@protoc_insertion_point(field_get:protobuf.MessageOfProp.y)
  4070. return _internal_y();
  4071. }
  4072. inline void MessageOfProp::_internal_set_y(int32_t value)
  4073. {
  4074. _impl_.y_ = value;
  4075. }
  4076. inline void MessageOfProp::set_y(int32_t value)
  4077. {
  4078. _internal_set_y(value);
  4079. // @@protoc_insertion_point(field_set:protobuf.MessageOfProp.y)
  4080. }
  4081. // double facing_direction = 4;
  4082. inline void MessageOfProp::clear_facing_direction()
  4083. {
  4084. _impl_.facing_direction_ = 0;
  4085. }
  4086. inline double MessageOfProp::_internal_facing_direction() const
  4087. {
  4088. return _impl_.facing_direction_;
  4089. }
  4090. inline double MessageOfProp::facing_direction() const
  4091. {
  4092. // @@protoc_insertion_point(field_get:protobuf.MessageOfProp.facing_direction)
  4093. return _internal_facing_direction();
  4094. }
  4095. inline void MessageOfProp::_internal_set_facing_direction(double value)
  4096. {
  4097. _impl_.facing_direction_ = value;
  4098. }
  4099. inline void MessageOfProp::set_facing_direction(double value)
  4100. {
  4101. _internal_set_facing_direction(value);
  4102. // @@protoc_insertion_point(field_set:protobuf.MessageOfProp.facing_direction)
  4103. }
  4104. // int64 guid = 5;
  4105. inline void MessageOfProp::clear_guid()
  4106. {
  4107. _impl_.guid_ = int64_t{0};
  4108. }
  4109. inline int64_t MessageOfProp::_internal_guid() const
  4110. {
  4111. return _impl_.guid_;
  4112. }
  4113. inline int64_t MessageOfProp::guid() const
  4114. {
  4115. // @@protoc_insertion_point(field_get:protobuf.MessageOfProp.guid)
  4116. return _internal_guid();
  4117. }
  4118. inline void MessageOfProp::_internal_set_guid(int64_t value)
  4119. {
  4120. _impl_.guid_ = value;
  4121. }
  4122. inline void MessageOfProp::set_guid(int64_t value)
  4123. {
  4124. _internal_set_guid(value);
  4125. // @@protoc_insertion_point(field_set:protobuf.MessageOfProp.guid)
  4126. }
  4127. // .protobuf.PlaceType place = 6;
  4128. inline void MessageOfProp::clear_place()
  4129. {
  4130. _impl_.place_ = 0;
  4131. }
  4132. inline ::protobuf::PlaceType MessageOfProp::_internal_place() const
  4133. {
  4134. return static_cast<::protobuf::PlaceType>(_impl_.place_);
  4135. }
  4136. inline ::protobuf::PlaceType MessageOfProp::place() const
  4137. {
  4138. // @@protoc_insertion_point(field_get:protobuf.MessageOfProp.place)
  4139. return _internal_place();
  4140. }
  4141. inline void MessageOfProp::_internal_set_place(::protobuf::PlaceType value)
  4142. {
  4143. _impl_.place_ = value;
  4144. }
  4145. inline void MessageOfProp::set_place(::protobuf::PlaceType value)
  4146. {
  4147. _internal_set_place(value);
  4148. // @@protoc_insertion_point(field_set:protobuf.MessageOfProp.place)
  4149. }
  4150. // int32 size = 7;
  4151. inline void MessageOfProp::clear_size()
  4152. {
  4153. _impl_.size_ = 0;
  4154. }
  4155. inline int32_t MessageOfProp::_internal_size() const
  4156. {
  4157. return _impl_.size_;
  4158. }
  4159. inline int32_t MessageOfProp::size() const
  4160. {
  4161. // @@protoc_insertion_point(field_get:protobuf.MessageOfProp.size)
  4162. return _internal_size();
  4163. }
  4164. inline void MessageOfProp::_internal_set_size(int32_t value)
  4165. {
  4166. _impl_.size_ = value;
  4167. }
  4168. inline void MessageOfProp::set_size(int32_t value)
  4169. {
  4170. _internal_set_size(value);
  4171. // @@protoc_insertion_point(field_set:protobuf.MessageOfProp.size)
  4172. }
  4173. // bool is_moving = 8;
  4174. inline void MessageOfProp::clear_is_moving()
  4175. {
  4176. _impl_.is_moving_ = false;
  4177. }
  4178. inline bool MessageOfProp::_internal_is_moving() const
  4179. {
  4180. return _impl_.is_moving_;
  4181. }
  4182. inline bool MessageOfProp::is_moving() const
  4183. {
  4184. // @@protoc_insertion_point(field_get:protobuf.MessageOfProp.is_moving)
  4185. return _internal_is_moving();
  4186. }
  4187. inline void MessageOfProp::_internal_set_is_moving(bool value)
  4188. {
  4189. _impl_.is_moving_ = value;
  4190. }
  4191. inline void MessageOfProp::set_is_moving(bool value)
  4192. {
  4193. _internal_set_is_moving(value);
  4194. // @@protoc_insertion_point(field_set:protobuf.MessageOfProp.is_moving)
  4195. }
  4196. // -------------------------------------------------------------------
  4197. // MessageOfPickedProp
  4198. // .protobuf.PropType type = 1;
  4199. inline void MessageOfPickedProp::clear_type()
  4200. {
  4201. _impl_.type_ = 0;
  4202. }
  4203. inline ::protobuf::PropType MessageOfPickedProp::_internal_type() const
  4204. {
  4205. return static_cast<::protobuf::PropType>(_impl_.type_);
  4206. }
  4207. inline ::protobuf::PropType MessageOfPickedProp::type() const
  4208. {
  4209. // @@protoc_insertion_point(field_get:protobuf.MessageOfPickedProp.type)
  4210. return _internal_type();
  4211. }
  4212. inline void MessageOfPickedProp::_internal_set_type(::protobuf::PropType value)
  4213. {
  4214. _impl_.type_ = value;
  4215. }
  4216. inline void MessageOfPickedProp::set_type(::protobuf::PropType value)
  4217. {
  4218. _internal_set_type(value);
  4219. // @@protoc_insertion_point(field_set:protobuf.MessageOfPickedProp.type)
  4220. }
  4221. // int32 x = 2;
  4222. inline void MessageOfPickedProp::clear_x()
  4223. {
  4224. _impl_.x_ = 0;
  4225. }
  4226. inline int32_t MessageOfPickedProp::_internal_x() const
  4227. {
  4228. return _impl_.x_;
  4229. }
  4230. inline int32_t MessageOfPickedProp::x() const
  4231. {
  4232. // @@protoc_insertion_point(field_get:protobuf.MessageOfPickedProp.x)
  4233. return _internal_x();
  4234. }
  4235. inline void MessageOfPickedProp::_internal_set_x(int32_t value)
  4236. {
  4237. _impl_.x_ = value;
  4238. }
  4239. inline void MessageOfPickedProp::set_x(int32_t value)
  4240. {
  4241. _internal_set_x(value);
  4242. // @@protoc_insertion_point(field_set:protobuf.MessageOfPickedProp.x)
  4243. }
  4244. // int32 y = 3;
  4245. inline void MessageOfPickedProp::clear_y()
  4246. {
  4247. _impl_.y_ = 0;
  4248. }
  4249. inline int32_t MessageOfPickedProp::_internal_y() const
  4250. {
  4251. return _impl_.y_;
  4252. }
  4253. inline int32_t MessageOfPickedProp::y() const
  4254. {
  4255. // @@protoc_insertion_point(field_get:protobuf.MessageOfPickedProp.y)
  4256. return _internal_y();
  4257. }
  4258. inline void MessageOfPickedProp::_internal_set_y(int32_t value)
  4259. {
  4260. _impl_.y_ = value;
  4261. }
  4262. inline void MessageOfPickedProp::set_y(int32_t value)
  4263. {
  4264. _internal_set_y(value);
  4265. // @@protoc_insertion_point(field_set:protobuf.MessageOfPickedProp.y)
  4266. }
  4267. // double facing_direction = 4;
  4268. inline void MessageOfPickedProp::clear_facing_direction()
  4269. {
  4270. _impl_.facing_direction_ = 0;
  4271. }
  4272. inline double MessageOfPickedProp::_internal_facing_direction() const
  4273. {
  4274. return _impl_.facing_direction_;
  4275. }
  4276. inline double MessageOfPickedProp::facing_direction() const
  4277. {
  4278. // @@protoc_insertion_point(field_get:protobuf.MessageOfPickedProp.facing_direction)
  4279. return _internal_facing_direction();
  4280. }
  4281. inline void MessageOfPickedProp::_internal_set_facing_direction(double value)
  4282. {
  4283. _impl_.facing_direction_ = value;
  4284. }
  4285. inline void MessageOfPickedProp::set_facing_direction(double value)
  4286. {
  4287. _internal_set_facing_direction(value);
  4288. // @@protoc_insertion_point(field_set:protobuf.MessageOfPickedProp.facing_direction)
  4289. }
  4290. // int64 mapping_id = 5;
  4291. inline void MessageOfPickedProp::clear_mapping_id()
  4292. {
  4293. _impl_.mapping_id_ = int64_t{0};
  4294. }
  4295. inline int64_t MessageOfPickedProp::_internal_mapping_id() const
  4296. {
  4297. return _impl_.mapping_id_;
  4298. }
  4299. inline int64_t MessageOfPickedProp::mapping_id() const
  4300. {
  4301. // @@protoc_insertion_point(field_get:protobuf.MessageOfPickedProp.mapping_id)
  4302. return _internal_mapping_id();
  4303. }
  4304. inline void MessageOfPickedProp::_internal_set_mapping_id(int64_t value)
  4305. {
  4306. _impl_.mapping_id_ = value;
  4307. }
  4308. inline void MessageOfPickedProp::set_mapping_id(int64_t value)
  4309. {
  4310. _internal_set_mapping_id(value);
  4311. // @@protoc_insertion_point(field_set:protobuf.MessageOfPickedProp.mapping_id)
  4312. }
  4313. // -------------------------------------------------------------------
  4314. // MessageOfMap_Row
  4315. // repeated .protobuf.PlaceType col = 1;
  4316. inline int MessageOfMap_Row::_internal_col_size() const
  4317. {
  4318. return _impl_.col_.size();
  4319. }
  4320. inline int MessageOfMap_Row::col_size() const
  4321. {
  4322. return _internal_col_size();
  4323. }
  4324. inline void MessageOfMap_Row::clear_col()
  4325. {
  4326. _impl_.col_.Clear();
  4327. }
  4328. inline ::protobuf::PlaceType MessageOfMap_Row::_internal_col(int index) const
  4329. {
  4330. return static_cast<::protobuf::PlaceType>(_impl_.col_.Get(index));
  4331. }
  4332. inline ::protobuf::PlaceType MessageOfMap_Row::col(int index) const
  4333. {
  4334. // @@protoc_insertion_point(field_get:protobuf.MessageOfMap.Row.col)
  4335. return _internal_col(index);
  4336. }
  4337. inline void MessageOfMap_Row::set_col(int index, ::protobuf::PlaceType value)
  4338. {
  4339. _impl_.col_.Set(index, value);
  4340. // @@protoc_insertion_point(field_set:protobuf.MessageOfMap.Row.col)
  4341. }
  4342. inline void MessageOfMap_Row::_internal_add_col(::protobuf::PlaceType value)
  4343. {
  4344. _impl_.col_.Add(value);
  4345. }
  4346. inline void MessageOfMap_Row::add_col(::protobuf::PlaceType value)
  4347. {
  4348. _internal_add_col(value);
  4349. // @@protoc_insertion_point(field_add:protobuf.MessageOfMap.Row.col)
  4350. }
  4351. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
  4352. MessageOfMap_Row::col() const
  4353. {
  4354. // @@protoc_insertion_point(field_list:protobuf.MessageOfMap.Row.col)
  4355. return _impl_.col_;
  4356. }
  4357. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
  4358. MessageOfMap_Row::_internal_mutable_col()
  4359. {
  4360. return &_impl_.col_;
  4361. }
  4362. inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
  4363. MessageOfMap_Row::mutable_col()
  4364. {
  4365. // @@protoc_insertion_point(field_mutable_list:protobuf.MessageOfMap.Row.col)
  4366. return _internal_mutable_col();
  4367. }
  4368. // -------------------------------------------------------------------
  4369. // MessageOfMap
  4370. // repeated .protobuf.MessageOfMap.Row row = 2;
  4371. inline int MessageOfMap::_internal_row_size() const
  4372. {
  4373. return _impl_.row_.size();
  4374. }
  4375. inline int MessageOfMap::row_size() const
  4376. {
  4377. return _internal_row_size();
  4378. }
  4379. inline void MessageOfMap::clear_row()
  4380. {
  4381. _impl_.row_.Clear();
  4382. }
  4383. inline ::protobuf::MessageOfMap_Row* MessageOfMap::mutable_row(int index)
  4384. {
  4385. // @@protoc_insertion_point(field_mutable:protobuf.MessageOfMap.row)
  4386. return _impl_.row_.Mutable(index);
  4387. }
  4388. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfMap_Row>*
  4389. MessageOfMap::mutable_row()
  4390. {
  4391. // @@protoc_insertion_point(field_mutable_list:protobuf.MessageOfMap.row)
  4392. return &_impl_.row_;
  4393. }
  4394. inline const ::protobuf::MessageOfMap_Row& MessageOfMap::_internal_row(int index) const
  4395. {
  4396. return _impl_.row_.Get(index);
  4397. }
  4398. inline const ::protobuf::MessageOfMap_Row& MessageOfMap::row(int index) const
  4399. {
  4400. // @@protoc_insertion_point(field_get:protobuf.MessageOfMap.row)
  4401. return _internal_row(index);
  4402. }
  4403. inline ::protobuf::MessageOfMap_Row* MessageOfMap::_internal_add_row()
  4404. {
  4405. return _impl_.row_.Add();
  4406. }
  4407. inline ::protobuf::MessageOfMap_Row* MessageOfMap::add_row()
  4408. {
  4409. ::protobuf::MessageOfMap_Row* _add = _internal_add_row();
  4410. // @@protoc_insertion_point(field_add:protobuf.MessageOfMap.row)
  4411. return _add;
  4412. }
  4413. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfMap_Row>&
  4414. MessageOfMap::row() const
  4415. {
  4416. // @@protoc_insertion_point(field_list:protobuf.MessageOfMap.row)
  4417. return _impl_.row_;
  4418. }
  4419. // -------------------------------------------------------------------
  4420. // MessageToClient
  4421. // repeated .protobuf.MessageOfStudent student_message = 1;
  4422. inline int MessageToClient::_internal_student_message_size() const
  4423. {
  4424. return _impl_.student_message_.size();
  4425. }
  4426. inline int MessageToClient::student_message_size() const
  4427. {
  4428. return _internal_student_message_size();
  4429. }
  4430. inline void MessageToClient::clear_student_message()
  4431. {
  4432. _impl_.student_message_.Clear();
  4433. }
  4434. inline ::protobuf::MessageOfStudent* MessageToClient::mutable_student_message(int index)
  4435. {
  4436. // @@protoc_insertion_point(field_mutable:protobuf.MessageToClient.student_message)
  4437. return _impl_.student_message_.Mutable(index);
  4438. }
  4439. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfStudent>*
  4440. MessageToClient::mutable_student_message()
  4441. {
  4442. // @@protoc_insertion_point(field_mutable_list:protobuf.MessageToClient.student_message)
  4443. return &_impl_.student_message_;
  4444. }
  4445. inline const ::protobuf::MessageOfStudent& MessageToClient::_internal_student_message(int index) const
  4446. {
  4447. return _impl_.student_message_.Get(index);
  4448. }
  4449. inline const ::protobuf::MessageOfStudent& MessageToClient::student_message(int index) const
  4450. {
  4451. // @@protoc_insertion_point(field_get:protobuf.MessageToClient.student_message)
  4452. return _internal_student_message(index);
  4453. }
  4454. inline ::protobuf::MessageOfStudent* MessageToClient::_internal_add_student_message()
  4455. {
  4456. return _impl_.student_message_.Add();
  4457. }
  4458. inline ::protobuf::MessageOfStudent* MessageToClient::add_student_message()
  4459. {
  4460. ::protobuf::MessageOfStudent* _add = _internal_add_student_message();
  4461. // @@protoc_insertion_point(field_add:protobuf.MessageToClient.student_message)
  4462. return _add;
  4463. }
  4464. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfStudent>&
  4465. MessageToClient::student_message() const
  4466. {
  4467. // @@protoc_insertion_point(field_list:protobuf.MessageToClient.student_message)
  4468. return _impl_.student_message_;
  4469. }
  4470. // repeated .protobuf.MessageOfTricker tricker_message = 2;
  4471. inline int MessageToClient::_internal_tricker_message_size() const
  4472. {
  4473. return _impl_.tricker_message_.size();
  4474. }
  4475. inline int MessageToClient::tricker_message_size() const
  4476. {
  4477. return _internal_tricker_message_size();
  4478. }
  4479. inline void MessageToClient::clear_tricker_message()
  4480. {
  4481. _impl_.tricker_message_.Clear();
  4482. }
  4483. inline ::protobuf::MessageOfTricker* MessageToClient::mutable_tricker_message(int index)
  4484. {
  4485. // @@protoc_insertion_point(field_mutable:protobuf.MessageToClient.tricker_message)
  4486. return _impl_.tricker_message_.Mutable(index);
  4487. }
  4488. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfTricker>*
  4489. MessageToClient::mutable_tricker_message()
  4490. {
  4491. // @@protoc_insertion_point(field_mutable_list:protobuf.MessageToClient.tricker_message)
  4492. return &_impl_.tricker_message_;
  4493. }
  4494. inline const ::protobuf::MessageOfTricker& MessageToClient::_internal_tricker_message(int index) const
  4495. {
  4496. return _impl_.tricker_message_.Get(index);
  4497. }
  4498. inline const ::protobuf::MessageOfTricker& MessageToClient::tricker_message(int index) const
  4499. {
  4500. // @@protoc_insertion_point(field_get:protobuf.MessageToClient.tricker_message)
  4501. return _internal_tricker_message(index);
  4502. }
  4503. inline ::protobuf::MessageOfTricker* MessageToClient::_internal_add_tricker_message()
  4504. {
  4505. return _impl_.tricker_message_.Add();
  4506. }
  4507. inline ::protobuf::MessageOfTricker* MessageToClient::add_tricker_message()
  4508. {
  4509. ::protobuf::MessageOfTricker* _add = _internal_add_tricker_message();
  4510. // @@protoc_insertion_point(field_add:protobuf.MessageToClient.tricker_message)
  4511. return _add;
  4512. }
  4513. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfTricker>&
  4514. MessageToClient::tricker_message() const
  4515. {
  4516. // @@protoc_insertion_point(field_list:protobuf.MessageToClient.tricker_message)
  4517. return _impl_.tricker_message_;
  4518. }
  4519. // repeated .protobuf.MessageOfProp prop_message = 3;
  4520. inline int MessageToClient::_internal_prop_message_size() const
  4521. {
  4522. return _impl_.prop_message_.size();
  4523. }
  4524. inline int MessageToClient::prop_message_size() const
  4525. {
  4526. return _internal_prop_message_size();
  4527. }
  4528. inline void MessageToClient::clear_prop_message()
  4529. {
  4530. _impl_.prop_message_.Clear();
  4531. }
  4532. inline ::protobuf::MessageOfProp* MessageToClient::mutable_prop_message(int index)
  4533. {
  4534. // @@protoc_insertion_point(field_mutable:protobuf.MessageToClient.prop_message)
  4535. return _impl_.prop_message_.Mutable(index);
  4536. }
  4537. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfProp>*
  4538. MessageToClient::mutable_prop_message()
  4539. {
  4540. // @@protoc_insertion_point(field_mutable_list:protobuf.MessageToClient.prop_message)
  4541. return &_impl_.prop_message_;
  4542. }
  4543. inline const ::protobuf::MessageOfProp& MessageToClient::_internal_prop_message(int index) const
  4544. {
  4545. return _impl_.prop_message_.Get(index);
  4546. }
  4547. inline const ::protobuf::MessageOfProp& MessageToClient::prop_message(int index) const
  4548. {
  4549. // @@protoc_insertion_point(field_get:protobuf.MessageToClient.prop_message)
  4550. return _internal_prop_message(index);
  4551. }
  4552. inline ::protobuf::MessageOfProp* MessageToClient::_internal_add_prop_message()
  4553. {
  4554. return _impl_.prop_message_.Add();
  4555. }
  4556. inline ::protobuf::MessageOfProp* MessageToClient::add_prop_message()
  4557. {
  4558. ::protobuf::MessageOfProp* _add = _internal_add_prop_message();
  4559. // @@protoc_insertion_point(field_add:protobuf.MessageToClient.prop_message)
  4560. return _add;
  4561. }
  4562. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfProp>&
  4563. MessageToClient::prop_message() const
  4564. {
  4565. // @@protoc_insertion_point(field_list:protobuf.MessageToClient.prop_message)
  4566. return _impl_.prop_message_;
  4567. }
  4568. // repeated .protobuf.MessageOfBullet bullet_message = 4;
  4569. inline int MessageToClient::_internal_bullet_message_size() const
  4570. {
  4571. return _impl_.bullet_message_.size();
  4572. }
  4573. inline int MessageToClient::bullet_message_size() const
  4574. {
  4575. return _internal_bullet_message_size();
  4576. }
  4577. inline void MessageToClient::clear_bullet_message()
  4578. {
  4579. _impl_.bullet_message_.Clear();
  4580. }
  4581. inline ::protobuf::MessageOfBullet* MessageToClient::mutable_bullet_message(int index)
  4582. {
  4583. // @@protoc_insertion_point(field_mutable:protobuf.MessageToClient.bullet_message)
  4584. return _impl_.bullet_message_.Mutable(index);
  4585. }
  4586. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfBullet>*
  4587. MessageToClient::mutable_bullet_message()
  4588. {
  4589. // @@protoc_insertion_point(field_mutable_list:protobuf.MessageToClient.bullet_message)
  4590. return &_impl_.bullet_message_;
  4591. }
  4592. inline const ::protobuf::MessageOfBullet& MessageToClient::_internal_bullet_message(int index) const
  4593. {
  4594. return _impl_.bullet_message_.Get(index);
  4595. }
  4596. inline const ::protobuf::MessageOfBullet& MessageToClient::bullet_message(int index) const
  4597. {
  4598. // @@protoc_insertion_point(field_get:protobuf.MessageToClient.bullet_message)
  4599. return _internal_bullet_message(index);
  4600. }
  4601. inline ::protobuf::MessageOfBullet* MessageToClient::_internal_add_bullet_message()
  4602. {
  4603. return _impl_.bullet_message_.Add();
  4604. }
  4605. inline ::protobuf::MessageOfBullet* MessageToClient::add_bullet_message()
  4606. {
  4607. ::protobuf::MessageOfBullet* _add = _internal_add_bullet_message();
  4608. // @@protoc_insertion_point(field_add:protobuf.MessageToClient.bullet_message)
  4609. return _add;
  4610. }
  4611. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfBullet>&
  4612. MessageToClient::bullet_message() const
  4613. {
  4614. // @@protoc_insertion_point(field_list:protobuf.MessageToClient.bullet_message)
  4615. return _impl_.bullet_message_;
  4616. }
  4617. // repeated .protobuf.MessageOfBombedBullet bombed_bullet_message = 5;
  4618. inline int MessageToClient::_internal_bombed_bullet_message_size() const
  4619. {
  4620. return _impl_.bombed_bullet_message_.size();
  4621. }
  4622. inline int MessageToClient::bombed_bullet_message_size() const
  4623. {
  4624. return _internal_bombed_bullet_message_size();
  4625. }
  4626. inline void MessageToClient::clear_bombed_bullet_message()
  4627. {
  4628. _impl_.bombed_bullet_message_.Clear();
  4629. }
  4630. inline ::protobuf::MessageOfBombedBullet* MessageToClient::mutable_bombed_bullet_message(int index)
  4631. {
  4632. // @@protoc_insertion_point(field_mutable:protobuf.MessageToClient.bombed_bullet_message)
  4633. return _impl_.bombed_bullet_message_.Mutable(index);
  4634. }
  4635. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfBombedBullet>*
  4636. MessageToClient::mutable_bombed_bullet_message()
  4637. {
  4638. // @@protoc_insertion_point(field_mutable_list:protobuf.MessageToClient.bombed_bullet_message)
  4639. return &_impl_.bombed_bullet_message_;
  4640. }
  4641. inline const ::protobuf::MessageOfBombedBullet& MessageToClient::_internal_bombed_bullet_message(int index) const
  4642. {
  4643. return _impl_.bombed_bullet_message_.Get(index);
  4644. }
  4645. inline const ::protobuf::MessageOfBombedBullet& MessageToClient::bombed_bullet_message(int index) const
  4646. {
  4647. // @@protoc_insertion_point(field_get:protobuf.MessageToClient.bombed_bullet_message)
  4648. return _internal_bombed_bullet_message(index);
  4649. }
  4650. inline ::protobuf::MessageOfBombedBullet* MessageToClient::_internal_add_bombed_bullet_message()
  4651. {
  4652. return _impl_.bombed_bullet_message_.Add();
  4653. }
  4654. inline ::protobuf::MessageOfBombedBullet* MessageToClient::add_bombed_bullet_message()
  4655. {
  4656. ::protobuf::MessageOfBombedBullet* _add = _internal_add_bombed_bullet_message();
  4657. // @@protoc_insertion_point(field_add:protobuf.MessageToClient.bombed_bullet_message)
  4658. return _add;
  4659. }
  4660. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::protobuf::MessageOfBombedBullet>&
  4661. MessageToClient::bombed_bullet_message() const
  4662. {
  4663. // @@protoc_insertion_point(field_list:protobuf.MessageToClient.bombed_bullet_message)
  4664. return _impl_.bombed_bullet_message_;
  4665. }
  4666. // .protobuf.MessageOfMap map_message = 6;
  4667. inline bool MessageToClient::_internal_has_map_message() const
  4668. {
  4669. return this != internal_default_instance() && _impl_.map_message_ != nullptr;
  4670. }
  4671. inline bool MessageToClient::has_map_message() const
  4672. {
  4673. return _internal_has_map_message();
  4674. }
  4675. inline void MessageToClient::clear_map_message()
  4676. {
  4677. if (GetArenaForAllocation() == nullptr && _impl_.map_message_ != nullptr)
  4678. {
  4679. delete _impl_.map_message_;
  4680. }
  4681. _impl_.map_message_ = nullptr;
  4682. }
  4683. inline const ::protobuf::MessageOfMap& MessageToClient::_internal_map_message() const
  4684. {
  4685. const ::protobuf::MessageOfMap* p = _impl_.map_message_;
  4686. return p != nullptr ? *p : reinterpret_cast<const ::protobuf::MessageOfMap&>(::protobuf::_MessageOfMap_default_instance_);
  4687. }
  4688. inline const ::protobuf::MessageOfMap& MessageToClient::map_message() const
  4689. {
  4690. // @@protoc_insertion_point(field_get:protobuf.MessageToClient.map_message)
  4691. return _internal_map_message();
  4692. }
  4693. inline void MessageToClient::unsafe_arena_set_allocated_map_message(
  4694. ::protobuf::MessageOfMap* map_message
  4695. )
  4696. {
  4697. if (GetArenaForAllocation() == nullptr)
  4698. {
  4699. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.map_message_);
  4700. }
  4701. _impl_.map_message_ = map_message;
  4702. if (map_message)
  4703. {
  4704. }
  4705. else
  4706. {
  4707. }
  4708. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protobuf.MessageToClient.map_message)
  4709. }
  4710. inline ::protobuf::MessageOfMap* MessageToClient::release_map_message()
  4711. {
  4712. ::protobuf::MessageOfMap* temp = _impl_.map_message_;
  4713. _impl_.map_message_ = nullptr;
  4714. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  4715. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  4716. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  4717. if (GetArenaForAllocation() == nullptr)
  4718. {
  4719. delete old;
  4720. }
  4721. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  4722. if (GetArenaForAllocation() != nullptr)
  4723. {
  4724. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  4725. }
  4726. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  4727. return temp;
  4728. }
  4729. inline ::protobuf::MessageOfMap* MessageToClient::unsafe_arena_release_map_message()
  4730. {
  4731. // @@protoc_insertion_point(field_release:protobuf.MessageToClient.map_message)
  4732. ::protobuf::MessageOfMap* temp = _impl_.map_message_;
  4733. _impl_.map_message_ = nullptr;
  4734. return temp;
  4735. }
  4736. inline ::protobuf::MessageOfMap* MessageToClient::_internal_mutable_map_message()
  4737. {
  4738. if (_impl_.map_message_ == nullptr)
  4739. {
  4740. auto* p = CreateMaybeMessage<::protobuf::MessageOfMap>(GetArenaForAllocation());
  4741. _impl_.map_message_ = p;
  4742. }
  4743. return _impl_.map_message_;
  4744. }
  4745. inline ::protobuf::MessageOfMap* MessageToClient::mutable_map_message()
  4746. {
  4747. ::protobuf::MessageOfMap* _msg = _internal_mutable_map_message();
  4748. // @@protoc_insertion_point(field_mutable:protobuf.MessageToClient.map_message)
  4749. return _msg;
  4750. }
  4751. inline void MessageToClient::set_allocated_map_message(::protobuf::MessageOfMap* map_message)
  4752. {
  4753. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  4754. if (message_arena == nullptr)
  4755. {
  4756. delete _impl_.map_message_;
  4757. }
  4758. if (map_message)
  4759. {
  4760. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  4761. ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(map_message);
  4762. if (message_arena != submessage_arena)
  4763. {
  4764. map_message = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  4765. message_arena, map_message, submessage_arena
  4766. );
  4767. }
  4768. }
  4769. else
  4770. {
  4771. }
  4772. _impl_.map_message_ = map_message;
  4773. // @@protoc_insertion_point(field_set_allocated:protobuf.MessageToClient.map_message)
  4774. }
  4775. // .protobuf.GameState game_state = 7;
  4776. inline void MessageToClient::clear_game_state()
  4777. {
  4778. _impl_.game_state_ = 0;
  4779. }
  4780. inline ::protobuf::GameState MessageToClient::_internal_game_state() const
  4781. {
  4782. return static_cast<::protobuf::GameState>(_impl_.game_state_);
  4783. }
  4784. inline ::protobuf::GameState MessageToClient::game_state() const
  4785. {
  4786. // @@protoc_insertion_point(field_get:protobuf.MessageToClient.game_state)
  4787. return _internal_game_state();
  4788. }
  4789. inline void MessageToClient::_internal_set_game_state(::protobuf::GameState value)
  4790. {
  4791. _impl_.game_state_ = value;
  4792. }
  4793. inline void MessageToClient::set_game_state(::protobuf::GameState value)
  4794. {
  4795. _internal_set_game_state(value);
  4796. // @@protoc_insertion_point(field_set:protobuf.MessageToClient.game_state)
  4797. }
  4798. // -------------------------------------------------------------------
  4799. // MoveRes
  4800. // int64 actual_speed = 1;
  4801. inline void MoveRes::clear_actual_speed()
  4802. {
  4803. _impl_.actual_speed_ = int64_t{0};
  4804. }
  4805. inline int64_t MoveRes::_internal_actual_speed() const
  4806. {
  4807. return _impl_.actual_speed_;
  4808. }
  4809. inline int64_t MoveRes::actual_speed() const
  4810. {
  4811. // @@protoc_insertion_point(field_get:protobuf.MoveRes.actual_speed)
  4812. return _internal_actual_speed();
  4813. }
  4814. inline void MoveRes::_internal_set_actual_speed(int64_t value)
  4815. {
  4816. _impl_.actual_speed_ = value;
  4817. }
  4818. inline void MoveRes::set_actual_speed(int64_t value)
  4819. {
  4820. _internal_set_actual_speed(value);
  4821. // @@protoc_insertion_point(field_set:protobuf.MoveRes.actual_speed)
  4822. }
  4823. // double actual_angle = 2;
  4824. inline void MoveRes::clear_actual_angle()
  4825. {
  4826. _impl_.actual_angle_ = 0;
  4827. }
  4828. inline double MoveRes::_internal_actual_angle() const
  4829. {
  4830. return _impl_.actual_angle_;
  4831. }
  4832. inline double MoveRes::actual_angle() const
  4833. {
  4834. // @@protoc_insertion_point(field_get:protobuf.MoveRes.actual_angle)
  4835. return _internal_actual_angle();
  4836. }
  4837. inline void MoveRes::_internal_set_actual_angle(double value)
  4838. {
  4839. _impl_.actual_angle_ = value;
  4840. }
  4841. inline void MoveRes::set_actual_angle(double value)
  4842. {
  4843. _internal_set_actual_angle(value);
  4844. // @@protoc_insertion_point(field_set:protobuf.MoveRes.actual_angle)
  4845. }
  4846. // bool act_success = 3;
  4847. inline void MoveRes::clear_act_success()
  4848. {
  4849. _impl_.act_success_ = false;
  4850. }
  4851. inline bool MoveRes::_internal_act_success() const
  4852. {
  4853. return _impl_.act_success_;
  4854. }
  4855. inline bool MoveRes::act_success() const
  4856. {
  4857. // @@protoc_insertion_point(field_get:protobuf.MoveRes.act_success)
  4858. return _internal_act_success();
  4859. }
  4860. inline void MoveRes::_internal_set_act_success(bool value)
  4861. {
  4862. _impl_.act_success_ = value;
  4863. }
  4864. inline void MoveRes::set_act_success(bool value)
  4865. {
  4866. _internal_set_act_success(value);
  4867. // @@protoc_insertion_point(field_set:protobuf.MoveRes.act_success)
  4868. }
  4869. // -------------------------------------------------------------------
  4870. // BoolRes
  4871. // bool act_success = 1;
  4872. inline void BoolRes::clear_act_success()
  4873. {
  4874. _impl_.act_success_ = false;
  4875. }
  4876. inline bool BoolRes::_internal_act_success() const
  4877. {
  4878. return _impl_.act_success_;
  4879. }
  4880. inline bool BoolRes::act_success() const
  4881. {
  4882. // @@protoc_insertion_point(field_get:protobuf.BoolRes.act_success)
  4883. return _internal_act_success();
  4884. }
  4885. inline void BoolRes::_internal_set_act_success(bool value)
  4886. {
  4887. _impl_.act_success_ = value;
  4888. }
  4889. inline void BoolRes::set_act_success(bool value)
  4890. {
  4891. _internal_set_act_success(value);
  4892. // @@protoc_insertion_point(field_set:protobuf.BoolRes.act_success)
  4893. }
  4894. // -------------------------------------------------------------------
  4895. // MsgRes
  4896. // bool have_message = 1;
  4897. inline void MsgRes::clear_have_message()
  4898. {
  4899. _impl_.have_message_ = false;
  4900. }
  4901. inline bool MsgRes::_internal_have_message() const
  4902. {
  4903. return _impl_.have_message_;
  4904. }
  4905. inline bool MsgRes::have_message() const
  4906. {
  4907. // @@protoc_insertion_point(field_get:protobuf.MsgRes.have_message)
  4908. return _internal_have_message();
  4909. }
  4910. inline void MsgRes::_internal_set_have_message(bool value)
  4911. {
  4912. _impl_.have_message_ = value;
  4913. }
  4914. inline void MsgRes::set_have_message(bool value)
  4915. {
  4916. _internal_set_have_message(value);
  4917. // @@protoc_insertion_point(field_set:protobuf.MsgRes.have_message)
  4918. }
  4919. // int64 from_player_id = 2;
  4920. inline void MsgRes::clear_from_player_id()
  4921. {
  4922. _impl_.from_player_id_ = int64_t{0};
  4923. }
  4924. inline int64_t MsgRes::_internal_from_player_id() const
  4925. {
  4926. return _impl_.from_player_id_;
  4927. }
  4928. inline int64_t MsgRes::from_player_id() const
  4929. {
  4930. // @@protoc_insertion_point(field_get:protobuf.MsgRes.from_player_id)
  4931. return _internal_from_player_id();
  4932. }
  4933. inline void MsgRes::_internal_set_from_player_id(int64_t value)
  4934. {
  4935. _impl_.from_player_id_ = value;
  4936. }
  4937. inline void MsgRes::set_from_player_id(int64_t value)
  4938. {
  4939. _internal_set_from_player_id(value);
  4940. // @@protoc_insertion_point(field_set:protobuf.MsgRes.from_player_id)
  4941. }
  4942. // string message_received = 3;
  4943. inline void MsgRes::clear_message_received()
  4944. {
  4945. _impl_.message_received_.ClearToEmpty();
  4946. }
  4947. inline const std::string& MsgRes::message_received() const
  4948. {
  4949. // @@protoc_insertion_point(field_get:protobuf.MsgRes.message_received)
  4950. return _internal_message_received();
  4951. }
  4952. template<typename ArgT0, typename... ArgT>
  4953. inline PROTOBUF_ALWAYS_INLINE void MsgRes::set_message_received(ArgT0&& arg0, ArgT... args)
  4954. {
  4955. _impl_.message_received_.Set(static_cast<ArgT0&&>(arg0), args..., GetArenaForAllocation());
  4956. // @@protoc_insertion_point(field_set:protobuf.MsgRes.message_received)
  4957. }
  4958. inline std::string* MsgRes::mutable_message_received()
  4959. {
  4960. std::string* _s = _internal_mutable_message_received();
  4961. // @@protoc_insertion_point(field_mutable:protobuf.MsgRes.message_received)
  4962. return _s;
  4963. }
  4964. inline const std::string& MsgRes::_internal_message_received() const
  4965. {
  4966. return _impl_.message_received_.Get();
  4967. }
  4968. inline void MsgRes::_internal_set_message_received(const std::string& value)
  4969. {
  4970. _impl_.message_received_.Set(value, GetArenaForAllocation());
  4971. }
  4972. inline std::string* MsgRes::_internal_mutable_message_received()
  4973. {
  4974. return _impl_.message_received_.Mutable(GetArenaForAllocation());
  4975. }
  4976. inline std::string* MsgRes::release_message_received()
  4977. {
  4978. // @@protoc_insertion_point(field_release:protobuf.MsgRes.message_received)
  4979. return _impl_.message_received_.Release();
  4980. }
  4981. inline void MsgRes::set_allocated_message_received(std::string* message_received)
  4982. {
  4983. if (message_received != nullptr)
  4984. {
  4985. }
  4986. else
  4987. {
  4988. }
  4989. _impl_.message_received_.SetAllocated(message_received, GetArenaForAllocation());
  4990. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  4991. if (_impl_.message_received_.IsDefault())
  4992. {
  4993. _impl_.message_received_.Set("", GetArenaForAllocation());
  4994. }
  4995. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  4996. // @@protoc_insertion_point(field_set_allocated:protobuf.MsgRes.message_received)
  4997. }
  4998. #ifdef __GNUC__
  4999. #pragma GCC diagnostic pop
  5000. #endif // __GNUC__
  5001. // -------------------------------------------------------------------
  5002. // -------------------------------------------------------------------
  5003. // -------------------------------------------------------------------
  5004. // -------------------------------------------------------------------
  5005. // -------------------------------------------------------------------
  5006. // -------------------------------------------------------------------
  5007. // -------------------------------------------------------------------
  5008. // -------------------------------------------------------------------
  5009. // -------------------------------------------------------------------
  5010. // -------------------------------------------------------------------
  5011. // -------------------------------------------------------------------
  5012. // @@protoc_insertion_point(namespace_scope)
  5013. } // namespace protobuf
  5014. // @@protoc_insertion_point(global_scope)
  5015. #include <google/protobuf/port_undef.inc>
  5016. #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_Message2Clients_2eproto